Oct 27 09:28:03.905 INFO checking TheToolbox/json-toy against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192-2 Oct 27 09:28:03.906 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-4/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-4/pr-55192-2/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +155510e377ae2a8d8ee0dad1a5f809c9062a5526-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 27 09:28:04.379 INFO blam! 21040d8fb19f1ae2eb3e1d57bb4c50c6dffd2a4d550494a3ac11300db00406df Oct 27 09:28:04.379 INFO running `"docker" "start" "-a" "21040d8fb19f1ae2eb3e1d57bb4c50c6dffd2a4d550494a3ac11300db00406df"` Oct 27 09:28:06.023 INFO kablam! usermod: no changes Oct 27 09:28:06.094 INFO kablam! Checking json-toy v0.1.0 (/source) Oct 27 09:28:07.139 INFO kablam! warning: unused macro definition Oct 27 09:28:07.139 INFO kablam! --> main.rs:1:1 Oct 27 09:28:07.139 INFO kablam! | Oct 27 09:28:07.139 INFO kablam! 1 | macro_rules! TODO { () => (unreachable!()) } Oct 27 09:28:07.139 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.139 INFO kablam! | Oct 27 09:28:07.139 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 27 09:28:07.139 INFO kablam! Oct 27 09:28:07.139 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.139 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.139 INFO kablam! | Oct 27 09:28:07.139 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.139 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.139 INFO kablam! ... Oct 27 09:28:07.139 INFO kablam! 115 | '}' | ']' => PopObject!(), Oct 27 09:28:07.139 INFO kablam! | ------------ in this macro invocation Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! = note: #[warn(unused_doc_comments)] on by default Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! ... Oct 27 09:28:07.140 INFO kablam! 120 | ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, Oct 27 09:28:07.140 INFO kablam! | ----------------------------------- in this macro invocation Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! ... Oct 27 09:28:07.140 INFO kablam! 124 | ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, Oct 27 09:28:07.140 INFO kablam! | ------------------------------------ in this macro invocation Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! ... Oct 27 09:28:07.140 INFO kablam! 128 | '}' | ']' => PopObject!(), Oct 27 09:28:07.140 INFO kablam! | ------------ in this macro invocation Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:134:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 134 | ///invalid numbers can get past here still, needs to be fixed TODO Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! ... Oct 27 09:28:07.140 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.140 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! ... Oct 27 09:28:07.140 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.140 INFO kablam! | ------------- in this macro invocation Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! ... Oct 27 09:28:07.140 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.140 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! ... Oct 27 09:28:07.140 INFO kablam! 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} Oct 27 09:28:07.140 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.140 INFO kablam! Oct 27 09:28:07.140 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.140 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.140 INFO kablam! | Oct 27 09:28:07.140 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.140 INFO kablam! ... Oct 27 09:28:07.140 INFO kablam! 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, Oct 27 09:28:07.141 INFO kablam! | ------------------------------------------------------- in this macro invocation Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:169:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 169 | ///Confirm that we can construct objects as expected Oct 27 09:28:07.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:171:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 171 | ///Load up a few examples to test parsing Oct 27 09:28:07.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:173:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 173 | ///Test parsing a single string Oct 27 09:28:07.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:175:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 175 | ///Empty array Oct 27 09:28:07.141 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:177:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 177 | ///array of 1 string Oct 27 09:28:07.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:179:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 179 | ///Array w/ two strings Oct 27 09:28:07.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:188:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 188 | ///A more complex test with an object, array, empty object, numbers, strings, bools, and whitespace galore Oct 27 09:28:07.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:197:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 197 | /// Oct 27 09:28:07.141 INFO kablam! | ^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.141 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.141 INFO kablam! --> main.rs:206:5 Oct 27 09:28:07.141 INFO kablam! | Oct 27 09:28:07.141 INFO kablam! 206 | ///Run tests Oct 27 09:28:07.141 INFO kablam! | ^^^^^^^^^^^^ Oct 27 09:28:07.141 INFO kablam! Oct 27 09:28:07.235 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.235 INFO kablam! --> main.rs:86:51 Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.235 INFO kablam! 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, Oct 27 09:28:07.235 INFO kablam! | ^^^^^ Oct 27 09:28:07.235 INFO kablam! ... Oct 27 09:28:07.235 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.235 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.235 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 09:28:07.235 INFO kablam! Oct 27 09:28:07.235 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.235 INFO kablam! --> main.rs:87:74 Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.235 INFO kablam! 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, Oct 27 09:28:07.235 INFO kablam! | ^^^^^ Oct 27 09:28:07.235 INFO kablam! ... Oct 27 09:28:07.235 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.235 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.235 INFO kablam! Oct 27 09:28:07.235 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.235 INFO kablam! --> main.rs:91:82 Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.235 INFO kablam! 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, Oct 27 09:28:07.235 INFO kablam! | ^^^^^ Oct 27 09:28:07.235 INFO kablam! ... Oct 27 09:28:07.235 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.235 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.235 INFO kablam! Oct 27 09:28:07.235 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.235 INFO kablam! --> main.rs:94:83 Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.235 INFO kablam! 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, Oct 27 09:28:07.235 INFO kablam! | ^^^^^ Oct 27 09:28:07.235 INFO kablam! ... Oct 27 09:28:07.235 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.235 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.235 INFO kablam! Oct 27 09:28:07.235 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.235 INFO kablam! --> main.rs:86:51 Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.235 INFO kablam! 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, Oct 27 09:28:07.235 INFO kablam! | ^^^^^ Oct 27 09:28:07.235 INFO kablam! ... Oct 27 09:28:07.235 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.235 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.235 INFO kablam! Oct 27 09:28:07.235 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.235 INFO kablam! --> main.rs:87:74 Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.235 INFO kablam! 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, Oct 27 09:28:07.235 INFO kablam! | ^^^^^ Oct 27 09:28:07.235 INFO kablam! ... Oct 27 09:28:07.235 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.235 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.235 INFO kablam! Oct 27 09:28:07.235 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.235 INFO kablam! --> main.rs:91:82 Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.235 INFO kablam! 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, Oct 27 09:28:07.235 INFO kablam! | ^^^^^ Oct 27 09:28:07.235 INFO kablam! ... Oct 27 09:28:07.235 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.235 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.235 INFO kablam! Oct 27 09:28:07.235 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.235 INFO kablam! --> main.rs:94:83 Oct 27 09:28:07.235 INFO kablam! | Oct 27 09:28:07.236 INFO kablam! 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, Oct 27 09:28:07.236 INFO kablam! | ^^^^^ Oct 27 09:28:07.236 INFO kablam! ... Oct 27 09:28:07.236 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.236 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.236 INFO kablam! Oct 27 09:28:07.349 INFO kablam! warning: unused macro definition Oct 27 09:28:07.349 INFO kablam! --> main.rs:1:1 Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! 1 | macro_rules! TODO { () => (unreachable!()) } Oct 27 09:28:07.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 27 09:28:07.349 INFO kablam! Oct 27 09:28:07.349 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.349 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.349 INFO kablam! ... Oct 27 09:28:07.349 INFO kablam! 115 | '}' | ']' => PopObject!(), Oct 27 09:28:07.349 INFO kablam! | ------------ in this macro invocation Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! = note: #[warn(unused_doc_comments)] on by default Oct 27 09:28:07.349 INFO kablam! Oct 27 09:28:07.349 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.349 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.349 INFO kablam! ... Oct 27 09:28:07.349 INFO kablam! 120 | ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, Oct 27 09:28:07.349 INFO kablam! | ----------------------------------- in this macro invocation Oct 27 09:28:07.349 INFO kablam! Oct 27 09:28:07.349 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.349 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.349 INFO kablam! ... Oct 27 09:28:07.349 INFO kablam! 124 | ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, Oct 27 09:28:07.349 INFO kablam! | ------------------------------------ in this macro invocation Oct 27 09:28:07.349 INFO kablam! Oct 27 09:28:07.349 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.349 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.349 INFO kablam! ... Oct 27 09:28:07.349 INFO kablam! 128 | '}' | ']' => PopObject!(), Oct 27 09:28:07.349 INFO kablam! | ------------ in this macro invocation Oct 27 09:28:07.349 INFO kablam! Oct 27 09:28:07.349 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.349 INFO kablam! --> main.rs:134:25 Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! 134 | ///invalid numbers can get past here still, needs to be fixed TODO Oct 27 09:28:07.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.349 INFO kablam! Oct 27 09:28:07.349 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.349 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.349 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.349 INFO kablam! ... Oct 27 09:28:07.349 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.349 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.349 INFO kablam! Oct 27 09:28:07.349 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.349 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.349 INFO kablam! | Oct 27 09:28:07.349 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! ... Oct 27 09:28:07.350 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.350 INFO kablam! | ------------- in this macro invocation Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! ... Oct 27 09:28:07.350 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.350 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! ... Oct 27 09:28:07.350 INFO kablam! 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} Oct 27 09:28:07.350 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:89:25 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! ... Oct 27 09:28:07.350 INFO kablam! 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, Oct 27 09:28:07.350 INFO kablam! | ------------------------------------------------------- in this macro invocation Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:169:5 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 169 | ///Confirm that we can construct objects as expected Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:171:5 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 171 | ///Load up a few examples to test parsing Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:173:5 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 173 | ///Test parsing a single string Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:175:5 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 175 | ///Empty array Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:177:5 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 177 | ///array of 1 string Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:179:5 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 179 | ///Array w/ two strings Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:188:5 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 188 | ///A more complex test with an object, array, empty object, numbers, strings, bools, and whitespace galore Oct 27 09:28:07.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:197:5 Oct 27 09:28:07.350 INFO kablam! | Oct 27 09:28:07.350 INFO kablam! 197 | /// Oct 27 09:28:07.350 INFO kablam! | ^^^ Oct 27 09:28:07.350 INFO kablam! Oct 27 09:28:07.350 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:07.350 INFO kablam! --> main.rs:206:5 Oct 27 09:28:07.351 INFO kablam! | Oct 27 09:28:07.351 INFO kablam! 206 | ///Run tests Oct 27 09:28:07.351 INFO kablam! | ^^^^^^^^^^^^ Oct 27 09:28:07.351 INFO kablam! Oct 27 09:28:07.429 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.429 INFO kablam! --> main.rs:86:51 Oct 27 09:28:07.429 INFO kablam! | Oct 27 09:28:07.429 INFO kablam! 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, Oct 27 09:28:07.429 INFO kablam! | ^^^^^ Oct 27 09:28:07.429 INFO kablam! ... Oct 27 09:28:07.429 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.429 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.429 INFO kablam! | Oct 27 09:28:07.429 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 09:28:07.429 INFO kablam! Oct 27 09:28:07.429 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.429 INFO kablam! --> main.rs:87:74 Oct 27 09:28:07.429 INFO kablam! | Oct 27 09:28:07.429 INFO kablam! 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, Oct 27 09:28:07.430 INFO kablam! | ^^^^^ Oct 27 09:28:07.430 INFO kablam! ... Oct 27 09:28:07.430 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.430 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.430 INFO kablam! Oct 27 09:28:07.430 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.430 INFO kablam! --> main.rs:91:82 Oct 27 09:28:07.430 INFO kablam! | Oct 27 09:28:07.430 INFO kablam! 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, Oct 27 09:28:07.430 INFO kablam! | ^^^^^ Oct 27 09:28:07.430 INFO kablam! ... Oct 27 09:28:07.430 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.432 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.432 INFO kablam! Oct 27 09:28:07.432 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.432 INFO kablam! --> main.rs:94:83 Oct 27 09:28:07.432 INFO kablam! | Oct 27 09:28:07.432 INFO kablam! 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, Oct 27 09:28:07.432 INFO kablam! | ^^^^^ Oct 27 09:28:07.432 INFO kablam! ... Oct 27 09:28:07.432 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:07.432 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.432 INFO kablam! Oct 27 09:28:07.432 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.432 INFO kablam! --> main.rs:86:51 Oct 27 09:28:07.432 INFO kablam! | Oct 27 09:28:07.432 INFO kablam! 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, Oct 27 09:28:07.432 INFO kablam! | ^^^^^ Oct 27 09:28:07.432 INFO kablam! ... Oct 27 09:28:07.432 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.432 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.432 INFO kablam! Oct 27 09:28:07.432 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.432 INFO kablam! --> main.rs:87:74 Oct 27 09:28:07.432 INFO kablam! | Oct 27 09:28:07.432 INFO kablam! 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, Oct 27 09:28:07.432 INFO kablam! | ^^^^^ Oct 27 09:28:07.432 INFO kablam! ... Oct 27 09:28:07.432 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.432 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.432 INFO kablam! Oct 27 09:28:07.432 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.432 INFO kablam! --> main.rs:91:82 Oct 27 09:28:07.432 INFO kablam! | Oct 27 09:28:07.432 INFO kablam! 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, Oct 27 09:28:07.432 INFO kablam! | ^^^^^ Oct 27 09:28:07.432 INFO kablam! ... Oct 27 09:28:07.432 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.432 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.432 INFO kablam! Oct 27 09:28:07.432 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:07.432 INFO kablam! --> main.rs:94:83 Oct 27 09:28:07.432 INFO kablam! | Oct 27 09:28:07.432 INFO kablam! 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, Oct 27 09:28:07.432 INFO kablam! | ^^^^^ Oct 27 09:28:07.432 INFO kablam! ... Oct 27 09:28:07.432 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:07.432 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:07.432 INFO kablam! Oct 27 09:28:07.503 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.46s Oct 27 09:28:07.505 INFO kablam! su: No module specific data is present Oct 27 09:28:08.215 INFO running `"docker" "rm" "-f" "21040d8fb19f1ae2eb3e1d57bb4c50c6dffd2a4d550494a3ac11300db00406df"` Oct 27 09:28:08.459 INFO blam! 21040d8fb19f1ae2eb3e1d57bb4c50c6dffd2a4d550494a3ac11300db00406df