[INFO] cloning repository https://github.com/TheToolbox/json-toy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheToolbox/json-toy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheToolbox%2Fjson-toy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheToolbox%2Fjson-toy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54dfa3ac5a5d0ac2c0ae4aad689b190e9ad4256c [INFO] building TheToolbox/json-toy against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheToolbox%2Fjson-toy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheToolbox/json-toy 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 git repo https://github.com/TheToolbox/json-toy [INFO] finished tweaking git repo https://github.com/TheToolbox/json-toy [INFO] tweaked toml for git repo https://github.com/TheToolbox/json-toy written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TheToolbox/json-toy already has a lockfile, it will not be regenerated [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 61faa9c73dcfbd07bd15f9b752b6df0acda368c1807d053686fe3b01c3811f33 [INFO] running `Command { std: "docker" "start" "-a" "61faa9c73dcfbd07bd15f9b752b6df0acda368c1807d053686fe3b01c3811f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61faa9c73dcfbd07bd15f9b752b6df0acda368c1807d053686fe3b01c3811f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61faa9c73dcfbd07bd15f9b752b6df0acda368c1807d053686fe3b01c3811f33", kill_on_drop: false }` [INFO] [stdout] 61faa9c73dcfbd07bd15f9b752b6df0acda368c1807d053686fe3b01c3811f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 67ec9877b887e593d55d57e025cce74171ae91ef347e7ce7cb8dae52b9f7f782 [INFO] running `Command { std: "docker" "start" "-a" "67ec9877b887e593d55d57e025cce74171ae91ef347e7ce7cb8dae52b9f7f782", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling json-toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `TODO` [INFO] [stdout] --> main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! TODO { () => (unreachable!()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 116 | _ => ParsingErr!("Unexpected character encountered"), [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ... ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / ... match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | ... Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | ... None => { [INFO] [stdout] 93 | | ... match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | ... }, [INFO] [stdout] 98 | | ... } [INFO] [stdout] | |_______________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 120 | ... ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ... macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 120 | ... ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an... [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ... ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / ... match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | ... Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | ... None => { [INFO] [stdout] 93 | | ... match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | ... }, [INFO] [stdout] 98 | | ... } [INFO] [stdout] | |_______________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 124 | ... ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected an 'e'."... [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ... macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 124 | ... ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected ... [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ...turn Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 125 | ...= ExpectingItem, ' ' | '\n' | '\t' | '\r' => continue , _ => ParsingErr!("Expected Colon.") }, [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 130 | _ => ParsingErr!("Expected a comma.") [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | ///invalid numbers can get past here still, needs to be fixed TODO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ParsingErr` [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | _ => ParsingErr!("Encountered unexpected character after JSON content") [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | ParsingErr!("Unexpected end of data") [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ParsingErr` [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 160 | _ => ParsingErr!("Unexpected end of data.") [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | ///Confirm that we can construct objects as expected [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | let _z = JSON::Array(vec![JSON::Boolean(true)]); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | ///Load up a few examples to test parsing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | / let examples = vec![ [INFO] [stdout] 173 | | ///Test parsing a single string [INFO] [stdout] 174 | | "\"strung\"", [INFO] [stdout] 175 | | ///Empty array [INFO] [stdout] ... | [INFO] [stdout] 195 | | \"clastic\": 34.3 [INFO] [stdout] 196 | | }"]; [INFO] [stdout] | |____- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | ///Test parsing a single string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | "\"strung\"", [INFO] [stdout] | ------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | ///Empty array [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 176 | "[]", [INFO] [stdout] | ---- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ///array of 1 string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | "[\"strang\"]", [INFO] [stdout] | -------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | ///Array w/ two strings [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 180 | "[\"strang\",\"strunk\"]", [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | ///A more complex test with an object, array, empty object, numbers, strings, bools, and whitespace galore [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 189 | / " [INFO] [stdout] 190 | | { [INFO] [stdout] 191 | | \"testy\": { [INFO] [stdout] ... | [INFO] [stdout] 195 | | \"clastic\": 34.3 [INFO] [stdout] 196 | | }"]; [INFO] [stdout] | |__- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] 198 | //println!("{:?}", examples); [INFO] [stdout] 199 | / for e in &examples { [INFO] [stdout] 200 | | let _a = JSON::new(e.to_string()); [INFO] [stdout] 201 | | println!("{} \n\t\t\t\t\t=> {:?}", e, _a); [INFO] [stdout] 202 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | ///Run tests [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 207 | test(); [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:87:74 [INFO] [stdout] | [INFO] [stdout] 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:91:82 [INFO] [stdout] | [INFO] [stdout] 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:87:74 [INFO] [stdout] | [INFO] [stdout] 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:91:82 [INFO] [stdout] | [INFO] [stdout] 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: json-toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "67ec9877b887e593d55d57e025cce74171ae91ef347e7ce7cb8dae52b9f7f782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ec9877b887e593d55d57e025cce74171ae91ef347e7ce7cb8dae52b9f7f782", kill_on_drop: false }` [INFO] [stdout] 67ec9877b887e593d55d57e025cce74171ae91ef347e7ce7cb8dae52b9f7f782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9e17e5366459143dcc36a54024f66968a1cf9f28b1671c345a96dc3827816ec6 [INFO] running `Command { std: "docker" "start" "-a" "9e17e5366459143dcc36a54024f66968a1cf9f28b1671c345a96dc3827816ec6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling json-toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `TODO` [INFO] [stdout] --> main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! TODO { () => (unreachable!()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 116 | _ => ParsingErr!("Unexpected character encountered"), [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ... ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / ... match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | ... Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | ... None => { [INFO] [stdout] 93 | | ... match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | ... }, [INFO] [stdout] 98 | | ... } [INFO] [stdout] | |_______________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 120 | ... ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ... macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 120 | ... ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an... [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ... ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / ... match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | ... Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | ... None => { [INFO] [stdout] 93 | | ... match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | ... }, [INFO] [stdout] 98 | | ... } [INFO] [stdout] | |_______________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 124 | ... ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected an 'e'."... [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ... macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 124 | ... ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected ... [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ...turn Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 125 | ...= ExpectingItem, ' ' | '\n' | '\t' | '\r' => continue , _ => ParsingErr!("Expected Colon.") }, [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 130 | _ => ParsingErr!("Expected a comma.") [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | ///invalid numbers can get past here still, needs to be fixed TODO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ParsingErr` [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | _ => ParsingErr!("Encountered unexpected character after JSON content") [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | ParsingErr!("Unexpected end of data") [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ParsingErr` [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 160 | _ => ParsingErr!("Unexpected end of data.") [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | ///Confirm that we can construct objects as expected [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | let _z = JSON::Array(vec![JSON::Boolean(true)]); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | ///Load up a few examples to test parsing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | / let examples = vec![ [INFO] [stdout] 173 | | ///Test parsing a single string [INFO] [stdout] 174 | | "\"strung\"", [INFO] [stdout] 175 | | ///Empty array [INFO] [stdout] ... | [INFO] [stdout] 195 | | \"clastic\": 34.3 [INFO] [stdout] 196 | | }"]; [INFO] [stdout] | |____- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | ///Test parsing a single string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | "\"strung\"", [INFO] [stdout] | ------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | ///Empty array [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 176 | "[]", [INFO] [stdout] | ---- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ///array of 1 string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | "[\"strang\"]", [INFO] [stdout] | -------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | ///Array w/ two strings [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 180 | "[\"strang\",\"strunk\"]", [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | ///A more complex test with an object, array, empty object, numbers, strings, bools, and whitespace galore [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 189 | / " [INFO] [stdout] 190 | | { [INFO] [stdout] 191 | | \"testy\": { [INFO] [stdout] ... | [INFO] [stdout] 195 | | \"clastic\": 34.3 [INFO] [stdout] 196 | | }"]; [INFO] [stdout] | |__- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] 198 | //println!("{:?}", examples); [INFO] [stdout] 199 | / for e in &examples { [INFO] [stdout] 200 | | let _a = JSON::new(e.to_string()); [INFO] [stdout] 201 | | println!("{} \n\t\t\t\t\t=> {:?}", e, _a); [INFO] [stdout] 202 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | ///Run tests [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 207 | test(); [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:87:74 [INFO] [stdout] | [INFO] [stdout] 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:91:82 [INFO] [stdout] | [INFO] [stdout] 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:87:74 [INFO] [stdout] | [INFO] [stdout] 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:91:82 [INFO] [stdout] | [INFO] [stdout] 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: json-toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9e17e5366459143dcc36a54024f66968a1cf9f28b1671c345a96dc3827816ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e17e5366459143dcc36a54024f66968a1cf9f28b1671c345a96dc3827816ec6", kill_on_drop: false }` [INFO] [stdout] 9e17e5366459143dcc36a54024f66968a1cf9f28b1671c345a96dc3827816ec6