[INFO] fetching crate maddr 0.3.1... [INFO] testing maddr-0.3.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate maddr 0.3.1 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate maddr 0.3.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate maddr 0.3.1 [INFO] finished tweaking crates.io crate maddr 0.3.1 [INFO] tweaked toml for crates.io crate maddr 0.3.1 written to /workspace/builds/worker-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bs58 v0.2.5 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded varmint v0.1.3 [INFO] [stderr] Downloaded mhash v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 906bdb1ca5cd4c5e31d37ce3fbaebbb76bc7ce85225def3c53e474430c350c35 [INFO] running `Command { std: "docker" "start" "-a" "906bdb1ca5cd4c5e31d37ce3fbaebbb76bc7ce85225def3c53e474430c350c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "906bdb1ca5cd4c5e31d37ce3fbaebbb76bc7ce85225def3c53e474430c350c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "906bdb1ca5cd4c5e31d37ce3fbaebbb76bc7ce85225def3c53e474430c350c35", kill_on_drop: false }` [INFO] [stdout] 906bdb1ca5cd4c5e31d37ce3fbaebbb76bc7ce85225def3c53e474430c350c35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c2a307df22195a81fc2753449c64b4f916a62eeb2d1c723345e8611661df797 [INFO] running `Command { std: "docker" "start" "-a" "4c2a307df22195a81fc2753449c64b4f916a62eeb2d1c723345e8611661df797", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling varmint v0.1.3 [INFO] [stderr] Compiling bs58 v0.2.5 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling error-chain v0.5.0 [INFO] [stderr] Compiling mhash v0.3.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling maddr v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | try!(write!(f, "/{}", self.name())); [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/display.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | try!(write!(f, "/{}", addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | try!(write!(f, "/{}", addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | try!(write!(f, "/{}", port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | try!(write!(f, "/{}", multihash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(f, "{}", segment)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(f.write_str("MultiAddr(\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fmt::Display::fmt(self, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(f.write_str("\")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(f.write_str("Segment(\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | try!(fmt::Display::fmt(self, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(f.write_str("\")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | "ip4" => IP4(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | "ip4" => IP4(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | "ip6" => IP6(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | "ip6" => IP6(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | "udp" => Udp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | "udp" => Udp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | "dccp" => Dccp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | "dccp" => Dccp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | "sctp" => Sctp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | "sctp" => Sctp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | "tcp" => Tcp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | "tcp" => Tcp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | "ipfs" => Ipfs(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | "ipfs" => Ipfs(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | while let Some(segment) = try!(segment_from_strs(&mut strs)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if try!(self.read(&mut buffer)) == 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | 4 => IP4(try!(self.read_ipv4addr())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | 6 => Tcp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | 17 => Udp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | 33 => Dccp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | 41 => IP6(try!(self.read_ipv6addr())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | 132 => Sctp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | try!(hash_bytes.check_empty()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | let length = try!(self.read_u64_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | let multihash = try!(hash_bytes.read_multihash()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(code) = try!(self.try_read_u64_varint()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(Some(try!(self.read_segment(code)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(self.check_empty()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | while let Some(segment) = try!(self.try_read_segment()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(self.write_all(&[val])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(self.write_all(&[((val >> 8) & 0xFF) as u8, (val & 0xFF) as u8])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(self.write_all(&addr.octets())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.write_all(&addr.octets())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(self.write_u64_varint(segment.code())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.write_ipv4addr(addr)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.write_ipv6addr(addr)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.write_u16_be(port)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | try!(self.write_usize_varint(multihash.output_len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | try!(self.write_multihash(multihash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | try!(self.write_segment(segment)); [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/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | MultiHash(mhash::error::parse::Error); [INFO] [stdout] 15 | | Num(num::ParseIntError); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [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/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | MultiHash(mhash::error::parse::Error); [INFO] [stdout] 15 | | Num(num::ParseIntError); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.22s [INFO] running `Command { std: "docker" "inspect" "4c2a307df22195a81fc2753449c64b4f916a62eeb2d1c723345e8611661df797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2a307df22195a81fc2753449c64b4f916a62eeb2d1c723345e8611661df797", kill_on_drop: false }` [INFO] [stdout] 4c2a307df22195a81fc2753449c64b4f916a62eeb2d1c723345e8611661df797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5fb10fcb5bb896675aa516ef88ff3825fcc6af3e32b9a9ff25e16e7f8922312 [INFO] running `Command { std: "docker" "start" "-a" "d5fb10fcb5bb896675aa516ef88ff3825fcc6af3e32b9a9ff25e16e7f8922312", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | try!(write!(f, "/{}", self.name())); [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/display.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | try!(write!(f, "/{}", addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | try!(write!(f, "/{}", addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | try!(write!(f, "/{}", port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | try!(write!(f, "/{}", multihash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(f, "{}", segment)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(f.write_str("MultiAddr(\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fmt::Display::fmt(self, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(f.write_str("\")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(f.write_str("Segment(\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | try!(fmt::Display::fmt(self, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(f.write_str("\")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | "ip4" => IP4(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | "ip4" => IP4(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | "ip6" => IP6(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | "ip6" => IP6(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | "udp" => Udp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | "udp" => Udp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | "dccp" => Dccp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | "dccp" => Dccp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | "sctp" => Sctp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | "sctp" => Sctp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | "tcp" => Tcp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | "tcp" => Tcp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | "ipfs" => Ipfs(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | "ipfs" => Ipfs(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | while let Some(segment) = try!(segment_from_strs(&mut strs)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if try!(self.read(&mut buffer)) == 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | 4 => IP4(try!(self.read_ipv4addr())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | 6 => Tcp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | 17 => Udp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | 33 => Dccp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | 41 => IP6(try!(self.read_ipv6addr())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | 132 => Sctp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | try!(hash_bytes.check_empty()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | let length = try!(self.read_u64_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | let multihash = try!(hash_bytes.read_multihash()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(code) = try!(self.try_read_u64_varint()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(Some(try!(self.read_segment(code)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(self.check_empty()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | while let Some(segment) = try!(self.try_read_segment()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(self.write_all(&[val])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(self.write_all(&[((val >> 8) & 0xFF) as u8, (val & 0xFF) as u8])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(self.write_all(&addr.octets())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.write_all(&addr.octets())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(self.write_u64_varint(segment.code())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.write_ipv4addr(addr)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.write_ipv6addr(addr)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.write_u16_be(port)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | try!(self.write_usize_varint(multihash.output_len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | try!(self.write_multihash(multihash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | try!(self.write_segment(segment)); [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/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | MultiHash(mhash::error::parse::Error); [INFO] [stdout] 15 | | Num(num::ParseIntError); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [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/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | MultiHash(mhash::error::parse::Error); [INFO] [stdout] 15 | | Num(num::ParseIntError); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling maddr v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | try!(write!(f, "/{}", self.name())); [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/display.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | try!(write!(f, "/{}", addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | try!(write!(f, "/{}", addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | try!(write!(f, "/{}", port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | try!(write!(f, "/{}", multihash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(f, "{}", segment)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(f.write_str("MultiAddr(\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fmt::Display::fmt(self, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(f.write_str("\")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(f.write_str("Segment(\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | try!(fmt::Display::fmt(self, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(f.write_str("\")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | "ip4" => IP4(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | "ip4" => IP4(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | "ip6" => IP6(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | "ip6" => IP6(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | "udp" => Udp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | "udp" => Udp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | "dccp" => Dccp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | "dccp" => Dccp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | "sctp" => Sctp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | "sctp" => Sctp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | "tcp" => Tcp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | "tcp" => Tcp(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | "ipfs" => Ipfs(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | "ipfs" => Ipfs(try!(try!(data()).parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | while let Some(segment) = try!(segment_from_strs(&mut strs)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(self.read_exact(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if try!(self.read(&mut buffer)) == 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | 4 => IP4(try!(self.read_ipv4addr())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | 6 => Tcp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | 17 => Udp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | 33 => Dccp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | 41 => IP6(try!(self.read_ipv6addr())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | 132 => Sctp(try!(self.read_u16_be())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | try!(hash_bytes.check_empty()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | let length = try!(self.read_u64_varint()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | let multihash = try!(hash_bytes.read_multihash()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(code) = try!(self.try_read_u64_varint()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(Some(try!(self.read_segment(code)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(self.check_empty()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | while let Some(segment) = try!(self.try_read_segment()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(self.write_all(&[val])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(self.write_all(&[((val >> 8) & 0xFF) as u8, (val & 0xFF) as u8])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(self.write_all(&addr.octets())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.write_all(&addr.octets())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(self.write_u64_varint(segment.code())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.write_ipv4addr(addr)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.write_ipv6addr(addr)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.write_u16_be(port)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | try!(self.write_usize_varint(multihash.output_len())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | try!(self.write_multihash(multihash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | try!(self.write_segment(segment)); [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/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | MultiHash(mhash::error::parse::Error); [INFO] [stdout] 15 | | Num(num::ParseIntError); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [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/parse.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | MultiHash(mhash::error::parse::Error); [INFO] [stdout] 15 | | Num(num::ParseIntError); [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.76s [INFO] running `Command { std: "docker" "inspect" "d5fb10fcb5bb896675aa516ef88ff3825fcc6af3e32b9a9ff25e16e7f8922312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5fb10fcb5bb896675aa516ef88ff3825fcc6af3e32b9a9ff25e16e7f8922312", kill_on_drop: false }` [INFO] [stdout] d5fb10fcb5bb896675aa516ef88ff3825fcc6af3e32b9a9ff25e16e7f8922312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91ea31aa825a0d060665fb4b8f6b43ebd2befbf71a1710b05ee273e9e8971b30 [INFO] running `Command { std: "docker" "start" "-a" "91ea31aa825a0d060665fb4b8f6b43ebd2befbf71a1710b05ee273e9e8971b30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] [INFO] [stderr] --> src/display.rs:7:9 [INFO] [stdout] running 18 tests [INFO] [stderr] | [INFO] [stdout] test segment::tests::from_ip4 ... ok [INFO] [stderr] 7 | try!(write!(f, "/{}", self.name())); [INFO] [stdout] test segment::tests::from_ip_ip4 ... ok [INFO] [stderr] | ^^^ [INFO] [stdout] test segment::tests::from_ip_ip6 ... ok [INFO] [stderr] | [INFO] [stdout] test segment::tests::from_ip6 ... ok [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] test write::tests::ip6 ... ok [INFO] [stderr] [INFO] [stdout] test write::tests::ipfs ... ok [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] test write::tests::ip4 ... ok [INFO] [stderr] --> src/display.rs:10:17 [INFO] [stdout] test display::tests::ip4 ... ok [INFO] [stderr] | [INFO] [stdout] test display::tests::ip6 ... ok [INFO] [stderr] 10 | try!(write!(f, "/{}", addr)); [INFO] [stdout] test read::tests::ip6 ... ok [INFO] [stderr] | ^^^ [INFO] [stdout] test read::tests::ip4 ... ok [INFO] [stderr] [INFO] [stdout] test multiaddr::tests::from_ip4 ... ok [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] test read::tests::ipfs ... ok [INFO] [stderr] --> src/display.rs:13:17 [INFO] [stdout] test multiaddr::tests::add ... ok [INFO] [stderr] | [INFO] [stdout] test display::tests::ipfs ... ok [INFO] [stderr] 13 | try!(write!(f, "/{}", addr)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | try!(write!(f, "/{}", port)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | try!(write!(f, "/{}", multihash)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | try!(write!(f, "{}", segment)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | try!(f.write_str("MultiAddr(\"")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | try!(fmt::Display::fmt(self, f)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | try!(f.write_str("\")")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | try!(f.write_str("Segment(\"")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | try!(fmt::Display::fmt(self, f)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | try!(f.write_str("\")")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:27:26 [INFO] [stderr] | [INFO] [stderr] 27 | "ip4" => IP4(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | "ip4" => IP4(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | "ip6" => IP6(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:28:31 [INFO] [stderr] | [INFO] [stderr] 28 | "ip6" => IP6(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | "udp" => Udp(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:29:31 [INFO] [stderr] | [INFO] [stderr] 29 | "udp" => Udp(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | "dccp" => Dccp(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:30:33 [INFO] [stderr] | [INFO] [stderr] 30 | "dccp" => Dccp(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | "sctp" => Sctp(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:31:33 [INFO] [stderr] | [INFO] [stderr] 31 | "sctp" => Sctp(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | "tcp" => Tcp(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:32:31 [INFO] [stderr] | [INFO] [stderr] 32 | "tcp" => Tcp(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:33:28 [INFO] [stderr] | [INFO] [stderr] 33 | "ipfs" => Ipfs(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:33:33 [INFO] [stderr] | [INFO] [stderr] 33 | "ipfs" => Ipfs(try!(try!(data()).parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:53:35 [INFO] [stderr] | [INFO] [stderr] 53 | while let Some(segment) = try!(segment_from_strs(&mut strs)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | try!(self.read_exact(&mut buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | try!(self.read_exact(&mut buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | try!(self.read_exact(&mut buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | try!(self.read_exact(&mut buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | if try!(self.read(&mut buffer)) == 0 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:56:22 [INFO] [stderr] | [INFO] [stderr] 56 | 4 => IP4(try!(self.read_ipv4addr())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:57:22 [INFO] [stderr] | [INFO] [stderr] 57 | 6 => Tcp(try!(self.read_u16_be())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:58:23 [INFO] [stderr] | [INFO] [stderr] 58 | 17 => Udp(try!(self.read_u16_be())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:59:24 [INFO] [stderr] | [INFO] [stderr] 59 | 33 => Dccp(try!(self.read_u16_be())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:60:23 [INFO] [stderr] | [INFO] [stderr] 60 | 41 => IP6(try!(self.read_ipv6addr())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | 132 => Sctp(try!(self.read_u16_be())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:68:17 [INFO] [stderr] | [INFO] [stderr] 68 | try!(hash_bytes.check_empty()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:65:30 [INFO] [stderr] | [INFO] [stderr] 65 | let length = try!(self.read_u64_varint()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | let multihash = try!(hash_bytes.read_multihash()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:80:29 [INFO] [stderr] | [INFO] [stderr] 80 | if let Some(code) = try!(self.try_read_u64_varint()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | Ok(Some(try!(self.read_segment(code)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | try!(self.check_empty()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/read.rs:124:35 [INFO] [stderr] | [INFO] [stderr] 124 | while let Some(segment) = try!(self.try_read_segment()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | try!(self.write_all(&[val])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | try!(self.write_all(&[((val >> 8) & 0xFF) as u8, (val & 0xFF) as u8])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | try!(self.write_all(&addr.octets())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | try!(self.write_all(&addr.octets())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | try!(self.write_u64_varint(segment.code())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | try!(self.write_ipv4addr(addr)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | try!(self.write_ipv6addr(addr)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | try!(self.write_u16_be(port)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | try!(self.write_usize_varint(multihash.output_len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 50 | try!(self.write_multihash(multihash)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/write.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | try!(self.write_segment(segment)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parse.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain! { [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | MultiHash(mhash::error::parse::Error); [INFO] [stderr] 15 | | Num(num::ParseIntError); [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/parse.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain! { [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | MultiHash(mhash::error::parse::Error); [INFO] [stderr] 15 | | Num(num::ParseIntError); [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `maddr` (lib) generated 58 warnings [INFO] [stderr] warning: `maddr` (lib test) generated 58 warnings (58 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/maddr-84c59247c9fe6095) [INFO] [stdout] test parse::tests::ip4 ... ok [INFO] [stdout] test parse::tests::ipfs ... ok [INFO] [stdout] test parse::tests::ip6 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] Doc-tests maddr [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/write.rs - write::WriteMultiAddr::write_multiaddr (line 74) ... ok [INFO] [stdout] test src/segment.rs - segment::Segment (line 14) ... ok [INFO] [stdout] test src/multiaddr.rs - multiaddr::MultiAddr (line 12) ... ok [INFO] [stdout] test src/multiaddr.rs - multiaddr::MultiAddr (line 31) ... ok [INFO] [stdout] test src/read.rs - read::ReadMultiAddr::read_multiaddr (line 104) ... ok [INFO] [stdout] test src/multiaddr.rs - multiaddr::MultiAddr::split_off_last (line 73) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.25s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "91ea31aa825a0d060665fb4b8f6b43ebd2befbf71a1710b05ee273e9e8971b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ea31aa825a0d060665fb4b8f6b43ebd2befbf71a1710b05ee273e9e8971b30", kill_on_drop: false }` [INFO] [stdout] 91ea31aa825a0d060665fb4b8f6b43ebd2befbf71a1710b05ee273e9e8971b30