[INFO] fetching crate dns-parser-joe 0.1.1... [INFO] checking dns-parser-joe-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate dns-parser-joe 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate dns-parser-joe 0.1.1 [INFO] finished tweaking crates.io crate dns-parser-joe 0.1.1 [INFO] tweaked toml for crates.io crate dns-parser-joe 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dns-parser-joe 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding byteorder v0.4.2 (available: v1.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a50281f10f6caa44a5c2279715355245d8b0de450e69ced7419104b82e16c05 [INFO] running `Command { std: "docker" "start" "-a" "1a50281f10f6caa44a5c2279715355245d8b0de450e69ced7419104b82e16c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a50281f10f6caa44a5c2279715355245d8b0de450e69ced7419104b82e16c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a50281f10f6caa44a5c2279715355245d8b0de450e69ced7419104b82e16c05", kill_on_drop: false }` [INFO] [stdout] 1a50281f10f6caa44a5c2279715355245d8b0de450e69ced7419104b82e16c05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f61d59c036962534eb12a41eed0e39bba1f4a279b06be044fb952003f14d66f [INFO] running `Command { std: "docker" "start" "-a" "6f61d59c036962534eb12a41eed0e39bba1f4a279b06be044fb952003f14d66f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking dns-parser-joe v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/enums.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | 6...15 => Reserved(code), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/name.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | try!(fmt.write_char('.')); [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/name.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | try!(fmt.write_str(from_utf8(&data[pos+1..end]).unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/name.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | try!(fmt.write_char('.')); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let header = try!(Header::parse(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let name = try!(Name::scan(&data[offset..], data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let qtype = try!(QueryType::parse( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | let (prefer_unicast, qclass) = try!(parse_qclass_code( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | answers.push(try!(parse_record(data, &mut offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | nameservers.push(try!(parse_record(data, &mut offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | opt = Some(try!(parse_opt_record(data, &mut offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | additional.push(try!(parse_record(data, &mut offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | let qclass = try!(QueryClass::parse(qclass_code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | let cls = try!(Class::parse(class_code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | let name = try!(Name::scan(&data[*offset..], data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | let typ = try!(Type::parse( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let (multicast_unique, cls) = try!(parse_class_code(class_code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | let data = try!(RRData::parse(typ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | let typ = try!(Type::parse( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | let data = try!(RRData::parse(typ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(RRData::CNAME(try!(Name::scan(rdata, original)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(RRData::NS(try!(Name::scan(rdata, original)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | exchange: try!(Name::scan(&rdata[2..], original)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(RRData::PTR(try!(Name::scan(rdata, original)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | let primary_name_server = try!(Name::scan(rdata, original)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | let mailbox = try!(Name::scan(&rdata[pos..], original)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | target: try!(Name::scan(&rdata[6..], original)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(data: &[u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/enums.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | 6...15 => Reserved(code), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/name.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | try!(fmt.write_char('.')); [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/name.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | try!(fmt.write_str(from_utf8(&data[pos+1..end]).unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/name.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | try!(fmt.write_char('.')); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let header = try!(Header::parse(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let name = try!(Name::scan(&data[offset..], data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let qtype = try!(QueryType::parse( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | let (prefer_unicast, qclass) = try!(parse_qclass_code( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | answers.push(try!(parse_record(data, &mut offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | nameservers.push(try!(parse_record(data, &mut offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | opt = Some(try!(parse_opt_record(data, &mut offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | additional.push(try!(parse_record(data, &mut offset))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | let qclass = try!(QueryClass::parse(qclass_code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | let cls = try!(Class::parse(class_code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | let name = try!(Name::scan(&data[*offset..], data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | let typ = try!(Type::parse( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | let (multicast_unique, cls) = try!(parse_class_code(class_code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | let data = try!(RRData::parse(typ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | let typ = try!(Type::parse( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | let data = try!(RRData::parse(typ, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(RRData::CNAME(try!(Name::scan(rdata, original)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(RRData::NS(try!(Name::scan(rdata, original)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | exchange: try!(Name::scan(&rdata[2..], original)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(RRData::PTR(try!(Name::scan(rdata, original)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | let primary_name_server = try!(Name::scan(rdata, original)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | let mailbox = try!(Name::scan(&rdata[pos..], original)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rrdata.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | target: try!(Name::scan(&rdata[6..], original)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse(data: &[u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "6f61d59c036962534eb12a41eed0e39bba1f4a279b06be044fb952003f14d66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f61d59c036962534eb12a41eed0e39bba1f4a279b06be044fb952003f14d66f", kill_on_drop: false }` [INFO] [stdout] 6f61d59c036962534eb12a41eed0e39bba1f4a279b06be044fb952003f14d66f