[INFO] fetching crate alt_serde_json 1.0.61... [INFO] testing alt_serde_json-1.0.61 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate alt_serde_json 1.0.61 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate alt_serde_json 1.0.61 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate alt_serde_json 1.0.61 [INFO] finished tweaking crates.io crate alt_serde_json 1.0.61 [INFO] tweaked toml for crates.io crate alt_serde_json 1.0.61 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f3be35ddeec269efcd2fc846d800442bd3db65bbdc222f59a5621ea65580565 [INFO] running `Command { std: "docker" "start" "-a" "9f3be35ddeec269efcd2fc846d800442bd3db65bbdc222f59a5621ea65580565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f3be35ddeec269efcd2fc846d800442bd3db65bbdc222f59a5621ea65580565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f3be35ddeec269efcd2fc846d800442bd3db65bbdc222f59a5621ea65580565", kill_on_drop: false }` [INFO] [stdout] 9f3be35ddeec269efcd2fc846d800442bd3db65bbdc222f59a5621ea65580565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a82d30c016e21152dd0f4f85ce8c39392cc8bdd33df645152a83d4e1e729b7f5 [INFO] running `Command { std: "docker" "start" "-a" "a82d30c016e21152dd0f4f85ce8c39392cc8bdd33df645152a83d4e1e729b7f5", kill_on_drop: false }` [INFO] [stderr] Compiling alt_serde v1.0.119 [INFO] [stderr] Compiling alt_serde_json v1.0.61 (/opt/rustwide/workdir) [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.15s [INFO] running `Command { std: "docker" "inspect" "a82d30c016e21152dd0f4f85ce8c39392cc8bdd33df645152a83d4e1e729b7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a82d30c016e21152dd0f4f85ce8c39392cc8bdd33df645152a83d4e1e729b7f5", kill_on_drop: false }` [INFO] [stdout] a82d30c016e21152dd0f4f85ce8c39392cc8bdd33df645152a83d4e1e729b7f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fc0022caf2b5e9e1aabcb4251aeefca1b89a109895bfc5d5a370c5abc9a342f [INFO] running `Command { std: "docker" "start" "-a" "2fc0022caf2b5e9e1aabcb4251aeefca1b89a109895bfc5d5a370c5abc9a342f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling alt_serde_derive v1.0.119 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling trybuild v1.0.59 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling dissimilar v1.0.3 [INFO] [stderr] Compiling psm v0.1.18 [INFO] [stderr] Compiling stacker v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_stacker v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling automod v1.0.2 [INFO] [stderr] Compiling alt_serde_json v1.0.61 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.10s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/alt_serde_json-eb7454ee43c5a3a9) [INFO] running `Command { std: "docker" "inspect" "2fc0022caf2b5e9e1aabcb4251aeefca1b89a109895bfc5d5a370c5abc9a342f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc0022caf2b5e9e1aabcb4251aeefca1b89a109895bfc5d5a370c5abc9a342f", kill_on_drop: false }` [INFO] [stdout] 2fc0022caf2b5e9e1aabcb4251aeefca1b89a109895bfc5d5a370c5abc9a342f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f54d7a889ea16d378b8e0286b1ff57984c156360e36952d1f52109c9cb7e3dc2 [INFO] running `Command { std: "docker" "start" "-a" "f54d7a889ea16d378b8e0286b1ff57984c156360e36952d1f52109c9cb7e3dc2", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/alt_serde_json-eb7454ee43c5a3a9) [INFO] [stdout] [INFO] [stderr] Doc-tests alt_serde_json [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 97 tests [INFO] [stdout] test src/de.rs - de::StreamDeserializer (line 2221) ... FAILED [INFO] [stdout] test src/error.rs - error::io::Error::from (line 135) ... FAILED [INFO] [stdout] test src/de.rs - de::&'amutDeserializer::deserialize_bytes (line 1584) ... FAILED [INFO] [stdout] test src/de.rs - de::&'amutDeserializer::deserialize_bytes (line 1563) ... FAILED [INFO] [stdout] test src/de.rs - de::from_slice (line 2509) ... FAILED [INFO] [stdout] test src/lib.rs - (line 212) ... FAILED [INFO] [stdout] test src/de.rs - de::from_reader (line 2421) ... FAILED [INFO] [stdout] test src/de.rs - de::from_str (line 2551) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - (line 183) ... FAILED [INFO] [stdout] test src/de.rs - de::StreamDeserializer::byte_offset (line 2271) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::as_i64 (line 143) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::is_i64 (line 48) ... FAILED [INFO] [stdout] test src/de.rs - de::from_reader (line 2457) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::is_f64 (line 111) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - (line 121) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 103) ... FAILED [INFO] [stdout] test src/macros.rs - macros::json (line 42) ... FAILED [INFO] [stdout] test src/value/mod.rs - value (line 37) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntry::insert (line 575) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 177) ... FAILED [INFO] [stdout] test src/value/mod.rs - value (line 61) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::is_u64 (line 79) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::from_f64 (line 220) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 223) ... FAILED [INFO] [stdout] test src/value/index.rs - value::index::Index (line 21) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 193) ... FAILED [INFO] [stdout] test src/value/index.rs - value::index::Value::index (line 194) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::as_u64 (line 174) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 87) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::key (line 600) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 160) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 259) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::key (line 491) ... FAILED [INFO] [stdout] test src/number.rs - number::Number::as_f64 (line 196) ... FAILED [INFO] [stdout] test src/value/index.rs - value::index::Value::index_mut (line 233) ... FAILED [INFO] [stdout] test src/map.rs - map::VacantEntry::key (line 553) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::into_mut (line 674) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Array (line 150) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_array (line 408) ... FAILED [INFO] [stdout] test src/map.rs - map::Map (line 312) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 71) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::remove (line 726) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::String (line 141) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value (line 869) ... FAILED [INFO] [stdout] test src/macros.rs - macros::json (line 25) ... FAILED [INFO] [stdout] test src/macros.rs - macros::json (line 3) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_object_mut (line 370) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Number (line 132) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::or_insert (line 507) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::get (line 624) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Null (line 114) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_i64 (line 518) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::to_value (line 947) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - (line 243) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::get_mut (line 648) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_bool (line 670) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_string (line 449) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_i64 (line 593) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 119) ... FAILED [INFO] [stdout] test src/map.rs - map::Entry::or_insert_with (line 528) ... FAILED [INFO] [stdout] test src/map.rs - map::OccupiedEntry::insert (line 701) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_f64 (line 572) ... FAILED [INFO] [stdout] test src/value/mod.rs - value (line 8) ... FAILED [INFO] [stdout] test src/map.rs - map::Map (line 284) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_u64 (line 613) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_array (line 391) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_null (line 692) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_u64 (line 544) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::pointer (line 739) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_object (line 349) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 209) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_null (line 708) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::to_value (line 909) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_str (line 466) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::get_mut (line 312) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::from_value (line 971) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_boolean (line 653) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 55) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_array_mut (line 429) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::take (line 851) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Bool (line 123) ... FAILED [INFO] [stdout] test src/value/ser.rs - value::ser::Serializer (line 45) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::get (line 286) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from (line 127) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::get (line 270) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::fmt (line 218) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::Object (line 165) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_number (line 495) ... FAILED [INFO] [stdout] test src/value/from.rs - value::from::Value::from_iter (line 239) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::as_f64 (line 632) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::is_object (line 331) ... FAILED [INFO] [stdout] test src/value/mod.rs - value::Value::pointer_mut (line 794) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/de.rs - de::StreamDeserializer (line 2221) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/de.rs:2222:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{Deserializer, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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/error.rs - error::io::Error::from (line 135) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/error.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::error::Category; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/error.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 7 | Json(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/error.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 10 | impl From for MyError { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/error.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 11 | fn from(err: serde_json::Error) -> MyError { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Category` [INFO] [stdout] --> src/error.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 14 | Category::Io => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Category` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Category` [INFO] [stdout] --> src/error.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 17 | Category::Syntax | Category::Data | Category::Eof => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Category` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Category` [INFO] [stdout] --> src/error.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 17 | Category::Syntax | Category::Data | Category::Eof => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Category` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Category` [INFO] [stdout] --> src/error.rs:150:49 [INFO] [stdout] | [INFO] [stdout] 17 | Category::Syntax | Category::Data | Category::Eof => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `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::&'amutDeserializer::deserialize_bytes (line 1584) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/de.rs:1589:38 [INFO] [stdout] | [INFO] [stdout] 7 | let parsed: Result = serde_json::from_slice(json_data); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::&'amutDeserializer::deserialize_bytes (line 1563) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/de.rs:1566:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn look_at_bytes() -> Result<(), serde_json::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/de.rs:1568:26 [INFO] [stdout] | [INFO] [stdout] 7 | let bytes: ByteBuf = serde_json::from_slice(json_data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 2509) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2512:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/de.rs:2510:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/de.rs:2526:19 [INFO] [stdout] | [INFO] [stdout] 18 | let u: User = serde_json::from_slice(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 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 crate 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/de.rs - de::from_reader (line 2421) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2429:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/de.rs:2422:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/de.rs:2441:13 [INFO] [stdout] | [INFO] [stdout] 21 | let u = serde_json::from_reader(reader)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/de.rs:2435:69 [INFO] [stdout] | [INFO] [stdout] 15 | fn read_user_from_file>(path: P) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - fn read_user_from_file>(path: P) -> Result> { [INFO] [stdout] 15 + fn read_user_from_file>(path: P) -> Result> { [INFO] [stdout] | [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::from_str (line 2551) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2554:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/de.rs:2552:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/de.rs:2568:19 [INFO] [stdout] | [INFO] [stdout] 18 | let u: User = serde_json::from_str(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 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 crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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 crate 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/de.rs - de::StreamDeserializer::byte_offset (line 2271) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/de.rs:2274:22 [INFO] [stdout] | [INFO] [stdout] 5 | let de = serde_json::Deserializer::from_slice(data); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Deserializer; [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserializer; [INFO] [stdout] | [INFO] [stdout] 2 | use serde_stacker::Deserializer; [INFO] [stdout] | [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/number.rs - number::Number::as_i64 (line 143) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:147: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_i64 (line 48) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:52: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/de.rs - de::from_reader (line 2457) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:2463:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/de.rs:2458:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/de.rs:2470:30 [INFO] [stdout] | [INFO] [stdout] 14 | let mut de = serde_json::Deserializer::from_reader(tcp_stream); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Deserializer; [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserializer; [INFO] [stdout] | [INFO] [stdout] 2 | use serde_stacker::Deserializer; [INFO] [stdout] | [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:2471: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: `Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde::Deserialize` [INFO] [stdout] candidate #4: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #5: `serde_bytes::Deserialize` [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/number.rs - number::Number::is_f64 (line 111) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:114: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 144) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Number, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 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 crate 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 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 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 crate 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] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [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] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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/value/from.rs - value::from::Value::from (line 103) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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/macros.rs - macros::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 crate 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/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 crate 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/map.rs - map::VacantEntry::insert (line 575) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:584:23 [INFO] [stderr] error: test failed, to rerun pass '--doc' [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 `Entry` [INFO] [stdout] --> src/map.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 10 | Entry::Vacant(vacant) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 13 | Entry::Occupied(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:580:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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 177) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 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 crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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/number.rs - number::Number::is_u64 (line 79) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:82: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::from_f64 (line 220) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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_iter (line 223) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::Index (line 21) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/index.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:24: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/from.rs - value::from::Value::from (line 193) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 (line 194) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/index.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:197: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:203: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:204: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:206: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:207: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/number.rs - number::Number::as_u64 (line 174) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:177: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/from.rs - value::from::Value::from (line 87) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::key (line 600) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:606: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 `Entry` [INFO] [stdout] --> src/map.rs:609:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:612:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:605:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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 160) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 259) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::Entry::key (line 491) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:492:27 [INFO] [stdout] | [INFO] [stdout] 3 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/number.rs - number::Number::as_f64 (line 196) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/number.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/number.rs:199: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/index.rs - value::index::Value::index_mut (line 233) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/index.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/index.rs:236: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:239: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:242: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:245: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:248: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/map.rs - map::VacantEntry::key (line 553) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:554:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 8 | Entry::Vacant(vacant) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:562:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:556:27 [INFO] [stdout] | [INFO] [stdout] 5 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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::OccupiedEntry::into_mut (line 674) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:677:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:680: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:684: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 `Entry` [INFO] [stdout] --> src/map.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(mut occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:679:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/value/mod.rs - value::Value::Array (line 150) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:153: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/mod.rs - value::Value::as_array (line 408) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:411: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/map.rs - map::Map (line 312) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:318: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 crate or module `serde_json` [INFO] [stdout] --> src/map.rs:316:30 [INFO] [stdout] | [INFO] [stdout] 6 | map.insert("key".to_owned(), serde_json::Value::Null); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 5 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/value/from.rs - value::from::Value::from (line 71) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 726) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:729:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:732: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 `Entry` [INFO] [stdout] --> src/map.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:731:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/mod.rs - value::Value::String (line 141) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:144: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::Value (line 869) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:871:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/value/mod.rs:873:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/value/mod.rs:870:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/value/mod.rs:876:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:880:29 [INFO] [stdout] | [INFO] [stdout] 13 | fn try_main() -> Result<(), serde_json::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:882:19 [INFO] [stdout] | [INFO] [stdout] 15 | let s: Settings = serde_json::from_str(data)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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/macros.rs - macros::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 crate 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/macros.rs - macros::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 crate 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/value/mod.rs - value::Value::as_object_mut (line 370) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:373: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:376: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 132) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:135: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/map.rs - map::Entry::or_insert (line 507) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:511: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 crate or module `serde_json` [INFO] [stdout] --> src/map.rs:510:27 [INFO] [stdout] | [INFO] [stdout] 5 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/map.rs - map::OccupiedEntry::get (line 624) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:625:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:630: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 `Entry` [INFO] [stdout] --> src/map.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:636:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:629:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/mod.rs - value::Value::Null (line 114) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:117: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::is_i64 (line 518) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:522: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::to_value (line 947) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:955:20 [INFO] [stdout] | [INFO] [stdout] 9 | println!("{}", serde_json::to_value(map).unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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/from.rs - value::from::Value::from_iter (line 216) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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 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 crate 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] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [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] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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_mut (line 648) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:651:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:649:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:654: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:658: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 `Entry` [INFO] [stdout] --> src/map.rs:657:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(mut occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 14 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/value/mod.rs - value::Value::as_bool (line 670) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:673: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::is_string (line 449) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:452: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::as_i64 (line 593) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:597: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 119) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::Entry::or_insert_with (line 528) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:532: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 crate or module `serde_json` [INFO] [stdout] --> src/map.rs:531:27 [INFO] [stdout] | [INFO] [stdout] 5 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/map.rs - map::OccupiedEntry::insert (line 701) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:704:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::map::Entry; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/map.rs:707: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:711: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 `Entry` [INFO] [stdout] --> src/map.rs:710:5 [INFO] [stdout] | [INFO] [stdout] 11 | Entry::Occupied(mut occupied) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entry` [INFO] [stdout] --> src/map.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 15 | Entry::Vacant(_) => unimplemented!(), [INFO] [stdout] | ^^^^^ use of undeclared type `Entry` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/map.rs:706:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut map = serde_json::Map::new(); [INFO] [stdout] | ^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use alt_serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | [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/value/mod.rs - value::Value::is_f64 (line 572) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:575: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 (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 crate 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/map.rs - map::Map (line 284) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/map.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::as_u64 (line 613) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:616: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_array (line 391) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:394: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_null (line 692) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:695: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::is_u64 (line 544) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:547: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::pointer (line 739) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:740:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:742: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:748: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::Value::as_object (line 349) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:352: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/from.rs - value::from::Value::from_iter (line 209) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::as_null (line 708) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:711: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::to_value (line 909) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:911:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/value/mod.rs:915:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/value/mod.rs:910:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:928: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 crate or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 26 | let v = serde_json::to_value(u).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value/mod.rs:921:44 [INFO] [stdout] | [INFO] [stdout] 14 | fn compare_json_values() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - fn compare_json_values() -> Result<(), Box> { [INFO] [stdout] 14 + fn compare_json_values() -> Result<(), Box> { [INFO] [stdout] | [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::as_str (line 466) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:469: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::get_mut (line 312) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:319: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:318: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:316: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:315: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::from_value (line 971) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/value/mod.rs:975:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] alt_serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/value/mod.rs:972:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:983: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 crate or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:988:19 [INFO] [stdout] | [INFO] [stdout] 18 | let u: User = serde_json::from_value(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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/value/mod.rs - value::Value::is_boolean (line 653) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:654:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:656: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/from.rs - value::from::Value::from (line 55) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::as_array_mut (line 429) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:432: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:435: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::take (line 851) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:852:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:854: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:855: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:856: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::Bool (line 123) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:126: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/ser.rs - value::ser::Serializer (line 45) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/ser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Error, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/value/ser.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 10 | input.serialize(serde_json::value::Serializer) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::get (line 286) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:289: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:294: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:296: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:297: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/from.rs - value::from::Value::from (line 127) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::get (line 270) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:273: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:274: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:276: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:277: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::fmt (line 218) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:221: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::Object (line 165) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:168: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/mod.rs - value::Value::is_number (line 495) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:498: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/from.rs - value::from::Value::from_iter (line 239) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/from.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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::as_f64 (line 632) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:635: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::is_object (line 331) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/value/mod.rs:334: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::pointer_mut (line 794) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/value/mod.rs:795:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/value/mod.rs:799:28 [INFO] [stdout] | [INFO] [stdout] 6 | let mut value: Value = serde_json::from_str(s).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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] [INFO] [stdout] failures: [INFO] [stdout] src/de.rs - de::&'amutDeserializer::deserialize_bytes (line 1563) [INFO] [stdout] src/de.rs - de::&'amutDeserializer::deserialize_bytes (line 1584) [INFO] [stdout] src/de.rs - de::StreamDeserializer (line 2221) [INFO] [stdout] src/de.rs - de::StreamDeserializer::byte_offset (line 2271) [INFO] [stdout] src/de.rs - de::from_reader (line 2421) [INFO] [stdout] src/de.rs - de::from_reader (line 2457) [INFO] [stdout] src/de.rs - de::from_slice (line 2509) [INFO] [stdout] src/de.rs - de::from_str (line 2551) [INFO] [stdout] src/error.rs - error::io::Error::from (line 135) [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 - macros::json (line 25) [INFO] [stdout] src/macros.rs - macros::json (line 3) [INFO] [stdout] src/macros.rs - macros::json (line 42) [INFO] [stdout] src/map.rs - map::Entry::key (line 491) [INFO] [stdout] src/map.rs - map::Entry::or_insert (line 507) [INFO] [stdout] src/map.rs - map::Entry::or_insert_with (line 528) [INFO] [stdout] src/map.rs - map::Map (line 284) [INFO] [stdout] src/map.rs - map::Map (line 312) [INFO] [stdout] src/map.rs - map::OccupiedEntry::get (line 624) [INFO] [stdout] src/map.rs - map::OccupiedEntry::get_mut (line 648) [INFO] [stdout] src/map.rs - map::OccupiedEntry::insert (line 701) [INFO] [stdout] src/map.rs - map::OccupiedEntry::into_mut (line 674) [INFO] [stdout] src/map.rs - map::OccupiedEntry::key (line 600) [INFO] [stdout] src/map.rs - map::OccupiedEntry::remove (line 726) [INFO] [stdout] src/map.rs - map::VacantEntry::insert (line 575) [INFO] [stdout] src/map.rs - map::VacantEntry::key (line 553) [INFO] [stdout] src/number.rs - number::Number::as_f64 (line 196) [INFO] [stdout] src/number.rs - number::Number::as_i64 (line 143) [INFO] [stdout] src/number.rs - number::Number::as_u64 (line 174) [INFO] [stdout] src/number.rs - number::Number::from_f64 (line 220) [INFO] [stdout] src/number.rs - number::Number::is_f64 (line 111) [INFO] [stdout] src/number.rs - number::Number::is_i64 (line 48) [INFO] [stdout] src/number.rs - number::Number::is_u64 (line 79) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 103) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 119) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 127) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 144) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 160) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 177) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 193) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 259) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 39) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 55) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 71) [INFO] [stdout] src/value/from.rs - value::from::Value::from (line 87) [INFO] [stdout] src/value/from.rs - value::from::Value::from_iter (line 209) [INFO] [stdout] src/value/from.rs - value::from::Value::from_iter (line 216) [INFO] [stdout] src/value/from.rs - value::from::Value::from_iter (line 223) [INFO] [stdout] src/value/from.rs - value::from::Value::from_iter (line 239) [INFO] [stdout] src/value/index.rs - value::index::Index (line 21) [INFO] [stdout] src/value/index.rs - value::index::Value::index (line 194) [INFO] [stdout] src/value/index.rs - value::index::Value::index_mut (line 233) [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 869) [INFO] [stdout] src/value/mod.rs - value::Value::Array (line 150) [INFO] [stdout] src/value/mod.rs - value::Value::Bool (line 123) [INFO] [stdout] src/value/mod.rs - value::Value::Null (line 114) [INFO] [stdout] src/value/mod.rs - value::Value::Number (line 132) [INFO] [stdout] src/value/mod.rs - value::Value::Object (line 165) [INFO] [stdout] src/value/mod.rs - value::Value::String (line 141) [INFO] [stdout] src/value/mod.rs - value::Value::as_array (line 408) [INFO] [stdout] src/value/mod.rs - value::Value::as_array_mut (line 429) [INFO] [stdout] src/value/mod.rs - value::Value::as_bool (line 670) [INFO] [stdout] src/value/mod.rs - value::Value::as_f64 (line 632) [INFO] [stdout] src/value/mod.rs - value::Value::as_i64 (line 593) [INFO] [stdout] src/value/mod.rs - value::Value::as_null (line 708) [INFO] [stdout] src/value/mod.rs - value::Value::as_object (line 349) [INFO] [stdout] src/value/mod.rs - value::Value::as_object_mut (line 370) [INFO] [stdout] src/value/mod.rs - value::Value::as_str (line 466) [INFO] [stdout] src/value/mod.rs - value::Value::as_u64 (line 613) [INFO] [stdout] src/value/mod.rs - value::Value::fmt (line 218) [INFO] [stdout] src/value/mod.rs - value::Value::get (line 270) [INFO] [stdout] src/value/mod.rs - value::Value::get (line 286) [INFO] [stdout] src/value/mod.rs - value::Value::get_mut (line 312) [INFO] [stdout] src/value/mod.rs - value::Value::is_array (line 391) [INFO] [stdout] src/value/mod.rs - value::Value::is_boolean (line 653) [INFO] [stdout] src/value/mod.rs - value::Value::is_f64 (line 572) [INFO] [stdout] src/value/mod.rs - value::Value::is_i64 (line 518) [INFO] [stdout] src/value/mod.rs - value::Value::is_null (line 692) [INFO] [stdout] src/value/mod.rs - value::Value::is_number (line 495) [INFO] [stdout] src/value/mod.rs - value::Value::is_object (line 331) [INFO] [stdout] src/value/mod.rs - value::Value::is_string (line 449) [INFO] [stdout] src/value/mod.rs - value::Value::is_u64 (line 544) [INFO] [stdout] src/value/mod.rs - value::Value::pointer (line 739) [INFO] [stdout] src/value/mod.rs - value::Value::pointer_mut (line 794) [INFO] [stdout] src/value/mod.rs - value::Value::take (line 851) [INFO] [stdout] src/value/mod.rs - value::from_value (line 971) [INFO] [stdout] src/value/mod.rs - value::to_value (line 909) [INFO] [stdout] src/value/mod.rs - value::to_value (line 947) [INFO] [stdout] src/value/ser.rs - value::ser::Serializer (line 45) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 97 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f54d7a889ea16d378b8e0286b1ff57984c156360e36952d1f52109c9cb7e3dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54d7a889ea16d378b8e0286b1ff57984c156360e36952d1f52109c9cb7e3dc2", kill_on_drop: false }` [INFO] [stdout] f54d7a889ea16d378b8e0286b1ff57984c156360e36952d1f52109c9cb7e3dc2