[INFO] fetching crate rustc-ap-rustc_serialize 669.0.0... [INFO] testing rustc-ap-rustc_serialize-669.0.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate rustc-ap-rustc_serialize 669.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rustc-ap-rustc_serialize 669.0.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustc-ap-rustc_serialize 669.0.0 [INFO] finished tweaking crates.io crate rustc-ap-rustc_serialize 669.0.0 [INFO] tweaked toml for crates.io crate rustc-ap-rustc_serialize 669.0.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", 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] cebf80b5555d44f66b87c60c302f41984615f76d03bc40d234f41bb0b70dbadb [INFO] running `Command { std: "docker" "start" "-a" "cebf80b5555d44f66b87c60c302f41984615f76d03bc40d234f41bb0b70dbadb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cebf80b5555d44f66b87c60c302f41984615f76d03bc40d234f41bb0b70dbadb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cebf80b5555d44f66b87c60c302f41984615f76d03bc40d234f41bb0b70dbadb", kill_on_drop: false }` [INFO] [stdout] cebf80b5555d44f66b87c60c302f41984615f76d03bc40d234f41bb0b70dbadb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99ad4b4f06cc420564fcb9333ab008dc11bb7cd9ce25e7e92dded68422a31489 [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" "99ad4b4f06cc420564fcb9333ab008dc11bb7cd9ce25e7e92dded68422a31489", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling rustc-ap-rustc_serialize v669.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.94s [INFO] running `Command { std: "docker" "inspect" "99ad4b4f06cc420564fcb9333ab008dc11bb7cd9ce25e7e92dded68422a31489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ad4b4f06cc420564fcb9333ab008dc11bb7cd9ce25e7e92dded68422a31489", kill_on_drop: false }` [INFO] [stdout] 99ad4b4f06cc420564fcb9333ab008dc11bb7cd9ce25e7e92dded68422a31489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c3a1ce755210c74507c23f72d0f8dd5d5cbf20d105289ed7d1473c5a2ea82da [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" "8c3a1ce755210c74507c23f72d0f8dd5d5cbf20d105289ed7d1473c5a2ea82da", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-ap-rustc_serialize v669.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rustc_serialize` [INFO] [stdout] --> tests/opaque.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::opaque::{Decoder, Encoder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `rustc_serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_serialize` [INFO] [stdout] --> tests/opaque.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rustc_serialize::{Decodable, Encodable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `rustc_serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/opaque.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rustc_serialize` [INFO] [stdout] --> tests/leb128.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_serialize::leb128::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `rustc_serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/opaque.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/opaque.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/opaque.rs:228:51 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/opaque.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rustc_serialize` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::Encodable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Encoder` [INFO] [stdout] --> tests/opaque.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let mut encoder = Encoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::Encoder; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Encoder; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::opaque::Encoder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Decoder` [INFO] [stdout] --> tests/opaque.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let mut decoder = Decoder::new(&data[..], 0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::Decoder; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Decoder; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::opaque::Decoder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/opaque.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rustc_serialize` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::Encodable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_u16_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_u16_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 25 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, read_u16_leb128, u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | impl_test_unsigned_leb128!(test_u16_leb128, test_u16_leb128, read_u16_leb128, u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::write_u16_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_u16_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:25:63 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_u16_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 25 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, read_u16_leb128, u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | impl_test_unsigned_leb128!(test_u16_leb128, write_u16_leb128, test_u16_leb128, u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::read_u16_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_u32_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_u32_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 26 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, read_u32_leb128, u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 | impl_test_unsigned_leb128!(test_u32_leb128, test_u32_leb128, read_u32_leb128, u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::write_u32_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_u32_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_u32_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 26 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, read_u32_leb128, u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 | impl_test_unsigned_leb128!(test_u32_leb128, write_u32_leb128, test_u32_leb128, u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::read_u32_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_u64_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_u64_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, read_u64_leb128, u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 | impl_test_unsigned_leb128!(test_u64_leb128, test_u64_leb128, read_u64_leb128, u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::write_u64_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_u64_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_u64_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, read_u64_leb128, u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 | impl_test_unsigned_leb128!(test_u64_leb128, write_u64_leb128, test_u64_leb128, u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::read_u64_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_u128_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_u128_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 28 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, read_u128_leb128, u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 28 | impl_test_unsigned_leb128!(test_u128_leb128, test_u128_leb128, read_u128_leb128, u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::write_u128_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_u128_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:28:65 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_u128_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 28 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, read_u128_leb128, u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 28 | impl_test_unsigned_leb128!(test_u128_leb128, write_u128_leb128, test_u128_leb128, u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::read_u128_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_usize_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_usize_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 29 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, read_usize_leb128, usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 29 | impl_test_unsigned_leb128!(test_usize_leb128, test_usize_leb128, read_usize_leb128, usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::write_usize_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-ap-rustc_serialize`. [INFO] [stdout] error[E0425]: cannot find function `read_usize_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:29:67 [INFO] [stdout] | [INFO] [stdout] 6 | fn $test_name() { [INFO] [stdout] | --------------- similarly named constant `test_usize_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 29 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, read_usize_leb128, usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 29 | impl_test_unsigned_leb128!(test_usize_leb128, write_usize_leb128, test_usize_leb128, usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::read_usize_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0425]: cannot find function `write_signed_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_signed_leb128() { [INFO] [stdout] | ----------------------- similarly named constant `test_signed_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 36 | write_signed_leb128(&mut stream, x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 | test_signed_leb128(&mut stream, x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::write_signed_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0425]: cannot find function `read_signed_leb128` in this scope [INFO] [stdout] --> tests/leb128.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_signed_leb128() { [INFO] [stdout] | ----------------------- similarly named constant `test_signed_leb128` defined here [INFO] [stdout] ... [INFO] [stdout] 40 | let (value, bytes_read) = read_signed_leb128(&mut stream, pos); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | let (value, bytes_read) = test_signed_leb128(&mut stream, pos); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rustc_ap_rustc_serialize::leb128::read_signed_leb128; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `json` [INFO] [stdout] --> tests/json.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use json::DecoderError::*; [INFO] [stdout] | ^^^^ use of undeclared type or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `json` [INFO] [stdout] --> tests/json.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use json::ErrorCode::*; [INFO] [stdout] | ^^^^ use of undeclared type or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `json` [INFO] [stdout] --> tests/json.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use json::Json::*; [INFO] [stdout] | ^^^^ use of undeclared type or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `json` [INFO] [stdout] --> tests/json.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use json::JsonEvent::*; [INFO] [stdout] | ^^^^ use of undeclared type or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `json` [INFO] [stdout] --> tests/json.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use json::ParserError::*; [INFO] [stdout] | ^^^^ use of undeclared type or module `json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `json::DecoderError::*`, `json::ErrorCode::*`, `json::Json::*`, `json::JsonEvent::*`, `json::ParserError::*`, `json` [INFO] [stdout] --> tests/json.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use json::DecoderError::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use json::ErrorCode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use json::Json::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | use json::JsonEvent::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use json::ParserError::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use json::{ [INFO] [stdout] | ^^^^ help: a similar path exists: `rustc_ap_rustc_serialize::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rustc_serialize` [INFO] [stdout] --> tests/json.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rustc_serialize::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `rustc_serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rustc_serialize`, `json::ToJson` [INFO] [stdout] --> tests/json.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rustc_serialize::{Decodable, Encodable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `rustc_serialize` [INFO] [stdout] ... [INFO] [stdout] 1202 | use json::ToJson; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcDecodable, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:571:10 [INFO] [stdout] | [INFO] [stdout] 571 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:627:10 [INFO] [stdout] | [INFO] [stdout] 627 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:936:14 [INFO] [stdout] | [INFO] [stdout] 936 | #[derive(RustcEncodable, Eq, Hash, PartialEq, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:936:51 [INFO] [stdout] | [INFO] [stdout] 936 | #[derive(RustcEncodable, Eq, Hash, PartialEq, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:1257:35 [INFO] [stdout] | [INFO] [stdout] 1257 | #[derive(PartialEq, Eq, Hash, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | ExpectedError("Number".to_string(), "[]".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | ExpectedError("Number".to_string(), "false".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rustc_serialize` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::Encodable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rustc_serialize` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::Encodable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rustc_serialize` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::Encodable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope [INFO] [stdout] --> tests/json.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Object(d) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(Null.to_string(), "null"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(Null.pretty().to_string(), "null"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(U64(0).to_string(), "0"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(U64(0).pretty().to_string(), "0"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(U64(1234).to_string(), "1234"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(U64(1234).pretty().to_string(), "1234"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(I64(-5678).to_string(), "-5678"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(I64(-5678).pretty().to_string(), "-5678"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | assert_eq!(U64(7650007200025252000).to_string(), "7650007200025252000"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(U64(7650007200025252000).pretty().to_string(), "7650007200025252000"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(F64(3.0).to_string(), "3.0"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(F64(3.0).pretty().to_string(), "3.0"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(F64(3.1).to_string(), "3.1"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(F64(3.1).pretty().to_string(), "3.1"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(F64(-1.5).to_string(), "-1.5"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(F64(-1.5).pretty().to_string(), "-1.5"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(F64(0.5).to_string(), "0.5"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(F64(0.5).pretty().to_string(), "0.5"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(F64(f64::NAN).to_string(), "null"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(F64(f64::NAN).pretty().to_string(), "null"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(F64(f64::INFINITY).to_string(), "null"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(F64(f64::INFINITY).pretty().to_string(), "null"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(F64(f64::NEG_INFINITY).to_string(), "null"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(F64(f64::NEG_INFINITY).pretty().to_string(), "null"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(String("".to_string()).to_string(), "\"\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(String { vec: val }.to_string(), "\"\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(String("".to_string()).pretty().to_string(), "\"\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(String { vec: val }.pretty().to_string(), "\"\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(String("homura".to_string()).to_string(), "\"homura\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(String { vec: val }.to_string(), "\"homura\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(String("madoka".to_string()).pretty().to_string(), "\"madoka\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(String { vec: val }.pretty().to_string(), "\"madoka\""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(Boolean(true).to_string(), "true"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(Boolean(true).pretty().to_string(), "true"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(Boolean(false).to_string(), "false"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(Boolean(false).pretty().to_string(), "false"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(Array(vec![]).to_string(), "[]"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(Array(vec![]).pretty().to_string(), "[]"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(Array(vec![Boolean(true)]).to_string(), "[true]"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(Array(vec![Boolean(true)]).to_string(), "[true]"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | Array(vec![Boolean(true)]).pretty().to_string(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | Array(vec![Boolean(true)]).pretty().to_string(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:167:36 [INFO] [stdout] | [INFO] [stdout] 167 | Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:167:42 [INFO] [stdout] | [INFO] [stdout] 167 | Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:167:53 [INFO] [stdout] | [INFO] [stdout] 167 | Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 167 | Array(vec![Boolean(false), Null, Array(vec![String { vec: val }, F64(3.5)])]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:167:85 [INFO] [stdout] | [INFO] [stdout] 167 | Array(vec![Boolean(false), Null, Array(vec![String("foo\nbar".to_string()), F64(3.5)])]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:189:46 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(mk_object(&[("a".to_string(), Boolean(true))]).to_string(), "{\"a\":true}"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 191 | mk_object(&[("a".to_string(), Boolean(true))]).pretty().to_string(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | Array(vec![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:201:43 [INFO] [stdout] | [INFO] [stdout] 201 | mk_object(&[("c".to_string(), String("\x0c\r".to_string()))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 201 | mk_object(&[("c".to_string(), String { vec: val })]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | mk_object(&[("d".to_string(), String("".to_string()))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 202 | mk_object(&[("d".to_string(), String { vec: val })]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | ("a".to_string(), Boolean(true)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | Array(vec![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:235:47 [INFO] [stdout] | [INFO] [stdout] 235 | mk_object(&[("c".to_string(), String("\x0c\r".to_string()))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 235 | mk_object(&[("c".to_string(), String { vec: val })]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:236:47 [INFO] [stdout] | [INFO] [stdout] 236 | mk_object(&[("d".to_string(), String("".to_string()))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 236 | mk_object(&[("d".to_string(), String { vec: val })]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:304:39 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(from_str("nulla"), Err(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:304:51 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(from_str("nulla"), Err(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:305:39 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(from_str("truea"), Err(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:305:51 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(from_str("truea"), Err(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:306:40 [INFO] [stdout] | [INFO] [stdout] 306 | assert_eq!(from_str("falsea"), Err(SyntaxError(TrailingCharacters, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:306:52 [INFO] [stdout] | [INFO] [stdout] 306 | assert_eq!(from_str("falsea"), Err(SyntaxError(TrailingCharacters, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:307:36 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(from_str("1a"), Err(SyntaxError(TrailingCharacters, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:307:48 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(from_str("1a"), Err(SyntaxError(TrailingCharacters, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:308:37 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(from_str("[]a"), Err(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(from_str("[]a"), Err(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | assert_eq!(from_str("{}a"), Err(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:309:49 [INFO] [stdout] | [INFO] [stdout] 309 | assert_eq!(from_str("{}a"), Err(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:314:35 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(from_str("n"), Err(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:314:47 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(from_str("n"), Err(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | assert_eq!(from_str("nul"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:315:49 [INFO] [stdout] | [INFO] [stdout] 315 | assert_eq!(from_str("nul"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:316:35 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(from_str("t"), Err(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:316:47 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(from_str("t"), Err(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(from_str("truz"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:317:50 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(from_str("truz"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:318:35 [INFO] [stdout] | [INFO] [stdout] 318 | assert_eq!(from_str("f"), Err(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:318:47 [INFO] [stdout] | [INFO] [stdout] 318 | assert_eq!(from_str("f"), Err(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:319:37 [INFO] [stdout] | [INFO] [stdout] 319 | assert_eq!(from_str("faz"), Err(SyntaxError(InvalidSyntax, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:319:49 [INFO] [stdout] | [INFO] [stdout] 319 | assert_eq!(from_str("faz"), Err(SyntaxError(InvalidSyntax, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | assert_eq!(from_str("null"), Ok(Null)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:322:37 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(from_str("true"), Ok(Boolean(true))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:323:38 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(from_str("false"), Ok(Boolean(false))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(from_str(" null "), Ok(Null)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:325:39 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(from_str(" true "), Ok(Boolean(true))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:326:40 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(from_str(" false "), Ok(Boolean(false))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:343:35 [INFO] [stdout] | [INFO] [stdout] 343 | assert_eq!(from_str("+"), Err(SyntaxError(InvalidSyntax, 1, 1))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:343:47 [INFO] [stdout] | [INFO] [stdout] 343 | assert_eq!(from_str("+"), Err(SyntaxError(InvalidSyntax, 1, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:344:35 [INFO] [stdout] | [INFO] [stdout] 344 | assert_eq!(from_str("."), Err(SyntaxError(InvalidSyntax, 1, 1))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:344:47 [INFO] [stdout] | [INFO] [stdout] 344 | assert_eq!(from_str("."), Err(SyntaxError(InvalidSyntax, 1, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:345:37 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!(from_str("NaN"), Err(SyntaxError(InvalidSyntax, 1, 1))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:345:49 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!(from_str("NaN"), Err(SyntaxError(InvalidSyntax, 1, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(from_str("-"), Err(SyntaxError(InvalidNumber, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope [INFO] [stdout] --> tests/json.rs:346:47 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(from_str("-"), Err(SyntaxError(InvalidNumber, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:347:36 [INFO] [stdout] | [INFO] [stdout] 347 | assert_eq!(from_str("00"), Err(SyntaxError(InvalidNumber, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope [INFO] [stdout] --> tests/json.rs:347:48 [INFO] [stdout] | [INFO] [stdout] 347 | assert_eq!(from_str("00"), Err(SyntaxError(InvalidNumber, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:348:36 [INFO] [stdout] | [INFO] [stdout] 348 | assert_eq!(from_str("1."), Err(SyntaxError(InvalidNumber, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope [INFO] [stdout] --> tests/json.rs:348:48 [INFO] [stdout] | [INFO] [stdout] 348 | assert_eq!(from_str("1."), Err(SyntaxError(InvalidNumber, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:349:36 [INFO] [stdout] | [INFO] [stdout] 349 | assert_eq!(from_str("1e"), Err(SyntaxError(InvalidNumber, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope [INFO] [stdout] --> tests/json.rs:349:48 [INFO] [stdout] | [INFO] [stdout] 349 | assert_eq!(from_str("1e"), Err(SyntaxError(InvalidNumber, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:350:37 [INFO] [stdout] | [INFO] [stdout] 350 | assert_eq!(from_str("1e+"), Err(SyntaxError(InvalidNumber, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope [INFO] [stdout] --> tests/json.rs:350:49 [INFO] [stdout] | [INFO] [stdout] 350 | assert_eq!(from_str("1e+"), Err(SyntaxError(InvalidNumber, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:352:54 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(from_str("18446744073709551616"), Err(SyntaxError(InvalidNumber, 1, 20))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope [INFO] [stdout] --> tests/json.rs:352:66 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(from_str("18446744073709551616"), Err(SyntaxError(InvalidNumber, 1, 20))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:353:54 [INFO] [stdout] | [INFO] [stdout] 353 | assert_eq!(from_str("-9223372036854775809"), Err(SyntaxError(InvalidNumber, 1, 21))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidNumber` in this scope [INFO] [stdout] --> tests/json.rs:353:66 [INFO] [stdout] | [INFO] [stdout] 353 | assert_eq!(from_str("-9223372036854775809"), Err(SyntaxError(InvalidNumber, 1, 21))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidNumber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:355:34 [INFO] [stdout] | [INFO] [stdout] 355 | assert_eq!(from_str("3"), Ok(U64(3))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:356:36 [INFO] [stdout] | [INFO] [stdout] 356 | assert_eq!(from_str("3.1"), Ok(F64(3.1))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:357:37 [INFO] [stdout] | [INFO] [stdout] 357 | assert_eq!(from_str("-1.2"), Ok(F64(-1.2))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:358:36 [INFO] [stdout] | [INFO] [stdout] 358 | assert_eq!(from_str("0.4"), Ok(F64(0.4))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:359:38 [INFO] [stdout] | [INFO] [stdout] 359 | assert_eq!(from_str("0.4e5"), Ok(F64(0.4e5))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:360:40 [INFO] [stdout] | [INFO] [stdout] 360 | assert_eq!(from_str("0.4e+15"), Ok(F64(0.4e15))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:361:40 [INFO] [stdout] | [INFO] [stdout] 361 | assert_eq!(from_str("0.4e-01"), Ok(F64(0.4e-01))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:362:36 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(from_str(" 3 "), Ok(U64(3))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:364:53 [INFO] [stdout] | [INFO] [stdout] 364 | assert_eq!(from_str("-9223372036854775808"), Ok(I64(i64::MIN))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:365:52 [INFO] [stdout] | [INFO] [stdout] 365 | assert_eq!(from_str("9223372036854775807"), Ok(U64(i64::MAX as u64))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:366:53 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(from_str("18446744073709551615"), Ok(U64(u64::MAX))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:405:25 [INFO] [stdout] | [INFO] [stdout] 405 | assert_eq!(res, Err(ExpectedError("Integer".to_string(), "765.25".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:410:36 [INFO] [stdout] | [INFO] [stdout] 410 | assert_eq!(from_str("\""), Err(SyntaxError(EOFWhileParsingString, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingString` in this scope [INFO] [stdout] --> tests/json.rs:410:48 [INFO] [stdout] | [INFO] [stdout] 410 | assert_eq!(from_str("\""), Err(SyntaxError(EOFWhileParsingString, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:411:39 [INFO] [stdout] | [INFO] [stdout] 411 | assert_eq!(from_str("\"lol"), Err(SyntaxError(EOFWhileParsingString, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingString` in this scope [INFO] [stdout] --> tests/json.rs:411:51 [INFO] [stdout] | [INFO] [stdout] 411 | assert_eq!(from_str("\"lol"), Err(SyntaxError(EOFWhileParsingString, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:413:37 [INFO] [stdout] | [INFO] [stdout] 413 | assert_eq!(from_str("\"\""), Ok(String("".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 413 | assert_eq!(from_str("\"\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:414:40 [INFO] [stdout] | [INFO] [stdout] 414 | assert_eq!(from_str("\"foo\""), Ok(String("foo".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 414 | assert_eq!(from_str("\"foo\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:415:41 [INFO] [stdout] | [INFO] [stdout] 415 | assert_eq!(from_str("\"\\\"\""), Ok(String("\"".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 415 | assert_eq!(from_str("\"\\\"\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:416:40 [INFO] [stdout] | [INFO] [stdout] 416 | assert_eq!(from_str("\"\\b\""), Ok(String("\x08".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 416 | assert_eq!(from_str("\"\\b\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:417:40 [INFO] [stdout] | [INFO] [stdout] 417 | assert_eq!(from_str("\"\\n\""), Ok(String("\n".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 417 | assert_eq!(from_str("\"\\n\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:418:40 [INFO] [stdout] | [INFO] [stdout] 418 | assert_eq!(from_str("\"\\r\""), Ok(String("\r".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 418 | assert_eq!(from_str("\"\\r\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:419:40 [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(from_str("\"\\t\""), Ok(String("\t".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(from_str("\"\\t\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:420:42 [INFO] [stdout] | [INFO] [stdout] 420 | assert_eq!(from_str(" \"foo\" "), Ok(String("foo".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 420 | assert_eq!(from_str(" \"foo\" "), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:421:44 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(from_str("\"\\u12ab\""), Ok(String("\u{12ab}".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(from_str("\"\\u12ab\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:422:44 [INFO] [stdout] | [INFO] [stdout] 422 | assert_eq!(from_str("\"\\uAB12\""), Ok(String("\u{AB12}".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 422 | assert_eq!(from_str("\"\\uAB12\""), Ok(String { vec: val })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:447:35 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope [INFO] [stdout] --> tests/json.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:448:36 [INFO] [stdout] | [INFO] [stdout] 448 | assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingArray` in this scope [INFO] [stdout] --> tests/json.rs:448:48 [INFO] [stdout] | [INFO] [stdout] 448 | assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingArray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:449:37 [INFO] [stdout] | [INFO] [stdout] 449 | assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope [INFO] [stdout] --> tests/json.rs:449:49 [INFO] [stdout] | [INFO] [stdout] 449 | assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:450:38 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:450:50 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:451:39 [INFO] [stdout] | [INFO] [stdout] 451 | assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:451:51 [INFO] [stdout] | [INFO] [stdout] 451 | assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:453:35 [INFO] [stdout] | [INFO] [stdout] 453 | assert_eq!(from_str("[]"), Ok(Array(vec![]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:454:36 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(from_str("[ ]"), Ok(Array(vec![]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:455:39 [INFO] [stdout] | [INFO] [stdout] 455 | assert_eq!(from_str("[true]"), Ok(Array(vec![Boolean(true)]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:455:50 [INFO] [stdout] | [INFO] [stdout] 455 | assert_eq!(from_str("[true]"), Ok(Array(vec![Boolean(true)]))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:456:42 [INFO] [stdout] | [INFO] [stdout] 456 | assert_eq!(from_str("[ false ]"), Ok(Array(vec![Boolean(false)]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:456:53 [INFO] [stdout] | [INFO] [stdout] 456 | assert_eq!(from_str("[ false ]"), Ok(Array(vec![Boolean(false)]))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:457:39 [INFO] [stdout] | [INFO] [stdout] 457 | assert_eq!(from_str("[null]"), Ok(Array(vec![Null]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:457:50 [INFO] [stdout] | [INFO] [stdout] 457 | assert_eq!(from_str("[null]"), Ok(Array(vec![Null]))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:458:39 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:458:50 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)]))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:458:58 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(from_str("[3, 1]"), Ok(Array(vec![U64(3), U64(1)]))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:459:54 [INFO] [stdout] | [INFO] [stdout] 459 | assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)]))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:459:62 [INFO] [stdout] | [INFO] [stdout] 459 | assert_eq!(from_str("\n[3, 2]\n"), Ok(Array(vec![U64(3), U64(2)]))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:460:55 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])]))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:460:63 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])]))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:460:74 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])]))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:460:82 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(from_str("[2, [4, 1]]"), Ok(Array(vec![U64(2), Array(vec![U64(4), U64(1)])]))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:502:35 [INFO] [stdout] | [INFO] [stdout] 502 | assert_eq!(from_str("{"), Err(SyntaxError(EOFWhileParsingObject, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:502:47 [INFO] [stdout] | [INFO] [stdout] 502 | assert_eq!(from_str("{"), Err(SyntaxError(EOFWhileParsingObject, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:503:36 [INFO] [stdout] | [INFO] [stdout] 503 | assert_eq!(from_str("{ "), Err(SyntaxError(EOFWhileParsingObject, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:503:48 [INFO] [stdout] | [INFO] [stdout] 503 | assert_eq!(from_str("{ "), Err(SyntaxError(EOFWhileParsingObject, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:504:36 [INFO] [stdout] | [INFO] [stdout] 504 | assert_eq!(from_str("{1"), Err(SyntaxError(KeyMustBeAString, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KeyMustBeAString` in this scope [INFO] [stdout] --> tests/json.rs:504:48 [INFO] [stdout] | [INFO] [stdout] 504 | assert_eq!(from_str("{1"), Err(SyntaxError(KeyMustBeAString, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::KeyMustBeAString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:505:41 [INFO] [stdout] | [INFO] [stdout] 505 | assert_eq!(from_str("{ \"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:505:53 [INFO] [stdout] | [INFO] [stdout] 505 | assert_eq!(from_str("{ \"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:506:40 [INFO] [stdout] | [INFO] [stdout] 506 | assert_eq!(from_str("{\"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:506:52 [INFO] [stdout] | [INFO] [stdout] 506 | assert_eq!(from_str("{\"a\""), Err(SyntaxError(EOFWhileParsingObject, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:507:41 [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(from_str("{\"a\" "), Err(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:507:53 [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(from_str("{\"a\" "), Err(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:509:42 [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(from_str("{\"a\" 1"), Err(SyntaxError(ExpectedColon, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ExpectedColon` in this scope [INFO] [stdout] --> tests/json.rs:509:54 [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(from_str("{\"a\" 1"), Err(SyntaxError(ExpectedColon, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::ExpectedColon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:510:41 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!(from_str("{\"a\":"), Err(SyntaxError(EOFWhileParsingValue, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope [INFO] [stdout] --> tests/json.rs:510:53 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!(from_str("{\"a\":"), Err(SyntaxError(EOFWhileParsingValue, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:511:42 [INFO] [stdout] | [INFO] [stdout] 511 | assert_eq!(from_str("{\"a\":1"), Err(SyntaxError(EOFWhileParsingObject, 1, 7))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:511:54 [INFO] [stdout] | [INFO] [stdout] 511 | assert_eq!(from_str("{\"a\":1"), Err(SyntaxError(EOFWhileParsingObject, 1, 7))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:512:44 [INFO] [stdout] | [INFO] [stdout] 512 | assert_eq!(from_str("{\"a\":1 1"), Err(SyntaxError(InvalidSyntax, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:512:56 [INFO] [stdout] | [INFO] [stdout] 512 | assert_eq!(from_str("{\"a\":1 1"), Err(SyntaxError(InvalidSyntax, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:513:43 [INFO] [stdout] | [INFO] [stdout] 513 | assert_eq!(from_str("{\"a\":1,"), Err(SyntaxError(EOFWhileParsingObject, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:513:55 [INFO] [stdout] | [INFO] [stdout] 513 | assert_eq!(from_str("{\"a\":1,"), Err(SyntaxError(EOFWhileParsingObject, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:516:79 [INFO] [stdout] | [INFO] [stdout] 516 | assert_eq!(from_str("{\"a\": 3}").unwrap(), mk_object(&[("a".to_string(), U64(3))])); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:520:39 [INFO] [stdout] | [INFO] [stdout] 520 | mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:520:64 [INFO] [stdout] | [INFO] [stdout] 520 | mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))]) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:524:39 [INFO] [stdout] | [INFO] [stdout] 524 | mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:524:64 [INFO] [stdout] | [INFO] [stdout] 524 | mk_object(&[("a".to_string(), Null), ("b".to_string(), Boolean(true))]) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:528:39 [INFO] [stdout] | [INFO] [stdout] 528 | mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))]) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:528:68 [INFO] [stdout] | [INFO] [stdout] 528 | mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:528:79 [INFO] [stdout] | [INFO] [stdout] 528 | mk_object(&[("a".to_string(), F64(1.0)), ("b".to_string(), Array(vec![Boolean(true)]))]) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:543:31 [INFO] [stdout] | [INFO] [stdout] 543 | ("a".to_string(), F64(1.0)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:546:17 [INFO] [stdout] | [INFO] [stdout] 546 | Array(vec![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | Boolean(true), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | String("foo\nbar".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 548 | String { vec: val }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:549:81 [INFO] [stdout] | [INFO] [stdout] 549 | mk_object(&[("c".to_string(), mk_object(&[("d".to_string(), Null)]))]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:616:57 [INFO] [stdout] | [INFO] [stdout] 616 | assert_eq!(from_str("{\n \"foo\":\n \"bar\""), Err(SyntaxError(EOFWhileParsingObject, 3, 8))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:616:69 [INFO] [stdout] | [INFO] [stdout] 616 | assert_eq!(from_str("{\n \"foo\":\n \"bar\""), Err(SyntaxError(EOFWhileParsingObject, 3, 8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseError` in this scope [INFO] [stdout] --> tests/json.rs:634:23 [INFO] [stdout] | [INFO] [stdout] 634 | Err(e) => Err(ParseError(e)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ParseError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ParseError` in this scope [INFO] [stdout] --> tests/json.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | Err(ParseError(e)) => panic!("`{:?}` is not valid json: {:?}", to_parse, e), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ParseError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:647:37 [INFO] [stdout] | [INFO] [stdout] 647 | check_err::("[]", ExpectedError("Object".to_string(), "[]".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | ExpectedError("Number".to_string(), "true".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | ExpectedError("Boolean".to_string(), "[]".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | ExpectedError("String".to_string(), "{}".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | ExpectedError("Array".to_string(), "null".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope [INFO] [stdout] --> tests/json.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | MissingFieldError("w".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::MissingFieldError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope [INFO] [stdout] --> tests/json.rs:671:35 [INFO] [stdout] | [INFO] [stdout] 671 | check_err::("{}", MissingFieldError("variant".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::MissingFieldError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | ExpectedError("String".to_string(), "1".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MissingFieldError` in this scope [INFO] [stdout] --> tests/json.rs:676:53 [INFO] [stdout] | [INFO] [stdout] 676 | check_err::("{\"variant\": \"A\"}", MissingFieldError("fields".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::MissingFieldError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | ExpectedError("Array".to_string(), "null".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnknownVariantError` in this scope [INFO] [stdout] --> tests/json.rs:683:9 [INFO] [stdout] | [INFO] [stdout] 683 | UnknownVariantError("C".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::UnknownVariantError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:889:38 [INFO] [stdout] | [INFO] [stdout] 889 | tree.insert("hello".to_string(), String("guten tag".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 889 | tree.insert("hello".to_string(), String { vec: val }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:890:40 [INFO] [stdout] | [INFO] [stdout] 890 | tree.insert("goodbye".to_string(), String("sayonara".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 890 | tree.insert("goodbye".to_string(), String { vec: val }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:892:16 [INFO] [stdout] | [INFO] [stdout] 892 | let json = Array( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | String("greetings".to_string()), // 1x [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 897 | String { vec: val }, // 1x [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope [INFO] [stdout] --> tests/json.rs:898:13 [INFO] [stdout] | [INFO] [stdout] 898 | Object(tree), // 1x + 2x + 2x + 1x [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ExpectedError` in this scope [INFO] [stdout] --> tests/json.rs:972:28 [INFO] [stdout] | [INFO] [stdout] 972 | assert_eq!(result, Err(ExpectedError("Number".to_string(), "a".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::DecoderError::ExpectedError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope [INFO] [stdout] --> tests/json.rs:998:14 [INFO] [stdout] | [INFO] [stdout] 998 | (ObjectStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StringValue` in this scope [INFO] [stdout] --> tests/json.rs:999:14 [INFO] [stdout] | [INFO] [stdout] 999 | (StringValue("bar".to_string()), vec![StackElement::Key("foo")]), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::StringValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1000:14 [INFO] [stdout] | [INFO] [stdout] 1000 | (ArrayStart, vec![StackElement::Key("array")]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1001:14 [INFO] [stdout] | [INFO] [stdout] 1001 | (U64Value(0), vec![StackElement::Key("array"), StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1002:14 [INFO] [stdout] | [INFO] [stdout] 1002 | (U64Value(1), vec![StackElement::Key("array"), StackElement::Index(1)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1003:14 [INFO] [stdout] | [INFO] [stdout] 1003 | (U64Value(2), vec![StackElement::Key("array"), StackElement::Index(2)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1004:14 [INFO] [stdout] | [INFO] [stdout] 1004 | (U64Value(3), vec![StackElement::Key("array"), StackElement::Index(3)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1005:14 [INFO] [stdout] | [INFO] [stdout] 1005 | (U64Value(4), vec![StackElement::Key("array"), StackElement::Index(4)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1006:14 [INFO] [stdout] | [INFO] [stdout] 1006 | (U64Value(5), vec![StackElement::Key("array"), StackElement::Index(5)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1007:14 [INFO] [stdout] | [INFO] [stdout] 1007 | (ArrayEnd, vec![StackElement::Key("array")]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1008:14 [INFO] [stdout] | [INFO] [stdout] 1008 | (ArrayStart, vec![StackElement::Key("idents")]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope [INFO] [stdout] --> tests/json.rs:1009:14 [INFO] [stdout] | [INFO] [stdout] 1009 | (NullValue, vec![StackElement::Key("idents"), StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1010:14 [INFO] [stdout] | [INFO] [stdout] 1010 | (BooleanValue(true), vec![StackElement::Key("idents"), StackElement::Index(1)]), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1011:14 [INFO] [stdout] | [INFO] [stdout] 1011 | (BooleanValue(false), vec![StackElement::Key("idents"), StackElement::Index(2)]), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1012:14 [INFO] [stdout] | [INFO] [stdout] 1012 | (ArrayEnd, vec![StackElement::Key("idents")]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope [INFO] [stdout] --> tests/json.rs:1013:14 [INFO] [stdout] | [INFO] [stdout] 1013 | (ObjectEnd, vec![]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope [INFO] [stdout] --> tests/json.rs:1019:19 [INFO] [stdout] | [INFO] [stdout] 1019 | let mut evt = NullValue; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1030:34 [INFO] [stdout] | [INFO] [stdout] 1030 | assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1030:40 [INFO] [stdout] | [INFO] [stdout] 1030 | assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:1030:52 [INFO] [stdout] | [INFO] [stdout] 1030 | assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1031:34 [INFO] [stdout] | [INFO] [stdout] 1031 | assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1031:40 [INFO] [stdout] | [INFO] [stdout] 1031 | assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KeyMustBeAString` in this scope [INFO] [stdout] --> tests/json.rs:1031:52 [INFO] [stdout] | [INFO] [stdout] 1031 | assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::KeyMustBeAString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1032:39 [INFO] [stdout] | [INFO] [stdout] 1032 | assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1032:45 [INFO] [stdout] | [INFO] [stdout] 1032 | assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:1032:57 [INFO] [stdout] | [INFO] [stdout] 1032 | assert_eq!(last_event("{ \"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1033:38 [INFO] [stdout] | [INFO] [stdout] 1033 | assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1033:44 [INFO] [stdout] | [INFO] [stdout] 1033 | assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:1033:56 [INFO] [stdout] | [INFO] [stdout] 1033 | assert_eq!(last_event("{\"a\""), Error(SyntaxError(EOFWhileParsingObject, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1034:39 [INFO] [stdout] | [INFO] [stdout] 1034 | assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1034:45 [INFO] [stdout] | [INFO] [stdout] 1034 | assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:1034:57 [INFO] [stdout] | [INFO] [stdout] 1034 | assert_eq!(last_event("{\"a\" "), Error(SyntaxError(EOFWhileParsingObject, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1036:40 [INFO] [stdout] | [INFO] [stdout] 1036 | assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1036:46 [INFO] [stdout] | [INFO] [stdout] 1036 | assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ExpectedColon` in this scope [INFO] [stdout] --> tests/json.rs:1036:58 [INFO] [stdout] | [INFO] [stdout] 1036 | assert_eq!(last_event("{\"a\" 1"), Error(SyntaxError(ExpectedColon, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::ExpectedColon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1037:39 [INFO] [stdout] | [INFO] [stdout] 1037 | assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1037:45 [INFO] [stdout] | [INFO] [stdout] 1037 | assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope [INFO] [stdout] --> tests/json.rs:1037:57 [INFO] [stdout] | [INFO] [stdout] 1037 | assert_eq!(last_event("{\"a\":"), Error(SyntaxError(EOFWhileParsingValue, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1038:40 [INFO] [stdout] | [INFO] [stdout] 1038 | assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1038:46 [INFO] [stdout] | [INFO] [stdout] 1038 | assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:1038:58 [INFO] [stdout] | [INFO] [stdout] 1038 | assert_eq!(last_event("{\"a\":1"), Error(SyntaxError(EOFWhileParsingObject, 1, 7))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1039:42 [INFO] [stdout] | [INFO] [stdout] 1039 | assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1039:48 [INFO] [stdout] | [INFO] [stdout] 1039 | assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1039:60 [INFO] [stdout] | [INFO] [stdout] 1039 | assert_eq!(last_event("{\"a\":1 1"), Error(SyntaxError(InvalidSyntax, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1040:41 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1040:47 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingObject` in this scope [INFO] [stdout] --> tests/json.rs:1040:59 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(last_event("{\"a\":1,"), Error(SyntaxError(EOFWhileParsingObject, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1041:42 [INFO] [stdout] | [INFO] [stdout] 1041 | assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1041:48 [INFO] [stdout] | [INFO] [stdout] 1041 | assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingComma` in this scope [INFO] [stdout] --> tests/json.rs:1041:60 [INFO] [stdout] | [INFO] [stdout] 1041 | assert_eq!(last_event("{\"a\":1,}"), Error(SyntaxError(TrailingComma, 1, 8))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingComma; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope [INFO] [stdout] --> tests/json.rs:1043:37 [INFO] [stdout] | [INFO] [stdout] 1043 | assert_stream_equal("{}", vec![(ObjectStart, vec![]), (ObjectEnd, vec![])]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope [INFO] [stdout] --> tests/json.rs:1043:60 [INFO] [stdout] | [INFO] [stdout] 1043 | assert_stream_equal("{}", vec![(ObjectStart, vec![]), (ObjectEnd, vec![])]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope [INFO] [stdout] --> tests/json.rs:1047:14 [INFO] [stdout] | [INFO] [stdout] 1047 | (ObjectStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1048:14 [INFO] [stdout] | [INFO] [stdout] 1048 | (U64Value(3), vec![StackElement::Key("a")]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope [INFO] [stdout] --> tests/json.rs:1049:14 [INFO] [stdout] | [INFO] [stdout] 1049 | (ObjectEnd, vec![]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope [INFO] [stdout] --> tests/json.rs:1055:14 [INFO] [stdout] | [INFO] [stdout] 1055 | (ObjectStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope [INFO] [stdout] --> tests/json.rs:1056:14 [INFO] [stdout] | [INFO] [stdout] 1056 | (NullValue, vec![StackElement::Key("a")]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1057:14 [INFO] [stdout] | [INFO] [stdout] 1057 | (BooleanValue(true), vec![StackElement::Key("b")]), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope [INFO] [stdout] --> tests/json.rs:1058:14 [INFO] [stdout] | [INFO] [stdout] 1058 | (ObjectEnd, vec![]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope [INFO] [stdout] --> tests/json.rs:1064:14 [INFO] [stdout] | [INFO] [stdout] 1064 | (ObjectStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64Value` in this scope [INFO] [stdout] --> tests/json.rs:1065:14 [INFO] [stdout] | [INFO] [stdout] 1065 | (F64Value(1.0), vec![StackElement::Key("a")]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::F64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1066:14 [INFO] [stdout] | [INFO] [stdout] 1066 | (ArrayStart, vec![StackElement::Key("b")]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1067:14 [INFO] [stdout] | [INFO] [stdout] 1067 | (BooleanValue(true), vec![StackElement::Key("b"), StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1068:14 [INFO] [stdout] | [INFO] [stdout] 1068 | (ArrayEnd, vec![StackElement::Key("b")]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope [INFO] [stdout] --> tests/json.rs:1069:14 [INFO] [stdout] | [INFO] [stdout] 1069 | (ObjectEnd, vec![]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope [INFO] [stdout] --> tests/json.rs:1082:14 [INFO] [stdout] | [INFO] [stdout] 1082 | (ObjectStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64Value` in this scope [INFO] [stdout] --> tests/json.rs:1083:14 [INFO] [stdout] | [INFO] [stdout] 1083 | (F64Value(1.0), vec![StackElement::Key("a")]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::F64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1084:14 [INFO] [stdout] | [INFO] [stdout] 1084 | (ArrayStart, vec![StackElement::Key("b")]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1085:14 [INFO] [stdout] | [INFO] [stdout] 1085 | (BooleanValue(true), vec![StackElement::Key("b"), StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StringValue` in this scope [INFO] [stdout] --> tests/json.rs:1087:17 [INFO] [stdout] | [INFO] [stdout] 1087 | StringValue("foo\nbar".to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::StringValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope [INFO] [stdout] --> tests/json.rs:1090:14 [INFO] [stdout] | [INFO] [stdout] 1090 | (ObjectStart, vec![StackElement::Key("b"), StackElement::Index(2)]), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectStart` in this scope [INFO] [stdout] --> tests/json.rs:1092:17 [INFO] [stdout] | [INFO] [stdout] 1092 | ObjectStart, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope [INFO] [stdout] --> tests/json.rs:1096:17 [INFO] [stdout] | [INFO] [stdout] 1096 | NullValue, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope [INFO] [stdout] --> tests/json.rs:1105:17 [INFO] [stdout] | [INFO] [stdout] 1105 | ObjectEnd, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope [INFO] [stdout] --> tests/json.rs:1108:14 [INFO] [stdout] | [INFO] [stdout] 1108 | (ObjectEnd, vec![StackElement::Key("b"), StackElement::Index(2)]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1109:14 [INFO] [stdout] | [INFO] [stdout] 1109 | (ArrayEnd, vec![StackElement::Key("b")]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ObjectEnd` in this scope [INFO] [stdout] --> tests/json.rs:1110:14 [INFO] [stdout] | [INFO] [stdout] 1110 | (ObjectEnd, vec![]), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ObjectEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1116:37 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_stream_equal("[]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1116:59 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_stream_equal("[]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1117:38 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_stream_equal("[ ]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1117:60 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_stream_equal("[ ]", vec![(ArrayStart, vec![]), (ArrayEnd, vec![])]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1121:14 [INFO] [stdout] | [INFO] [stdout] 1121 | (ArrayStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1122:14 [INFO] [stdout] | [INFO] [stdout] 1122 | (BooleanValue(true), vec![StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1123:14 [INFO] [stdout] | [INFO] [stdout] 1123 | (ArrayEnd, vec![]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1129:14 [INFO] [stdout] | [INFO] [stdout] 1129 | (ArrayStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1130:14 [INFO] [stdout] | [INFO] [stdout] 1130 | (BooleanValue(false), vec![StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1131:14 [INFO] [stdout] | [INFO] [stdout] 1131 | (ArrayEnd, vec![]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1136:15 [INFO] [stdout] | [INFO] [stdout] 1136 | vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope [INFO] [stdout] --> tests/json.rs:1136:37 [INFO] [stdout] | [INFO] [stdout] 1136 | vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1136:80 [INFO] [stdout] | [INFO] [stdout] 1136 | vec![(ArrayStart, vec![]), (NullValue, vec![StackElement::Index(0)]), (ArrayEnd, vec![])], [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1141:14 [INFO] [stdout] | [INFO] [stdout] 1141 | (ArrayStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1142:14 [INFO] [stdout] | [INFO] [stdout] 1142 | (U64Value(3), vec![StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1143:14 [INFO] [stdout] | [INFO] [stdout] 1143 | (U64Value(1), vec![StackElement::Index(1)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1144:14 [INFO] [stdout] | [INFO] [stdout] 1144 | (ArrayEnd, vec![]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1150:14 [INFO] [stdout] | [INFO] [stdout] 1150 | (ArrayStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1151:14 [INFO] [stdout] | [INFO] [stdout] 1151 | (U64Value(3), vec![StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1152:14 [INFO] [stdout] | [INFO] [stdout] 1152 | (U64Value(2), vec![StackElement::Index(1)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1153:14 [INFO] [stdout] | [INFO] [stdout] 1153 | (ArrayEnd, vec![]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1159:14 [INFO] [stdout] | [INFO] [stdout] 1159 | (ArrayStart, vec![]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1160:14 [INFO] [stdout] | [INFO] [stdout] 1160 | (U64Value(2), vec![StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayStart` in this scope [INFO] [stdout] --> tests/json.rs:1161:14 [INFO] [stdout] | [INFO] [stdout] 1161 | (ArrayStart, vec![StackElement::Index(1)]), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayStart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1162:14 [INFO] [stdout] | [INFO] [stdout] 1162 | (U64Value(4), vec![StackElement::Index(1), StackElement::Index(0)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64Value` in this scope [INFO] [stdout] --> tests/json.rs:1163:14 [INFO] [stdout] | [INFO] [stdout] 1163 | (U64Value(1), vec![StackElement::Index(1), StackElement::Index(1)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::U64Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1164:14 [INFO] [stdout] | [INFO] [stdout] 1164 | (ArrayEnd, vec![StackElement::Index(1)]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ArrayEnd` in this scope [INFO] [stdout] --> tests/json.rs:1165:14 [INFO] [stdout] | [INFO] [stdout] 1165 | (ArrayEnd, vec![]), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::ArrayEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1169:33 [INFO] [stdout] | [INFO] [stdout] 1169 | assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1169:39 [INFO] [stdout] | [INFO] [stdout] 1169 | assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope [INFO] [stdout] --> tests/json.rs:1169:51 [INFO] [stdout] | [INFO] [stdout] 1169 | assert_eq!(last_event("["), Error(SyntaxError(EOFWhileParsingValue, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1171:35 [INFO] [stdout] | [INFO] [stdout] 1171 | assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope [INFO] [stdout] --> tests/json.rs:1171:47 [INFO] [stdout] | [INFO] [stdout] 1171 | assert_eq!(from_str("["), Err(SyntaxError(EOFWhileParsingValue, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1172:36 [INFO] [stdout] | [INFO] [stdout] 1172 | assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingArray` in this scope [INFO] [stdout] --> tests/json.rs:1172:48 [INFO] [stdout] | [INFO] [stdout] 1172 | assert_eq!(from_str("[1"), Err(SyntaxError(EOFWhileParsingArray, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingArray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1173:37 [INFO] [stdout] | [INFO] [stdout] 1173 | assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EOFWhileParsingValue` in this scope [INFO] [stdout] --> tests/json.rs:1173:49 [INFO] [stdout] | [INFO] [stdout] 1173 | assert_eq!(from_str("[1,"), Err(SyntaxError(EOFWhileParsingValue, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::EOFWhileParsingValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1174:38 [INFO] [stdout] | [INFO] [stdout] 1174 | assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1174:50 [INFO] [stdout] | [INFO] [stdout] 1174 | assert_eq!(from_str("[1,]"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1175:39 [INFO] [stdout] | [INFO] [stdout] 1175 | assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1175:51 [INFO] [stdout] | [INFO] [stdout] 1175 | assert_eq!(from_str("[6 7]"), Err(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1179:37 [INFO] [stdout] | [INFO] [stdout] 1179 | assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1179:43 [INFO] [stdout] | [INFO] [stdout] 1179 | assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:1179:55 [INFO] [stdout] | [INFO] [stdout] 1179 | assert_eq!(last_event("nulla"), Error(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1180:37 [INFO] [stdout] | [INFO] [stdout] 1180 | assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1180:43 [INFO] [stdout] | [INFO] [stdout] 1180 | assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:1180:55 [INFO] [stdout] | [INFO] [stdout] 1180 | assert_eq!(last_event("truea"), Error(SyntaxError(TrailingCharacters, 1, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1181:38 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1181:44 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:1181:56 [INFO] [stdout] | [INFO] [stdout] 1181 | assert_eq!(last_event("falsea"), Error(SyntaxError(TrailingCharacters, 1, 6))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1182:34 [INFO] [stdout] | [INFO] [stdout] 1182 | assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1182:40 [INFO] [stdout] | [INFO] [stdout] 1182 | assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:1182:52 [INFO] [stdout] | [INFO] [stdout] 1182 | assert_eq!(last_event("1a"), Error(SyntaxError(TrailingCharacters, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1183:35 [INFO] [stdout] | [INFO] [stdout] 1183 | assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1183:41 [INFO] [stdout] | [INFO] [stdout] 1183 | assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:1183:53 [INFO] [stdout] | [INFO] [stdout] 1183 | assert_eq!(last_event("[]a"), Error(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1184:35 [INFO] [stdout] | [INFO] [stdout] 1184 | assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1184:41 [INFO] [stdout] | [INFO] [stdout] 1184 | assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrailingCharacters` in this scope [INFO] [stdout] --> tests/json.rs:1184:53 [INFO] [stdout] | [INFO] [stdout] 1184 | assert_eq!(last_event("{}a"), Error(SyntaxError(TrailingCharacters, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::TrailingCharacters; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NullValue` in this scope [INFO] [stdout] --> tests/json.rs:1188:57 [INFO] [stdout] | [INFO] [stdout] 1188 | assert_eq!(Parser::new("null".chars()).next(), Some(NullValue)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::NullValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1189:57 [INFO] [stdout] | [INFO] [stdout] 1189 | assert_eq!(Parser::new("true".chars()).next(), Some(BooleanValue(true))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BooleanValue` in this scope [INFO] [stdout] --> tests/json.rs:1190:58 [INFO] [stdout] | [INFO] [stdout] 1190 | assert_eq!(Parser::new("false".chars()).next(), Some(BooleanValue(false))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::BooleanValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1192:33 [INFO] [stdout] | [INFO] [stdout] 1192 | assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1192:39 [INFO] [stdout] | [INFO] [stdout] 1192 | assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1192:51 [INFO] [stdout] | [INFO] [stdout] 1192 | assert_eq!(last_event("n"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1193:35 [INFO] [stdout] | [INFO] [stdout] 1193 | assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1193:41 [INFO] [stdout] | [INFO] [stdout] 1193 | assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1193:53 [INFO] [stdout] | [INFO] [stdout] 1193 | assert_eq!(last_event("nul"), Error(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1194:33 [INFO] [stdout] | [INFO] [stdout] 1194 | assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1194:39 [INFO] [stdout] | [INFO] [stdout] 1194 | assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1194:51 [INFO] [stdout] | [INFO] [stdout] 1194 | assert_eq!(last_event("t"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1195:36 [INFO] [stdout] | [INFO] [stdout] 1195 | assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1195:42 [INFO] [stdout] | [INFO] [stdout] 1195 | assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1195:54 [INFO] [stdout] | [INFO] [stdout] 1195 | assert_eq!(last_event("truz"), Error(SyntaxError(InvalidSyntax, 1, 4))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1196:33 [INFO] [stdout] | [INFO] [stdout] 1196 | assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1196:39 [INFO] [stdout] | [INFO] [stdout] 1196 | assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1196:51 [INFO] [stdout] | [INFO] [stdout] 1196 | assert_eq!(last_event("f"), Error(SyntaxError(InvalidSyntax, 1, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Error` in this scope [INFO] [stdout] --> tests/json.rs:1197:35 [INFO] [stdout] | [INFO] [stdout] 1197 | assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::string::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::JsonEvent::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SyntaxError` in this scope [INFO] [stdout] --> tests/json.rs:1197:41 [INFO] [stdout] | [INFO] [stdout] 1197 | assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ParserError::SyntaxError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidSyntax` in this scope [INFO] [stdout] --> tests/json.rs:1197:53 [INFO] [stdout] | [INFO] [stdout] 1197 | assert_eq!(last_event("faz"), Error(SyntaxError(InvalidSyntax, 1, 3))); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::ErrorCode::InvalidSyntax; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:1205:18 [INFO] [stdout] | [INFO] [stdout] 1205 | let array2 = Array(vec![U64(1), U64(2)]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1205:29 [INFO] [stdout] | [INFO] [stdout] 1205 | let array2 = Array(vec![U64(1), U64(2)]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1205:37 [INFO] [stdout] | [INFO] [stdout] 1205 | let array2 = Array(vec![U64(1), U64(2)]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> tests/json.rs:1206:18 [INFO] [stdout] | [INFO] [stdout] 1206 | let array3 = Array(vec![U64(1), U64(2), U64(3)]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1206:29 [INFO] [stdout] | [INFO] [stdout] 1206 | let array3 = Array(vec![U64(1), U64(2), U64(3)]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1206:37 [INFO] [stdout] | [INFO] [stdout] 1206 | let array3 = Array(vec![U64(1), U64(2), U64(3)]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1206:45 [INFO] [stdout] | [INFO] [stdout] 1206 | let array3 = Array(vec![U64(1), U64(2), U64(3)]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1209:42 [INFO] [stdout] | [INFO] [stdout] 1209 | tree_map.insert("a".to_string(), U64(1)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1210:42 [INFO] [stdout] | [INFO] [stdout] 1210 | tree_map.insert("b".to_string(), U64(2)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Object` in this scope [INFO] [stdout] --> tests/json.rs:1211:9 [INFO] [stdout] | [INFO] [stdout] 1211 | Object(tree_map) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:1216:35 [INFO] [stdout] | [INFO] [stdout] 1216 | assert_eq!(3_isize.to_json(), I64(3)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:1217:32 [INFO] [stdout] | [INFO] [stdout] 1217 | assert_eq!(4_i8.to_json(), I64(4)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:1218:33 [INFO] [stdout] | [INFO] [stdout] 1218 | assert_eq!(5_i16.to_json(), I64(5)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:1219:33 [INFO] [stdout] | [INFO] [stdout] 1219 | assert_eq!(6_i32.to_json(), I64(6)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:1220:33 [INFO] [stdout] | [INFO] [stdout] 1220 | assert_eq!(7_i64.to_json(), I64(7)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1221:35 [INFO] [stdout] | [INFO] [stdout] 1221 | assert_eq!(8_usize.to_json(), U64(8)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1222:32 [INFO] [stdout] | [INFO] [stdout] 1222 | assert_eq!(9_u8.to_json(), U64(9)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1223:34 [INFO] [stdout] | [INFO] [stdout] 1223 | assert_eq!(10_u16.to_json(), U64(10)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1224:34 [INFO] [stdout] | [INFO] [stdout] 1224 | assert_eq!(11_u32.to_json(), U64(11)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1225:34 [INFO] [stdout] | [INFO] [stdout] 1225 | assert_eq!(12_u64.to_json(), U64(12)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:1226:36 [INFO] [stdout] | [INFO] [stdout] 1226 | assert_eq!(13.0_f32.to_json(), F64(13.0_f64)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `F64` in this scope [INFO] [stdout] --> tests/json.rs:1227:36 [INFO] [stdout] | [INFO] [stdout] 1227 | assert_eq!(14.0_f64.to_json(), F64(14.0_f64)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::F64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:1228:30 [INFO] [stdout] | [INFO] [stdout] 1228 | assert_eq!(().to_json(), Null); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:1229:41 [INFO] [stdout] | [INFO] [stdout] 1229 | assert_eq!(f32::INFINITY.to_json(), Null); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:1230:36 [INFO] [stdout] | [INFO] [stdout] 1230 | assert_eq!(f64::NAN.to_json(), Null); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:1231:32 [INFO] [stdout] | [INFO] [stdout] 1231 | assert_eq!(true.to_json(), Boolean(true)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Boolean` in this scope [INFO] [stdout] --> tests/json.rs:1232:33 [INFO] [stdout] | [INFO] [stdout] 1232 | assert_eq!(false.to_json(), Boolean(false)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Boolean; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:1233:33 [INFO] [stdout] | [INFO] [stdout] 1233 | assert_eq!("abc".to_json(), String("abc".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 1233 | assert_eq!("abc".to_json(), String { vec: val }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `String` [INFO] [stdout] --> tests/json.rs:1234:45 [INFO] [stdout] | [INFO] [stdout] 1234 | assert_eq!("abc".to_string().to_json(), String("abc".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 1234 | assert_eq!("abc".to_string().to_json(), String { vec: val }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `I64` in this scope [INFO] [stdout] --> tests/json.rs:1249:36 [INFO] [stdout] | [INFO] [stdout] 1249 | assert_eq!(Some(15).to_json(), I64(15)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::I64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U64` in this scope [INFO] [stdout] --> tests/json.rs:1250:45 [INFO] [stdout] | [INFO] [stdout] 1250 | assert_eq!(Some(15 as usize).to_json(), U64(15)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::U64; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/json.rs:1251:41 [INFO] [stdout] | [INFO] [stdout] 1251 | assert_eq!(None::.to_json(), Null); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::json::Json::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rustc_serialize` in `{{root}}` [INFO] [stdout] --> tests/json.rs:1257:35 [INFO] [stdout] | [INFO] [stdout] 1257 | #[derive(PartialEq, Eq, Hash, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `rustc_serialize` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_ap_rustc_serialize::Encodable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 431 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8c3a1ce755210c74507c23f72d0f8dd5d5cbf20d105289ed7d1473c5a2ea82da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3a1ce755210c74507c23f72d0f8dd5d5cbf20d105289ed7d1473c5a2ea82da", kill_on_drop: false }` [INFO] [stdout] 8c3a1ce755210c74507c23f72d0f8dd5d5cbf20d105289ed7d1473c5a2ea82da