[INFO] fetching crate json-joxit-fork 0.12.1... [INFO] testing json-joxit-fork-0.12.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate json-joxit-fork 0.12.1 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate json-joxit-fork 0.12.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate json-joxit-fork 0.12.1 [INFO] finished tweaking crates.io crate json-joxit-fork 0.12.1 [INFO] tweaked toml for crates.io crate json-joxit-fork 0.12.1 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b86052cdc26eadfad1d119a8e282ebd7d442ec8bc2eeb2487355d817a106319 [INFO] running `Command { std: "docker" "start" "-a" "9b86052cdc26eadfad1d119a8e282ebd7d442ec8bc2eeb2487355d817a106319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b86052cdc26eadfad1d119a8e282ebd7d442ec8bc2eeb2487355d817a106319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b86052cdc26eadfad1d119a8e282ebd7d442ec8bc2eeb2487355d817a106319", kill_on_drop: false }` [INFO] [stdout] 9b86052cdc26eadfad1d119a8e282ebd7d442ec8bc2eeb2487355d817a106319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b9afc460d8b7be5042e38411b88c23c7aca5aefdb375053e7dafa70c28b542a [INFO] running `Command { std: "docker" "start" "-a" "0b9afc460d8b7be5042e38411b88c23c7aca5aefdb375053e7dafa70c28b542a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling json-joxit-fork v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/print_dec.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let mut buf: [u8; 30] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "0b9afc460d8b7be5042e38411b88c23c7aca5aefdb375053e7dafa70c28b542a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9afc460d8b7be5042e38411b88c23c7aca5aefdb375053e7dafa70c28b542a", kill_on_drop: false }` [INFO] [stdout] 0b9afc460d8b7be5042e38411b88c23c7aca5aefdb375053e7dafa70c28b542a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea6fa4766d674539428f5f51a5da2052456da960cdcd7e430218e22675d43cd6 [INFO] running `Command { std: "docker" "start" "-a" "ea6fa4766d674539428f5f51a5da2052456da960cdcd7e430218e22675d43cd6", kill_on_drop: false }` [INFO] [stderr] Compiling json-joxit-fork v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/print_dec.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let mut buf: [u8; 30] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `json` [INFO] [stdout] --> tests/json_checker.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `json` [INFO] [stdout] --> tests/stringify.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `json` [INFO] [stdout] --> tests/number.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/stringify.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | let object = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/stringify.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(parsed, object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/stringify.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let object = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/stringify.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(stringify(array![10, false, Null]), "[10,false,null]"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `json` [INFO] [stdout] --> tests/print_dec.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `json` [INFO] [stdout] --> tests/value.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `json` [INFO] [stdout] --> tests/parse.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `json` [INFO] [stdout] --> tests/customgen.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(parse(r#"["Unclosed array""#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(parse(r#"{unquoted_key: "keys must be quoted"}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(parse(r#"["extra comma",]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(parse(r#"["double extra comma",,]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(parse(r#"[ , "<-- missing value"]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(parse(r#"["Comma after the close"],"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | assert!(parse(r#"["Extra close"]]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | assert!(parse(r#"{"Extra comma": true,}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(parse(r#"{"Extra value after close": true} "misplaced quoted value""#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(parse(r#"{"Illegal expression": 1 + 2}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | assert!(parse(r#"{"Illegal invocation": alert()}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(parse(r#"{"Numbers cannot have leading zeroes": 013}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | assert!(parse(r#"{"Numbers cannot be hex": 0x14}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | assert!(parse(r#"["Illegal backslash escape: \x15"]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(parse(r#"[\naked]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(parse(r#"["Illegal backslash escape: \017"]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(parse(r#"{"Missing colon" null}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | assert!(parse(r#"{"Double colon":: null}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | assert!(parse(r#"{"Comma instead of colon", null}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | assert!(parse(r#"["Colon instead of comma": false]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(parse(r#"["Bad value", truth]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(parse(r#"['single quote']"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(parse("[\"\ttab\tcharacter\tin\tstring\t\"]").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(parse("[\"tab\\\tcharacter\\\tin\\\tstring\\\t\"]").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(parse("[\"line\nbreak\"]").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | assert!(parse("[\"line\\\nbreak\"]").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | assert!(parse(r#"[0e]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | assert!(parse(r#"[0e+]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(parse(r#"[0e+-1]"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | assert!(parse(r#"{"Comma instead if closing brace": true,"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(parse(r#"["mismatch"}"#).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | parse(r##" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 163 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | parse(r#"[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]"#).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 163 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/json_checker.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 163 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/customgen.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let o = object! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/print_dec.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let n = unsafe { Number::from_parts_unchecked(true, 1, -32768) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/print_dec.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let n = unsafe { Number::from_parts_unchecked(true, 10_000_000_000_000_000_001, -18) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/print_dec.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let n = unsafe { Number::from_parts_unchecked(true, 10_000_000_000_000_000_001, -19) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/print_dec.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let n = Number::from_parts(true, 100, -1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/print_dec.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let n = Number::from_parts(true, 100, -3); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/print_dec.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let n = Number::from_parts(true, 100, -302); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Generator` in this scope [INFO] [stdout] --> tests/customgen.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | impl Generator for CustomGenerator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 28 | impl Iterator for CustomGenerator { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::codegen::Generator; [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Object` in this scope [INFO] [stdout] --> tests/customgen.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_object(&mut self, object: &Object) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonValue` in this scope [INFO] [stdout] --> tests/customgen.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | let mut entries: Vec<(&str, &JsonValue)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:651:24 [INFO] [stdout] | [INFO] [stdout] 651 | let change_short = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(Number::from(f64::NAN).is_nan()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(Number::from(0).is_zero()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:647:25 [INFO] [stdout] | [INFO] [stdout] 647 | let change_string = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(unsafe { Number::from_parts_unchecked(true, 0, 0).is_zero() }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(unsafe { Number::from_parts_unchecked(true, 0, 100).is_zero() }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/parse.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | "#).unwrap(), object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:643:23 [INFO] [stdout] | [INFO] [stdout] 643 | let change_bool = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(unsafe { Number::from_parts_unchecked(true, 0, -100).is_zero() }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(unsafe { Number::from_parts_unchecked(false, 0, 0).is_zero() }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(unsafe { Number::from_parts_unchecked(false, 0, 100).is_zero() }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:639:22 [INFO] [stdout] | [INFO] [stdout] 639 | let left_short = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(unsafe { Number::from_parts_unchecked(false, 0, -100).is_zero() }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(!Number::from(f64::NAN).is_zero()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(Number::from(0).is_empty()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/parse.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | "#).unwrap(), object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:635:23 [INFO] [stdout] | [INFO] [stdout] 635 | let left_string = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | assert!(Number::from(f64::NAN).is_empty()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { Number::from_parts_unchecked(true, 500, 0) }, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { Number::from_parts_unchecked(true, 500, 0) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:631:21 [INFO] [stdout] | [INFO] [stdout] 631 | let left_copy = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { Number::from_parts_unchecked(true, 5, 2) }, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/parse.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | "#).unwrap(), object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { Number::from_parts_unchecked(true, 500, 0) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:627:16 [INFO] [stdout] | [INFO] [stdout] 627 | let left = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { Number::from_parts_unchecked(true, 5, -2) }, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:614:16 [INFO] [stdout] | [INFO] [stdout] 614 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/parse.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | "#).unwrap(), object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:601:16 [INFO] [stdout] | [INFO] [stdout] 601 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/parse.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | "#).unwrap(), object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:551:16 [INFO] [stdout] | [INFO] [stdout] 551 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { Number::from_parts_unchecked(true, 500, -4) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:543:16 [INFO] [stdout] | [INFO] [stdout] 543 | let data = array![1, true, "three"]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/parse.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(parse("[[]]").unwrap(), array![array![]]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { Number::from_parts_unchecked(true, 500, 0) }, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { Number::from_parts_unchecked(true, 5, 2) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:495:15 [INFO] [stdout] | [INFO] [stdout] 495 | let val = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { Number::from_parts_unchecked(true, 500, -4) }, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { Number::from_parts_unchecked(true, 5, -2) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(Number::from(0.05), unsafe { Number::from_parts_unchecked(true, 5, -2) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/parse.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(parse("[]").unwrap(), array![]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:482:15 [INFO] [stdout] | [INFO] [stdout] 482 | let val = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(Number::from(0.05), unsafe { Number::from_parts_unchecked(true, 5, -2) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(Number::from(5e-50), unsafe { Number::from_parts_unchecked(true, 5, -50) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:76:46 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(Number::from(5e-50), unsafe { Number::from_parts_unchecked(true, 5, -50) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(stringify(Null), "null"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json-joxit-fork` due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(Number::from(500), unsafe { Number::from_parts_unchecked(true, 500, 0) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(Number::from(500), unsafe { Number::from_parts_unchecked(true, 500, 0) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/parse.rs:115:62 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(parse(r#"[10, "foo", true, null]"#).unwrap(), array![ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/stringify.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(stringify(Null), "null"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:469:15 [INFO] [stdout] | [INFO] [stdout] 469 | let val = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:455:15 [INFO] [stdout] | [INFO] [stdout] 455 | let val = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | let val = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:434:15 [INFO] [stdout] | [INFO] [stdout] 434 | let val = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:420:20 [INFO] [stdout] | [INFO] [stdout] 420 | let mut data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:409:20 [INFO] [stdout] | [INFO] [stdout] 409 | let mut data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | let mut data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 377 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(stringify(foo), "null"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 368 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:345:18 [INFO] [stdout] | [INFO] [stdout] 345 | let object = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 335 | let object = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(stringify(foo), "100"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(stringify("Foo"), "\"Foo\""); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(stringify("Foo".to_string()), "\"Foo\""); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(Number::from(5e50), unsafe { Number::from_parts_unchecked(true, 5, 50) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(stringify(3.141592653589793), "3.141592653589793"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(JsonValue::from(1.2345f64).dump(), "1.2345"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(Number::from(5e50), unsafe { Number::from_parts_unchecked(true, 5, 50) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(JsonValue::from(-1.2345f64).dump(), "-1.2345"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(JsonValue::from(0.0).dump(), "0"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | let number = unsafe { Number::from_parts_unchecked(true, 2225073858507201136, -326) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(JsonValue::from(f64::NAN).dump(), "null"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(JsonValue::from(f64::INFINITY).dump(), "null"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Number::from(1.2345).as_fixed_point_u64(4).unwrap(), 12345); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(JsonValue::from(f64::NEG_INFINITY).dump(), "null"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(Number::from(1.2345).as_fixed_point_u64(2).unwrap(), 123); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(JsonValue::from(-0f64).dump(), "-0"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(stringify(42), "42"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(Number::from(1.2345).as_fixed_point_u64(0).unwrap(), 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(stringify(0.0001), "0.0001"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(Number::from(5).as_fixed_point_u64(0).unwrap(), 5); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(parse("true").unwrap(), true); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(parse("false").unwrap(), false); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(parse("null").unwrap().is_null()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(parse("3.141592653589793").unwrap(), 3.141592653589793); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | assert_eq!(data, object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | let mut data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(Number::from(5).as_fixed_point_u64(2).unwrap(), 500); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(data, object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:297:20 [INFO] [stdout] | [INFO] [stdout] 297 | let mut data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(Number::from(5).as_fixed_point_u64(4).unwrap(), 50000); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:273:16 [INFO] [stdout] | [INFO] [stdout] 273 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(data, object!{ "answer" => 42 }); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | assert_eq!(Number::from(-1).as_fixed_point_u64(0), None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | let mut data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | let data = object!{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(Number::from(f64::NAN).as_fixed_point_u64(0), None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | assert_eq!(data, array![item - 1, item - 2]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(Number::from(-1.2345).as_fixed_point_i64(4).unwrap(), -12345); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 214 | let mut data = array![Null, Null]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(parse("[C3A9] <=> [é]").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(stringify(1e19), "10000000000000000000"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(stringify(3.141592653589793e50), "3.141592653589793e50"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(parse("[1.]").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(parse("0.05").unwrap(), 0.05); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let parsed = parse("2.22507385850720113605740979670913197593481954635164564e-308").unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/parse.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(parsed, unsafe { Number::from_parts_unchecked(true, 2225073858507201136, -326) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let parsed = parse("1e999999999999999999999999999999999999999999999999999999999999").unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | assert_eq!(data, array![100, 100]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | let mut data = array![Null, Null]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | let data = array![1, "foo"]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | let data = array![1, "foo"]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(data, array![1, 3]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let mut data = array![1, 2, 3]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(data, array![1, 2]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let mut data = array![1, 2, 3]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(data, array![1, 2, 3]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | let mut data = array![1, 2]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let data = array![true, Null, 3.14, "foo"]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/parse.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(parsed, unsafe { Number::from_parts_unchecked(true, 1, 32767) }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(parse("42").unwrap(), 42); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(parse("-0").unwrap(), JsonValue::from(-0f64)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(stringify(7e70), "7e70"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/parse.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(parse("-0").unwrap(), JsonValue::from(-0f64)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(stringify(3.141592653589793e-16), "3.141592653589793e-16"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(parse("-42").unwrap(), -42); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(stringify(true), "true"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | assert!(parse("01").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(stringify(false), "false"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let data = array![0, 1, 2, 3]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | assert!(!object!{ "foo" => false }.is_empty()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(stringify(array![10, false, Null]), "[10,false,null]"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(!array![0].is_empty()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `object` in this scope [INFO] [stdout] --> tests/value.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(object!{}.is_empty()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> tests/value.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(array![].is_empty()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] json_joxit_fork::array [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(parse("-01").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(parse("5e2").unwrap(), 500); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(parse("5E2").unwrap(), 500); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(parse("5e+2").unwrap(), 500); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonValue` in this scope [INFO] [stdout] --> tests/stringify.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let mut array: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(parse("5E+2").unwrap(), 500); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | assert_eq!(stringify(array), r#"[10,"Foo"]"#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(parse("5e-2").unwrap(), 0.05); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(stringify(array), "[1,2,3]"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(parse("5E-2").unwrap(), 0.05); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(stringify(array), "[1,null,2,null,3]"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | assert!(parse("0e").is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(stringify(object), r#"{"name":"Maciej","age":30}"#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(parse("18446744073709551616").unwrap(), 18446744073709552000f64); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(stringify(object), r#"{"name":"Maciej","age":30}"#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(parse(r#"[10, "foo", true, null]"#).unwrap(), array![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(parse("[]").unwrap(), array![]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(parse("[[]]").unwrap(), array![array![]]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | map.insert("name", JsonValue::from("Maciej")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | map.insert("age", JsonValue::from(30)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | assert_eq!(stringify(map), r#"{"age":30,"name":"Maciej"}"#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | map.insert("name", JsonValue::from("Maciej")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | map.insert("age", JsonValue::from(30)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/stringify.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let parsed = parse(&stringify(map)).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | let parsed = parse(&stringify(map)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | let mut object = JsonValue::new_object(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(stringify(object), r#"{"a":100,"b":false}"#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/stringify.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | let mut array = JsonValue::new_array(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/stringify.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | array.push(Null).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(stringify(array), "[100,null,false,\"foo\"]"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(stringify("\r____\n___\t\u{8}\u{c}\\\"__"), r#""\r____\n___\t\b\f\\\"__""#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:221:16 [INFO] [stdout] | [INFO] [stdout] 221 | assert_eq!(stringify("foo/bar"), r#""foo/bar""#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(stringify("http://www.google.com/\t"), r#""http://www.google.com/\t""#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify` in this scope [INFO] [stdout] --> tests/stringify.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 231 | assert_eq!(stringify("foo\u{1f}bar\u{0}baz"), r#""foo\u001fbar\u0000baz""#); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stringify_pretty` in this scope [INFO] [stdout] --> tests/stringify.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 112 | fn stringify_array() { [INFO] [stdout] | -------------------- similarly named constant `stringify_array` defined here [INFO] [stdout] ... [INFO] [stdout] 248 | assert_eq!(stringify_pretty(object, 2), expected); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(stringify_array(object, 2), expected); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::stringify_pretty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | let data = parse("{ \"pi\": 3.14 }").unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | let mut data = parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | let mut data = parse("null").unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | let data = parse(r#"[100, 200, false, null, "foo"]"#).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/parse.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | assert_eq!(data[0], Number::from(100)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/parse.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(data[3], Null); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/parse.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(data[5], Null); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | let mut data = parse(r#"[100, 200, false, null, "foo"]"#).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:280:16 [INFO] [stdout] | [INFO] [stdout] 280 | let data = parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:292:16 [INFO] [stdout] | [INFO] [stdout] 292 | let data = parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | let data = parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 314 | let err = parse(r#" [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | parse(&text).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(parse(&text), Err(json::Error::ExceededDepthLimit)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | assert!(parse(&string).is_err()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/parse.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | parse(source).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let null = JsonValue::Null; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(data.array_remove(2), JsonValue::Null); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | if let JsonValue::Object(data) = val { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | if let JsonValue::Object(data) = val { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:462:12 [INFO] [stdout] | [INFO] [stdout] 462 | if let JsonValue::Object(data) = val { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | if let JsonValue::Object(mut data) = val { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | if let JsonValue::Object(mut data) = val { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:502:12 [INFO] [stdout] | [INFO] [stdout] 502 | if let JsonValue::Object(mut data) = val { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/codegen.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::JsonValue` [INFO] [stdout] --> src/codegen.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | use crate::JsonValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse` [INFO] [stdout] --> src/codegen.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | use crate::parse; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonError` [INFO] [stdout] --> tests/value.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | assert_eq!(err, JsonError::UnexpectedCharacter { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonError` [INFO] [stdout] --> tests/value.rs:577:21 [INFO] [stdout] | [INFO] [stdout] 577 | assert_eq!(err, JsonError::UnexpectedCharacter { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonError` [INFO] [stdout] --> tests/value.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | assert_eq!(err, JsonError::UnexpectedCharacter { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `JsonError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(Number::from(-1.2345).as_fixed_point_i64(2).unwrap(), -123); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(Number::from(-1.2345).as_fixed_point_i64(0).unwrap(), -1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(Number::from(-5).as_fixed_point_i64(0).unwrap(), -5); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(Number::from(-5).as_fixed_point_i64(2).unwrap(), -500); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Number::from(-5).as_fixed_point_i64(4).unwrap(), -50000); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(Number::from(-1).as_fixed_point_i64(0), Some(-1)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(Number::from(f64::NAN).as_fixed_point_i64(0), None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let string = JsonValue::from("foo"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Number` [INFO] [stdout] --> tests/number.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(unsafe { Number::from_parts_unchecked(true, 4750000000000001, -18) }, 0.004750000000000001); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::num::dec2flt::number::Number; [INFO] [stdout] | [INFO] [stdout] 3 | use json_joxit_fork::number::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let number = JsonValue::from(42); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let number = JsonValue::from(-1); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let number = JsonValue::from(40_000); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let number = JsonValue::from(3.14); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let number = JsonValue::from(-3.14); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let boolean = JsonValue::Boolean(true); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let boolean = JsonValue::Boolean(true); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsonValue` [INFO] [stdout] --> tests/value.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | let boolean = JsonValue::Boolean(false); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/value.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(Null.is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/value.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | assert!(data.contains(Null)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonValue` in this scope [INFO] [stdout] --> tests/value.rs:511:15 [INFO] [stdout] | [INFO] [stdout] 511 | let data: JsonValue = "foobar".into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonValue` in this scope [INFO] [stdout] --> tests/value.rs:519:15 [INFO] [stdout] | [INFO] [stdout] 519 | let data: JsonValue = 42.into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonValue` in this scope [INFO] [stdout] --> tests/value.rs:527:15 [INFO] [stdout] | [INFO] [stdout] 527 | let data: JsonValue = true.into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::JsonValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Null` in this scope [INFO] [stdout] --> tests/value.rs:535:16 [INFO] [stdout] | [INFO] [stdout] 535 | let data = Null; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::Null; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/value.rs:562:15 [INFO] [stdout] | [INFO] [stdout] 562 | let err = parse("\n\nnulX\n").unwrap_err(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/value.rs:575:15 [INFO] [stdout] | [INFO] [stdout] 575 | let err = parse("\n\nnul🦄\n").unwrap_err(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/value.rs:588:15 [INFO] [stdout] | [INFO] [stdout] 588 | let err = parse("\n [\n null,\n ] \n").unwrap_err(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use json_joxit_fork::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/parser.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/print_dec.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let mut buf: [u8; 30] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 82 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | let mut expected = object! { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:871:13 [INFO] [stdout] | [INFO] [stdout] 871 | let mut expected = object! { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/codegen.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | generator.write_string(&s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/codegen.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | generator.write_string(&s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ea6fa4766d674539428f5f51a5da2052456da960cdcd7e430218e22675d43cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6fa4766d674539428f5f51a5da2052456da960cdcd7e430218e22675d43cd6", kill_on_drop: false }` [INFO] [stdout] ea6fa4766d674539428f5f51a5da2052456da960cdcd7e430218e22675d43cd6