Oct 27 09:27:59.215 INFO checking TheToolbox/json-toy against try#19f01b935b91481fd445b16b533d2f87661bf12e for pr-55192-2 Oct 27 09:27:59.215 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-4/try#19f01b935b91481fd445b16b533d2f87661bf12e:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-4/pr-55192-2/try#19f01b935b91481fd445b16b533d2f87661bf12e:/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 +19f01b935b91481fd445b16b533d2f87661bf12e-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:27:59.651 INFO blam! c78f3e52604db4f8ed5b8b24030ca61185446633ec3857c367a0f0e639a50467 Oct 27 09:27:59.663 INFO running `"docker" "start" "-a" "c78f3e52604db4f8ed5b8b24030ca61185446633ec3857c367a0f0e639a50467"` Oct 27 09:28:01.217 INFO kablam! usermod: no changes Oct 27 09:28:01.295 INFO kablam! Checking json-toy v0.1.0 (/source) Oct 27 09:28:02.257 INFO kablam! warning: unused macro definition Oct 27 09:28:02.257 INFO kablam! --> main.rs:1:1 Oct 27 09:28:02.258 INFO kablam! | Oct 27 09:28:02.258 INFO kablam! 1 | macro_rules! TODO { () => (unreachable!()) } Oct 27 09:28:02.258 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.259 INFO kablam! | Oct 27 09:28:02.259 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 27 09:28:02.260 INFO kablam! Oct 27 09:28:02.260 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.261 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.261 INFO kablam! | Oct 27 09:28:02.261 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.261 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.261 INFO kablam! ... Oct 27 09:28:02.261 INFO kablam! 115 | '}' | ']' => PopObject!(), Oct 27 09:28:02.261 INFO kablam! | ------------ in this macro invocation Oct 27 09:28:02.262 INFO kablam! | Oct 27 09:28:02.262 INFO kablam! = note: #[warn(unused_doc_comments)] on by default Oct 27 09:28:02.262 INFO kablam! Oct 27 09:28:02.262 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.262 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.262 INFO kablam! | Oct 27 09:28:02.262 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.262 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.262 INFO kablam! ... Oct 27 09:28:02.263 INFO kablam! 120 | ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, Oct 27 09:28:02.263 INFO kablam! | ----------------------------------- in this macro invocation Oct 27 09:28:02.263 INFO kablam! Oct 27 09:28:02.263 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.263 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.263 INFO kablam! | Oct 27 09:28:02.263 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.263 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.263 INFO kablam! ... Oct 27 09:28:02.264 INFO kablam! 124 | ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, Oct 27 09:28:02.264 INFO kablam! | ------------------------------------ in this macro invocation Oct 27 09:28:02.264 INFO kablam! Oct 27 09:28:02.264 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.264 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.264 INFO kablam! | Oct 27 09:28:02.264 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.264 INFO kablam! ... Oct 27 09:28:02.264 INFO kablam! 128 | '}' | ']' => PopObject!(), Oct 27 09:28:02.264 INFO kablam! | ------------ in this macro invocation Oct 27 09:28:02.265 INFO kablam! Oct 27 09:28:02.265 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.265 INFO kablam! --> main.rs:134:25 Oct 27 09:28:02.265 INFO kablam! | Oct 27 09:28:02.265 INFO kablam! 134 | ///invalid numbers can get past here still, needs to be fixed TODO Oct 27 09:28:02.265 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.266 INFO kablam! Oct 27 09:28:02.266 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.266 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.266 INFO kablam! | Oct 27 09:28:02.266 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.266 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.266 INFO kablam! ... Oct 27 09:28:02.266 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.266 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.267 INFO kablam! Oct 27 09:28:02.267 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.267 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.267 INFO kablam! | Oct 27 09:28:02.267 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.267 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.267 INFO kablam! ... Oct 27 09:28:02.267 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.267 INFO kablam! | ------------- in this macro invocation Oct 27 09:28:02.267 INFO kablam! Oct 27 09:28:02.268 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.268 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.268 INFO kablam! | Oct 27 09:28:02.268 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.268 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.268 INFO kablam! ... Oct 27 09:28:02.268 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.268 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.268 INFO kablam! Oct 27 09:28:02.269 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.269 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.269 INFO kablam! | Oct 27 09:28:02.269 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.269 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.269 INFO kablam! ... Oct 27 09:28:02.269 INFO kablam! 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} Oct 27 09:28:02.269 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.270 INFO kablam! Oct 27 09:28:02.270 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.270 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.270 INFO kablam! | Oct 27 09:28:02.270 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.270 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.270 INFO kablam! ... Oct 27 09:28:02.270 INFO kablam! 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, Oct 27 09:28:02.272 INFO kablam! | ------------------------------------------------------- in this macro invocation Oct 27 09:28:02.272 INFO kablam! Oct 27 09:28:02.272 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.272 INFO kablam! --> main.rs:169:5 Oct 27 09:28:02.272 INFO kablam! | Oct 27 09:28:02.272 INFO kablam! 169 | ///Confirm that we can construct objects as expected Oct 27 09:28:02.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.273 INFO kablam! Oct 27 09:28:02.273 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.273 INFO kablam! --> main.rs:171:5 Oct 27 09:28:02.273 INFO kablam! | Oct 27 09:28:02.273 INFO kablam! 171 | ///Load up a few examples to test parsing Oct 27 09:28:02.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.273 INFO kablam! Oct 27 09:28:02.273 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.273 INFO kablam! --> main.rs:173:5 Oct 27 09:28:02.273 INFO kablam! | Oct 27 09:28:02.273 INFO kablam! 173 | ///Test parsing a single string Oct 27 09:28:02.273 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.273 INFO kablam! Oct 27 09:28:02.273 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.273 INFO kablam! --> main.rs:175:5 Oct 27 09:28:02.273 INFO kablam! | Oct 27 09:28:02.273 INFO kablam! 175 | ///Empty array Oct 27 09:28:02.273 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 09:28:02.273 INFO kablam! Oct 27 09:28:02.274 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.274 INFO kablam! --> main.rs:177:5 Oct 27 09:28:02.274 INFO kablam! | Oct 27 09:28:02.274 INFO kablam! 177 | ///array of 1 string Oct 27 09:28:02.274 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.274 INFO kablam! Oct 27 09:28:02.274 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.274 INFO kablam! --> main.rs:179:5 Oct 27 09:28:02.274 INFO kablam! | Oct 27 09:28:02.274 INFO kablam! 179 | ///Array w/ two strings Oct 27 09:28:02.274 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.274 INFO kablam! Oct 27 09:28:02.279 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.279 INFO kablam! --> main.rs:188:5 Oct 27 09:28:02.279 INFO kablam! | Oct 27 09:28:02.279 INFO kablam! 188 | ///A more complex test with an object, array, empty object, numbers, strings, bools, and whitespace galore Oct 27 09:28:02.279 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.279 INFO kablam! Oct 27 09:28:02.279 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.279 INFO kablam! --> main.rs:197:5 Oct 27 09:28:02.279 INFO kablam! | Oct 27 09:28:02.279 INFO kablam! 197 | /// Oct 27 09:28:02.279 INFO kablam! | ^^^ Oct 27 09:28:02.279 INFO kablam! Oct 27 09:28:02.279 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.279 INFO kablam! --> main.rs:206:5 Oct 27 09:28:02.279 INFO kablam! | Oct 27 09:28:02.279 INFO kablam! 206 | ///Run tests Oct 27 09:28:02.279 INFO kablam! | ^^^^^^^^^^^^ Oct 27 09:28:02.279 INFO kablam! Oct 27 09:28:02.387 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.387 INFO kablam! --> main.rs:86:51 Oct 27 09:28:02.387 INFO kablam! | Oct 27 09:28:02.387 INFO kablam! 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, Oct 27 09:28:02.387 INFO kablam! | ^^^^^ Oct 27 09:28:02.387 INFO kablam! ... Oct 27 09:28:02.387 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.387 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.387 INFO kablam! | Oct 27 09:28:02.387 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 09:28:02.387 INFO kablam! Oct 27 09:28:02.388 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.388 INFO kablam! --> main.rs:87:74 Oct 27 09:28:02.388 INFO kablam! | Oct 27 09:28:02.388 INFO kablam! 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, Oct 27 09:28:02.388 INFO kablam! | ^^^^^ Oct 27 09:28:02.388 INFO kablam! ... Oct 27 09:28:02.388 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.388 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.388 INFO kablam! Oct 27 09:28:02.388 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.388 INFO kablam! --> main.rs:91:82 Oct 27 09:28:02.389 INFO kablam! | Oct 27 09:28:02.389 INFO kablam! 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, Oct 27 09:28:02.389 INFO kablam! | ^^^^^ Oct 27 09:28:02.389 INFO kablam! ... Oct 27 09:28:02.389 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.389 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.389 INFO kablam! Oct 27 09:28:02.390 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.390 INFO kablam! --> main.rs:94:83 Oct 27 09:28:02.390 INFO kablam! | Oct 27 09:28:02.390 INFO kablam! 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, Oct 27 09:28:02.390 INFO kablam! | ^^^^^ Oct 27 09:28:02.390 INFO kablam! ... Oct 27 09:28:02.391 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.391 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.391 INFO kablam! Oct 27 09:28:02.391 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.391 INFO kablam! --> main.rs:86:51 Oct 27 09:28:02.392 INFO kablam! | Oct 27 09:28:02.392 INFO kablam! 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, Oct 27 09:28:02.392 INFO kablam! | ^^^^^ Oct 27 09:28:02.392 INFO kablam! ... Oct 27 09:28:02.392 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.392 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.393 INFO kablam! Oct 27 09:28:02.393 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.393 INFO kablam! --> main.rs:87:74 Oct 27 09:28:02.393 INFO kablam! | Oct 27 09:28:02.393 INFO kablam! 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, Oct 27 09:28:02.393 INFO kablam! | ^^^^^ Oct 27 09:28:02.394 INFO kablam! ... Oct 27 09:28:02.394 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.394 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.394 INFO kablam! Oct 27 09:28:02.394 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.395 INFO kablam! --> main.rs:91:82 Oct 27 09:28:02.395 INFO kablam! | Oct 27 09:28:02.395 INFO kablam! 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, Oct 27 09:28:02.395 INFO kablam! | ^^^^^ Oct 27 09:28:02.395 INFO kablam! ... Oct 27 09:28:02.395 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.396 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.396 INFO kablam! Oct 27 09:28:02.396 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.396 INFO kablam! --> main.rs:94:83 Oct 27 09:28:02.396 INFO kablam! | Oct 27 09:28:02.397 INFO kablam! 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, Oct 27 09:28:02.397 INFO kablam! | ^^^^^ Oct 27 09:28:02.397 INFO kablam! ... Oct 27 09:28:02.397 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.397 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.397 INFO kablam! Oct 27 09:28:02.558 INFO kablam! warning: unused macro definition Oct 27 09:28:02.558 INFO kablam! --> main.rs:1:1 Oct 27 09:28:02.558 INFO kablam! | Oct 27 09:28:02.558 INFO kablam! 1 | macro_rules! TODO { () => (unreachable!()) } Oct 27 09:28:02.558 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.559 INFO kablam! | Oct 27 09:28:02.559 INFO kablam! = note: #[warn(unused_macros)] on by default Oct 27 09:28:02.559 INFO kablam! Oct 27 09:28:02.559 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.559 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.559 INFO kablam! | Oct 27 09:28:02.560 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.560 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.560 INFO kablam! ... Oct 27 09:28:02.560 INFO kablam! 115 | '}' | ']' => PopObject!(), Oct 27 09:28:02.560 INFO kablam! | ------------ in this macro invocation Oct 27 09:28:02.560 INFO kablam! | Oct 27 09:28:02.561 INFO kablam! = note: #[warn(unused_doc_comments)] on by default Oct 27 09:28:02.561 INFO kablam! Oct 27 09:28:02.561 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.561 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.561 INFO kablam! | Oct 27 09:28:02.561 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.562 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.562 INFO kablam! ... Oct 27 09:28:02.562 INFO kablam! 120 | ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, Oct 27 09:28:02.562 INFO kablam! | ----------------------------------- in this macro invocation Oct 27 09:28:02.562 INFO kablam! Oct 27 09:28:02.563 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.563 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.563 INFO kablam! | Oct 27 09:28:02.563 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.563 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.564 INFO kablam! ... Oct 27 09:28:02.564 INFO kablam! 124 | ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, Oct 27 09:28:02.564 INFO kablam! | ------------------------------------ in this macro invocation Oct 27 09:28:02.564 INFO kablam! Oct 27 09:28:02.564 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.565 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.565 INFO kablam! | Oct 27 09:28:02.565 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.566 INFO kablam! ... Oct 27 09:28:02.566 INFO kablam! 128 | '}' | ']' => PopObject!(), Oct 27 09:28:02.566 INFO kablam! | ------------ in this macro invocation Oct 27 09:28:02.566 INFO kablam! Oct 27 09:28:02.566 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.567 INFO kablam! --> main.rs:134:25 Oct 27 09:28:02.567 INFO kablam! | Oct 27 09:28:02.567 INFO kablam! 134 | ///invalid numbers can get past here still, needs to be fixed TODO Oct 27 09:28:02.567 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.567 INFO kablam! Oct 27 09:28:02.568 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.568 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.568 INFO kablam! | Oct 27 09:28:02.568 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.568 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.568 INFO kablam! ... Oct 27 09:28:02.568 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.568 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.568 INFO kablam! Oct 27 09:28:02.568 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.568 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.568 INFO kablam! | Oct 27 09:28:02.568 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.568 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.568 INFO kablam! ... Oct 27 09:28:02.568 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.568 INFO kablam! | ------------- in this macro invocation Oct 27 09:28:02.568 INFO kablam! Oct 27 09:28:02.568 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.568 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.568 INFO kablam! | Oct 27 09:28:02.568 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.568 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.568 INFO kablam! ... Oct 27 09:28:02.568 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.568 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.568 INFO kablam! Oct 27 09:28:02.568 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.568 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.568 INFO kablam! | Oct 27 09:28:02.568 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.568 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.568 INFO kablam! ... Oct 27 09:28:02.568 INFO kablam! 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} Oct 27 09:28:02.568 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.568 INFO kablam! Oct 27 09:28:02.569 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.569 INFO kablam! --> main.rs:89:25 Oct 27 09:28:02.569 INFO kablam! | Oct 27 09:28:02.569 INFO kablam! 89 | ///Possible that this will unwrap to None, needs evaluation Oct 27 09:28:02.569 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.569 INFO kablam! ... Oct 27 09:28:02.569 INFO kablam! 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, Oct 27 09:28:02.569 INFO kablam! | ------------------------------------------------------- in this macro invocation Oct 27 09:28:02.569 INFO kablam! Oct 27 09:28:02.569 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.569 INFO kablam! --> main.rs:169:5 Oct 27 09:28:02.569 INFO kablam! | Oct 27 09:28:02.569 INFO kablam! 169 | ///Confirm that we can construct objects as expected Oct 27 09:28:02.569 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.569 INFO kablam! Oct 27 09:28:02.569 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.569 INFO kablam! --> main.rs:171:5 Oct 27 09:28:02.569 INFO kablam! | Oct 27 09:28:02.569 INFO kablam! 171 | ///Load up a few examples to test parsing Oct 27 09:28:02.569 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.569 INFO kablam! Oct 27 09:28:02.569 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.569 INFO kablam! --> main.rs:173:5 Oct 27 09:28:02.569 INFO kablam! | Oct 27 09:28:02.569 INFO kablam! 173 | ///Test parsing a single string Oct 27 09:28:02.569 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.569 INFO kablam! Oct 27 09:28:02.569 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.569 INFO kablam! --> main.rs:175:5 Oct 27 09:28:02.569 INFO kablam! | Oct 27 09:28:02.569 INFO kablam! 175 | ///Empty array Oct 27 09:28:02.569 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 09:28:02.569 INFO kablam! Oct 27 09:28:02.569 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.569 INFO kablam! --> main.rs:177:5 Oct 27 09:28:02.569 INFO kablam! | Oct 27 09:28:02.569 INFO kablam! 177 | ///array of 1 string Oct 27 09:28:02.569 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.569 INFO kablam! Oct 27 09:28:02.569 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.569 INFO kablam! --> main.rs:179:5 Oct 27 09:28:02.570 INFO kablam! | Oct 27 09:28:02.570 INFO kablam! 179 | ///Array w/ two strings Oct 27 09:28:02.570 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.570 INFO kablam! Oct 27 09:28:02.570 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.570 INFO kablam! --> main.rs:188:5 Oct 27 09:28:02.570 INFO kablam! | Oct 27 09:28:02.570 INFO kablam! 188 | ///A more complex test with an object, array, empty object, numbers, strings, bools, and whitespace galore Oct 27 09:28:02.570 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 09:28:02.570 INFO kablam! Oct 27 09:28:02.570 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.570 INFO kablam! --> main.rs:197:5 Oct 27 09:28:02.570 INFO kablam! | Oct 27 09:28:02.570 INFO kablam! 197 | /// Oct 27 09:28:02.570 INFO kablam! | ^^^ Oct 27 09:28:02.570 INFO kablam! Oct 27 09:28:02.570 INFO kablam! warning: doc comment not used by rustdoc Oct 27 09:28:02.570 INFO kablam! --> main.rs:206:5 Oct 27 09:28:02.570 INFO kablam! | Oct 27 09:28:02.570 INFO kablam! 206 | ///Run tests Oct 27 09:28:02.570 INFO kablam! | ^^^^^^^^^^^^ Oct 27 09:28:02.570 INFO kablam! Oct 27 09:28:02.708 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.708 INFO kablam! --> main.rs:86:51 Oct 27 09:28:02.708 INFO kablam! | Oct 27 09:28:02.708 INFO kablam! 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, Oct 27 09:28:02.708 INFO kablam! | ^^^^^ Oct 27 09:28:02.708 INFO kablam! ... Oct 27 09:28:02.708 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.708 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.708 INFO kablam! | Oct 27 09:28:02.709 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 09:28:02.709 INFO kablam! Oct 27 09:28:02.709 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.709 INFO kablam! --> main.rs:87:74 Oct 27 09:28:02.709 INFO kablam! | Oct 27 09:28:02.709 INFO kablam! 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, Oct 27 09:28:02.709 INFO kablam! | ^^^^^ Oct 27 09:28:02.709 INFO kablam! ... Oct 27 09:28:02.709 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.709 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.709 INFO kablam! Oct 27 09:28:02.709 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.709 INFO kablam! --> main.rs:91:82 Oct 27 09:28:02.709 INFO kablam! | Oct 27 09:28:02.709 INFO kablam! 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, Oct 27 09:28:02.710 INFO kablam! | ^^^^^ Oct 27 09:28:02.710 INFO kablam! ... Oct 27 09:28:02.710 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.710 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.710 INFO kablam! Oct 27 09:28:02.710 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.710 INFO kablam! --> main.rs:94:83 Oct 27 09:28:02.710 INFO kablam! | Oct 27 09:28:02.710 INFO kablam! 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, Oct 27 09:28:02.710 INFO kablam! | ^^^^^ Oct 27 09:28:02.710 INFO kablam! ... Oct 27 09:28:02.710 INFO kablam! 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, Oct 27 09:28:02.710 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.710 INFO kablam! Oct 27 09:28:02.710 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.711 INFO kablam! --> main.rs:86:51 Oct 27 09:28:02.711 INFO kablam! | Oct 27 09:28:02.711 INFO kablam! 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, Oct 27 09:28:02.711 INFO kablam! | ^^^^^ Oct 27 09:28:02.711 INFO kablam! ... Oct 27 09:28:02.711 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.711 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.711 INFO kablam! Oct 27 09:28:02.711 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.711 INFO kablam! --> main.rs:87:74 Oct 27 09:28:02.711 INFO kablam! | Oct 27 09:28:02.711 INFO kablam! 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, Oct 27 09:28:02.711 INFO kablam! | ^^^^^ Oct 27 09:28:02.711 INFO kablam! ... Oct 27 09:28:02.711 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.711 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.711 INFO kablam! Oct 27 09:28:02.711 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.711 INFO kablam! --> main.rs:91:82 Oct 27 09:28:02.711 INFO kablam! | Oct 27 09:28:02.711 INFO kablam! 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, Oct 27 09:28:02.711 INFO kablam! | ^^^^^ Oct 27 09:28:02.712 INFO kablam! ... Oct 27 09:28:02.712 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.712 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.712 INFO kablam! Oct 27 09:28:02.712 INFO kablam! warning: value assigned to `state` is never read Oct 27 09:28:02.712 INFO kablam! --> main.rs:94:83 Oct 27 09:28:02.712 INFO kablam! | Oct 27 09:28:02.712 INFO kablam! 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, Oct 27 09:28:02.712 INFO kablam! | ^^^^^ Oct 27 09:28:02.712 INFO kablam! ... Oct 27 09:28:02.712 INFO kablam! 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } Oct 27 09:28:02.712 INFO kablam! | --------------------------------------------------------------------- in this macro invocation Oct 27 09:28:02.712 INFO kablam! Oct 27 09:28:02.779 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.54s Oct 27 09:28:02.794 INFO kablam! su: No module specific data is present Oct 27 09:28:03.516 INFO running `"docker" "rm" "-f" "c78f3e52604db4f8ed5b8b24030ca61185446633ec3857c367a0f0e639a50467"` Oct 27 09:28:03.813 INFO blam! c78f3e52604db4f8ed5b8b24030ca61185446633ec3857c367a0f0e639a50467