[INFO] fetching crate td_proto_rust 0.1.4... [INFO] testing td_proto_rust-0.1.4 against 1.60.0 for beta-1.61-1 [INFO] extracting crate td_proto_rust 0.1.4 into /workspace/builds/worker-96/source [INFO] validating manifest of crates.io crate td_proto_rust 0.1.4 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 td_proto_rust 0.1.4 [INFO] finished tweaking crates.io crate td_proto_rust 0.1.4 [INFO] tweaked toml for crates.io crate td_proto_rust 0.1.4 written to /workspace/builds/worker-96/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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] 497b08185dfd1d4c8a12b74a6713667bb54008b5f8a4c5e3efa92f66deddea66 [INFO] running `Command { std: "docker" "start" "-a" "497b08185dfd1d4c8a12b74a6713667bb54008b5f8a4c5e3efa92f66deddea66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "497b08185dfd1d4c8a12b74a6713667bb54008b5f8a4c5e3efa92f66deddea66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "497b08185dfd1d4c8a12b74a6713667bb54008b5f8a4c5e3efa92f66deddea66", kill_on_drop: false }` [INFO] [stdout] 497b08185dfd1d4c8a12b74a6713667bb54008b5f8a4c5e3efa92f66deddea66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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] 5a20f9a4db360ab7b92a3323b106db9cc495c88180bad7725fe18a542c7c6a29 [INFO] running `Command { std: "docker" "start" "-a" "5a20f9a4db360ab7b92a3323b106db9cc495c88180bad7725fe18a542c7c6a29", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling td_proto_rust v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/values.rs:452:17 [INFO] [stdout] | [INFO] [stdout] 452 | try!(desc.fmt(f)); [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/values.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | 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/values.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | try!(code.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/values.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(encode_number(buffer, &Value::from(0 as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | try!(encode_number(buffer, &Value::U16(get_type_by_name(pattern)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(buffer.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | try!(buffer.write(unsafe { &mem::transmute::(val) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | try!(buffer.write(unsafe { &mem::transmute::(val) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | try!(encode_number(buffer, &Value::U16(val.len() as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | try!(append_and_align(buffer, &val.as_bytes()[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | try!(encode_number(buffer, &Value::U16(val.len() as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | try!(append_and_align(buffer, &val[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | if try!(write_field(buffer, config.get_field_by_name(name))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | try!(encode_field(buffer, config, sub_value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | try!(encode_number(buffer, &Value::U16(field.index))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | try!(encode_number(buffer, &Value::U16(get_type_by_name(&field.pattern)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(write_str_field(buffer, get_name_by_type(get_type_by_value(value)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(encode_number(buffer, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | try!(encode_str_raw(buffer, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(encode_map(buffer, config, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | try!(encode_field(buffer, config, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_vailed!(v, must_type); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | try!(encode_str_raw(buffer, &Value::Str(name.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / ensure!(proto.is_some(), [INFO] [stdout] 146 | | (ErrorKind::MissingError, "missing the name protocol")); [INFO] [stdout] | |___________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / ensure!(proto.args.len() == infos.len(), [INFO] [stdout] 149 | | (ErrorKind::TypeNotMatchError, "the data num not match protocol args num")); [INFO] [stdout] | |_______________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | try!(encode_field(buffer, config, info)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | let len: u16 = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try_read!(buffer.read(&mut rv[..]), len as usize); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | let len: u16 = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | try_read!(buffer.read(&mut rv[..]), len as usize); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let field = try!(read_field(buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let sub_value = try!(decode_field(buffer, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let index = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | let pattern = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | TYPE_AU8 => decode_array!(decode_field(buffer, config), Value::AU8, Value::U8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | TYPE_AU8 => decode_array!(decode_field(buffer, config), Value::AU8, Value::U8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | TYPE_AI8 => decode_array!(decode_field(buffer, config), Value::AI8, Value::I8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | TYPE_AI8 => decode_array!(decode_field(buffer, config), Value::AI8, Value::I8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | TYPE_AU16 => decode_array!(decode_field(buffer, config), Value::AU16, Value::U16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | TYPE_AU16 => decode_array!(decode_field(buffer, config), Value::AU16, Value::U16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | TYPE_AI16 => decode_array!(decode_field(buffer, config), Value::AI16, Value::I16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | TYPE_AI16 => decode_array!(decode_field(buffer, config), Value::AI16, Value::I16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | TYPE_AU32 => decode_array!(decode_field(buffer, config), Value::AU32, Value::U32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | TYPE_AU32 => decode_array!(decode_field(buffer, config), Value::AU32, Value::U32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | TYPE_AI32 => decode_array!(decode_field(buffer, config), Value::AI32, Value::I32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | TYPE_AI32 => decode_array!(decode_field(buffer, config), Value::AI32, Value::I32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | TYPE_AFLOAT => decode_array!(decode_field(buffer, config), Value::AFloat, Value::Float), [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | TYPE_AFLOAT => decode_array!(decode_field(buffer, config), Value::AFloat, Value::Float), [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | TYPE_ASTR => decode_array!(decode_field(buffer, config), Value::AStr, Value::Str), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | TYPE_ASTR => decode_array!(decode_field(buffer, config), Value::AStr, Value::Str), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | TYPE_ARAW => decode_array!(decode_field(buffer, config), Value::ARaw, Value::Raw), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | TYPE_ARAW => decode_array!(decode_field(buffer, config), Value::ARaw, Value::Raw), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | TYPE_AMAP => decode_array!(decode_field(buffer, config), Value::AMap, Value::Map), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | TYPE_AMAP => decode_array!(decode_field(buffer, config), Value::AMap, Value::Map), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | _ => fail!((ErrorKind::TypeNotMatchError, "must match type")), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let field = try!(read_field(buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | let name = try!(decode_str_raw(buffer, TYPE_STR)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | let sub_value = try!(decode_field(buffer, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:439:32 [INFO] [stdout] | [INFO] [stdout] 439 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 439 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 439 + fn cause(&self) -> Option<&dyn error::Error> { [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/values.rs:435:48 [INFO] [stdout] | [INFO] [stdout] 435 | ErrorRepr::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:441:57 [INFO] [stdout] | [INFO] [stdout] 441 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 441 - ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] 441 + ErrorRepr::IoError(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.89s [INFO] running `Command { std: "docker" "inspect" "5a20f9a4db360ab7b92a3323b106db9cc495c88180bad7725fe18a542c7c6a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a20f9a4db360ab7b92a3323b106db9cc495c88180bad7725fe18a542c7c6a29", kill_on_drop: false }` [INFO] [stdout] 5a20f9a4db360ab7b92a3323b106db9cc495c88180bad7725fe18a542c7c6a29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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] b9f8ccfe82349cab390ce517d50ced4888cf60082a0635ffc3fd6350a3aa141c [INFO] running `Command { std: "docker" "start" "-a" "b9f8ccfe82349cab390ce517d50ced4888cf60082a0635ffc3fd6350a3aa141c", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/values.rs:452:17 [INFO] [stdout] | [INFO] [stdout] 452 | try!(desc.fmt(f)); [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/values.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | 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/values.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | try!(code.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/values.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(encode_number(buffer, &Value::from(0 as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | try!(encode_number(buffer, &Value::U16(get_type_by_name(pattern)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(buffer.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | try!(buffer.write(unsafe { &mem::transmute::(val) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | try!(buffer.write(unsafe { &mem::transmute::(val) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | try!(encode_number(buffer, &Value::U16(val.len() as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | try!(append_and_align(buffer, &val.as_bytes()[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | try!(encode_number(buffer, &Value::U16(val.len() as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | try!(append_and_align(buffer, &val[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | if try!(write_field(buffer, config.get_field_by_name(name))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | try!(encode_field(buffer, config, sub_value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | try!(encode_number(buffer, &Value::U16(field.index))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | try!(encode_number(buffer, &Value::U16(get_type_by_name(&field.pattern)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(write_str_field(buffer, get_name_by_type(get_type_by_value(value)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(encode_number(buffer, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | try!(encode_str_raw(buffer, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(encode_map(buffer, config, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | try!(encode_field(buffer, config, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_vailed!(v, must_type); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | try!(encode_str_raw(buffer, &Value::Str(name.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / ensure!(proto.is_some(), [INFO] [stdout] 146 | | (ErrorKind::MissingError, "missing the name protocol")); [INFO] [stdout] | |___________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / ensure!(proto.args.len() == infos.len(), [INFO] [stdout] 149 | | (ErrorKind::TypeNotMatchError, "the data num not match protocol args num")); [INFO] [stdout] | |_______________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | try!(encode_field(buffer, config, info)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | let len: u16 = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try_read!(buffer.read(&mut rv[..]), len as usize); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | let len: u16 = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | try_read!(buffer.read(&mut rv[..]), len as usize); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let field = try!(read_field(buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let sub_value = try!(decode_field(buffer, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let index = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | let pattern = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | TYPE_AU8 => decode_array!(decode_field(buffer, config), Value::AU8, Value::U8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | TYPE_AU8 => decode_array!(decode_field(buffer, config), Value::AU8, Value::U8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | TYPE_AI8 => decode_array!(decode_field(buffer, config), Value::AI8, Value::I8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | TYPE_AI8 => decode_array!(decode_field(buffer, config), Value::AI8, Value::I8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | TYPE_AU16 => decode_array!(decode_field(buffer, config), Value::AU16, Value::U16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | TYPE_AU16 => decode_array!(decode_field(buffer, config), Value::AU16, Value::U16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | TYPE_AI16 => decode_array!(decode_field(buffer, config), Value::AI16, Value::I16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | TYPE_AI16 => decode_array!(decode_field(buffer, config), Value::AI16, Value::I16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | TYPE_AU32 => decode_array!(decode_field(buffer, config), Value::AU32, Value::U32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | TYPE_AU32 => decode_array!(decode_field(buffer, config), Value::AU32, Value::U32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | TYPE_AI32 => decode_array!(decode_field(buffer, config), Value::AI32, Value::I32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling td_proto_rust v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | TYPE_AI32 => decode_array!(decode_field(buffer, config), Value::AI32, Value::I32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | TYPE_AFLOAT => decode_array!(decode_field(buffer, config), Value::AFloat, Value::Float), [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | TYPE_AFLOAT => decode_array!(decode_field(buffer, config), Value::AFloat, Value::Float), [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | TYPE_ASTR => decode_array!(decode_field(buffer, config), Value::AStr, Value::Str), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | TYPE_ASTR => decode_array!(decode_field(buffer, config), Value::AStr, Value::Str), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | TYPE_ARAW => decode_array!(decode_field(buffer, config), Value::ARaw, Value::Raw), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | TYPE_ARAW => decode_array!(decode_field(buffer, config), Value::ARaw, Value::Raw), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | TYPE_AMAP => decode_array!(decode_field(buffer, config), Value::AMap, Value::Map), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | TYPE_AMAP => decode_array!(decode_field(buffer, config), Value::AMap, Value::Map), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | _ => fail!((ErrorKind::TypeNotMatchError, "must match type")), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let field = try!(read_field(buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | let name = try!(decode_str_raw(buffer, TYPE_STR)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | let sub_value = try!(decode_field(buffer, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:439:32 [INFO] [stdout] | [INFO] [stdout] 439 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 439 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 439 + fn cause(&self) -> Option<&dyn error::Error> { [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/values.rs:435:48 [INFO] [stdout] | [INFO] [stdout] 435 | ErrorRepr::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:441:57 [INFO] [stdout] | [INFO] [stdout] 441 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 441 - ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] 441 + ErrorRepr::IoError(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/rp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | try!(f.read_to_string(&mut s)); [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] --> examples/rp.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut f = try!(File::open(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/values.rs:452:17 [INFO] [stdout] | [INFO] [stdout] 452 | try!(desc.fmt(f)); [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/values.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | 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/values.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | try!(code.fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/values.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/config.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(encode_number(buffer, &Value::from(0 as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | try!(encode_number(buffer, &Value::U16(get_type_by_name(pattern)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(buffer.write(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | try!(buffer.write(unsafe { &mem::transmute::(val) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | try!(buffer.write(unsafe { &mem::transmute::(val) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | try!(encode_number(buffer, &Value::U16(val.len() as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | try!(append_and_align(buffer, &val.as_bytes()[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | try!(encode_number(buffer, &Value::U16(val.len() as u16))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | try!(append_and_align(buffer, &val[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | if try!(write_field(buffer, config.get_field_by_name(name))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | try!(encode_field(buffer, config, sub_value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | try!(encode_number(buffer, &Value::U16(field.index))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | try!(encode_number(buffer, &Value::U16(get_type_by_name(&field.pattern)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | try!(write_str_field(buffer, get_name_by_type(get_type_by_value(value)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(encode_number(buffer, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | try!(encode_str_raw(buffer, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(encode_map(buffer, config, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | try!(encode_field(buffer, config, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | check_vailed!(v, must_type); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | try!(encode_str_raw(buffer, &Value::Str(name.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / ensure!(proto.is_some(), [INFO] [stdout] 146 | | (ErrorKind::MissingError, "missing the name protocol")); [INFO] [stdout] | |___________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/encode.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / ensure!(proto.args.len() == infos.len(), [INFO] [stdout] 149 | | (ErrorKind::TypeNotMatchError, "the data num not match protocol args num")); [INFO] [stdout] | |_______________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encode.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | try!(encode_field(buffer, config, info)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | try_read!(buffer.read(data), data.len()); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | let len: u16 = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try_read!(buffer.read(&mut rv[..]), len as usize); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | let len: u16 = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if try!($expr) != $val { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | try_read!(buffer.read(&mut rv[..]), len as usize); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let field = try!(read_field(buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let sub_value = try!(decode_field(buffer, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let index = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | let pattern = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | TYPE_AU8 => decode_array!(decode_field(buffer, config), Value::AU8, Value::U8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | TYPE_AU8 => decode_array!(decode_field(buffer, config), Value::AU8, Value::U8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | TYPE_AI8 => decode_array!(decode_field(buffer, config), Value::AI8, Value::I8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | TYPE_AI8 => decode_array!(decode_field(buffer, config), Value::AI8, Value::I8), [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | TYPE_AU16 => decode_array!(decode_field(buffer, config), Value::AU16, Value::U16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | TYPE_AU16 => decode_array!(decode_field(buffer, config), Value::AU16, Value::U16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | TYPE_AI16 => decode_array!(decode_field(buffer, config), Value::AI16, Value::I16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | TYPE_AI16 => decode_array!(decode_field(buffer, config), Value::AI16, Value::I16), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | TYPE_AU32 => decode_array!(decode_field(buffer, config), Value::AU32, Value::U32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | TYPE_AU32 => decode_array!(decode_field(buffer, config), Value::AU32, Value::U32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | TYPE_AI32 => decode_array!(decode_field(buffer, config), Value::AI32, Value::I32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | TYPE_AI32 => decode_array!(decode_field(buffer, config), Value::AI32, Value::I32), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | TYPE_AFLOAT => decode_array!(decode_field(buffer, config), Value::AFloat, Value::Float), [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | TYPE_AFLOAT => decode_array!(decode_field(buffer, config), Value::AFloat, Value::Float), [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | TYPE_ASTR => decode_array!(decode_field(buffer, config), Value::AStr, Value::Str), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | TYPE_ASTR => decode_array!(decode_field(buffer, config), Value::AStr, Value::Str), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | TYPE_ARAW => decode_array!(decode_field(buffer, config), Value::ARaw, Value::Raw), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | TYPE_ARAW => decode_array!(decode_field(buffer, config), Value::ARaw, Value::Raw), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | let sub_value = try!($expr); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | TYPE_AMAP => decode_array!(decode_field(buffer, config), Value::AMap, Value::Map), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | TYPE_AMAP => decode_array!(decode_field(buffer, config), Value::AMap, Value::Map), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/decode.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | _ => fail!((ErrorKind::TypeNotMatchError, "must match type")), [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let field = try!(read_field(buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | let name = try!(decode_str_raw(buffer, TYPE_STR)).into(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | let sub_value = try!(decode_field(buffer, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:439:32 [INFO] [stdout] | [INFO] [stdout] 439 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 439 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 439 + fn cause(&self) -> Option<&dyn error::Error> { [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/values.rs:435:48 [INFO] [stdout] | [INFO] [stdout] 435 | ErrorRepr::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/values.rs:441:57 [INFO] [stdout] | [INFO] [stdout] 441 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 441 - ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stdout] 441 + ErrorRepr::IoError(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "b9f8ccfe82349cab390ce517d50ced4888cf60082a0635ffc3fd6350a3aa141c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f8ccfe82349cab390ce517d50ced4888cf60082a0635ffc3fd6350a3aa141c", kill_on_drop: false }` [INFO] [stdout] b9f8ccfe82349cab390ce517d50ced4888cf60082a0635ffc3fd6350a3aa141c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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] e335e2e09231e521ab369633a6a1cab51df2e74f944f80b1f3fbf36175e6d240 [INFO] running `Command { std: "docker" "start" "-a" "e335e2e09231e521ab369633a6a1cab51df2e74f944f80b1f3fbf36175e6d240", 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] [stderr] --> src/values.rs:452:17 [INFO] [stderr] | [INFO] [stderr] 452 | try!(desc.fmt(f)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/values.rs:453:17 [INFO] [stderr] | [INFO] [stderr] 453 | try!(f.write_str(": ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/values.rs:457:17 [INFO] [stderr] | [INFO] [stderr] 457 | try!(code.fmt(f)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/values.rs:458:17 [INFO] [stderr] | [INFO] [stderr] 458 | try!(f.write_str(": ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/config.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(RustcDecodable, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/config.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(RustcDecodable, Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | try!(encode_number(buffer, &Value::from(0 as u16))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | try!(encode_number(buffer, &Value::U16(get_type_by_name(pattern)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | try!(buffer.write(val)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | try!(buffer.write(unsafe { &mem::transmute::(val) })); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | try!(buffer.write(unsafe { &mem::transmute::(val) })); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | try!(buffer.write(unsafe { &mem::transmute::(val.to_le()) })); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | try!(encode_number(buffer, &Value::U16(val.len() as u16))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | try!(append_and_align(buffer, &val.as_bytes()[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | try!(encode_number(buffer, &Value::U16(val.len() as u16))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | try!(append_and_align(buffer, &val[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:77:20 [INFO] [stderr] | [INFO] [stderr] 77 | if try!(write_field(buffer, config.get_field_by_name(name))) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | try!(encode_field(buffer, config, sub_value)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | try!(encode_number(buffer, &Value::U16(field.index))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | try!(encode_number(buffer, &Value::U16(get_type_by_name(&field.pattern)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | try!(write_str_field(buffer, get_name_by_type(get_type_by_value(value)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | try!(encode_number(buffer, value)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | try!(encode_str_raw(buffer, value)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | try!(encode_map(buffer, config, value)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | try!(encode_field(buffer, config, v)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/encode.rs:130:17 [INFO] [stderr] | [INFO] [stderr] 130 | check_vailed!(v, must_type); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | try!(encode_str_raw(buffer, &Value::Str(name.clone()))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | try!(write_str_field(buffer, STR_TYPE_NIL)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/encode.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | / ensure!(proto.is_some(), [INFO] [stderr] 146 | | (ErrorKind::MissingError, "missing the name protocol")); [INFO] [stderr] | |___________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/encode.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | / ensure!(proto.args.len() == infos.len(), [INFO] [stderr] 149 | | (ErrorKind::TypeNotMatchError, "the data num not match protocol args num")); [INFO] [stderr] | |_______________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fail` [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/encode.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 153 | try!(encode_field(buffer, config, info)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | try_read!(buffer.read(data), data.len()); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | try_read!(buffer.read(data), data.len()); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | try_read!(buffer.read(data), data.len()); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | try_read!(buffer.read(data), data.len()); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | try_read!(buffer.read(data), data.len()); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | try_read!(buffer.read(data), data.len()); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | try_read!(buffer.read(data), data.len()); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:70:28 [INFO] [stderr] | [INFO] [stderr] 70 | let len: u16 = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | try_read!(buffer.read(&mut rv[..]), len as usize); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:83:28 [INFO] [stderr] | [INFO] [stderr] 83 | let len: u16 = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | if try!($expr) != $val { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | try_read!(buffer.read(&mut rv[..]), len as usize); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_read` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:100:21 [INFO] [stderr] | [INFO] [stderr] 100 | let field = try!(read_field(buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | let sub_value = try!(decode_field(buffer, config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | let index = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:116:19 [INFO] [stderr] | [INFO] [stderr] 116 | let pattern = try!(decode_number(buffer, TYPE_U16)).into(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:131:21 [INFO] [stderr] | [INFO] [stderr] 131 | TYPE_AU8 => decode_array!(decode_field(buffer, config), Value::AU8, Value::U8), [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:131:21 [INFO] [stderr] | [INFO] [stderr] 131 | TYPE_AU8 => decode_array!(decode_field(buffer, config), Value::AU8, Value::U8), [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | TYPE_AI8 => decode_array!(decode_field(buffer, config), Value::AI8, Value::I8), [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | TYPE_AI8 => decode_array!(decode_field(buffer, config), Value::AI8, Value::I8), [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:133:22 [INFO] [stderr] | [INFO] [stderr] 133 | TYPE_AU16 => decode_array!(decode_field(buffer, config), Value::AU16, Value::U16), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:133:22 [INFO] [stderr] | [INFO] [stderr] 133 | TYPE_AU16 => decode_array!(decode_field(buffer, config), Value::AU16, Value::U16), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:134:22 [INFO] [stderr] | [INFO] [stderr] 134 | TYPE_AI16 => decode_array!(decode_field(buffer, config), Value::AI16, Value::I16), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:134:22 [INFO] [stderr] | [INFO] [stderr] 134 | TYPE_AI16 => decode_array!(decode_field(buffer, config), Value::AI16, Value::I16), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:135:22 [INFO] [stderr] | [INFO] [stderr] 135 | TYPE_AU32 => decode_array!(decode_field(buffer, config), Value::AU32, Value::U32), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:135:22 [INFO] [stderr] | [INFO] [stderr] 135 | TYPE_AU32 => decode_array!(decode_field(buffer, config), Value::AU32, Value::U32), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:136:22 [INFO] [stderr] | [INFO] [stderr] 136 | TYPE_AI32 => decode_array!(decode_field(buffer, config), Value::AI32, Value::I32), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:136:22 [INFO] [stderr] | [INFO] [stderr] 136 | TYPE_AI32 => decode_array!(decode_field(buffer, config), Value::AI32, Value::I32), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:137:24 [INFO] [stderr] | [INFO] [stderr] 137 | TYPE_AFLOAT => decode_array!(decode_field(buffer, config), Value::AFloat, Value::Float), [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:137:24 [INFO] [stderr] | [INFO] [stderr] 137 | TYPE_AFLOAT => decode_array!(decode_field(buffer, config), Value::AFloat, Value::Float), [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:138:22 [INFO] [stderr] | [INFO] [stderr] 138 | TYPE_ASTR => decode_array!(decode_field(buffer, config), Value::AStr, Value::Str), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:138:22 [INFO] [stderr] | [INFO] [stderr] 138 | TYPE_ASTR => decode_array!(decode_field(buffer, config), Value::AStr, Value::Str), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:139:22 [INFO] [stderr] | [INFO] [stderr] 139 | TYPE_ARAW => decode_array!(decode_field(buffer, config), Value::ARaw, Value::Raw), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:139:22 [INFO] [stderr] | [INFO] [stderr] 139 | TYPE_ARAW => decode_array!(decode_field(buffer, config), Value::ARaw, Value::Raw), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | let sub_value = try!($expr); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:140:22 [INFO] [stderr] | [INFO] [stderr] 140 | TYPE_AMAP => decode_array!(decode_field(buffer, config), Value::AMap, Value::Map), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `decode_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:140:22 [INFO] [stderr] | [INFO] [stderr] 140 | TYPE_AMAP => decode_array!(decode_field(buffer, config), Value::AMap, Value::Map), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/macros.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | return Err(::std::convert::From::from($expr)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/decode.rs:142:14 [INFO] [stderr] | [INFO] [stderr] 142 | _ => fail!((ErrorKind::TypeNotMatchError, "must match type")), [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:148:17 [INFO] [stderr] | [INFO] [stderr] 148 | let field = try!(read_field(buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:156:16 [INFO] [stderr] | [INFO] [stderr] 156 | let name = try!(decode_str_raw(buffer, TYPE_STR)).into(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:160:25 [INFO] [stderr] | [INFO] [stderr] 160 | let sub_value = try!(decode_field(buffer, config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/values.rs:439:32 [INFO] [stderr] | [INFO] [stderr] 439 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 439 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 439 + fn cause(&self) -> Option<&dyn error::Error> { [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/values.rs:435:48 [INFO] [stderr] | [INFO] [stderr] 435 | ErrorRepr::IoError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/values.rs:441:57 [INFO] [stderr] | [INFO] [stderr] 441 | ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 441 - ErrorRepr::IoError(ref err) => Some(err as &error::Error), [INFO] [stderr] 441 + ErrorRepr::IoError(ref err) => Some(err as &dyn error::Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `td_proto_rust` (lib) generated 79 warnings [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> examples/rp.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | try!(f.read_to_string(&mut s)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> examples/rp.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | let mut f = try!(File::open(name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `td_proto_rust` (lib test) generated 79 warnings (79 duplicates) [INFO] [stderr] warning: `td_proto_rust` (example "rp") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/td_proto_rust-533b900d4f3a2120) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-4d5745563e65830b) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_base_proto ... ok [INFO] [stdout] test test_encode_array_u8 ... ok [INFO] [stdout] test test_encode_float ... ok [INFO] [stdout] test test_encode_map ... ok [INFO] [stdout] test test_encode_u16 ... ok [INFO] [stdout] test test_encode_u32 ... ok [INFO] [stdout] test test_encode_u8 ... ok [INFO] [stdout] test test_encode_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests td_proto_rust [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e335e2e09231e521ab369633a6a1cab51df2e74f944f80b1f3fbf36175e6d240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e335e2e09231e521ab369633a6a1cab51df2e74f944f80b1f3fbf36175e6d240", kill_on_drop: false }` [INFO] [stdout] e335e2e09231e521ab369633a6a1cab51df2e74f944f80b1f3fbf36175e6d240