[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] checking TheToolbox/json-toy against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheToolbox%2Fjson-toy" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheToolbox/json-toy on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53e6631522f17ac53dd39bb5fa0b00f99da93bbc813ecced280968a205579a78 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "53e6631522f17ac53dd39bb5fa0b00f99da93bbc813ecced280968a205579a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53e6631522f17ac53dd39bb5fa0b00f99da93bbc813ecced280968a205579a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e6631522f17ac53dd39bb5fa0b00f99da93bbc813ecced280968a205579a78", kill_on_drop: false }` [INFO] [stdout] 53e6631522f17ac53dd39bb5fa0b00f99da93bbc813ecced280968a205579a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88fc02eb82f3bebe0f683159bc14982e99f4de869ce748547c484a7e87b1c960 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "88fc02eb82f3bebe0f683159bc14982e99f4de869ce748547c484a7e87b1c960", kill_on_drop: false }` [INFO] [stderr] Checking json-toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> main.rs:1:1 [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] [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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] [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] [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] [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] [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] [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] [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] 192 | | [INFO] [stdout] ... | [INFO] [stdout] 195 | | \"clastic\": 34.3 [INFO] [stdout] 196 | | }"]; [INFO] [stdout] | |__- rustdoc does not generate documentation for expressions [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] [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] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> main.rs:1:1 [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] [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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] = note: this warning originates in a macro (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] [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] [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] [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] [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] [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] [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] 192 | | [INFO] [stdout] ... | [INFO] [stdout] 195 | | \"clastic\": 34.3 [INFO] [stdout] 196 | | }"]; [INFO] [stdout] | |__- rustdoc does not generate documentation for expressions [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] [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] [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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "88fc02eb82f3bebe0f683159bc14982e99f4de869ce748547c484a7e87b1c960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88fc02eb82f3bebe0f683159bc14982e99f4de869ce748547c484a7e87b1c960", kill_on_drop: false }` [INFO] [stdout] 88fc02eb82f3bebe0f683159bc14982e99f4de869ce748547c484a7e87b1c960