rustc-serialize 0.2.6

Generic serialization/deserialization support corresponding to the `deriving(RustcEncodable, RustcDecodable)` mode in the compiler.

Build #855255 2023-07-06 09:42:41

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# 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.6/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rustc-serialize-0.2.6/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] 1dde80b6a7a6808e121446ed14f56d20d928ad2ce3eecdee3e8006a2e86283a4 [INFO] running `Command { std: "docker" "start" "-a" "1dde80b6a7a6808e121446ed14f56d20d928ad2ce3eecdee3e8006a2e86283a4", 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.6 (/opt/rustwide/workdir) [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/serialize.rs:329:25 [INFO] [stderr] | [INFO] [stderr] 329 | s.emit_str(self[]) [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: `box_syntax` has been removed [INFO] [stderr] --> src/serialize.rs:413:12 [INFO] [stderr] | [INFO] [stderr] 413 | Ok(box try!(Decodable::decode(d))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `Box::new()` instead [INFO] [stderr] | [INFO] [stderr] 413 | Ok(Box::new(try!(Decodable::decode(d)))) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/json.rs:627:38 [INFO] [stderr] | [INFO] [stderr] 627 | let out = str::from_utf8(buf[]).unwrap(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/json.rs:898:38 [INFO] [stderr] | [INFO] [stderr] 898 | let out = str::from_utf8(buf[]).unwrap(); [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/json.rs:1051:43 [INFO] [stderr] | [INFO] [stderr] 1051 | Json::String(ref s) => Some(s[]), [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/json.rs:2146:62 [INFO] [stderr] | [INFO] [stderr] 2146 | let idx = match names.iter().position(|n| *n == name[]) { [INFO] [stderr] | ----- ^ expected expression [INFO] [stderr] | | [INFO] [stderr] | while parsing this `match` expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found `]` [INFO] [stderr] --> src/json.rs:3355:42 [INFO] [stderr] | [INFO] [stderr] 3355 | 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:3371:42 [INFO] [stderr] | [INFO] [stderr] 3371 | 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:3411:44 [INFO] [stderr] | [INFO] [stderr] 3411 | 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 imports `std::num::Float`, `std::num::Int` [INFO] [stderr] --> src/json.rs:207:16 [INFO] [stderr] | [INFO] [stderr] 207 | 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:259:34 [INFO] [stderr] | [INFO] [stderr] 259 | #[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:269:28 [INFO] [stderr] | [INFO] [stderr] 269 | #[derive(Clone, PartialEq, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/json.rs:1168:28 [INFO] [stderr] | [INFO] [stderr] 1168 | #[derive(PartialEq, Clone, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/json.rs:1183:21 [INFO] [stderr] | [INFO] [stderr] 1183 | #[derive(PartialEq, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/json.rs:1212:28 [INFO] [stderr] | [INFO] [stderr] 1212 | #[derive(PartialEq, Clone, Show)] [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Show` in this scope [INFO] [stderr] --> src/json.rs:1220:28 [INFO] [stderr] | [INFO] [stderr] 1220 | #[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[E0407]: method `detail` is not a member of trait `error::Error` [INFO] [stderr] --> src/base64.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | / fn detail(&self) -> Option<String> { [INFO] [stderr] 207 | | Some(self.to_string()) [INFO] [stderr] 208 | | } [INFO] [stderr] | |_____^ not a member of trait `error::Error` [INFO] [stderr] [INFO] [stderr] error[E0407]: method `detail` is not a member of trait `error::Error` [INFO] [stderr] --> src/hex.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | / fn detail(&self) -> Option<String> { [INFO] [stderr] 91 | | Some(self.to_string()) [INFO] [stderr] 92 | | } [INFO] [stderr] | |_____^ not a member of trait `error::Error` [INFO] [stderr] [INFO] [stderr] error[E0407]: method `detail` is not a member of trait `std::error::Error` [INFO] [stderr] --> src/json.rs:334:5 [INFO] [stderr] | [INFO] [stderr] 334 | fn detail(&self) -> Option<std::string::String> { Some(self.to_string()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `std::error::Error` [INFO] [stderr] [INFO] [stderr] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stderr] --> src/json.rs:1418:14 [INFO] [stderr] | [INFO] [stderr] 1376 | impl<T: Iterator<Item = char>> Parser<T> { [INFO] [stderr] | - first use of `T` [INFO] [stderr] ... [INFO] [stderr] 1418 | fn error<T>(&self, reason: ErrorCode) -> Result<T, ParserError> { [INFO] [stderr] | ^ already used [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | fn emit_uint(&mut self, v: uint) -> Result<(), Self::Error>; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/serialize.rs:32:31 [INFO] [stderr] | [INFO] [stderr] 32 | fn emit_int(&mut self, v: int) -> Result<(), Self::Error>; [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | not found in this scope [INFO] [stderr] | help: perhaps you intended to use this type: `i32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:48:35 [INFO] [stderr] | [INFO] [stderr] 48 | ... v_id: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | ... len: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:52:51 [INFO] [stderr] | [INFO] [stderr] 52 | fn emit_enum_variant_arg<F>(&mut self, a_idx: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:57:42 [INFO] [stderr] | [INFO] [stderr] 57 | ... v_id: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:58:41 [INFO] [stderr] | [INFO] [stderr] 58 | ... len: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:63:49 [INFO] [stderr] | [INFO] [stderr] 63 | ... f_idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:67:51 [INFO] [stderr] | [INFO] [stderr] 67 | fn emit_struct<F>(&mut self, name: &str, len: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:70:61 [INFO] [stderr] | [INFO] [stderr] 70 | fn emit_struct_field<F>(&mut self, f_name: &str, f_idx: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:74:38 [INFO] [stderr] | [INFO] [stderr] 74 | fn emit_tuple<F>(&mut self, len: uint, f: F) -> Result<(), Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:76:42 [INFO] [stderr] | [INFO] [stderr] 76 | fn emit_tuple_arg<F>(&mut self, idx: uint, f: F) -> Result<(), Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:79:57 [INFO] [stderr] | [INFO] [stderr] 79 | fn emit_tuple_struct<F>(&mut self, name: &str, len: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:82:51 [INFO] [stderr] | [INFO] [stderr] 82 | fn emit_tuple_struct_arg<F>(&mut self, f_idx: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:93:36 [INFO] [stderr] | [INFO] [stderr] 93 | fn emit_seq<F>(&mut self, len: uint, f: F) -> Result<(), Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:95:40 [INFO] [stderr] | [INFO] [stderr] 95 | fn emit_seq_elt<F>(&mut self, idx: uint, f: F) -> Result<(), Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:98:36 [INFO] [stderr] | [INFO] [stderr] 98 | fn emit_map<F>(&mut self, len: uint, f: F) -> Result<(), Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:100:44 [INFO] [stderr] | [INFO] [stderr] 100 | fn emit_map_elt_key<F>(&mut self, idx: uint, f: F) -> Result<(), Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:102:44 [INFO] [stderr] | [INFO] [stderr] 102 | fn emit_map_elt_val<F>(&mut self, idx: uint, f: F) -> Result<(), Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:111:39 [INFO] [stderr] | [INFO] [stderr] 111 | fn read_uint(&mut self) -> Result<uint, Self::Error>; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 106 | pub trait Decoder<uint> { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/serialize.rs:116:38 [INFO] [stderr] | [INFO] [stderr] 116 | fn read_int(&mut self) -> Result<int, Self::Error>; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: perhaps you intended to use this type [INFO] [stderr] | [INFO] [stderr] 116 | fn read_int(&mut self) -> Result<i32, Self::Error>; [INFO] [stderr] | ~~~ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 106 | pub trait Decoder<int> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:133:35 [INFO] [stderr] | [INFO] [stderr] 133 | where F: FnMut(&mut Self, uint) -> Result<T, Self::Error>; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:134:54 [INFO] [stderr] | [INFO] [stderr] 134 | fn read_enum_variant_arg<T, F>(&mut self, a_idx: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:140:35 [INFO] [stderr] | [INFO] [stderr] 140 | where F: FnMut(&mut Self, uint) -> Result<T, Self::Error>; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:143:52 [INFO] [stderr] | [INFO] [stderr] 143 | ... f_idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:148:56 [INFO] [stderr] | [INFO] [stderr] 148 | fn read_struct<T, F>(&mut self, s_name: &str, len: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:153:39 [INFO] [stderr] | [INFO] [stderr] 153 | ... f_idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:158:41 [INFO] [stderr] | [INFO] [stderr] 158 | fn read_tuple<T, F>(&mut self, len: uint, f: F) -> Result<T, Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:160:47 [INFO] [stderr] | [INFO] [stderr] 160 | fn read_tuple_arg<T, F>(&mut self, a_idx: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:164:62 [INFO] [stderr] | [INFO] [stderr] 164 | fn read_tuple_struct<T, F>(&mut self, s_name: &str, len: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:167:54 [INFO] [stderr] | [INFO] [stderr] 167 | fn read_tuple_struct_arg<T, F>(&mut self, a_idx: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:176:36 [INFO] [stderr] | [INFO] [stderr] 176 | where F: FnOnce(&mut Self, uint) -> Result<T, Self::Error>; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:177:43 [INFO] [stderr] | [INFO] [stderr] 177 | fn read_seq_elt<T, F>(&mut self, idx: uint, f: F) -> Result<T, Self::Error> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:181:36 [INFO] [stderr] | [INFO] [stderr] 181 | where F: FnOnce(&mut Self, uint) -> Result<T, Self::Error>; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:182:47 [INFO] [stderr] | [INFO] [stderr] 182 | fn read_map_elt_key<T, F>(&mut self, idx: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:185:47 [INFO] [stderr] | [INFO] [stderr] 185 | fn read_map_elt_val<T, F>(&mut self, idx: uint, f: F) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:201:20 [INFO] [stderr] | [INFO] [stderr] 201 | impl Encodable for uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:207:20 [INFO] [stderr] | [INFO] [stderr] 207 | impl Decodable for uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/serialize.rs:208:48 [INFO] [stderr] | [INFO] [stderr] 208 | fn decode<D: Decoder>(d: &mut D) -> Result<uint, D::Error> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 207 | impl<uint> Decodable for uint { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/serialize.rs:261:20 [INFO] [stderr] | [INFO] [stderr] 261 | impl Encodable for int { [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | not found in this scope [INFO] [stderr] | help: perhaps you intended to use this type: `i32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/serialize.rs:267:20 [INFO] [stderr] | [INFO] [stderr] 267 | impl Decodable for int { [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | not found in this scope [INFO] [stderr] | help: perhaps you intended to use this type: `i32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/serialize.rs:268:48 [INFO] [stderr] | [INFO] [stderr] 268 | fn decode<D: Decoder>(d: &mut D) -> Result<int, D::Error> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: perhaps you intended to use this type [INFO] [stderr] | [INFO] [stderr] 268 | fn decode<D: Decoder>(d: &mut D) -> Result<i32, D::Error> { [INFO] [stderr] | ~~~ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 267 | impl<int> Decodable for int { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/base64.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | pub line_length: Option<uint> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 41 | pub struct Config<uint> { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/base64.rs:183:27 [INFO] [stderr] | [INFO] [stderr] 183 | InvalidBase64Byte(u8, uint), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/base64.rs:188:11 [INFO] [stderr] | [INFO] [stderr] 188 | impl fmt::Show for FromBase64Error { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/hex.rs:67:31 [INFO] [stderr] | [INFO] [stderr] 67 | InvalidHexCharacter(char, uint), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/hex.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | impl fmt::Show for FromHexError { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:235:67 [INFO] [stderr] | [INFO] [stderr] 235 | pub struct AsPrettyJson<'a, T: 'a> { inner: &'a T, indent: Option<uint> } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 235 | pub struct AsPrettyJson<'a, T: 'a, uint> { inner: &'a T, indent: Option<uint> } [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:262:28 [INFO] [stderr] | [INFO] [stderr] 262 | SyntaxError(ErrorCode, uint, uint), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:262:34 [INFO] [stderr] | [INFO] [stderr] 262 | SyntaxError(ErrorCode, uint, uint), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IoErrorKind` in module `io` [INFO] [stderr] --> src/json.rs:263:17 [INFO] [stderr] | [INFO] [stderr] 263 | 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[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/json.rs:322:11 [INFO] [stderr] | [INFO] [stderr] 322 | impl fmt::Show for ErrorCode { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IoError` in module `io` [INFO] [stderr] --> src/json.rs:328:30 [INFO] [stderr] | [INFO] [stderr] 328 | 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] 328 | 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] 328 | fn io_error_to_error(io: io::Error) -> ParserError { [INFO] [stderr] | ~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in module `fmt` [INFO] [stderr] --> src/json.rs:340:29 [INFO] [stderr] | [INFO] [stderr] 340 | fn escape_str(wr: &mut fmt::Writer, v: &str) -> fmt::Result { [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:401:34 [INFO] [stderr] | [INFO] [stderr] 401 | fn escape_char(writer: &mut fmt::Writer, v: char) -> fmt::Result { [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:408:25 [INFO] [stderr] | [INFO] [stderr] 408 | fn spaces(wr: &mut fmt::Writer, mut n: uint) -> fmt::Result { [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 `uint` in this scope [INFO] [stderr] --> src/json.rs:408:40 [INFO] [stderr] | [INFO] [stderr] 408 | fn spaces(wr: &mut fmt::Writer, mut n: uint) -> fmt::Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Writer` in module `fmt` [INFO] [stderr] --> src/json.rs:435:27 [INFO] [stderr] | [INFO] [stderr] 435 | 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:441:37 [INFO] [stderr] | [INFO] [stderr] 441 | 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[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:450:32 [INFO] [stderr] | [INFO] [stderr] 450 | fn emit_uint(&mut self, v: uint) -> EncodeResult { write!(self.writer, "{}", v) } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/json.rs:456:31 [INFO] [stderr] | [INFO] [stderr] 456 | fn emit_int(&mut self, v: int) -> EncodeResult { write!(self.writer, "{}", v) } [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | not found in this scope [INFO] [stderr] | help: perhaps you intended to use this type: `i32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:492:34 [INFO] [stderr] | [INFO] [stderr] 492 | ... _id: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:493:34 [INFO] [stderr] | [INFO] [stderr] 493 | ... cnt: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:511:49 [INFO] [stderr] | [INFO] [stderr] 511 | fn emit_enum_variant_arg<F>(&mut self, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:522:40 [INFO] [stderr] | [INFO] [stderr] 522 | ... id: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:523:41 [INFO] [stderr] | [INFO] [stderr] 523 | ... cnt: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:532:47 [INFO] [stderr] | [INFO] [stderr] 532 | ... idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:539:46 [INFO] [stderr] | [INFO] [stderr] 539 | fn emit_struct<F>(&mut self, _: &str, _: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:547:57 [INFO] [stderr] | [INFO] [stderr] 547 | fn emit_struct_field<F>(&mut self, name: &str, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:556:38 [INFO] [stderr] | [INFO] [stderr] 556 | fn emit_tuple<F>(&mut self, len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:561:42 [INFO] [stderr] | [INFO] [stderr] 561 | fn emit_tuple_arg<F>(&mut self, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:567:58 [INFO] [stderr] | [INFO] [stderr] 567 | fn emit_tuple_struct<F>(&mut self, _name: &str, len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:572:49 [INFO] [stderr] | [INFO] [stderr] 572 | fn emit_tuple_struct_arg<F>(&mut self, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:590:37 [INFO] [stderr] | [INFO] [stderr] 590 | fn emit_seq<F>(&mut self, _len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:598:40 [INFO] [stderr] | [INFO] [stderr] 598 | fn emit_seq_elt<F>(&mut self, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:607:37 [INFO] [stderr] | [INFO] [stderr] 607 | fn emit_map<F>(&mut self, _len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:615:44 [INFO] [stderr] | [INFO] [stderr] 615 | fn emit_map_elt_key<F>(&mut self, idx: uint, mut f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:635:45 [INFO] [stderr] | [INFO] [stderr] 635 | fn emit_map_elt_val<F>(&mut self, _idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Writer` in module `fmt` [INFO] [stderr] --> src/json.rs:646:27 [INFO] [stderr] | [INFO] [stderr] 646 | 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 `uint` in this scope [INFO] [stderr] --> src/json.rs:647:18 [INFO] [stderr] | [INFO] [stderr] 647 | curr_indent: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:648:13 [INFO] [stderr] | [INFO] [stderr] 648 | indent: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in module `fmt` [INFO] [stderr] --> src/json.rs:653:37 [INFO] [stderr] | [INFO] [stderr] 653 | 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 `uint` in this scope [INFO] [stderr] --> src/json.rs:659:42 [INFO] [stderr] | [INFO] [stderr] 659 | pub fn set_indent(&mut self, indent: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:672:32 [INFO] [stderr] | [INFO] [stderr] 672 | fn emit_uint(&mut self, v: uint) -> EncodeResult { write!(self.writer, "{}", v) } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/json.rs:678:31 [INFO] [stderr] | [INFO] [stderr] 678 | fn emit_int(&mut self, v: int) -> EncodeResult { write!(self.writer, "{}", v) } [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | not found in this scope [INFO] [stderr] | help: perhaps you intended to use this type: `i32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:714:34 [INFO] [stderr] | [INFO] [stderr] 714 | ... _id: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:715:34 [INFO] [stderr] | [INFO] [stderr] 715 | ... cnt: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:743:49 [INFO] [stderr] | [INFO] [stderr] 743 | fn emit_enum_variant_arg<F>(&mut self, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:755:40 [INFO] [stderr] | [INFO] [stderr] 755 | ... id: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:756:41 [INFO] [stderr] | [INFO] [stderr] 756 | ... cnt: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:765:47 [INFO] [stderr] | [INFO] [stderr] 765 | ... idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:773:48 [INFO] [stderr] | [INFO] [stderr] 773 | fn emit_struct<F>(&mut self, _: &str, len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:789:57 [INFO] [stderr] | [INFO] [stderr] 789 | fn emit_struct_field<F>(&mut self, name: &str, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:803:38 [INFO] [stderr] | [INFO] [stderr] 803 | fn emit_tuple<F>(&mut self, len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:808:42 [INFO] [stderr] | [INFO] [stderr] 808 | fn emit_tuple_arg<F>(&mut self, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:814:54 [INFO] [stderr] | [INFO] [stderr] 814 | fn emit_tuple_struct<F>(&mut self, _: &str, len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:819:49 [INFO] [stderr] | [INFO] [stderr] 819 | fn emit_tuple_struct_arg<F>(&mut self, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:837:36 [INFO] [stderr] | [INFO] [stderr] 837 | fn emit_seq<F>(&mut self, len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:853:40 [INFO] [stderr] | [INFO] [stderr] 853 | fn emit_seq_elt<F>(&mut self, idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:865:36 [INFO] [stderr] | [INFO] [stderr] 865 | fn emit_map<F>(&mut self, len: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:881:44 [INFO] [stderr] | [INFO] [stderr] 881 | fn emit_map_elt_key<F>(&mut self, idx: uint, mut f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:906:45 [INFO] [stderr] | [INFO] [stderr] 906 | fn emit_map_elt_val<F>(&mut self, _idx: uint, f: F) -> EncodeResult where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Reader` in module `io` [INFO] [stderr] --> src/json.rs:943:38 [INFO] [stderr] | [INFO] [stderr] 943 | 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[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:1156:17 [INFO] [stderr] | [INFO] [stderr] 1156 | impl ops::Index<uint> for Json { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1156 | impl<uint> ops::Index<uint> for Json { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:1159:34 [INFO] [stderr] | [INFO] [stderr] 1159 | fn index<'a>(&'a self, idx: &uint) -> &'a Json { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:1232:26 [INFO] [stderr] | [INFO] [stderr] 1232 | pub fn len(&self) -> uint { self.stack.len() } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:1240:35 [INFO] [stderr] | [INFO] [stderr] 1240 | pub fn get<'l>(&'l self, idx: uint) -> StackElement<'l> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:1344:11 [INFO] [stderr] | [INFO] [stderr] 1344 | line: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:1345:10 [INFO] [stderr] | [INFO] [stderr] 1345 | col: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2053:34 [INFO] [stderr] | [INFO] [stderr] 2053 | read_primitive! { read_uint, uint } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 2046 | impl<uint> ::Decoder for Decoder { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/json.rs:2058:33 [INFO] [stderr] | [INFO] [stderr] 2058 | read_primitive! { read_int, int } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: perhaps you intended to use this type [INFO] [stderr] | [INFO] [stderr] 2058 | read_primitive! { read_int, i32 } [INFO] [stderr] | ~~~ [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 2046 | impl<int> ::Decoder for Decoder { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2113:38 [INFO] [stderr] | [INFO] [stderr] 2113 | where F: FnMut(&mut Decoder, uint) -> DecodeResult<T>, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2153:53 [INFO] [stderr] | [INFO] [stderr] 2153 | fn read_enum_variant_arg<T, F>(&mut self, _idx: uint, f: F) -> DecodeResult<T> where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2160:32 [INFO] [stderr] | [INFO] [stderr] 2160 | F: FnMut(&mut Decoder, uint) -> DecodeResult<T>, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2168:47 [INFO] [stderr] | [INFO] [stderr] 2168 | ... idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2176:56 [INFO] [stderr] | [INFO] [stderr] 2176 | fn read_struct<T, F>(&mut self, _name: &str, _len: uint, f: F) -> DecodeResult<T> where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2186:38 [INFO] [stderr] | [INFO] [stderr] 2186 | ... _idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2212:47 [INFO] [stderr] | [INFO] [stderr] 2212 | fn read_tuple<T, F>(&mut self, tuple_len: uint, f: F) -> DecodeResult<T> where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2224:45 [INFO] [stderr] | [INFO] [stderr] 2224 | fn read_tuple_arg<T, F>(&mut self, idx: uint, f: F) -> DecodeResult<T> where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2232:37 [INFO] [stderr] | [INFO] [stderr] 2232 | ... len: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2241:41 [INFO] [stderr] | [INFO] [stderr] 2241 | ... idx: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2259:33 [INFO] [stderr] | [INFO] [stderr] 2259 | F: FnOnce(&mut Decoder, uint) -> DecodeResult<T>, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2269:44 [INFO] [stderr] | [INFO] [stderr] 2269 | fn read_seq_elt<T, F>(&mut self, _idx: uint, f: F) -> DecodeResult<T> where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2276:33 [INFO] [stderr] | [INFO] [stderr] 2276 | F: FnOnce(&mut Decoder, uint) -> DecodeResult<T>, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2287:48 [INFO] [stderr] | [INFO] [stderr] 2287 | fn read_map_elt_key<T, F>(&mut self, _idx: uint, f: F) -> DecodeResult<T> where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2293:48 [INFO] [stderr] | [INFO] [stderr] 2293 | fn read_map_elt_val<T, F>(&mut self, _idx: uint, f: F) -> DecodeResult<T> where [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/json.rs:2318:21 [INFO] [stderr] | [INFO] [stderr] 2318 | to_json_impl_i64! { int, i8, i16, i32, i64 } [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | not found in this scope [INFO] [stderr] | help: perhaps you intended to use this type: `i32` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2328:21 [INFO] [stderr] | [INFO] [stderr] 2328 | to_json_impl_u64! { uint, u8, u16, u32, u64 } [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Writer` in module `fmt` [INFO] [stderr] --> src/json.rs:2438:19 [INFO] [stderr] | [INFO] [stderr] 2438 | 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] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/json.rs:2443:11 [INFO] [stderr] | [INFO] [stderr] 2443 | impl fmt::Show for Json { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/json.rs:2452:15 [INFO] [stderr] | [INFO] [stderr] 2452 | impl<'a> fmt::Show for PrettyJson<'a> { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/json.rs:2461:29 [INFO] [stderr] | [INFO] [stderr] 2461 | impl<'a, T: Encodable> fmt::Show for AsJson<'a, T> { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/json.rs:2472:37 [INFO] [stderr] | [INFO] [stderr] 2472 | pub fn indent(mut self, indent: uint) -> AsPrettyJson<'a, T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/json.rs:2478:29 [INFO] [stderr] | [INFO] [stderr] 2478 | impl<'a, T: Encodable> fmt::Show for AsPrettyJson<'a, T> { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/base64.rs:255:21 [INFO] [stderr] | [INFO] [stderr] 255 | 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:256:21 [INFO] [stderr] | [INFO] [stderr] 256 | 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:257:21 [INFO] [stderr] | [INFO] [stderr] 257 | 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:130:21 [INFO] [stderr] | [INFO] [stderr] 130 | 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:131:21 [INFO] [stderr] | [INFO] [stderr] 131 | 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:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | 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:1490:25 [INFO] [stderr] | [INFO] [stderr] 1490 | '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:1494:17 [INFO] [stderr] | [INFO] [stderr] 1494 | '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:1497:33 [INFO] [stderr] | [INFO] [stderr] 1497 | 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:1521:17 [INFO] [stderr] | [INFO] [stderr] 1521 | '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:1528:25 [INFO] [stderr] | [INFO] [stderr] 1528 | 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:1555:17 [INFO] [stderr] | [INFO] [stderr] 1555 | '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:1560:25 [INFO] [stderr] | [INFO] [stderr] 1560 | 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:1586:25 [INFO] [stderr] | [INFO] [stderr] 1586 | 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:1628:32 [INFO] [stderr] | [INFO] [stderr] 1628 | 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:1634:37 [INFO] [stderr] | [INFO] [stderr] 1634 | 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:1860:17 [INFO] [stderr] | [INFO] [stderr] 1860 | '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: invalid suffix `u` for number literal [INFO] [stderr] --> src/collection_impls.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | for i in range(0u, len) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/collection_impls.rs:59:28 [INFO] [stderr] | [INFO] [stderr] 59 | for i in range(0u, len) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/collection_impls.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | for i in range(0u, len) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/collection_impls.rs:122:28 [INFO] [stderr] | [INFO] [stderr] 122 | for i in range(0u, len) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/collection_impls.rs:159:28 [INFO] [stderr] | [INFO] [stderr] 159 | for i in range(0u, len) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/collection_impls.rs:194:28 [INFO] [stderr] | [INFO] [stderr] 194 | for i in range(0u, len) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/collection_impls.rs:218:28 [INFO] [stderr] | [INFO] [stderr] 218 | for i in range(0u, len) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/base64.rs:157:31 [INFO] [stderr] | [INFO] [stderr] 157 | (self[i + 1u] as u32) << 8; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for number literal [INFO] [stderr] --> src/base64.rs:248:27 [INFO] [stderr] | [INFO] [stderr] 248 | let mut modulus = 0i; [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for number literal [INFO] [stderr] --> src/hex.rs:123:27 [INFO] [stderr] | [INFO] [stderr] 123 | let mut modulus = 0i; [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/json.rs:428:57 [INFO] [stderr] | [INFO] [stderr] 428 | _ if v.fract() != 0f64 => f64::to_str_digits(v, 6u), [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/json.rs:429:36 [INFO] [stderr] | [INFO] [stderr] 429 | _ => f64::to_str_digits(v, 6u) + ".0", [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/json.rs:1403:26 [INFO] [stderr] | [INFO] [stderr] 1403 | self.line += 1u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/json.rs:1404:24 [INFO] [stderr] | [INFO] [stderr] 1404 | self.col = 1u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/json.rs:1406:25 [INFO] [stderr] | [INFO] [stderr] 1406 | self.col += 1u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/json.rs:1543:23 [INFO] [stderr] | [INFO] [stderr] 1543 | let mut exp = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/json.rs:1581:21 [INFO] [stderr] | [INFO] [stderr] 1581 | let mut i = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/json.rs:1596:18 [INFO] [stderr] | [INFO] [stderr] 1596 | i += 1u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for number literal [INFO] [stderr] --> src/serialize.rs:501:13 [INFO] [stderr] | [INFO] [stderr] 501 | () => { 0u }; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] ... [INFO] [stderr] 539 | tuple! { T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stderr] = note: this error originates in the macro `count_idents` which comes from the expansion of the macro `tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stderr] --> src/collection_impls.rs:131:20 [INFO] [stderr] | [INFO] [stderr] 131 | K: Encodable + Hash<X> + Eq, [INFO] [stderr] | ^^^^--- help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stderr] --> src/collection_impls.rs:134:8 [INFO] [stderr] | [INFO] [stderr] 134 | H: Hasher<X> [INFO] [stderr] | ^^^^^^--- help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stderr] --> src/collection_impls.rs:150:20 [INFO] [stderr] | [INFO] [stderr] 150 | K: Decodable + Hash<S> + Eq, [INFO] [stderr] | ^^^^--- help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stderr] --> src/collection_impls.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | H: Hasher<S> + Default [INFO] [stderr] | ^^^^^^--- help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stderr] --> src/collection_impls.rs:170:20 [INFO] [stderr] | [INFO] [stderr] 170 | T: Encodable + Hash<X> + Eq, [INFO] [stderr] | ^^^^--- help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stderr] --> src/collection_impls.rs:172:8 [INFO] [stderr] | [INFO] [stderr] 172 | H: Hasher<X> [INFO] [stderr] | ^^^^^^--- help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stderr] --> src/collection_impls.rs:187:20 [INFO] [stderr] | [INFO] [stderr] 187 | T: Decodable + Hash<S> + Eq, [INFO] [stderr] | ^^^^--- help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stderr] --> src/collection_impls.rs:189:8 [INFO] [stderr] | [INFO] [stderr] 189 | H: Hasher<S> + Default [INFO] [stderr] | ^^^^^^--- help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0403, E0405, E0407, 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=9b27b75223f93894 -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.6` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "1dde80b6a7a6808e121446ed14f56d20d928ad2ce3eecdee3e8006a2e86283a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dde80b6a7a6808e121446ed14f56d20d928ad2ce3eecdee3e8006a2e86283a4", kill_on_drop: false }` [INFO] [stdout] 1dde80b6a7a6808e121446ed14f56d20d928ad2ce3eecdee3e8006a2e86283a4