rustc-serialize 0.2.9

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.
Build #855258 2023-07-06T09:42:58.633298+00:00
# rustc version
rustc 1.72.0-nightly (d9c13cd45 2023-07-05)
# docs.rs version
docsrs 0.6.0 (eb803472 2023-06-29)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rustc-serialize-0.2.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rustc-serialize-0.2.9/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230705-1.72.0-nightly-d9c13cd45\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f2e7f4954cbacfe5d6dd5aab67363511ec92b57ad7b2b0cd24b15aaab969651a
[INFO] running `Command { std: "docker" "start" "-a" "f2e7f4954cbacfe5d6dd5aab67363511ec92b57ad7b2b0cd24b15aaab969651a", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting rustc-serialize v0.2.9 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]    --> src/serialize.rs:329:26
[INFO] [stderr]     |
[INFO] [stderr] 329 |         s.emit_str(&self[])
[INFO] [stderr]     |                          ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]     --> src/json.rs:1160:44
[INFO] [stderr]      |
[INFO] [stderr] 1160 |             Json::String(ref s) => Some(&s[]),
[INFO] [stderr]      |                                            ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]     --> src/json.rs:2255:63
[INFO] [stderr]      |
[INFO] [stderr] 2255 |         let idx = match names.iter().position(|n| *n == &name[]) {
[INFO] [stderr]      |                   ----- while parsing this `match` expression ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]     --> src/json.rs:3480:43
[INFO] [stderr]      |
[INFO] [stderr] 3480 |         let json_str = from_utf8(&mem_buf[]).unwrap();
[INFO] [stderr]      |                                           ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]     --> src/json.rs:3496:43
[INFO] [stderr]      |
[INFO] [stderr] 3496 |         let json_str = from_utf8(&mem_buf[]).unwrap();
[INFO] [stderr]      |                                           ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]     --> src/json.rs:3536:45
[INFO] [stderr]      |
[INFO] [stderr] 3536 |             let printed = from_utf8(&writer[]).unwrap();
[INFO] [stderr]      |                                             ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error[E0463]: can't find crate for `unicode`
[INFO] [stderr]   --> src/lib.rs:23:1
[INFO] [stderr]    |
[INFO] [stderr] 23 | extern crate unicode;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stderr] 
[INFO] [stderr] error[E0642]: patterns aren't allowed in functions without bodies
[INFO] [stderr]    --> src/serialize.rs:142:45
[INFO] [stderr]     |
[INFO] [stderr] 142 | ...                   &f_name: &str,
[INFO] [stderr]     |                       ^^^^^^^ pattern not allowed in function without body
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `std::collections::DList`, `std::collections::RingBuf`, `std::collections::VecMap`
[INFO] [stderr]   --> src/collection_impls.rs:17:24
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::collections::{DList, RingBuf, BTreeMap, BTreeSet, HashMap, HashSet, VecMap};
[INFO] [stderr]    |                        ^^^^^  ^^^^^^^ no `RingBuf` in `collections`          ^^^^^^ no `VecMap` in `collections`
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        no `DList` in `collections`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::collections::hash_state`
[INFO] [stderr]   --> src/collection_impls.rs:18:23
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::collections::hash_state::HashState;
[INFO] [stderr]    |                       ^^^^^^^^^^ could not find `hash_state` in `collections`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `std::num::Float`, `std::num::Int`
[INFO] [stderr]    --> src/json.rs:213:16
[INFO] [stderr]     |
[INFO] [stderr] 213 | use std::num::{Float, Int};
[INFO] [stderr]     |                ^^^^^  ^^^ no `Int` in `num`
[INFO] [stderr]     |                |
[INFO] [stderr]     |                no `Float` in `num`
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]    --> src/json.rs:225:40
[INFO] [stderr]     |
[INFO] [stderr] 225 | #[derive(Clone, PartialEq, PartialOrd, Show)]
[INFO] [stderr]     |                                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]    --> src/json.rs:267:34
[INFO] [stderr]     |
[INFO] [stderr] 267 | #[derive(Clone, Copy, PartialEq, Show)]
[INFO] [stderr]     |                                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]    --> src/json.rs:277:28
[INFO] [stderr]     |
[INFO] [stderr] 277 | #[derive(Clone, PartialEq, Show)]
[INFO] [stderr]     |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]    --> src/json.rs:286:16
[INFO] [stderr]     |
[INFO] [stderr] 286 | #[derive(Copy, Show)]
[INFO] [stderr]     |                ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]     --> src/json.rs:1277:28
[INFO] [stderr]      |
[INFO] [stderr] 1277 | #[derive(PartialEq, Clone, Show)]
[INFO] [stderr]      |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]     --> src/json.rs:1292:21
[INFO] [stderr]      |
[INFO] [stderr] 1292 | #[derive(PartialEq, Show)]
[INFO] [stderr]      |                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]     --> src/json.rs:1321:28
[INFO] [stderr]      |
[INFO] [stderr] 1321 | #[derive(PartialEq, Clone, Show)]
[INFO] [stderr]      |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] error: cannot find derive macro `Show` in this scope
[INFO] [stderr]     --> src/json.rs:1329:28
[INFO] [stderr]      |
[INFO] [stderr] 1329 | #[derive(PartialEq, Clone, Show)]
[INFO] [stderr]      |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `posix` in `path`
[INFO] [stderr]    --> src/serialize.rs:541:26
[INFO] [stderr]     |
[INFO] [stderr] 541 | impl Encodable for path::posix::Path {
[INFO] [stderr]     |                          ^^^^^ could not find `posix` in `path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `posix` in `path`
[INFO] [stderr]    --> src/serialize.rs:547:26
[INFO] [stderr]     |
[INFO] [stderr] 547 | impl Decodable for path::posix::Path {
[INFO] [stderr]     |                          ^^^^^ could not find `posix` in `path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `posix` in `path`
[INFO] [stderr]    --> src/serialize.rs:548:54
[INFO] [stderr]     |
[INFO] [stderr] 548 |     fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
[INFO] [stderr]     |                                                      ^^^^^ could not find `posix` in `path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `path`
[INFO] [stderr]    --> src/serialize.rs:554:26
[INFO] [stderr]     |
[INFO] [stderr] 554 | impl Encodable for path::windows::Path {
[INFO] [stderr]     |                          ^^^^^^^ could not find `windows` in `path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `path`
[INFO] [stderr]    --> src/serialize.rs:560:26
[INFO] [stderr]     |
[INFO] [stderr] 560 | impl Decodable for path::windows::Path {
[INFO] [stderr]     |                          ^^^^^^^ could not find `windows` in `path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `path`
[INFO] [stderr]    --> src/serialize.rs:561:54
[INFO] [stderr]     |
[INFO] [stderr] 561 |     fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
[INFO] [stderr]     |                                                      ^^^^^^^ could not find `windows` in `path`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IoErrorKind` in module `io`
[INFO] [stderr]    --> src/json.rs:271:17
[INFO] [stderr]     |
[INFO] [stderr] 271 |     IoError(io::IoErrorKind, &'static str),
[INFO] [stderr]     |                 ^^^^^^^^^^^ help: an enum with a similar name exists: `ErrorKind`
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/std/src/io/error.rs:179:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named enum `ErrorKind` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `IoError` in module `io`
[INFO] [stderr]    --> src/json.rs:342:30
[INFO] [stderr]     |
[INFO] [stderr] 342 | fn io_error_to_error(io: io::IoError) -> ParserError {
[INFO] [stderr]     |                              ^^^^^^^
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/std/src/io/error.rs:67:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named struct `Error` defined here
[INFO] [stderr]     |
[INFO] [stderr] help: there is an enum variant `json::ParserError::IoError`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 342 | fn io_error_to_error(io: json::ParserError) -> ParserError {
[INFO] [stderr]     |                          ~~~~~~~~~~~~~~~~~
[INFO] [stderr] help: a struct with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 342 | fn io_error_to_error(io: io::Error) -> ParserError {
[INFO] [stderr]     |                              ~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `FromError` in module `std::error`
[INFO] [stderr]    --> src/json.rs:382:18
[INFO] [stderr]     |
[INFO] [stderr] 382 | impl std::error::FromError<fmt::Error> for EncoderError {
[INFO] [stderr]     |                  ^^^^^^^^^ not found in `std::error`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Writer` in module `fmt`
[INFO] [stderr]    --> src/json.rs:389:29
[INFO] [stderr]     |
[INFO] [stderr] 389 | fn escape_str(wr: &mut fmt::Writer, v: &str) -> EncodeResult {
[INFO] [stderr]     |                             ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/core/src/fmt/mod.rs:105:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named trait `Write` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Writer` in module `fmt`
[INFO] [stderr]    --> src/json.rs:451:34
[INFO] [stderr]     |
[INFO] [stderr] 451 | fn escape_char(writer: &mut fmt::Writer, v: char) -> EncodeResult {
[INFO] [stderr]     |                                  ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/core/src/fmt/mod.rs:105:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named trait `Write` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Writer` in module `fmt`
[INFO] [stderr]    --> src/json.rs:458:25
[INFO] [stderr]     |
[INFO] [stderr] 458 | fn spaces(wr: &mut fmt::Writer, n: u32) -> EncodeResult {
[INFO] [stderr]     |                         ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/core/src/fmt/mod.rs:105:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named trait `Write` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Writer` in module `fmt`
[INFO] [stderr]    --> src/json.rs:485:27
[INFO] [stderr]     |
[INFO] [stderr] 485 |     writer: &'a mut (fmt::Writer+'a),
[INFO] [stderr]     |                           ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/core/src/fmt/mod.rs:105:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named trait `Write` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Writer` in module `fmt`
[INFO] [stderr]    --> src/json.rs:492:37
[INFO] [stderr]     |
[INFO] [stderr] 492 |     pub fn new(writer: &'a mut fmt::Writer) -> Encoder<'a> {
[INFO] [stderr]     |                                     ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/core/src/fmt/mod.rs:105:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named trait `Write` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Writer` in module `fmt`
[INFO] [stderr]    --> src/json.rs:729:27
[INFO] [stderr]     |
[INFO] [stderr] 729 |     writer: &'a mut (fmt::Writer+'a),
[INFO] [stderr]     |                           ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/core/src/fmt/mod.rs:105:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named trait `Write` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Writer` in module `fmt`
[INFO] [stderr]    --> src/json.rs:737:37
[INFO] [stderr]     |
[INFO] [stderr] 737 |     pub fn new(writer: &'a mut fmt::Writer) -> PrettyEncoder<'a> {
[INFO] [stderr]     |                                     ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stderr]    --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/core/src/fmt/mod.rs:105:1
[INFO] [stderr]     |
[INFO] [stderr]     = note: similarly named trait `Write` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Reader` in module `io`
[INFO] [stderr]     --> src/json.rs:1052:38
[INFO] [stderr]      |
[INFO] [stderr] 1052 |     pub fn from_reader(rdr: &mut io::Reader) -> Result<Self, BuilderError> {
[INFO] [stderr]      |                                      ^^^^^^ help: a trait with a similar name exists: `Read`
[INFO] [stderr]     --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/std/src/io/mod.rs:568:1
[INFO] [stderr]      |
[INFO] [stderr]      = note: similarly named trait `Read` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Writer` in module `fmt`
[INFO] [stderr]     --> src/json.rs:2547:19
[INFO] [stderr]      |
[INFO] [stderr] 2547 | impl<'a, 'b> fmt::Writer for FormatShim<'a, 'b> {
[INFO] [stderr]      |                   ^^^^^^ help: a trait with a similar name exists: `Write`
[INFO] [stderr]     --> /rustc/d9c13cd4531649c2028a8384cb4d4e54f985380e/library/core/src/fmt/mod.rs:105:1
[INFO] [stderr]      |
[INFO] [stderr]      = note: similarly named trait `Write` defined here
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/base64.rs:259:21
[INFO] [stderr]     |
[INFO] [stderr] 259 |                 b'A'...b'Z' => buf |= val - 0x41,
[INFO] [stderr]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/base64.rs:260:21
[INFO] [stderr]     |
[INFO] [stderr] 260 |                 b'a'...b'z' => buf |= val - 0x47,
[INFO] [stderr]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/base64.rs:261:21
[INFO] [stderr]     |
[INFO] [stderr] 261 |                 b'0'...b'9' => buf |= val + 0x04,
[INFO] [stderr]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/hex.rs:133:21
[INFO] [stderr]     |
[INFO] [stderr] 133 |                 b'A'...b'F' => buf |= byte - b'A' + 10,
[INFO] [stderr]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/hex.rs:134:21
[INFO] [stderr]     |
[INFO] [stderr] 134 |                 b'a'...b'f' => buf |= byte - b'a' + 10,
[INFO] [stderr]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/hex.rs:135:21
[INFO] [stderr]     |
[INFO] [stderr] 135 |                 b'0'...b'9' => buf |= byte - b'0',
[INFO] [stderr]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1599:25
[INFO] [stderr]      |
[INFO] [stderr] 1599 |                     '0' ... '9' => return self.error(InvalidNumber),
[INFO] [stderr]      |                         ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1603:17
[INFO] [stderr]      |
[INFO] [stderr] 1603 |             '1' ... '9' => {
[INFO] [stderr]      |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1606:33
[INFO] [stderr]      |
[INFO] [stderr] 1606 |                         c @ '0' ... '9' => {
[INFO] [stderr]      |                                 ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1630:17
[INFO] [stderr]      |
[INFO] [stderr] 1630 |             '0' ... '9' => (),
[INFO] [stderr]      |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1637:25
[INFO] [stderr]      |
[INFO] [stderr] 1637 |                 c @ '0' ... '9' => {
[INFO] [stderr]      |                         ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1664:17
[INFO] [stderr]      |
[INFO] [stderr] 1664 |             '0' ... '9' => (),
[INFO] [stderr]      |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1669:25
[INFO] [stderr]      |
[INFO] [stderr] 1669 |                 c @ '0' ... '9' => {
[INFO] [stderr]      |                         ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1695:25
[INFO] [stderr]      |
[INFO] [stderr] 1695 |                 c @ '0' ... '9' => n * 16 + ((c as u16) - ('0' as u16)),
[INFO] [stderr]      |                         ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1737:32
[INFO] [stderr]      |
[INFO] [stderr] 1737 |                         0xDC00 ... 0xDFFF => {
[INFO] [stderr]      |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1743:37
[INFO] [stderr]      |
[INFO] [stderr] 1743 |                         n1 @ 0xD800 ... 0xDBFF => {
[INFO] [stderr]      |                                     ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]     --> src/json.rs:1969:17
[INFO] [stderr]      |
[INFO] [stderr] 1969 |             '0' ... '9' | '-' => self.parse_number(),
[INFO] [stderr]      |                 ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]      |
[INFO] [stderr]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr]    --> src/collection_impls.rs:132:26
[INFO] [stderr]     |
[INFO] [stderr] 132 |     where K: Encodable + Hash< <S as HashState>::Hasher> + Eq,
[INFO] [stderr]     |                          ^^^^--------------------------- help: remove these generics
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          expected 0 generic arguments
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0405, E0412, E0432, E0433, E0463, E0642.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] warning: `rustc-serialize` (lib doc) generated 17 warnings
[INFO] [stderr] error: could not document `rustc-serialize`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustdoc --crate-type lib --crate-name rustc_serialize src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=85811f3d62902534 -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps -Z unstable-options --emit=invocation-specific --resource-suffix -20230705-1.72.0-nightly-d9c13cd45 --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.2.9` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "f2e7f4954cbacfe5d6dd5aab67363511ec92b57ad7b2b0cd24b15aaab969651a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2e7f4954cbacfe5d6dd5aab67363511ec92b57ad7b2b0cd24b15aaab969651a", kill_on_drop: false }`
[INFO] [stdout] f2e7f4954cbacfe5d6dd5aab67363511ec92b57ad7b2b0cd24b15aaab969651a