Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-89007-58316/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-rustc-serialize-0.3.25-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-89007-58316/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yY4SWv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rustc-serialize-0.3.25 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-serialize-0.3.25.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-serialize-0.3.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rustc-serialize-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Ft1CbQ + umask 022 + cd /builddir/build/BUILD + cd rustc-serialize-0.3.25 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-rustc-serialize-0.3.25-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-89007-58316/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-rustc-serialize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2CNNwe + umask 022 + cd /builddir/build/BUILD + cd rustc-serialize-0.3.25 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IzahDX + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rustc-serialize-0.3.25 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j32 -Z avoid-dev-deps --profile rpm Compiling rustc-serialize v0.3.25 (/builddir/build/BUILD/rustc-serialize-0.3.25) Running `/usr/bin/rustc --crate-name rustc_serialize src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=45622d5d862267a1 -C extra-filename=-45622d5d862267a1 --out-dir /builddir/build/BUILD/rustc-serialize-0.3.25/target/rpm/deps -L dependency=/builddir/build/BUILD/rustc-serialize-0.3.25/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1119:21 | 1119 | Ok(Box::new(try!(Decodable::decode(d)))) | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1125:25 | 1125 | let v: Vec = try!(Decodable::decode(d)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1140:20 | 1140 | Ok(Rc::new(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1156:23 | 1156 | Ok(Cow::Owned(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1164:17 | 1164 | try!(s.emit_seq_elt(i, |s| e.encode(s))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1175:17 | 1175 | try!(s.emit_seq_elt(i, |s| e.encode(s))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1187:24 | 1187 | v.push(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1209:25 | 1209 | Ok(Some(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1223:25 | 1223 | try!(s.emit_enum_variant_arg(0, |s| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1231:25 | 1231 | try!(s.emit_enum_variant_arg(0, |s| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1295:34 | 1295 | let ret = ($(try!(d.read_tuple_arg({ i+=1; i-1 }, | ^^^ ... 1320 | tuple! { T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, } | ------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1311:23 | 1311 | $(try!(s.emit_tuple_arg({ i+=1; i-1 }, |s| $name.encode(s)));)* | ^^^ ... 1320 | tuple! { T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, } | ------------------------------------------------------------ in this macro invocation | = note: this warning originates in the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1332:25 | 1332 | try!(d.read_seq_elt($len - $idx - 1, | ^^^ ... 1353 | / array! { 1354 | | 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 1355 | | 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1356 | | } | |_- in this macro invocation | = note: this warning originates in the macro `array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1343:25 | 1343 | try!(s.emit_seq_elt(i, |s| self[i].encode(s))); | ^^^ ... 1353 | / array! { 1354 | | 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 1355 | | 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1356 | | } | |_- in this macro invocation | = note: this warning originates in the macro `array` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1394:30 | 1394 | let bytes: Vec = try!(Decodable::decode(d)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1419:22 | 1419 | Ok(Cell::new(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1436:25 | 1436 | Ok(RefCell::new(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1448:21 | 1448 | Ok(Arc::new(try!(Decodable::decode(d)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1501:17 | 1501 | try!(this.emit_seq_elt(i, |this| { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/serialize.rs:1557:24 | 1557 | v.push(try!(this.read_seq_elt(i, |this| f(this)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:24:17 | 24 | try!(s.emit_seq_elt(i, |s| e.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:36:32 | 36 | list.push_back(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:47:17 | 47 | try!(s.emit_seq_elt(i, |s| e.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:59:33 | 59 | deque.push_back(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:74:17 | 74 | try!(e.emit_map_elt_key(i, |e| key.encode(e))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:75:17 | 75 | try!(e.emit_map_elt_val(i, |e| val.encode(e))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:91:27 | 91 | let key = try!(d.read_map_elt_key(i, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:92:27 | 92 | let val = try!(d.read_map_elt_val(i, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:107:17 | 107 | try!(s.emit_seq_elt(i, |s| e.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:122:28 | 122 | set.insert(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:137:17 | 137 | try!(e.emit_map_elt_key(i, |e| key.encode(e))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:138:17 | 138 | try!(e.emit_map_elt_val(i, |e| val.encode(e))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:154:27 | 154 | let key = try!(d.read_map_elt_key(i, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:155:27 | 155 | let val = try!(d.read_map_elt_val(i, |d| Decodable::decode(d))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:168:17 | 168 | try!(s.emit_seq_elt(i, |s| e.encode(s))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/collection_impls.rs:181:28 | 181 | set.insert(try!(d.read_seq_elt(i, |d| Decodable::decode(d)))); | ^^^ warning: `...` range patterns are deprecated --> src/hex.rs:137:21 | 137 | b'A'...b'F' => buf |= byte - b'A' + 10, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/hex.rs:138:21 | 138 | b'a'...b'f' => buf |= byte - b'a' + 10, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/hex.rs:139:21 | 139 | b'0'...b'9' => buf |= byte - b'0', | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:394:9 | 394 | try!(object.encode(&mut encoder)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:461:5 | 461 | try!(wr.write_str("\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:518:5 | 518 | try!(wr.write_str("\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:509:9 | 509 | try!(wr.write_str(escaped)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:506:13 | 506 | try!(wr.write_str(&v[start..i])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:515:9 | 515 | try!(wr.write_str(&v[start..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:534:9 | 534 | try!(wr.write_str(BUF)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:539:9 | 539 | try!(wr.write_str(&BUF[..n])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:627:9 | 627 | try!(write!(self.writer, "null")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 631 | fn emit_usize(&mut self, v: usize) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 631 | fn emit_usize(&mut self, v: usize) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 632 | fn emit_u64(&mut self, v: u64) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 632 | fn emit_u64(&mut self, v: u64) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 633 | fn emit_u32(&mut self, v: u32) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 633 | fn emit_u32(&mut self, v: u32) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 634 | fn emit_u16(&mut self, v: u16) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 634 | fn emit_u16(&mut self, v: u16) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 635 | fn emit_u8(&mut self, v: u8) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 635 | fn emit_u8(&mut self, v: u8) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 637 | fn emit_isize(&mut self, v: isize) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 637 | fn emit_isize(&mut self, v: isize) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 638 | fn emit_i64(&mut self, v: i64) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 638 | fn emit_i64(&mut self, v: i64) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 639 | fn emit_i32(&mut self, v: i32) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 639 | fn emit_i32(&mut self, v: i32) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 640 | fn emit_i16(&mut self, v: i16) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 640 | fn emit_i16(&mut self, v: i16) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 641 | fn emit_i8(&mut self, v: i8) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 641 | fn emit_i8(&mut self, v: i8) -> EncodeResult<()> { emit_enquoted_if_mapkey!(self, v) } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:646:13 | 646 | try!(write!(self.writer, "true")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:648:13 | 648 | try!(write!(self.writer, "false")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:559:13 | 559 | try!(write!($enc.writer, "\"{}\"", $e)); | ^^^ ... 654 | emit_enquoted_if_mapkey!(self, fmt_number_or_null(v)) | ----------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:562:13 | 562 | try!(write!($enc.writer, "{}", $e)); | ^^^ ... 654 | emit_enquoted_if_mapkey!(self, fmt_number_or_null(v)) | ----------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `emit_enquoted_if_mapkey` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:703:13 | 703 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:689:17 | 689 | try!(write!(self.writer, "{{\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:691:17 | 691 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:692:17 | 692 | try!(write!(self.writer, "\"variant\": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:693:17 | 693 | try!(escape_str(self.writer, name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:694:17 | 694 | try!(write!(self.writer, ",\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:695:17 | 695 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:696:17 | 696 | try!(write!(self.writer, "\"fields\": [\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:699:17 | 699 | try!(write!(self.writer, "{{\"variant\":")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:700:17 | 700 | try!(escape_str(self.writer, name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:701:17 | 701 | try!(write!(self.writer, ",\"fields\":[")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:706:17 | 706 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:707:17 | 707 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:709:17 | 709 | try!(write!(self.writer, "]\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:710:17 | 710 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:711:17 | 711 | try!(write!(self.writer, "}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:713:17 | 713 | try!(write!(self.writer, "]}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:724:13 | 724 | try!(write!(self.writer, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:726:17 | 726 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:730:13 | 730 | try!(spaces(self.writer, curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:762:13 | 762 | try!(write!(self.writer, "{{}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:764:13 | 764 | try!(write!(self.writer, "{{")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:768:13 | 768 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:774:13 | 774 | try!(write!(self.writer, "}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:771:17 | 771 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:772:17 | 772 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:790:9 | 790 | try!(escape_str(self.writer, name)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:784:13 | 784 | try!(write!(self.writer, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:787:13 | 787 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:788:13 | 788 | try!(spaces(self.writer, curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:792:13 | 792 | try!(write!(self.writer, ": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:794:13 | 794 | try!(write!(self.writer, ":")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:847:13 | 847 | try!(write!(self.writer, "[]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:849:13 | 849 | try!(write!(self.writer, "[")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:853:13 | 853 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:859:13 | 859 | try!(write!(self.writer, "]")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:856:17 | 856 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:857:17 | 857 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:869:13 | 869 | try!(write!(self.writer, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:872:13 | 872 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:873:13 | 873 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:883:13 | 883 | try!(write!(self.writer, "{{}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:885:13 | 885 | try!(write!(self.writer, "{{")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:889:13 | 889 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:895:13 | 895 | try!(write!(self.writer, "}}")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:892:17 | 892 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:893:17 | 893 | try!(spaces(self.writer, *curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:912:9 | 912 | try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:905:13 | 905 | try!(write!(self.writer, ",")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:908:13 | 908 | try!(write!(self.writer, "\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:909:13 | 909 | try!(spaces(self.writer, curr_indent)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:922:13 | 922 | try!(write!(self.writer, ": ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:924:13 | 924 | try!(write!(self.writer, ":")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:962:13 | 962 | try!(rdr.read_to_end(&mut c)); | ^^^ warning: `...` range patterns are deprecated --> src/json.rs:1543:25 | 1543 | '0' ... '9' => return self.error(InvalidNumber), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1547:17 | 1547 | '1' ... '9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1550:33 | 1550 | c @ '0' ... '9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1579:17 | 1579 | '0' ... '9' => (), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1587:25 | 1587 | c @ '0' ... '9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1616:17 | 1616 | '0' ... '9' => (), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1621:25 | 1621 | c @ '0' ... '9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1647:25 | 1647 | c @ '0' ... '9' => n * 16 + ((c as u16) - ('0' as u16)), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1648:25 | 1648 | c @ 'a' ... 'f' => n * 16 + (10 + (c as u16) - ('a' as u16)), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1649:25 | 1649 | c @ 'A' ... 'F' => n * 16 + (10 + (c as u16) - ('A' as u16)), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:1679:34 | 1679 | 'u' => match try!(self.decode_hex_escape()) { | ^^^ warning: `...` range patterns are deprecated --> src/json.rs:1680:32 | 1680 | 0xDC00 ... 0xDFFF => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/json.rs:1686:37 | 1686 | n1 @ 0xD800 ... 0xDBFF => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:1692:38 | 1692 | ... let n2 = try!(self.decode_hex_escape()); | ^^^ warning: `...` range patterns are deprecated --> src/json.rs:1916:17 | 1916 | '0' ... '9' | '-' => self.parse_number(), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2063:15 | 2063 | match try!($e) { | ^^^ ... 2122 | expect!(self.pop(), Null) | ------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2125 | read_primitive! { read_usize, usize } | ------------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2126 | read_primitive! { read_u8, u8 } | ------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2127 | read_primitive! { read_u16, u16 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2128 | read_primitive! { read_u32, u32 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2129 | read_primitive! { read_u64, u64 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2130 | read_primitive! { read_isize, isize } | ------------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2131 | read_primitive! { read_i8, i8 } | ------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2132 | read_primitive! { read_i16, i16 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2133 | read_primitive! { read_i32, i32 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2084:19 | 2084 | match try!(self.pop()) { | ^^^ ... 2134 | read_primitive! { read_i64, i64 } | --------------------------------- in this macro invocation | = note: this warning originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2141:15 | 2141 | match try!(self.pop()) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2159 | expect!(self.pop(), Boolean) | ---------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2163:17 | 2163 | let s = try!(self.read_str()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2176 | expect!(self.pop(), String) | --------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2189:26 | 2189 | let name = match try!(self.pop()) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2254:9 | 2254 | try!(self.pop()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2253:21 | 2253 | let value = try!(f(self)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2265:23 | 2265 | let mut obj = try!(expect!(self.pop(), Object)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2265 | let mut obj = try!(expect!(self.pop(), Object)); | --------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2279:17 | 2279 | try!(f(self)) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2326:15 | 2326 | match try!(self.pop()) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2335:21 | 2335 | let array = try!(expect!(self.pop(), Array)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2335 | let array = try!(expect!(self.pop(), Array)); | -------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2352:19 | 2352 | let obj = try!(expect!(self.pop(), Object)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/json.rs:2070:15 | 2070 | match try!($e) { | ^^^ ... 2352 | let obj = try!(expect!(self.pop(), Object)); | --------------------------- in this macro invocation | = note: this warning originates in the macro `expect` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unused import: `serialize::*` --> src/lib.rs:78:13 | 78 | pub use serialize::*; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:578:22 | 578 | writer: &'a mut (fmt::Write+'a), | ^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 578 | writer: &'a mut (dyn fmt::Write+'a), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:460:24 | 460 | fn escape_str(wr: &mut fmt::Write, v: &str) -> EncodeResult<()> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 460 | fn escape_str(wr: &mut dyn fmt::Write, v: &str) -> EncodeResult<()> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:522:29 | 522 | fn escape_char(writer: &mut fmt::Write, v: char) -> EncodeResult<()> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 522 | fn escape_char(writer: &mut dyn fmt::Write, v: char) -> EncodeResult<()> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:529:20 | 529 | fn spaces(wr: &mut fmt::Write, n: u32) -> EncodeResult<()> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 529 | fn spaces(wr: &mut dyn fmt::Write, n: u32) -> EncodeResult<()> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:407:32 | 407 | fn cause(&self) -> Option<&StdError> { | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 407 | fn cause(&self) -> Option<&dyn StdError> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:586:39 | 586 | pub fn new_pretty(writer: &'a mut fmt::Write) -> Encoder<'a> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 586 | pub fn new_pretty(writer: &'a mut dyn fmt::Write) -> Encoder<'a> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:599:32 | 599 | pub fn new(writer: &'a mut fmt::Write) -> Encoder<'a> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 599 | pub fn new(writer: &'a mut dyn fmt::Write) -> Encoder<'a> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/json.rs:959:34 | 959 | pub fn from_reader(rdr: &mut io::Read) -> Result { | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 959 | pub fn from_reader(rdr: &mut dyn io::Read) -> Result { | +++ warning: `rustc-serialize` (lib) generated 261 warnings (85 duplicates) (run `cargo fix --lib -p rustc-serialize` to apply 25 suggestions) Finished rpm [optimized + debuginfo] target(s) in 4.01s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.N6IrQw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64 + cd rustc-serialize-0.3.25 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=rustc-serialize ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.25 + REG_DIR=/builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64/usr/share/cargo/registry/rustc-serialize-0.3.25 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64/usr/share/cargo/registry/rustc-serialize-0.3.25 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64/usr/share/cargo/registry/rustc-serialize-0.3.25 warning: No (git) VCS found for `/builddir/build/BUILD/rustc-serialize-0.3.25` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64/usr/share/cargo/registry/rustc-serialize-0.3.25/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64/usr/share/cargo/registry/rustc-serialize-0.3.25/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rust-rustc-serialize-devel-0.3.25-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/rustc-serialize-0.3.25/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/rustc-serialize-0.3.25/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/rustc-serialize-0.3.25/README.md Provides: crate(rustc-serialize) = 0.3.25 deprecated() rust-rustc-serialize-devel = 0.3.25-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-rustc-serialize+default-devel-0.3.25-1.oc9.noarch Provides: crate(rustc-serialize/default) = 0.3.25 rust-rustc-serialize+default-devel = 0.3.25-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rustc-serialize) = 0.3.25 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-rustc-serialize-0.3.25-1.oc9.x86_64 Wrote: /builddir/build/SRPMS/rust-rustc-serialize-0.3.25-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-rustc-serialize+default-devel-0.3.25-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rustc-serialize-devel-0.3.25-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/rustc-serialize-0.3.25/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/rustc-serialize-0.3.25/LICENSE-MIT File listed twice: /usr/share/cargo/registry/rustc-serialize-0.3.25/README.md Child return code was: 0