[INFO] crate alt_serde_json 1.0.44 is already in cache [INFO] testing alt_serde_json-1.0.44 against 1.44.0 for beta-1.45-1 [INFO] extracting crate alt_serde_json 1.0.44 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate alt_serde_json 1.0.44 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate alt_serde_json 1.0.44 [INFO] finished tweaking crates.io crate alt_serde_json 1.0.44 [INFO] tweaked toml for crates.io crate alt_serde_json 1.0.44 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aef57e2cb631c8e5bac819d46a8e5bd85febca1b3b68806b2029329befed5f3f [INFO] running `"docker" "start" "-a" "aef57e2cb631c8e5bac819d46a8e5bd85febca1b3b68806b2029329befed5f3f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling alt_serde v1.0.104 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling alt_serde_json v1.0.44 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.55s [INFO] running `"docker" "inspect" "aef57e2cb631c8e5bac819d46a8e5bd85febca1b3b68806b2029329befed5f3f"` [INFO] running `"docker" "rm" "-f" "aef57e2cb631c8e5bac819d46a8e5bd85febca1b3b68806b2029329befed5f3f"` [INFO] [stdout] aef57e2cb631c8e5bac819d46a8e5bd85febca1b3b68806b2029329befed5f3f [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a6306844d17405dc9cb126dd8aae7400a8cce2b2c3500a9d31bdd312a7856ae [INFO] running `"docker" "start" "-a" "5a6306844d17405dc9cb126dd8aae7400a8cce2b2c3500a9d31bdd312a7856ae"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling dissimilar v1.0.1 [INFO] [stderr] Compiling psm v0.1.8 [INFO] [stderr] Compiling stacker v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling automod v0.1.2 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_bytes v0.11.4 [INFO] [stderr] Compiling serde_stacker v0.1.1 [INFO] [stderr] Compiling trybuild v1.0.28 [INFO] [stderr] Compiling alt_serde_json v1.0.44 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 56.75s [INFO] running `"docker" "inspect" "5a6306844d17405dc9cb126dd8aae7400a8cce2b2c3500a9d31bdd312a7856ae"` [INFO] running `"docker" "rm" "-f" "5a6306844d17405dc9cb126dd8aae7400a8cce2b2c3500a9d31bdd312a7856ae"` [INFO] [stdout] 5a6306844d17405dc9cb126dd8aae7400a8cce2b2c3500a9d31bdd312a7856ae [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6820be488b815368640519bc9a88dc4c9efe83efcd552cfd99ec3ccac55a415f [INFO] running `"docker" "start" "-a" "6820be488b815368640519bc9a88dc4c9efe83efcd552cfd99ec3ccac55a415f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/alt_serde_json-d97240227cc37bb8 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests alt_serde_json [INFO] [stdout] [INFO] [stdout] running 94 tests [INFO] [stdout] test src/de.rs - de::StreamDeserializer::byte_offset (line 2082) ... FAILED [INFO] [stdout] test src/error.rs - error::io::Error::from (line 140) ... FAILED [INFO] [stdout] test src/de.rs - de::&'a mut Deserializer::deserialize_bytes (line 1391) ... FAILED [INFO] [stdout] test src/de.rs - de::from_reader (line 2215) ... FAILED [INFO] [stdout] test src/de.rs - de::StreamDeserializer (line 2034) ... FAILED [INFO] [stdout] test src/de.rs - de::from_reader (line 2251) ... FAILED [INFO] [stdout] test src/de.rs - de::from_str (line 2344) ... FAILED [INFO] [stdout] test src/de.rs - de::from_slice (line 2302) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - (line 212) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::key (line 446) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::or_insert (line 462) ... FAILED [INFO] [stdout] test src/lib.rs - (line 243) ... FAILED [INFO] [stdout] test src/lib.rs - (line 121) ... FAILED [INFO] [stdout] test src/de.rs - de::&'a mut Deserializer::deserialize_bytes (line 1370) ... FAILED [INFO] [stdout] test src/macros.rs - json (line 42) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::insert (line 656) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - (line 183) ... FAILED [INFO] [stdout] test src/macros.rs - json (line 25) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::or_insert_with (line 483) ... FAILED [INFO] [stdout] test src/macros.rs - json (line 3) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntry::key (line 508) ... FAILED [INFO] [stdout] test src/map.rs - map::Map (line 270) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::get (line 579) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::into_mut (line 629) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::key (line 555) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntry::insert (line 530) ... FAILED [INFO] [stdout] test src/map.rs - map::Map (line 242) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::get_mut (line 603) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::as_u64 (line 175) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::as_f64 (line 197) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 116) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 141) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::remove (line 681) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 100) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::from_f64 (line 221) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 174) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::is_i64 (line 49) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 124) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::is_u64 (line 80) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::as_i64 (line 144) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::is_f64 (line 112) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 220) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 52) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 84) ... FAILED [INFO] [stdout] test src/value/index.rs - value::index::Value::index_mut (line 235) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 190) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 36) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Bool (line 128) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 68) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Null (line 119) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Array (line 155) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 158) ... FAILED [INFO] [stdout] test src/value/mod.rs - value (line 8) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_array (line 405) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 197) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Object (line 170) ... FAILED [INFO] [stdout] test src/value/index.rs - value::index::Index (line 23) ... FAILED [INFO] [stdout] test src/value/mod.rs - value (line 37) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value (line 866) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_i64 (line 590) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_null (line 705) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_f64 (line 629) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_array_mut (line 426) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Number (line 137) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 204) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::String (line 146) ... FAILED [INFO] [stdout] test src/value/mod.rs - value (line 61) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::fmt (line 215) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::get (line 283) ... FAILED [INFO] [stdout] test src/value/index.rs - value::index::Value::index (line 196) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_bool (line 667) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_object_mut (line 367) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_object (line 346) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_object (line 328) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::get (line 267) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_boolean (line 650) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_u64 (line 610) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_null (line 689) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_str (line 463) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_string (line 446) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_u64 (line 541) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_i64 (line 515) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::take (line 848) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::get_mut (line 309) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_array (line 388) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_number (line 492) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_f64 (line 569) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::pointer_mut (line 791) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::to_value (line 944) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::to_value (line 906) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::pointer (line 736) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::from_value (line 968) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/de.rs - de::StreamDeserializer::byte_offset (line 2082) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/de.rs:2085:10 [INFO] [stdout] | [INFO] [stdout] 5 | let de = serde_json::Deserializer::from_slice(data); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error::io::Error::from (line 140) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/error.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::error::Category; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/error.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 7 | Json(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/error.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 10 | impl From for MyError { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/error.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn from(err: serde_json::Error) -> MyError { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Category` [INFO] [stdout] --> src/error.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 14 | Category::Io => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Category` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Category` [INFO] [stdout] --> src/error.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 17 | Category::Syntax | Category::Data | Category::Eof => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Category` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Category` [INFO] [stdout] --> src/error.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 17 | Category::Syntax | Category::Data | Category::Eof => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Category` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Category` [INFO] [stdout] --> src/error.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 17 | Category::Syntax | Category::Data | Category::Eof => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Category` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::&'a mut Deserializer::deserialize_bytes (line 1391) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/de.rs:1396:38 [INFO] [stdout] | [INFO] [stdout] 7 | let parsed: Result = serde_json::from_slice(json_data); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_reader (line 2215) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2223:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/de.rs:2235:13 [INFO] [stdout] | [INFO] [stdout] 21 | let u = serde_json::from_reader(reader)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de.rs:2229:69 [INFO] [stdout] | [INFO] [stdout] 15 | fn read_user_from_file>(path: P) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::StreamDeserializer (line 2034) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/de.rs:2035:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{Deserializer, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_reader (line 2251) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2257:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/de.rs:2264:18 [INFO] [stdout] | [INFO] [stdout] 14 | let mut de = serde_json::Deserializer::from_reader(tcp_stream); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `User` in the current scope [INFO] [stdout] --> src/de.rs:2265:19 [INFO] [stdout] | [INFO] [stdout] 8 | struct User { [INFO] [stdout] | ----------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 15 | let u = User::deserialize(&mut de)?; [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `alt_serde::de::Deserialize` [INFO] [stdout] candidate #2: `alt_serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_str (line 2344) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2347:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/de.rs:2361:19 [INFO] [stdout] | [INFO] [stdout] 18 | let u: User = serde_json::from_str(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::from_slice (line 2302) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2305:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/de.rs:2319:19 [INFO] [stdout] | [INFO] [stdout] 18 | let u: User = serde_json::from_slice(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Number, Map}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 212) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/lib.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 11 | let john = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::key (line 446) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_insert (line 462) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:466:30 [INFO] [stdout] | [INFO] [stdout] 6 | map.entry("serde").or_insert(json!(12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:465:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 243) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 19 | let j = serde_json::to_string(&address)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 121) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 27 | let p: Person = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::&'a mut Deserializer::deserialize_bytes (line 1370) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/de.rs:1373:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn look_at_bytes() -> Result<(), serde_json::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/de.rs:1375:26 [INFO] [stdout] | [INFO] [stdout] 7 | let bytes: ByteBuf = serde_json::from_slice(json_data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - json (line 42) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/macros.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/macros.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = json!([ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::insert (line 656) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:657:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:662:32 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("serde".to_owned(), json!(12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:666:36 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(occupied.insert(json!(13)), 12); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:661:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(mut occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:669:5 [INFO] [stdout] | [INFO] [stdout] 15 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 63) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 17 | let v: Value = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 183) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/lib.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 6 | let john = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - json (line 25) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/macros.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/macros.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 8 | let value = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Entry::or_insert_with (line 483) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:487:38 [INFO] [stdout] | [INFO] [stdout] 6 | map.entry("serde").or_insert_with(|| json!("hoho")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:486:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - json (line 3) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/macros.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/macros.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 5 | let value = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntry::key (line 508) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:511:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 8 | Entry::Vacant(vacant) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Map (line 270) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 8 | map["key"] = json!("value"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 6 | map.insert("key".to_owned(), serde_json::Value::Null); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::get (line 579) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:585:32 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("serde".to_owned(), json!(12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:584:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::into_mut (line 629) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:635:32 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("serde".to_owned(), json!([1, 2, 3])); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:639:58 [INFO] [stdout] | [INFO] [stdout] 12 | occupied.into_mut().as_array_mut().unwrap().push(json!(4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:634:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(mut occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:641:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::key (line 555) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:561:32 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("serde".to_owned(), json!(12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:560:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::VacantEntry::insert (line 530) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:533:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:539:23 [INFO] [stdout] | [INFO] [stdout] 11 | vacant.insert(json!("hoho")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:535:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 10 | Entry::Vacant(vacant) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 13 | Entry::Occupied(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::Map (line 242) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::get_mut (line 603) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:609:32 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("serde".to_owned(), json!([1, 2, 3])); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:613:57 [INFO] [stdout] | [INFO] [stdout] 12 | occupied.get_mut().as_array_mut().unwrap().push(json!(4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:608:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:612:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(mut occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/number.rs - number::Number::as_u64 (line 175) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 64, "b": -64, "c": 256.0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/number.rs - number::Number::as_f64 (line 197) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 256.0, "b": 64, "c": -64 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 116) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 141) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map::OccupiedEntry::remove (line 681) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:684:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:682:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:687:32 [INFO] [stdout] | [INFO] [stdout] 8 | map.insert("serde".to_owned(), json!(12)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/map.rs:686:15 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Entry` [INFO] [stdout] --> src/map.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type or module `Entry` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 100) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/number.rs - number::Number::from_f64 (line 221) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 174) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/number.rs - number::Number::is_i64 (line 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 6 | let v = json!({ "a": 64, "b": big, "c": 256.0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 124) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/number.rs - number::Number::is_u64 (line 80) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 64, "b": -64, "c": 256.0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/number.rs - number::Number::as_i64 (line 144) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 6 | let v = json!({ "a": 64, "b": big, "c": 256.0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/number.rs - number::Number::is_f64 (line 112) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 256.0, "b": 64, "c": -64 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 220) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 52) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 84) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/index.rs - value::index::Value::index_mut (line 235) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/index.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 5 | let mut data = json!({ "x": 0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 8 | data["x"] = json!(1); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 11 | data["y"] = json!([false, false, false]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 14 | data["y"][0] = json!(true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 17 | data["a"]["b"]["c"]["d"] = json!(true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from_iter (line 190) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 36) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::Bool (line 128) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!(true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 68) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::Null (line 119) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!(null); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::Array (line 155) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!(["an", "array"]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from (line 158) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 6 | let john = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_array (line 405) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": ["an", "array"], "b": { "an": "object" } }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from_iter (line 197) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::Object (line 170) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "an": "object" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/index.rs - value::index::Index (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/index.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 5 | let data = json!({ "inner": [1, 2, 3] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value (line 37) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 11 | let john = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value (line 866) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/value/mod.rs:870:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/value/mod.rs:873:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:877:29 [INFO] [stdout] | [INFO] [stdout] 13 | fn try_main() -> Result<(), serde_json::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:879:19 [INFO] [stdout] | [INFO] [stdout] 15 | let s: Settings = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_i64 (line 590) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 6 | let v = json!({ "a": 64, "b": big, "c": 256.0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_null (line 705) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:706:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": null, "b": false }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_f64 (line 629) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 256.0, "b": 64, "c": -64 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_array_mut (line 426) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut v = json!({ "a": ["an", "array"] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:432:15 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(v, json!({ "a": [] })); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::Number (line 137) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!(12.5); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/from.rs - value::from::Value::from_iter (line 204) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::String (line 146) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!("a string"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value (line 61) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value, Error}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 18 | let v: Value = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::fmt (line 215) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 5 | let json = json!({ "city": "London", "street": "10 Downing Street" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::get (line 283) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 5 | let object = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:291:28 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(object["B"][0], json!("b")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(object["D"], json!(null)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:294:38 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(object[0]["x"]["y"]["z"], json!(null)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/index.rs - value::index::Value::index (line 196) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/index.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 5 | let data = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(data["x"]["y"], json!(["z", "zz"])); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(data["x"]["y"][0], json!("z")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(data["a"], json!(null)); // returns null for undefined values [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(data["a"]["b"], json!(null)); // does not panic [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_bool (line 667) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:670:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": false, "b": "false" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_object_mut (line 367) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut v = json!({ "a": { "nested": true } }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:373:15 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(v, json!({ "a": {} })); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_object (line 346) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": { "nested": true }, "b": ["an", "array"] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_object (line 328) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:331:11 [INFO] [stdout] | [INFO] [stdout] 5 | let obj = json!({ "a": { "nested": true }, "b": ["an", "array"] }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::get (line 267) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 5 | let object = json!({ "A": 65, "B": 66, "C": 67 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:271:39 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(*object.get("A").unwrap(), json!(65)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 8 | let array = json!([ "A", "B", "C" ]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(*array.get(2).unwrap(), json!("C")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_boolean (line 650) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:651:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:653:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": false, "b": "false" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_u64 (line 610) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 64, "b": -64, "c": 256.0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_null (line 689) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": null, "b": false }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::as_str (line 463) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": "some string", "b": false }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_string (line 446) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": "some string", "b": false }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_u64 (line 541) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:542:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 64, "b": -64, "c": 256.0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_i64 (line 515) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 6 | let v = json!({ "a": 64, "b": big, "c": 256.0 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::take (line 848) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:849:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:851:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut v = json!({ "x": "y" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:852:27 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(v["x"].take(), json!("y")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:853:15 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(v, json!({ "x": null })); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::get_mut (line 309) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:316:30 [INFO] [stdout] | [INFO] [stdout] 9 | *array.get_mut(2).unwrap() = json!("D"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut array = json!([ "A", "B", "C" ]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 6 | *object.get_mut("A").unwrap() = json!(69); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:312:18 [INFO] [stdout] | [INFO] [stdout] 5 | let mut object = json!({ "A": 65, "B": 66, "C": 67 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_array (line 388) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:391:11 [INFO] [stdout] | [INFO] [stdout] 5 | let obj = json!({ "a": ["an", "array"], "b": { "an": "object" } }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_number (line 492) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 1, "b": "2" }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::is_f64 (line 569) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 5 | let v = json!({ "a": 256.0, "b": 64, "c": -64 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::pointer_mut (line 791) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:792:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:796:28 [INFO] [stdout] | [INFO] [stdout] 6 | let mut value: Value = serde_json::from_str(s).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::to_value (line 944) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:952:20 [INFO] [stdout] | [INFO] [stdout] 9 | println!("{}", serde_json::to_value(map).unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::to_value (line 906) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:908:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/value/mod.rs:912:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:925:20 [INFO] [stdout] | [INFO] [stdout] 21 | let expected = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:930:13 [INFO] [stdout] | [INFO] [stdout] 26 | let v = serde_json::to_value(u).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value/mod.rs:918:44 [INFO] [stdout] | [INFO] [stdout] 14 | fn compare_json_values() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::Value::pointer (line 736) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:737:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:739:12 [INFO] [stdout] | [INFO] [stdout] 5 | let data = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:745:46 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(data.pointer("/x/y/1").unwrap(), &json!("zz")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/mod.rs - value::from_value (line 968) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:970:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/value/mod.rs:972:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:980:13 [INFO] [stdout] | [INFO] [stdout] 13 | let j = json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:985:19 [INFO] [stdout] | [INFO] [stdout] 18 | let u: User = serde_json::from_value(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/de.rs - de::&'a mut Deserializer::deserialize_bytes (line 1370) [INFO] [stdout] src/de.rs - de::&'a mut Deserializer::deserialize_bytes (line 1391) [INFO] [stdout] src/de.rs - de::StreamDeserializer (line 2034) [INFO] [stdout] src/de.rs - de::StreamDeserializer::byte_offset (line 2082) [INFO] [stdout] src/de.rs - de::from_reader (line 2215) [INFO] [stdout] src/de.rs - de::from_reader (line 2251) [INFO] [stdout] src/de.rs - de::from_slice (line 2302) [INFO] [stdout] src/de.rs - de::from_str (line 2344) [INFO] [stdout] src/error.rs - error::io::Error::from (line 140) [INFO] [stdout] src/lib.rs - (line 121) [INFO] [stdout] src/lib.rs - (line 183) [INFO] [stdout] src/lib.rs - (line 212) [INFO] [stdout] src/lib.rs - (line 243) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] src/lib.rs - (line 63) [INFO] [stdout] src/macros.rs - json (line 25) [INFO] [stdout] src/macros.rs - json (line 3) [INFO] [stdout] src/macros.rs - json (line 42) [INFO] [stdout] src/map.rs - map::Entry::key (line 446) [INFO] [stdout] src/map.rs - map::Entry::or_insert (line 462) [INFO] [stdout] src/map.rs - map::Entry::or_insert_with (line 483) [INFO] [stdout] src/map.rs - map::Map (line 242) [INFO] [stdout] src/map.rs - map::Map (line 270) [INFO] [stdout] src/map.rs - map::OccupiedEntry::get (line 579) [INFO] [stdout] src/map.rs - map::OccupiedEntry::get_mut (line 603) [INFO] [stdout] src/map.rs - map::OccupiedEntry::insert (line 656) [INFO] [stdout] src/map.rs - map::OccupiedEntry::into_mut (line 629) [INFO] [stdout] src/map.rs - map::OccupiedEntry::key (line 555) [INFO] [stdout] src/map.rs - map::OccupiedEntry::remove (line 681) [INFO] [stdout] src/map.rs - map::VacantEntry::insert (line 530) [INFO] [stdout] src/map.rs - map::VacantEntry::key (line 508) [INFO] [stdout] src/number.rs - number::Number::as_f64 (line 197) [INFO] [stdout] src/number.rs - number::Number::as_i64 (line 144) [INFO] [stdout] src/number.rs - number::Number::as_u64 (line 175) [INFO] [stdout] src/number.rs - number::Number::from_f64 (line 221) [INFO] [stdout] src/number.rs - number::Number::is_f64 (line 112) [INFO] [stdout] src/number.rs - number::Number::is_i64 (line 49) [INFO] [stdout] src/number.rs - number::Number::is_u64 (line 80) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 100) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 116) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 124) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 141) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 158) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 174) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 220) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 36) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 52) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 68) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 84) [INFO] [stdout] src/value/from.rs - value::from::Value::from_iter (line 190) [INFO] [stdout] src/value/from.rs - value::from::Value::from_iter (line 197) [INFO] [stdout] src/value/from.rs - value::from::Value::from_iter (line 204) [INFO] [stdout] src/value/index.rs - value::index::Index (line 23) [INFO] [stdout] src/value/index.rs - value::index::Value::index (line 196) [INFO] [stdout] src/value/index.rs - value::index::Value::index_mut (line 235) [INFO] [stdout] src/value/mod.rs - value (line 37) [INFO] [stdout] src/value/mod.rs - value (line 61) [INFO] [stdout] src/value/mod.rs - value (line 8) [INFO] [stdout] src/value/mod.rs - value::Value (line 866) [INFO] [stdout] src/value/mod.rs - value::Value::Array (line 155) [INFO] [stdout] src/value/mod.rs - value::Value::Bool (line 128) [INFO] [stdout] src/value/mod.rs - value::Value::Null (line 119) [INFO] [stdout] src/value/mod.rs - value::Value::Number (line 137) [INFO] [stdout] src/value/mod.rs - value::Value::Object (line 170) [INFO] [stdout] src/value/mod.rs - value::Value::String (line 146) [INFO] [stdout] src/value/mod.rs - value::Value::as_array (line 405) [INFO] [stdout] src/value/mod.rs - value::Value::as_array_mut (line 426) [INFO] [stdout] src/value/mod.rs - value::Value::as_bool (line 667) [INFO] [stdout] src/value/mod.rs - value::Value::as_f64 (line 629) [INFO] [stdout] src/value/mod.rs - value::Value::as_i64 (line 590) [INFO] [stdout] src/value/mod.rs - value::Value::as_null (line 705) [INFO] [stdout] src/value/mod.rs - value::Value::as_object (line 346) [INFO] [stdout] src/value/mod.rs - value::Value::as_object_mut (line 367) [INFO] [stdout] src/value/mod.rs - value::Value::as_str (line 463) [INFO] [stdout] src/value/mod.rs - value::Value::as_u64 (line 610) [INFO] [stdout] src/value/mod.rs - value::Value::fmt (line 215) [INFO] [stdout] src/value/mod.rs - value::Value::get (line 267) [INFO] [stdout] src/value/mod.rs - value::Value::get (line 283) [INFO] [stdout] src/value/mod.rs - value::Value::get_mut (line 309) [INFO] [stdout] src/value/mod.rs - value::Value::is_array (line 388) [INFO] [stdout] src/value/mod.rs - value::Value::is_boolean (line 650) [INFO] [stdout] src/value/mod.rs - value::Value::is_f64 (line 569) [INFO] [stdout] src/value/mod.rs - value::Value::is_i64 (line 515) [INFO] [stdout] src/value/mod.rs - value::Value::is_null (line 689) [INFO] [stdout] src/value/mod.rs - value::Value::is_number (line 492) [INFO] [stdout] src/value/mod.rs - value::Value::is_object (line 328) [INFO] [stdout] src/value/mod.rs - value::Value::is_string (line 446) [INFO] [stdout] src/value/mod.rs - value::Value::is_u64 (line 541) [INFO] [stdout] src/value/mod.rs - value::Value::pointer (line 736) [INFO] [stdout] src/value/mod.rs - value::Value::pointer_mut (line 791) [INFO] [stdout] src/value/mod.rs - value::Value::take (line 848) [INFO] [stdout] src/value/mod.rs - value::from_value (line 968) [INFO] [stdout] src/value/mod.rs - value::to_value (line 906) [INFO] [stdout] src/value/mod.rs - value::to_value (line 944) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 94 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "6820be488b815368640519bc9a88dc4c9efe83efcd552cfd99ec3ccac55a415f"` [INFO] running `"docker" "rm" "-f" "6820be488b815368640519bc9a88dc4c9efe83efcd552cfd99ec3ccac55a415f"` [INFO] [stdout] 6820be488b815368640519bc9a88dc4c9efe83efcd552cfd99ec3ccac55a415f