[Pkg-rust-maintainers] Bug#1074736: rust-eui48: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101

Lucas Nussbaum lucas at debian.org
Tue Jul 2 14:21:14 BST 2024


Source: rust-eui48
Version: 1.1.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240702 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem cargo
>    dh_update_autotools_config -O--buildsystem=cargo
>    dh_autoreconf -O--buildsystem=cargo
>    dh_auto_configure -O--buildsystem=cargo
> debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0
> debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
> debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
>    dh_auto_build -O--buildsystem=cargo
>    dh_auto_test -O--buildsystem=cargo
> debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0
> debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
> debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'build', '--verbose', '--verbose', '-j8', '--target', 'x86_64-unknown-linux-gnu'],) {}
>    Compiling memchr v2.7.1
>    Compiling regex-syntax v0.8.2
>    Compiling rustc-serialize v0.3.24
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=memchr CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.7.1 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam at gmail.com>:bluss' CARGO_PKG_DESCRIPTION='Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for
> 1, 2 or 3 byte search and single substring search.
> ' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' CARGO_PKG_LICENSE='Unlicense OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memchr CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/memchr' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=2.7.1 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.7.1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name memchr --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.7.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=939fc8ddee1334aa -C extra-filename=-939fc8ddee1334aa --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/eui48-1.1.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rustc_serialize CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/rustc-serialize-0.3.24 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Generic serialization/deserialization support corresponding to the
> `derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes
> support for hex, base64, and json encoding and decoding.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/rustc-serialize' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rustc-serialize CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/rustc-serialize' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.24 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=24 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/rustc-serialize-0.3.24 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name rustc_serialize --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/rustc-serialize-0.3.24/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=3546927da67cd00d -C extra-filename=-3546927da67cd00d --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/eui48-1.1.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=regex_syntax CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/regex-syntax-0.8.2 CARGO_PKG_AUTHORS='The Rust Project Developers:Andrew Gallant <jamslam at gmail.com>' CARGO_PKG_DESCRIPTION='A regular expression parser.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=regex-syntax CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/regex/tree/master/regex-syntax' CARGO_PKG_RUST_VERSION=1.65 CARGO_PKG_VERSION=0.8.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/regex-syntax-0.8.2 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name regex_syntax --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/regex-syntax-0.8.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=42151a74d3c0a45b -C extra-filename=-42151a74d3c0a45b --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/eui48-1.1.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1125:25
>      |
> 1125 |         let v: Vec<T> = try!(Decodable::decode(d));
>      |                         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1140:20
>      |
> 1140 |         Ok(Rc::new(try!(Decodable::decode(d))))
>      |                    ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1156:23
>      |
> 1156 |         Ok(Cow::Owned(try!(Decodable::decode(d))))
>      |                       ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1209:25
>      |
> 1209 |                 Ok(Some(try!(Decodable::decode(d))))
>      |                         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1223:25
>      |
> 1223 |                         try!(s.emit_enum_variant_arg(0, |s| {
>      |                         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1231:25
>      |
> 1231 |                         try!(s.emit_enum_variant_arg(0, |s| {
>      |                         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1394:30
>      |
> 1394 |         let bytes: Vec<u8> = try!(Decodable::decode(d));
>      |                              ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1419:22
>      |
> 1419 |         Ok(Cell::new(try!(Decodable::decode(d))))
>      |                      ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1436:25
>      |
> 1436 |         Ok(RefCell::new(try!(Decodable::decode(d))))
>      |                         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1448:21
>      |
> 1448 |         Ok(Arc::new(try!(Decodable::decode(d))))
>      |                     ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1501:17
>      |
> 1501 |                 try!(this.emit_seq_elt(i, |this| {
>      |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/collection_impls.rs:181:28
>     |
> 181 |                 set.insert(try!(d.read_seq_elt(i, |d| Decodable::decode(d))));
>     |                            ^^^
> 
> warning: `...` range patterns are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
>     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
> 
> warning: `...` range patterns are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:394:9
>     |
> 394 |         try!(object.encode(&mut encoder));
>     |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:461:5
>     |
> 461 |     try!(wr.write_str("\""));
>     |     ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:518:5
>     |
> 518 |     try!(wr.write_str("\""));
>     |     ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:509:9
>     |
> 509 |         try!(wr.write_str(escaped));
>     |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:506:13
>     |
> 506 |             try!(wr.write_str(&v[start..i]));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:515:9
>     |
> 515 |         try!(wr.write_str(&v[start..]));
>     |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:534:9
>     |
> 534 |         try!(wr.write_str(BUF));
>     |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:539:9
>     |
> 539 |         try!(wr.write_str(&BUF[..n]));
>     |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:627:9
>     |
> 627 |         try!(write!(self.writer, "null"));
>     |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:646:13
>     |
> 646 |             try!(write!(self.writer, "true"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:648:13
>     |
> 648 |             try!(write!(self.writer, "false"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:703:13
>     |
> 703 |             try!(f(self));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:689:17
>     |
> 689 |                 try!(write!(self.writer, "{{\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:691:17
>     |
> 691 |                 try!(spaces(self.writer, *curr_indent));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:692:17
>     |
> 692 |                 try!(write!(self.writer, "\"variant\": "));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:693:17
>     |
> 693 |                 try!(escape_str(self.writer, name));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:694:17
>     |
> 694 |                 try!(write!(self.writer, ",\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:695:17
>     |
> 695 |                 try!(spaces(self.writer, *curr_indent));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:696:17
>     |
> 696 |                 try!(write!(self.writer, "\"fields\": [\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:699:17
>     |
> 699 |                 try!(write!(self.writer, "{{\"variant\":"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:700:17
>     |
> 700 |                 try!(escape_str(self.writer, name));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:701:17
>     |
> 701 |                 try!(write!(self.writer, ",\"fields\":["));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:706:17
>     |
> 706 |                 try!(write!(self.writer, "\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:707:17
>     |
> 707 |                 try!(spaces(self.writer, *curr_indent));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:709:17
>     |
> 709 |                 try!(write!(self.writer, "]\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:710:17
>     |
> 710 |                 try!(spaces(self.writer, *curr_indent));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:711:17
>     |
> 711 |                 try!(write!(self.writer, "}}"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:713:17
>     |
> 713 |                 try!(write!(self.writer, "]}}"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:724:13
>     |
> 724 |             try!(write!(self.writer, ","));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:726:17
>     |
> 726 |                 try!(write!(self.writer, "\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:730:13
>     |
> 730 |             try!(spaces(self.writer, curr_indent));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:762:13
>     |
> 762 |             try!(write!(self.writer, "{{}}"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:764:13
>     |
> 764 |             try!(write!(self.writer, "{{"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:768:13
>     |
> 768 |             try!(f(self));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:774:13
>     |
> 774 |             try!(write!(self.writer, "}}"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:771:17
>     |
> 771 |                 try!(write!(self.writer, "\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:772:17
>     |
> 772 |                 try!(spaces(self.writer, *curr_indent));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:790:9
>     |
> 790 |         try!(escape_str(self.writer, name));
>     |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:784:13
>     |
> 784 |             try!(write!(self.writer, ","));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:787:13
>     |
> 787 |             try!(write!(self.writer, "\n"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:788:13
>     |
> 788 |             try!(spaces(self.writer, curr_indent));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:792:13
>     |
> 792 |             try!(write!(self.writer, ": "));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:794:13
>     |
> 794 |             try!(write!(self.writer, ":"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:847:13
>     |
> 847 |             try!(write!(self.writer, "[]"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:849:13
>     |
> 849 |             try!(write!(self.writer, "["));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:853:13
>     |
> 853 |             try!(f(self));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:859:13
>     |
> 859 |             try!(write!(self.writer, "]"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:856:17
>     |
> 856 |                 try!(write!(self.writer, "\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:857:17
>     |
> 857 |                 try!(spaces(self.writer, *curr_indent));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:869:13
>     |
> 869 |             try!(write!(self.writer, ","));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:872:13
>     |
> 872 |             try!(write!(self.writer, "\n"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:873:13
>     |
> 873 |             try!(spaces(self.writer, *curr_indent));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:883:13
>     |
> 883 |             try!(write!(self.writer, "{{}}"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:885:13
>     |
> 885 |             try!(write!(self.writer, "{{"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:889:13
>     |
> 889 |             try!(f(self));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:895:13
>     |
> 895 |             try!(write!(self.writer, "}}"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:892:17
>     |
> 892 |                 try!(write!(self.writer, "\n"));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:893:17
>     |
> 893 |                 try!(spaces(self.writer, *curr_indent));
>     |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:912:9
>     |
> 912 |         try!(f(self));
>     |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:905:13
>     |
> 905 |             try!(write!(self.writer, ","));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:908:13
>     |
> 908 |             try!(write!(self.writer, "\n"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:909:13
>     |
> 909 |             try!(spaces(self.writer, curr_indent));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:922:13
>     |
> 922 |             try!(write!(self.writer, ": "));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:924:13
>     |
> 924 |             try!(write!(self.writer, ":"));
>     |             ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:962:13
>     |
> 962 |             try!(rdr.read_to_end(&mut c));
>     |             ^^^
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:1679:34
>      |
> 1679 |                     'u' => match try!(self.decode_hex_escape()) {
>      |                                  ^^^
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:1692:38
>      |
> 1692 | ...                   let n2 = try!(self.decode_hex_escape());
>      |                                ^^^
> 
> warning: `...` range patterns are deprecated
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2141:15
>      |
> 2141 |         match try!(self.pop()) {
>      |               ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2163:17
>      |
> 2163 |         let s = try!(self.read_str());
>      |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2189:26
>      |
> 2189 |         let name = match try!(self.pop()) {
>      |                          ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2254:9
>      |
> 2254 |         try!(self.pop());
>      |         ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2253:21
>      |
> 2253 |         let value = try!(f(self));
>      |                     ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2265:23
>      |
> 2265 |         let mut obj = try!(expect!(self.pop(), Object));
>      |                       ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2279:17
>      |
> 2279 |                 try!(f(self))
>      |                 ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2326:15
>      |
> 2326 |         match try!(self.pop()) {
>      |               ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2335:21
>      |
> 2335 |         let array = try!(expect!(self.pop(), Array));
>      |                     ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:2352:19
>      |
> 2352 |         let obj = try!(expect!(self.pop(), Object));
>      |                   ^^^
> 
> warning: use of deprecated macro `try`: use the `?` operator instead
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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::*`
>   --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/lib.rs:78:13
>    |
> 78 |     pub use serialize::*;
>    |             ^^^^^^^^^^^^
>    |
>    = note: `#[warn(unused_imports)]` on by default
> 
> error[E0310]: the parameter type `T` may not live long enough
>     --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1155:5
>      |
> 1155 |     fn decode<D: Decoder>(d: &mut D) -> Result<Cow<'static, T>, D::Error> {
>      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>      |     |
>      |     the parameter type `T` must be valid for the static lifetime...
>      |     ...so that the type `T` will meet its required lifetime bounds...
>      |
> note: ...that is required by this bound
>     --> /usr/src/rustc-1.79.0/library/alloc/src/borrow.rs:180:30
> help: consider adding an explicit lifetime bound
>      |
> 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T>
>      |                    +++++++++
> 
> warning: trait objects without an explicit `dyn` are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
>     = note: `#[warn(bare_trait_objects)]` on by default
> help: if this is an object-safe trait, use `dyn`
>     |
> 578 |     writer: &'a mut (dyn fmt::Write+'a),
>     |                      +++
> 
> warning: trait objects without an explicit `dyn` are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> help: if this is an object-safe trait, use `dyn`
>     |
> 586 |     pub fn new_pretty(writer: &'a mut dyn fmt::Write) -> Encoder<'a> {
>     |                                       +++
> 
> warning: trait objects without an explicit `dyn` are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> help: if this is an object-safe trait, use `dyn`
>     |
> 599 |     pub fn new(writer: &'a mut dyn fmt::Write) -> Encoder<'a> {
>     |                                +++
> 
> warning: trait objects without an explicit `dyn` are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> help: if this is an object-safe trait, use `dyn`
>     |
> 407 |     fn cause(&self) -> Option<&dyn StdError> {
>     |                                +++
> 
> warning: trait objects without an explicit `dyn` are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> help: if this is an object-safe trait, use `dyn`
>     |
> 460 | fn escape_str(wr: &mut dyn fmt::Write, v: &str) -> EncodeResult<()> {
>     |                        +++
> 
> warning: trait objects without an explicit `dyn` are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> help: if this is an object-safe trait, use `dyn`
>     |
> 522 | fn escape_char(writer: &mut dyn fmt::Write, v: char) -> EncodeResult<()> {
>     |                             +++
> 
> warning: trait objects without an explicit `dyn` are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> help: if this is an object-safe trait, use `dyn`
>     |
> 529 | fn spaces(wr: &mut dyn fmt::Write, n: u32) -> EncodeResult<()> {
>     |                    +++
> 
> warning: trait objects without an explicit `dyn` are deprecated
>    --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/json.rs:959:34
>     |
> 959 |     pub fn from_reader(rdr: &mut io::Read) -> Result<Self, BuilderError> {
>     |                                  ^^^^^^^^
>     |
>     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
>     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
> help: if this is an object-safe trait, use `dyn`
>     |
> 959 |     pub fn from_reader(rdr: &mut dyn io::Read) -> Result<Self, BuilderError> {
>     |                                  +++
> 
> warning: trait `Byte` is never used
>   --> /usr/share/cargo/registry/memchr-2.7.1/src/ext.rs:42:18
>    |
> 42 | pub(crate) trait Byte {
>    |                  ^^^^
>    |
>    = note: `#[warn(dead_code)]` on by default
> 
>    Compiling aho-corasick v1.1.2
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=aho_corasick CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/aho-corasick-1.1.2 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam at gmail.com>' CARGO_PKG_DESCRIPTION='Fast multiple substring searching.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/aho-corasick' CARGO_PKG_LICENSE='Unlicense OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=aho-corasick CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/aho-corasick' CARGO_PKG_RUST_VERSION=1.60.0 CARGO_PKG_VERSION=1.1.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/aho-corasick-1.1.2 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name aho_corasick --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/aho-corasick-1.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' -C metadata=1f7d8d2c9fccc290 -C extra-filename=-1f7d8d2c9fccc290 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern memchr=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libmemchr-939fc8ddee1334aa.rmeta --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/eui48-1.1.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> warning: `memchr` (lib) generated 1 warning
> warning: method `or` is never used
>   --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/packed/vector.rs:92:15
>    |
> 28 | pub(crate) trait Vector:
>    |                  ------ method in this trait
> ...
> 92 |     unsafe fn or(self, vector2: Self) -> Self;
>    |               ^^
>    |
>    = note: `#[warn(dead_code)]` on by default
> 
> For more information about this error, try `rustc --explain E0310`.
> warning: trait `U8` is never used
>   --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:21:18
>    |
> 21 | pub(crate) trait U8 {
>    |                  ^^
> 
> warning: method `low_u8` is never used
>   --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:33:8
>    |
> 31 | pub(crate) trait U16 {
>    |                  --- method in this trait
> 32 |     fn as_usize(self) -> usize;
> 33 |     fn low_u8(self) -> u8;
>    |        ^^^^^^
> 
> warning: methods `low_u8` and `high_u16` are never used
>   --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:53:8
>    |
> 51 | pub(crate) trait U32 {
>    |                  --- methods in this trait
> 52 |     fn as_usize(self) -> usize;
> 53 |     fn low_u8(self) -> u8;
>    |        ^^^^^^
> 54 |     fn low_u16(self) -> u16;
> 55 |     fn high_u16(self) -> u16;
>    |        ^^^^^^^^
> 
> warning: methods `low_u8`, `low_u16`, `low_u32`, and `high_u32` are never used
>   --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:86:8
>    |
> 84 | pub(crate) trait U64 {
>    |                  --- methods in this trait
> 85 |     fn as_usize(self) -> usize;
> 86 |     fn low_u8(self) -> u8;
>    |        ^^^^^^
> 87 |     fn low_u16(self) -> u16;
>    |        ^^^^^^^
> 88 |     fn low_u32(self) -> u32;
>    |        ^^^^^^^
> 89 |     fn high_u32(self) -> u32;
>    |        ^^^^^^^^
> 
> warning: methods `as_usize` and `to_bits` are never used
>    --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:122:8
>     |
> 121 | pub(crate) trait I8 {
>     |                  -- methods in this trait
> 122 |     fn as_usize(self) -> usize;
>     |        ^^^^^^^^
> 123 |     fn to_bits(self) -> u8;
>     |        ^^^^^^^
> 
> warning: associated items `as_usize` and `from_bits` are never used
>    --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:149:8
>     |
> 148 | pub(crate) trait I32 {
>     |                  --- associated items in this trait
> 149 |     fn as_usize(self) -> usize;
>     |        ^^^^^^^^
> 150 |     fn to_bits(self) -> u32;
> 151 |     fn from_bits(n: u32) -> i32;
>     |        ^^^^^^^^^
> 
> warning: associated items `as_usize` and `from_bits` are never used
>    --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:176:8
>     |
> 175 | pub(crate) trait I64 {
>     |                  --- associated items in this trait
> 176 |     fn as_usize(self) -> usize;
>     |        ^^^^^^^^
> 177 |     fn to_bits(self) -> u64;
> 178 |     fn from_bits(n: u64) -> i64;
>     |        ^^^^^^^^^
> 
> warning: method `as_u16` is never used
>    --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:204:8
>     |
> 202 | pub(crate) trait Usize {
>     |                  ----- method in this trait
> 203 |     fn as_u8(self) -> u8;
> 204 |     fn as_u16(self) -> u16;
>     |        ^^^^^^
> 
> warning: trait `Pointer` is never used
>    --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:266:18
>     |
> 266 | pub(crate) trait Pointer {
>     |                  ^^^^^^^
> 
> warning: trait `PointerMut` is never used
>    --> /usr/share/cargo/registry/aho-corasick-1.1.2/src/util/int.rs:276:18
>     |
> 276 | pub(crate) trait PointerMut {
>     |                  ^^^^^^^^^^
> 
> warning: `rustc-serialize` (lib) generated 261 warnings (85 duplicates)
> error: could not compile `rustc-serialize` (lib) due to 1 previous error; 261 warnings emitted
> 
> Caused by:
>   process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rustc_serialize CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/rustc-serialize-0.3.24 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Generic serialization/deserialization support corresponding to the
>   `derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes
>   support for hex, base64, and json encoding and decoding.
>   ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/rustc-serialize' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rustc-serialize CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/rustc-serialize' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.24 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=24 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/rustc-serialize-0.3.24 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name rustc_serialize --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/rustc-serialize-0.3.24/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=3546927da67cd00d -C extra-filename=-3546927da67cd00d --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/eui48-1.1.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
> warning: build failed, waiting for other jobs to finish...
> warning: method `symmetric_difference` is never used
>    --> /usr/share/cargo/registry/regex-syntax-0.8.2/src/hir/interval.rs:484:8
>     |
> 396 | pub trait Interval:
>     |           -------- method in this trait
> ...
> 484 |     fn symmetric_difference(
>     |        ^^^^^^^^^^^^^^^^^^^^
>     |
>     = note: `#[warn(dead_code)]` on by default
> 
> warning: `aho-corasick` (lib) generated 11 warnings
> warning: `regex-syntax` (lib) generated 1 warning
> dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/rust-eui48_1.1.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-rust-maintainers mailing list