[INFO] fetching crate json-joxit-fork 0.12.1... [INFO] building json-joxit-fork-0.12.1 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate json-joxit-fork 0.12.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate json-joxit-fork 0.12.1 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84943b56655105d8510d0298e42a77ca191fc0712dd2e1f9028f53a5fd58a7c0 [INFO] running `Command { std: "docker" "start" "-a" "84943b56655105d8510d0298e42a77ca191fc0712dd2e1f9028f53a5fd58a7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84943b56655105d8510d0298e42a77ca191fc0712dd2e1f9028f53a5fd58a7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84943b56655105d8510d0298e42a77ca191fc0712dd2e1f9028f53a5fd58a7c0", kill_on_drop: false }` [INFO] [stdout] 84943b56655105d8510d0298e42a77ca191fc0712dd2e1f9028f53a5fd58a7c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 495ecf8bbcdfdb4549e836810ad48234b732069f75d0a3ef8877f2482fbee5ac [INFO] running `Command { std: "docker" "start" "-a" "495ecf8bbcdfdb4549e836810ad48234b732069f75d0a3ef8877f2482fbee5ac", kill_on_drop: false }` [INFO] [stderr] Compiling json-joxit-fork v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 433 - b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] 433 + b'0' ..= b'9' => ch - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | b'a' ..= b'f' => (ch + 10 - b'a'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 434 - b'a' ..= b'f' => (ch + 10 - b'a'), [INFO] [stdout] 434 + b'a' ..= b'f' => ch + 10 - b'a', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:435:30 [INFO] [stdout] | [INFO] [stdout] 435 | b'A' ..= b'F' => (ch + 10 - b'A'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 435 - b'A' ..= b'F' => (ch + 10 - b'A'), [INFO] [stdout] 435 + b'A' ..= b'F' => ch + 10 - b'A', [INFO] [stdout] | [INFO] [stdout] [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] warning: the type `[u8; 30]` does not permit being left uninitialized [INFO] [stdout] --> src/util/print_dec.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | let mut buf: [u8; 30] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "495ecf8bbcdfdb4549e836810ad48234b732069f75d0a3ef8877f2482fbee5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "495ecf8bbcdfdb4549e836810ad48234b732069f75d0a3ef8877f2482fbee5ac", kill_on_drop: false }` [INFO] [stdout] 495ecf8bbcdfdb4549e836810ad48234b732069f75d0a3ef8877f2482fbee5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf14795198f3a4db7f411b3fc220c40700cfeafca7c074ecded5c9814d909e82 [INFO] running `Command { std: "docker" "start" "-a" "cf14795198f3a4db7f411b3fc220c40700cfeafca7c074ecded5c9814d909e82", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 433 - b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] 433 + b'0' ..= b'9' => ch - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | b'a' ..= b'f' => (ch + 10 - b'a'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 434 - b'a' ..= b'f' => (ch + 10 - b'a'), [INFO] [stdout] 434 + b'a' ..= b'f' => ch + 10 - b'a', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling json-joxit-fork v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:435:30 [INFO] [stdout] | [INFO] [stdout] 435 | b'A' ..= b'F' => (ch + 10 - b'A'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 435 - b'A' ..= b'F' => (ch + 10 - b'A'), [INFO] [stdout] 435 + b'A' ..= b'F' => ch + 10 - b'A', [INFO] [stdout] | [INFO] [stdout] [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] warning: the type `[u8; 30]` does not permit being left uninitialized [INFO] [stdout] --> src/util/print_dec.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | let mut buf: [u8; 30] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [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[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/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/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/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[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/parse.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-joxit-fork` (test "customgen") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json-joxit-fork` (test "print_dec") due to 1 previous error [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json-joxit-fork` (test "number") due to 1 previous error [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json-joxit-fork` (test "json_checker") due to 1 previous error [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [INFO] [stdout] [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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: 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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 433 | b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 433 - b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] 433 + b'0' ..= b'9' => ch - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | b'a' ..= b'f' => (ch + 10 - b'a'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 434 - b'a' ..= b'f' => (ch + 10 - b'a'), [INFO] [stdout] 434 + b'a' ..= b'f' => ch + 10 - b'a', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser.rs:435:30 [INFO] [stdout] | [INFO] [stdout] 435 | b'A' ..= b'F' => (ch + 10 - b'A'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 435 - b'A' ..= b'F' => (ch + 10 - b'A'), [INFO] [stdout] 435 + b'A' ..= b'F' => ch + 10 - b'A', [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [INFO] [stdout] [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: 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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [INFO] [stdout] [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: 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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::object; [INFO] [stdout] | [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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use json_joxit_fork::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json-joxit-fork` (test "stringify") due to 5 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-joxit-fork` (test "parse") due to 9 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-joxit-fork` (test "value") due to 53 previous errors [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 407 | let _ = generator.write_string(&s); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 418 | let _ = generator.write_string(&s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 30]` does not permit being left uninitialized [INFO] [stdout] --> src/util/print_dec.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | let mut buf: [u8; 30] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf14795198f3a4db7f411b3fc220c40700cfeafca7c074ecded5c9814d909e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf14795198f3a4db7f411b3fc220c40700cfeafca7c074ecded5c9814d909e82", kill_on_drop: false }` [INFO] [stdout] cf14795198f3a4db7f411b3fc220c40700cfeafca7c074ecded5c9814d909e82