[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] testing TheToolbox/json-toy against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheToolbox%2Fjson-toy" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheToolbox/json-toy on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-8/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-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2f8dd25f2394f814a63e005bd8d4bc4cfa4a9ed23d66cc3aa4fb330dee1faf7 [INFO] running `Command { std: "docker" "start" "-a" "b2f8dd25f2394f814a63e005bd8d4bc4cfa4a9ed23d66cc3aa4fb330dee1faf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2f8dd25f2394f814a63e005bd8d4bc4cfa4a9ed23d66cc3aa4fb330dee1faf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f8dd25f2394f814a63e005bd8d4bc4cfa4a9ed23d66cc3aa4fb330dee1faf7", kill_on_drop: false }` [INFO] [stdout] b2f8dd25f2394f814a63e005bd8d4bc4cfa4a9ed23d66cc3aa4fb330dee1faf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee479fc9b427b6f2f922e3795949a19fc41d0bbb47b0aa9dc8eded68fd95a7c7 [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" "ee479fc9b427b6f2f922e3795949a19fc41d0bbb47b0aa9dc8eded68fd95a7c7", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "ee479fc9b427b6f2f922e3795949a19fc41d0bbb47b0aa9dc8eded68fd95a7c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee479fc9b427b6f2f922e3795949a19fc41d0bbb47b0aa9dc8eded68fd95a7c7", kill_on_drop: false }` [INFO] [stdout] ee479fc9b427b6f2f922e3795949a19fc41d0bbb47b0aa9dc8eded68fd95a7c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28fbcfff2a6d15e5657ff61632f4f297f1f970a74689eb4fea9adc3cbd3d84a9 [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" "28fbcfff2a6d15e5657ff61632f4f297f1f970a74689eb4fea9adc3cbd3d84a9", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "28fbcfff2a6d15e5657ff61632f4f297f1f970a74689eb4fea9adc3cbd3d84a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28fbcfff2a6d15e5657ff61632f4f297f1f970a74689eb4fea9adc3cbd3d84a9", kill_on_drop: false }` [INFO] [stdout] 28fbcfff2a6d15e5657ff61632f4f297f1f970a74689eb4fea9adc3cbd3d84a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] faa9dca6a9103a9b826bc88cedbaf3d3bb04d77fc68943177c5b186f098a97ca [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" "faa9dca6a9103a9b826bc88cedbaf3d3bb04d77fc68943177c5b186f098a97ca", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | macro_rules! TODO { () => (unreachable!()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | None => { [INFO] [stderr] 93 | | match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | }, [INFO] [stderr] 98 | | } [INFO] [stderr] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 115 | '}' | ']' => PopObject!(), [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ... ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / ... match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | ... Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | ... None => { [INFO] [stderr] 93 | | ... match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | ... }, [INFO] [stderr] 98 | | ... } [INFO] [stderr] | |_______________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 120 | ... ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ... ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / ... match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | ... Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | ... None => { [INFO] [stderr] 93 | | ... match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | ... }, [INFO] [stderr] 98 | | ... } [INFO] [stderr] | |_______________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 124 | ... ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected an 'e'."... [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | None => { [INFO] [stderr] 93 | | match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | }, [INFO] [stderr] 98 | | } [INFO] [stderr] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 128 | '}' | ']' => PopObject!(), [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:134:25 [INFO] [stderr] | [INFO] [stderr] 134 | ///invalid numbers can get past here still, needs to be fixed TODO [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stderr] | ---------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | None => { [INFO] [stderr] 93 | | match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | }, [INFO] [stderr] 98 | | } [INFO] [stderr] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | None => { [INFO] [stderr] 93 | | match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | }, [INFO] [stderr] 98 | | } [INFO] [stderr] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stderr] | ------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | None => { [INFO] [stderr] 93 | | match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | }, [INFO] [stderr] 98 | | } [INFO] [stderr] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | None => { [INFO] [stderr] 93 | | match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | }, [INFO] [stderr] 98 | | } [INFO] [stderr] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | / match key_stack.pop().unwrap() { [INFO] [stderr] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] 92 | | None => { [INFO] [stderr] 93 | | match $item { [INFO] [stderr] ... | [INFO] [stderr] 97 | | }, [INFO] [stderr] 98 | | } [INFO] [stderr] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stderr] ... [INFO] [stderr] 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, [INFO] [stderr] | ------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | ///Confirm that we can construct objects as expected [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 170 | let _z = JSON::Array(vec![JSON::Boolean(true)]); [INFO] [stderr] | ------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | ///Load up a few examples to test parsing [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 172 | / let examples = vec![ [INFO] [stderr] 173 | | ///Test parsing a single string [INFO] [stderr] 174 | | "\"strung\"", [INFO] [stderr] 175 | | ///Empty array [INFO] [stderr] ... | [INFO] [stderr] 195 | | \"clastic\": 34.3 [INFO] [stderr] 196 | | }"]; [INFO] [stderr] | |____- rustdoc does not generate documentation for statements [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | ///Test parsing a single string [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 174 | "\"strung\"", [INFO] [stderr] | ------------ rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | ///Empty array [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 176 | "[]", [INFO] [stderr] | ---- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | ///array of 1 string [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 178 | "[\"strang\"]", [INFO] [stderr] | -------------- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | ///Array w/ two strings [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 180 | "[\"strang\",\"strunk\"]", [INFO] [stderr] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | ///A more complex test with an object, array, empty object, numbers, strings, bools, and whitespace galore [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 189 | / " [INFO] [stderr] 190 | | { [INFO] [stderr] 191 | | \"testy\": { [INFO] [stderr] 192 | | [INFO] [stderr] ... | [INFO] [stderr] 195 | | \"clastic\": 34.3 [INFO] [stderr] 196 | | }"]; [INFO] [stderr] | |__- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | /// [INFO] [stderr] | ^^^ [INFO] [stderr] 198 | //println!("{:?}", examples); [INFO] [stderr] 199 | / for e in &examples { [INFO] [stderr] 200 | | let _a = JSON::new(e.to_string()); [INFO] [stderr] 201 | | println!("{} \n\t\t\t\t\t=> {:?}", e, _a); [INFO] [stderr] 202 | | } [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> main.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | ///Run tests [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 207 | test(); [INFO] [stderr] | ------ rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: value assigned to `state` is never read [INFO] [stderr] --> main.rs:86:51 [INFO] [stderr] | [INFO] [stderr] 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `state` is never read [INFO] [stderr] --> main.rs:87:74 [INFO] [stderr] | [INFO] [stderr] 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `state` is never read [INFO] [stderr] --> main.rs:91:82 [INFO] [stderr] | [INFO] [stderr] 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `state` is never read [INFO] [stderr] --> main.rs:94:83 [INFO] [stderr] | [INFO] [stderr] 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `state` is never read [INFO] [stderr] --> main.rs:86:51 [INFO] [stderr] | [INFO] [stderr] 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `state` is never read [INFO] [stderr] --> main.rs:87:74 [INFO] [stderr] | [INFO] [stderr] 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `state` is never read [INFO] [stderr] --> main.rs:91:82 [INFO] [stderr] | [INFO] [stderr] 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `state` is never read [INFO] [stderr] --> main.rs:94:83 [INFO] [stderr] | [INFO] [stderr] 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 28 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/json_toy-f97638b3914b6807 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "faa9dca6a9103a9b826bc88cedbaf3d3bb04d77fc68943177c5b186f098a97ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faa9dca6a9103a9b826bc88cedbaf3d3bb04d77fc68943177c5b186f098a97ca", kill_on_drop: false }` [INFO] [stdout] faa9dca6a9103a9b826bc88cedbaf3d3bb04d77fc68943177c5b186f098a97ca