rustc-serialize 0.2.13

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 #855262 2023-07-06T09:43:23.083157+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.13/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rustc-serialize-0.2.13/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] [stdout] 60ac73231753b4e1361165d30018430adc5c1265bc365903719a60db4c901508
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "60ac73231753b4e1361165d30018430adc5c1265bc365903719a60db4c901508", 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.13 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]    --> src/serialize.rs:331:26
[INFO] [stderr]     |
[INFO] [stderr] 331 |         s.emit_str(&self[])
[INFO] [stderr]     |                          ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]     --> src/json.rs:1046:44
[INFO] [stderr]      |
[INFO] [stderr] 1046 |             Json::String(ref s) => Some(&s[]),
[INFO] [stderr]      |                                            ^ expected expression
[INFO] [stderr] 
[INFO] [stderr] error: expected expression, found `]`
[INFO] [stderr]     --> src/json.rs:2141:63
[INFO] [stderr]      |
[INFO] [stderr] 2141 |         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:3367:43
[INFO] [stderr]      |
[INFO] [stderr] 3367 |         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:3383:43
[INFO] [stderr]      |
[INFO] [stderr] 3383 |         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:3423:45
[INFO] [stderr]      |
[INFO] [stderr] 3423 |             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:144:45
[INFO] [stderr]     |
[INFO] [stderr] 144 | ...                   &f_name: &str,
[INFO] [stderr]     |                       ^^^^^^^ pattern not allowed in function without body
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::ffi::AsOsStr`
[INFO] [stderr]   --> src/serialize.rs:18:16
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::ffi::{AsOsStr, OsString};
[INFO] [stderr]    |                ^^^^^^^
[INFO] [stderr]    |                |
[INFO] [stderr]    |                no `AsOsStr` in `ffi`
[INFO] [stderr]    |                help: a similar name exists in the module: `OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_path`
[INFO] [stderr]   --> src/serialize.rs:19:10
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::old_path::{PosixPath, WindowsPath};
[INFO] [stderr]    |          ^^^^^^^^ could not find `old_path` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::os::unix::OsStrExt`
[INFO] [stderr]    --> src/serialize.rs:572:13
[INFO] [stderr]     |
[INFO] [stderr] 572 |         use std::os::unix::OsStrExt;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^ no `OsStrExt` in `os::unix`
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing this trait instead
[INFO] [stderr]     |
[INFO] [stderr] 572 |         use std::os::unix::prelude::OsStrExt;
[INFO] [stderr]     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::os::unix::OsStringExt`
[INFO] [stderr]    --> src/serialize.rs:592:13
[INFO] [stderr]     |
[INFO] [stderr] 592 |         use std::os::unix::OsStringExt;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OsStringExt` in `os::unix`
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing this trait instead
[INFO] [stderr]     |
[INFO] [stderr] 592 |         use std::os::unix::prelude::OsStringExt;
[INFO] [stderr]     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[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:247:16
[INFO] [stderr]     |
[INFO] [stderr] 247 | use std::num::{Float, Int};
[INFO] [stderr]     |                ^^^^^  ^^^ no `Int` in `num`
[INFO] [stderr]     |                |
[INFO] [stderr]     |                no `Float` in `num`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::old_io`
[INFO] [stderr]    --> src/json.rs:251:27
[INFO] [stderr]     |
[INFO] [stderr] 251 | use std::{char, f64, fmt, old_io, num, str};
[INFO] [stderr]     |                           ^^^^^^ no `old_io` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `FromError` in module `std::error`
[INFO] [stderr]    --> src/json.rs:416:18
[INFO] [stderr]     |
[INFO] [stderr] 416 | 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:423:29
[INFO] [stderr]     |
[INFO] [stderr] 423 | 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:485:34
[INFO] [stderr]     |
[INFO] [stderr] 485 | 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:492:25
[INFO] [stderr]     |
[INFO] [stderr] 492 | 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:539:27
[INFO] [stderr]     |
[INFO] [stderr] 539 |     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:547:44
[INFO] [stderr]     |
[INFO] [stderr] 547 |     pub fn new_pretty(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[E0412]: cannot find type `Writer` in module `fmt`
[INFO] [stderr]    --> src/json.rs:560:37
[INFO] [stderr]     |
[INFO] [stderr] 560 |     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:2433:19
[INFO] [stderr]      |
[INFO] [stderr] 2433 | 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:1485:25
[INFO] [stderr]      |
[INFO] [stderr] 1485 |                     '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:1489:17
[INFO] [stderr]      |
[INFO] [stderr] 1489 |             '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:1492:33
[INFO] [stderr]      |
[INFO] [stderr] 1492 |                         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:1516:17
[INFO] [stderr]      |
[INFO] [stderr] 1516 |             '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:1523:25
[INFO] [stderr]      |
[INFO] [stderr] 1523 |                 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:1550:17
[INFO] [stderr]      |
[INFO] [stderr] 1550 |             '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:1555:25
[INFO] [stderr]      |
[INFO] [stderr] 1555 |                 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:1581:25
[INFO] [stderr]      |
[INFO] [stderr] 1581 |                 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:1623:32
[INFO] [stderr]      |
[INFO] [stderr] 1623 |                         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:1629:37
[INFO] [stderr]      |
[INFO] [stderr] 1629 |                         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:1855:17
[INFO] [stderr]      |
[INFO] [stderr] 1855 |             '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, 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=0d49cd96cc48ee3e -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.13` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "60ac73231753b4e1361165d30018430adc5c1265bc365903719a60db4c901508", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60ac73231753b4e1361165d30018430adc5c1265bc365903719a60db4c901508", kill_on_drop: false }`
[INFO] [stdout] 60ac73231753b4e1361165d30018430adc5c1265bc365903719a60db4c901508