[INFO] cloning repository https://github.com/mickaelvieira/rustybot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mickaelvieira/rustybot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickaelvieira%2Frustybot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickaelvieira%2Frustybot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a4571649879d824cacf9bb0e04aded07c280704 [INFO] checking mickaelvieira/rustybot against try#8b72f65b805cbe4c261de45030d663f524f27376 for pr-78991 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickaelvieira%2Frustybot" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mickaelvieira/rustybot on toolchain 8b72f65b805cbe4c261de45030d663f524f27376 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mickaelvieira/rustybot [INFO] finished tweaking git repo https://github.com/mickaelvieira/rustybot [INFO] tweaked toml for git repo https://github.com/mickaelvieira/rustybot written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/mickaelvieira/rustybot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded html5ever-atoms v0.1.3 [INFO] [stderr] Downloaded rc v0.1.1 [INFO] [stderr] Downloaded string_cache v0.3.0 [INFO] [stderr] Downloaded html5ever v0.9.0 [INFO] [stderr] Downloaded kuchiki v0.4.1 [INFO] [stderr] Downloaded selectors v0.14.0 [INFO] [stderr] Downloaded cssparser v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7ce32578ed9105d64389f2e3253e7b8c67a68f5b60e35a99527f22a38ae08a3 [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" "f7ce32578ed9105d64389f2e3253e7b8c67a68f5b60e35a99527f22a38ae08a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7ce32578ed9105d64389f2e3253e7b8c67a68f5b60e35a99527f22a38ae08a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ce32578ed9105d64389f2e3253e7b8c67a68f5b60e35a99527f22a38ae08a3", kill_on_drop: false }` [INFO] [stdout] f7ce32578ed9105d64389f2e3253e7b8c67a68f5b60e35a99527f22a38ae08a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dc9e8a8e7f4cf7141663585bd3cf0398c7ada3ca9fc11680a93f7e8ae1b9d17 [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" "7dc9e8a8e7f4cf7141663585bd3cf0398c7ada3ca9fc11680a93f7e8ae1b9d17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Checking siphasher v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling rustc-serialize v0.3.23 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking rc v0.1.1 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking utf-8 v0.6.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking url v1.4.0 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking debug_unreachable v0.1.1 [INFO] [stderr] Compiling syn v0.9.2 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking futf v0.1.3 [INFO] [stderr] Checking phf_shared v0.7.21 [INFO] [stderr] Checking phf v0.7.21 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stdout] error[E0713]: borrow may still be in use when destructor runs [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/url-1.4.0/src/form_urlencoded.rs:246:40 [INFO] [stdout] | [INFO] [stdout] 244 | impl<'a> Target for ::UrlQuery<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 245 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } [INFO] [stdout] 246 | fn finish(self) -> &'a mut ::Url { self.url } [INFO] [stdout] | ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait [INFO] [stdout] | | [INFO] [stdout] | returning this value requires that `*self.url` is borrowed for `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0713`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/constant.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | named!(and_binary -> (BinOp, ConstExpr), tuple!(binop, const_expr)); [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, (op::BinOp, constant::ConstExpr)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/constant.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / named!(expr_unary -> ConstExpr, do_parse!( [INFO] [stdout] 66 | | operator: unop >> [INFO] [stdout] 67 | | operand: const_expr >> [INFO] [stdout] 68 | | (ConstExpr::Unary(operator, Box::new(operand))) [INFO] [stdout] 69 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/constant.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | named!(expr_unary -> ConstExpr, do_parse!( [INFO] [stdout] | - ---------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 66 | | operator: unop >> [INFO] [stdout] 67 | | operand: const_expr >> [INFO] [stdout] 68 | | (ConstExpr::Unary(operator, Box::new(operand))) [INFO] [stdout] 69 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, constant::ConstExpr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/constant.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | named!(expr_lit -> ConstExpr, map!(lit, ConstExpr::Lit)); [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, constant::ConstExpr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/data.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / named!(variant -> Variant, do_parse!( [INFO] [stdout] 75 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 76 | | id: ident >> [INFO] [stdout] 77 | | data: alt!( [INFO] [stdout] ... | [INFO] [stdout] 90 | | }) [INFO] [stdout] 91 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, data::Variant>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/data.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / named!(struct_field -> Field, do_parse!( [INFO] [stdout] 108 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 109 | | vis: visibility >> [INFO] [stdout] 110 | | id: ident >> [INFO] [stdout] ... | [INFO] [stdout] 118 | | }) [INFO] [stdout] 119 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/data.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / named!(struct_field -> Field, do_parse!( [INFO] [stdout] 108 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 109 | | vis: visibility >> [INFO] [stdout] 110 | | id: ident >> [INFO] [stdout] ... | [INFO] [stdout] 118 | | }) [INFO] [stdout] 119 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, data::Field>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/data.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / named!(tuple_field -> Field, do_parse!( [INFO] [stdout] 122 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 123 | | vis: visibility >> [INFO] [stdout] 124 | | ty: ty >> [INFO] [stdout] ... | [INFO] [stdout] 130 | | }) [INFO] [stdout] 131 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/data.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / named!(tuple_field -> Field, do_parse!( [INFO] [stdout] 122 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 123 | | vis: visibility >> [INFO] [stdout] 124 | | ty: ty >> [INFO] [stdout] ... | [INFO] [stdout] 130 | | }) [INFO] [stdout] 131 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, data::Field>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 408 | named!(expr_mac -> Expr, map!(mac, Expr::Mac)); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | named!(and_binary -> (BinOp, Expr), tuple!(binop, expr)); [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, (op::BinOp, expr::Expr)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | / named!(expr_unary -> Expr, do_parse!( [INFO] [stdout] 464 | | operator: unop >> [INFO] [stdout] 465 | | operand: expr >> [INFO] [stdout] 466 | | (Expr::Unary(operator, Box::new(operand))) [INFO] [stdout] 467 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | named!(expr_unary -> Expr, do_parse!( [INFO] [stdout] | - ---------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 464 | | operator: unop >> [INFO] [stdout] 465 | | operand: expr >> [INFO] [stdout] 466 | | (Expr::Unary(operator, Box::new(operand))) [INFO] [stdout] 467 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | named!(expr_lit -> Expr, map!(lit, Expr::Lit)); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 477 | named!(and_ascription -> Ty, preceded!(punct!(":"), ty)); [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::Ty>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | / named!(expr_for_loop -> Expr, do_parse!( [INFO] [stdout] 537 | | lbl: option!(terminated!(label, punct!(":"))) >> [INFO] [stdout] 538 | | keyword!("for") >> [INFO] [stdout] 539 | | pat: pat >> [INFO] [stdout] ... | [INFO] [stdout] 543 | | (Expr::ForLoop(Box::new(pat), Box::new(expr), loop_block, lbl)) [INFO] [stdout] 544 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | / named!(expr_closure -> Expr, do_parse!( [INFO] [stdout] 580 | | capture: capture_by >> [INFO] [stdout] 581 | | punct!("|") >> [INFO] [stdout] 582 | | inputs: terminated_list!(punct!(","), closure_arg) >> [INFO] [stdout] ... | [INFO] [stdout] 606 | | )) [INFO] [stdout] 607 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:579:12 [INFO] [stdout] | [INFO] [stdout] 579 | named!(expr_closure -> Expr, do_parse!( [INFO] [stdout] | - ------------ implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 580 | | capture: capture_by >> [INFO] [stdout] 581 | | punct!("|") >> [INFO] [stdout] 582 | | inputs: terminated_list!(punct!(","), closure_arg) >> [INFO] [stdout] ... | [INFO] [stdout] 606 | | )) [INFO] [stdout] 607 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | named!(closure_arg -> FnArg, do_parse!( [INFO] [stdout] | - ----------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 610 | | pat: pat >> [INFO] [stdout] 611 | | ty: option!(preceded!(punct!(":"), ty)) >> [INFO] [stdout] 612 | | (FnArg::Captured(pat, ty.unwrap_or(Ty::Infer))) [INFO] [stdout] 613 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::FnArg>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 615 | / named!(expr_while -> Expr, do_parse!( [INFO] [stdout] 616 | | lbl: option!(terminated!(label, punct!(":"))) >> [INFO] [stdout] 617 | | keyword!("while") >> [INFO] [stdout] 618 | | cond: cond >> [INFO] [stdout] ... | [INFO] [stdout] 632 | | }) [INFO] [stdout] 633 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:653:12 [INFO] [stdout] | [INFO] [stdout] 653 | named!(expr_struct -> Expr, do_parse!( [INFO] [stdout] | - ----------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 654 | | path: path >> [INFO] [stdout] 655 | | punct!("{") >> [INFO] [stdout] 656 | | fields: separated_list!(punct!(","), field_value) >> [INFO] [stdout] ... | [INFO] [stdout] 665 | | (Expr::Struct(path, fields, base.map(Box::new))) [INFO] [stdout] 666 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:668:12 [INFO] [stdout] | [INFO] [stdout] 668 | named!(field_value -> FieldValue, do_parse!( [INFO] [stdout] | - ----------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 669 | | name: ident >> [INFO] [stdout] 670 | | punct!(":") >> [INFO] [stdout] 671 | | value: expr >> [INFO] [stdout] ... | [INFO] [stdout] 675 | | }) [INFO] [stdout] 676 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::FieldValue>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:687:5 [INFO] [stdout] | [INFO] [stdout] 687 | / named!(expr_block -> Expr, do_parse!( [INFO] [stdout] 688 | | rules: block_check_mode >> [INFO] [stdout] 689 | | b: block >> [INFO] [stdout] 690 | | (Expr::Block(rules, Block { [INFO] [stdout] 691 | | stmts: b.stmts, [INFO] [stdout] 692 | | })) [INFO] [stdout] 693 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:687:12 [INFO] [stdout] | [INFO] [stdout] 687 | named!(expr_block -> Expr, do_parse!( [INFO] [stdout] | - ---------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 688 | | rules: block_check_mode >> [INFO] [stdout] 689 | | b: block >> [INFO] [stdout] 690 | | (Expr::Block(rules, Block { [INFO] [stdout] 691 | | stmts: b.stmts, [INFO] [stdout] 692 | | })) [INFO] [stdout] 693 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 695 | named!(expr_range -> Expr, do_parse!( [INFO] [stdout] | - ---------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 696 | | limits: range_limits >> [INFO] [stdout] 697 | | hi: option!(expr) >> [INFO] [stdout] 698 | | (Expr::Range(None, hi.map(Box::new), limits)) [INFO] [stdout] 699 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:707:12 [INFO] [stdout] | [INFO] [stdout] 707 | named!(expr_path -> Expr, map!(qpath, |(qself, path)| Expr::Path(qself, path))); [INFO] [stdout] | -------------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 709 | / named!(expr_addr_of -> Expr, do_parse!( [INFO] [stdout] 710 | | punct!("&") >> [INFO] [stdout] 711 | | mutability: mutability >> [INFO] [stdout] 712 | | expr: expr >> [INFO] [stdout] 713 | | (Expr::AddrOf(mutability, Box::new(expr))) [INFO] [stdout] 714 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 716 | named!(and_assign -> Expr, preceded!(punct!("="), expr)); [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Expr>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:718:12 [INFO] [stdout] | [INFO] [stdout] 718 | named!(and_assign_op -> (BinOp, Expr), tuple!(assign_op, expr)); [INFO] [stdout] | ---------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, (op::BinOp, expr::Expr)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:720:12 [INFO] [stdout] | [INFO] [stdout] 720 | named!(and_field -> Ident, preceded!(punct!("."), ident)); [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ident::Ident>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | named!(and_tup_field -> u64, preceded!(punct!("."), digits)); [INFO] [stdout] | ------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, u64>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:726:12 [INFO] [stdout] | [INFO] [stdout] 726 | named!(and_range -> (RangeLimits, Option), tuple!(range_limits, option!(expr))); [INFO] [stdout] | -------------------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, (expr::RangeLimits, Option)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:756:12 [INFO] [stdout] | [INFO] [stdout] 756 | named!(standalone_stmt -> Stmt, alt!( [INFO] [stdout] | - --------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 757 | | stmt_mac [INFO] [stdout] 758 | | | [INFO] [stdout] 759 | | stmt_local [INFO] [stdout] ... | [INFO] [stdout] 763 | | stmt_expr [INFO] [stdout] 764 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Stmt>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:766:5 [INFO] [stdout] | [INFO] [stdout] 766 | / named!(stmt_mac -> Stmt, do_parse!( [INFO] [stdout] 767 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 768 | | mac: mac >> [INFO] [stdout] 769 | | semi: option!(punct!(";")) >> [INFO] [stdout] ... | [INFO] [stdout] 782 | | }) [INFO] [stdout] 783 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Stmt>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:800:12 [INFO] [stdout] | [INFO] [stdout] 800 | named!(stmt_item -> Stmt, map!(item, |i| Stmt::Item(Box::new(i)))); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Stmt>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:817:12 [INFO] [stdout] | [INFO] [stdout] 817 | named!(stmt_expr -> Stmt, do_parse!( [INFO] [stdout] | - --------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 818 | | e: expr >> [INFO] [stdout] 819 | | semi: option!(punct!(";")) >> [INFO] [stdout] 820 | | (if semi.is_some() { [INFO] [stdout] ... | [INFO] [stdout] 826 | | }) [INFO] [stdout] 827 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Stmt>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:854:12 [INFO] [stdout] | [INFO] [stdout] 854 | named!(pat_mac -> Pat, map!(mac, Pat::Mac)); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:856:12 [INFO] [stdout] | [INFO] [stdout] 856 | named!(pat_wild -> Pat, map!(keyword!("_"), |_| Pat::Wild)); [INFO] [stdout] | ------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:864:5 [INFO] [stdout] | [INFO] [stdout] 864 | / named!(pat_ident -> Pat, do_parse!( [INFO] [stdout] 865 | | mode: option!(keyword!("ref")) >> [INFO] [stdout] 866 | | mutability: mutability >> [INFO] [stdout] 867 | | name: ident >> [INFO] [stdout] ... | [INFO] [stdout] 879 | | )) [INFO] [stdout] 880 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:864:5 [INFO] [stdout] | [INFO] [stdout] 864 | / named!(pat_ident -> Pat, do_parse!( [INFO] [stdout] 865 | | mode: option!(keyword!("ref")) >> [INFO] [stdout] 866 | | mutability: mutability >> [INFO] [stdout] 867 | | name: ident >> [INFO] [stdout] ... | [INFO] [stdout] 879 | | )) [INFO] [stdout] 880 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:882:5 [INFO] [stdout] | [INFO] [stdout] 882 | / named!(pat_tuple_struct -> Pat, do_parse!( [INFO] [stdout] 883 | | path: path >> [INFO] [stdout] 884 | | tuple: pat_tuple_helper >> [INFO] [stdout] 885 | | (Pat::TupleStruct(path, tuple.0, tuple.1)) [INFO] [stdout] 886 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:882:12 [INFO] [stdout] | [INFO] [stdout] 882 | named!(pat_tuple_struct -> Pat, do_parse!( [INFO] [stdout] | - ---------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 883 | | path: path >> [INFO] [stdout] 884 | | tuple: pat_tuple_helper >> [INFO] [stdout] 885 | | (Pat::TupleStruct(path, tuple.0, tuple.1)) [INFO] [stdout] 886 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:888:12 [INFO] [stdout] | [INFO] [stdout] 888 | named!(pat_struct -> Pat, do_parse!( [INFO] [stdout] | - ---------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 889 | | path: path >> [INFO] [stdout] 890 | | punct!("{") >> [INFO] [stdout] 891 | | fields: separated_list!(punct!(","), field_pat) >> [INFO] [stdout] ... | [INFO] [stdout] 898 | | (Pat::Struct(path, fields, more.is_some())) [INFO] [stdout] 899 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:901:5 [INFO] [stdout] | [INFO] [stdout] 901 | / named!(field_pat -> FieldPat, alt!( [INFO] [stdout] 902 | | do_parse!( [INFO] [stdout] 903 | | ident: ident >> [INFO] [stdout] 904 | | punct!(":") >> [INFO] [stdout] ... | [INFO] [stdout] 930 | | ) [INFO] [stdout] 931 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:933:12 [INFO] [stdout] | [INFO] [stdout] 933 | named!(pat_path -> Pat, map!(qpath, |(qself, path)| Pat::Path(qself, path))); [INFO] [stdout] | ----------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:935:12 [INFO] [stdout] | [INFO] [stdout] 935 | named!(pat_tuple -> Pat, map!( [INFO] [stdout] | - --------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 936 | | pat_tuple_helper, [INFO] [stdout] 937 | | |(pats, dotdot)| Pat::Tuple(pats, dotdot) [INFO] [stdout] 938 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:962:5 [INFO] [stdout] | [INFO] [stdout] 962 | / named!(pat_ref -> Pat, do_parse!( [INFO] [stdout] 963 | | punct!("&") >> [INFO] [stdout] 964 | | mutability: mutability >> [INFO] [stdout] 965 | | pat: pat >> [INFO] [stdout] 966 | | (Pat::Ref(Box::new(pat), mutability)) [INFO] [stdout] 967 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:969:12 [INFO] [stdout] | [INFO] [stdout] 969 | named!(pat_lit -> Pat, map!(lit, |lit| Pat::Lit(Box::new(lit)))); [INFO] [stdout] | ----------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:971:12 [INFO] [stdout] | [INFO] [stdout] 971 | named!(pat_range -> Pat, do_parse!( [INFO] [stdout] | - --------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 972 | | lo: lit >> [INFO] [stdout] 973 | | punct!("...") >> [INFO] [stdout] 974 | | hi: lit >> [INFO] [stdout] 975 | | (Pat::Range(Box::new(lo), Box::new(hi))) [INFO] [stdout] 976 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:984:12 [INFO] [stdout] | [INFO] [stdout] 984 | named!(label -> Ident, map!(lifetime, |lt: Lifetime| lt.ident)); [INFO] [stdout] | ---------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ident::Ident>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/generics.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | named!(ty_param -> TyParam, do_parse!( [INFO] [stdout] | - -------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 236 | | id: ident >> [INFO] [stdout] 237 | | bounds: opt_vec!(preceded!( [INFO] [stdout] 238 | | punct!(":"), [INFO] [stdout] ... | [INFO] [stdout] 249 | | }) [INFO] [stdout] 250 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, generics::TyParam>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/generics.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / named!(where_predicate -> WherePredicate, alt!( [INFO] [stdout] 276 | | do_parse!( [INFO] [stdout] 277 | | ident: lifetime >> [INFO] [stdout] 278 | | punct!(":") >> [INFO] [stdout] ... | [INFO] [stdout] 296 | | ) [INFO] [stdout] 297 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 45 | | ($i:expr, $submac:ident!( $($args:tt)* ), $submac2:ident!( $($args2:tt)* )) => { [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] ... [INFO] [stdout] 473 | match $submac!($i, $($args)*) { [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |_________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | / named!(item_mac -> Item, do_parse!( [INFO] [stdout] 274 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 275 | | path: ident >> [INFO] [stdout] 276 | | punct!("!") >> [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] 292 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | / named!(item_mac -> Item, do_parse!( [INFO] [stdout] 274 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 275 | | path: ident >> [INFO] [stdout] 276 | | punct!("!") >> [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] 292 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | / named!(item_extern_crate -> Item, do_parse!( [INFO] [stdout] 295 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 296 | | vis: visibility >> [INFO] [stdout] 297 | | keyword!("extern") >> [INFO] [stdout] ... | [INFO] [stdout] 316 | | }) [INFO] [stdout] 317 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | / named!(item_use -> Item, do_parse!( [INFO] [stdout] 320 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 321 | | vis: visibility >> [INFO] [stdout] 322 | | keyword!("use") >> [INFO] [stdout] ... | [INFO] [stdout] 330 | | }) [INFO] [stdout] 331 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | named!(view_path -> ViewPath, alt!( [INFO] [stdout] | - --------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 334 | | view_path_glob [INFO] [stdout] 335 | | | [INFO] [stdout] 336 | | view_path_list [INFO] [stdout] ... | [INFO] [stdout] 340 | | view_path_simple // must be last [INFO] [stdout] 341 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ViewPath>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | named!(view_path_simple -> ViewPath, do_parse!( [INFO] [stdout] | - ---------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 345 | | path: path >> [INFO] [stdout] 346 | | rename: option!(preceded!(keyword!("as"), ident)) >> [INFO] [stdout] 347 | | (ViewPath::Simple(path, rename)) [INFO] [stdout] 348 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ViewPath>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | named!(view_path_glob -> ViewPath, do_parse!( [INFO] [stdout] | - -------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 351 | | path: path >> [INFO] [stdout] 352 | | punct!("::") >> [INFO] [stdout] 353 | | punct!("*") >> [INFO] [stdout] 354 | | (ViewPath::Glob(path)) [INFO] [stdout] 355 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ViewPath>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | named!(view_path_list -> ViewPath, do_parse!( [INFO] [stdout] | - -------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 358 | | path: path >> [INFO] [stdout] 359 | | punct!("::") >> [INFO] [stdout] 360 | | punct!("{") >> [INFO] [stdout] ... | [INFO] [stdout] 363 | | (ViewPath::List(path, items)) [INFO] [stdout] 364 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ViewPath>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 377 | named!(path_list_item -> PathListItem, do_parse!( [INFO] [stdout] | - -------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 378 | | name: ident >> [INFO] [stdout] 379 | | rename: option!(preceded!(keyword!("as"), ident)) >> [INFO] [stdout] 380 | | (PathListItem { [INFO] [stdout] ... | [INFO] [stdout] 383 | | }) [INFO] [stdout] 384 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::PathListItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | / named!(item_static -> Item, do_parse!( [INFO] [stdout] 387 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 388 | | vis: visibility >> [INFO] [stdout] 389 | | keyword!("static") >> [INFO] [stdout] ... | [INFO] [stdout] 402 | | }) [INFO] [stdout] 403 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | / named!(item_static -> Item, do_parse!( [INFO] [stdout] 387 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 388 | | vis: visibility >> [INFO] [stdout] 389 | | keyword!("static") >> [INFO] [stdout] ... | [INFO] [stdout] 402 | | }) [INFO] [stdout] 403 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | / named!(item_const -> Item, do_parse!( [INFO] [stdout] 406 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 407 | | vis: visibility >> [INFO] [stdout] 408 | | keyword!("const") >> [INFO] [stdout] ... | [INFO] [stdout] 420 | | }) [INFO] [stdout] 421 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | / named!(item_fn -> Item, do_parse!( [INFO] [stdout] 424 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 425 | | vis: visibility >> [INFO] [stdout] 426 | | constness: constness >> [INFO] [stdout] ... | [INFO] [stdout] 456 | | }) [INFO] [stdout] 457 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | / named!(item_fn -> Item, do_parse!( [INFO] [stdout] 424 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 425 | | vis: visibility >> [INFO] [stdout] 426 | | constness: constness >> [INFO] [stdout] ... | [INFO] [stdout] 456 | | }) [INFO] [stdout] 457 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 45 | | ($i:expr, $submac:ident!( $($args:tt)* ), $submac2:ident!( $($args2:tt)* )) => { [INFO] [stdout] | |__________- `match` arms have incompatible types [INFO] [stdout] ... [INFO] [stdout] 473 | match $submac!($i, $($args)*) { [INFO] [stdout] | __________^ [INFO] [stdout] | |__________| [INFO] [stdout] | || [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | / named!(fn_arg -> FnArg, alt!( [INFO] [stdout] 460 | | do_parse!( [INFO] [stdout] 461 | | punct!("&") >> [INFO] [stdout] 462 | | lt: option!(lifetime) >> [INFO] [stdout] ... | [INFO] [stdout] 481 | | ty => { FnArg::Ignored } [INFO] [stdout] 482 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | / named!(item_mod -> Item, do_parse!( [INFO] [stdout] 485 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 486 | | vis: visibility >> [INFO] [stdout] 487 | | keyword!("mod") >> [INFO] [stdout] ... | [INFO] [stdout] 497 | | }) [INFO] [stdout] 498 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 518 | named!(foreign_item -> ForeignItem, alt!( [INFO] [stdout] | - ------------ implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 519 | | foreign_fn [INFO] [stdout] 520 | | | [INFO] [stdout] 521 | | foreign_static [INFO] [stdout] 522 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ForeignItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 45 | | ($i:expr, $submac:ident!( $($args:tt)* ), $submac2:ident!( $($args2:tt)* )) => { [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] ... [INFO] [stdout] 473 | match $submac!($i, $($args)*) { [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 524 | / named!(foreign_fn -> ForeignItem, do_parse!( [INFO] [stdout] 525 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 526 | | vis: visibility >> [INFO] [stdout] 527 | | keyword!("fn") >> [INFO] [stdout] ... | [INFO] [stdout] 550 | | }) [INFO] [stdout] 551 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 524 | / named!(foreign_fn -> ForeignItem, do_parse!( [INFO] [stdout] 525 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 526 | | vis: visibility >> [INFO] [stdout] 527 | | keyword!("fn") >> [INFO] [stdout] ... | [INFO] [stdout] 550 | | }) [INFO] [stdout] 551 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ForeignItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | / named!(foreign_static -> ForeignItem, do_parse!( [INFO] [stdout] 554 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 555 | | vis: visibility >> [INFO] [stdout] 556 | | keyword!("static") >> [INFO] [stdout] ... | [INFO] [stdout] 567 | | }) [INFO] [stdout] 568 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | / named!(foreign_static -> ForeignItem, do_parse!( [INFO] [stdout] 554 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 555 | | vis: visibility >> [INFO] [stdout] 556 | | keyword!("static") >> [INFO] [stdout] ... | [INFO] [stdout] 567 | | }) [INFO] [stdout] 568 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ForeignItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | / named!(item_ty -> Item, do_parse!( [INFO] [stdout] 571 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 572 | | vis: visibility >> [INFO] [stdout] 573 | | keyword!("type") >> [INFO] [stdout] ... | [INFO] [stdout] 584 | | }) [INFO] [stdout] 585 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | / named!(item_ty -> Item, do_parse!( [INFO] [stdout] 571 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 572 | | vis: visibility >> [INFO] [stdout] 573 | | keyword!("type") >> [INFO] [stdout] ... | [INFO] [stdout] 584 | | }) [INFO] [stdout] 585 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 587 | named!(item_struct_or_enum -> Item, map!( [INFO] [stdout] | - ------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 588 | | macro_input, [INFO] [stdout] 589 | | |def: MacroInput| Item { [INFO] [stdout] 590 | | ident: def.ident, [INFO] [stdout] ... | [INFO] [stdout] 601 | | } [INFO] [stdout] 602 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 604 | / named!(item_union -> Item, do_parse!( [INFO] [stdout] 605 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 606 | | vis: visibility >> [INFO] [stdout] 607 | | keyword!("union") >> [INFO] [stdout] ... | [INFO] [stdout] 623 | | }) [INFO] [stdout] 624 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 604 | / named!(item_union -> Item, do_parse!( [INFO] [stdout] 605 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 606 | | vis: visibility >> [INFO] [stdout] 607 | | keyword!("union") >> [INFO] [stdout] ... | [INFO] [stdout] 623 | | }) [INFO] [stdout] 624 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 58 | | $crate::nom::IResult::Done(_, _) => $crate::nom::IResult::Error, [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] ... [INFO] [stdout] 473 | match $submac!($i, $($args)*) { [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 626 | / named!(item_trait -> Item, do_parse!( [INFO] [stdout] 627 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 628 | | vis: visibility >> [INFO] [stdout] 629 | | unsafety: unsafety >> [INFO] [stdout] ... | [INFO] [stdout] 654 | | }) [INFO] [stdout] 655 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 626 | / named!(item_trait -> Item, do_parse!( [INFO] [stdout] 627 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 628 | | vis: visibility >> [INFO] [stdout] 629 | | unsafety: unsafety >> [INFO] [stdout] ... | [INFO] [stdout] 654 | | }) [INFO] [stdout] 655 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:657:5 [INFO] [stdout] | [INFO] [stdout] 657 | / named!(item_default_impl -> Item, do_parse!( [INFO] [stdout] 658 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 659 | | unsafety: unsafety >> [INFO] [stdout] 660 | | keyword!("impl") >> [INFO] [stdout] ... | [INFO] [stdout] 671 | | }) [INFO] [stdout] 672 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | named!(trait_item -> TraitItem, alt!( [INFO] [stdout] | - ---------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 675 | | trait_item_const [INFO] [stdout] 676 | | | [INFO] [stdout] 677 | | trait_item_method [INFO] [stdout] ... | [INFO] [stdout] 681 | | trait_item_mac [INFO] [stdout] 682 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::TraitItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 45 | | ($i:expr, $submac:ident!( $($args:tt)* ), $submac2:ident!( $($args2:tt)* )) => { [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] ... [INFO] [stdout] 473 | match $submac!($i, $($args)*) { [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | / named!(trait_item_method -> TraitItem, do_parse!( [INFO] [stdout] 700 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 701 | | constness: constness >> [INFO] [stdout] 702 | | unsafety: unsafety >> [INFO] [stdout] ... | [INFO] [stdout] 733 | | }) [INFO] [stdout] 734 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | / named!(trait_item_method -> TraitItem, do_parse!( [INFO] [stdout] 700 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 701 | | constness: constness >> [INFO] [stdout] 702 | | unsafety: unsafety >> [INFO] [stdout] ... | [INFO] [stdout] 733 | | }) [INFO] [stdout] 734 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::TraitItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | / named!(trait_item_mac -> TraitItem, do_parse!( [INFO] [stdout] 754 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 755 | | id: ident >> [INFO] [stdout] 756 | | punct!("!") >> [INFO] [stdout] ... | [INFO] [stdout] 769 | | }) [INFO] [stdout] 770 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::TraitItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | / named!(item_impl -> Item, do_parse!( [INFO] [stdout] 773 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 774 | | unsafety: unsafety >> [INFO] [stdout] 775 | | keyword!("impl") >> [INFO] [stdout] ... | [INFO] [stdout] 807 | | }) [INFO] [stdout] 808 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 772 | / named!(item_impl -> Item, do_parse!( [INFO] [stdout] 773 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 774 | | unsafety: unsafety >> [INFO] [stdout] 775 | | keyword!("impl") >> [INFO] [stdout] ... | [INFO] [stdout] 807 | | }) [INFO] [stdout] 808 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:810:12 [INFO] [stdout] | [INFO] [stdout] 810 | named!(impl_item -> ImplItem, alt!( [INFO] [stdout] | - --------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 811 | | impl_item_const [INFO] [stdout] 812 | | | [INFO] [stdout] 813 | | impl_item_method [INFO] [stdout] ... | [INFO] [stdout] 817 | | impl_item_macro [INFO] [stdout] 818 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ImplItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 820 | / named!(impl_item_const -> ImplItem, do_parse!( [INFO] [stdout] 821 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 822 | | vis: visibility >> [INFO] [stdout] 823 | | defaultness: defaultness >> [INFO] [stdout] ... | [INFO] [stdout] 837 | | }) [INFO] [stdout] 838 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 820 | / named!(impl_item_const -> ImplItem, do_parse!( [INFO] [stdout] 821 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 822 | | vis: visibility >> [INFO] [stdout] 823 | | defaultness: defaultness >> [INFO] [stdout] ... | [INFO] [stdout] 837 | | }) [INFO] [stdout] 838 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ImplItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:840:5 [INFO] [stdout] | [INFO] [stdout] 840 | / named!(impl_item_method -> ImplItem, do_parse!( [INFO] [stdout] 841 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 842 | | vis: visibility >> [INFO] [stdout] 843 | | defaultness: defaultness >> [INFO] [stdout] ... | [INFO] [stdout] 877 | | }) [INFO] [stdout] 878 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:840:5 [INFO] [stdout] | [INFO] [stdout] 840 | / named!(impl_item_method -> ImplItem, do_parse!( [INFO] [stdout] 841 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 842 | | vis: visibility >> [INFO] [stdout] 843 | | defaultness: defaultness >> [INFO] [stdout] ... | [INFO] [stdout] 877 | | }) [INFO] [stdout] 878 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ImplItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |________-^ [INFO] [stdout] | ||________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:880:5 [INFO] [stdout] | [INFO] [stdout] 880 | / named!(impl_item_type -> ImplItem, do_parse!( [INFO] [stdout] 881 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 882 | | vis: visibility >> [INFO] [stdout] 883 | | defaultness: defaultness >> [INFO] [stdout] ... | [INFO] [stdout] 895 | | }) [INFO] [stdout] 896 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:880:5 [INFO] [stdout] | [INFO] [stdout] 880 | / named!(impl_item_type -> ImplItem, do_parse!( [INFO] [stdout] 881 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 882 | | vis: visibility >> [INFO] [stdout] 883 | | defaultness: defaultness >> [INFO] [stdout] ... | [INFO] [stdout] 895 | | }) [INFO] [stdout] 896 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ImplItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:898:5 [INFO] [stdout] | [INFO] [stdout] 898 | / named!(impl_item_macro -> ImplItem, do_parse!( [INFO] [stdout] 899 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 900 | | id: ident >> [INFO] [stdout] 901 | | punct!("!") >> [INFO] [stdout] ... | [INFO] [stdout] 916 | | }) [INFO] [stdout] 917 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::ImplItem>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/lit.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | named!(string -> Lit, alt!( [INFO] [stdout] | - ------ implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 79 | | quoted_string => { |s| Lit::Str(s, StrStyle::Cooked) } [INFO] [stdout] 80 | | | [INFO] [stdout] 81 | | preceded!( [INFO] [stdout] ... | [INFO] [stdout] 84 | | ) => { |(s, n)| Lit::Str(s, StrStyle::Raw(n)) } [INFO] [stdout] 85 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, lit::Lit>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | / named!(ty_ptr -> Ty, do_parse!( [INFO] [stdout] 245 | | punct!("*") >> [INFO] [stdout] 246 | | mutability: alt!( [INFO] [stdout] 247 | | keyword!("const") => { |_| Mutability::Immutable } [INFO] [stdout] ... | [INFO] [stdout] 255 | | }))) [INFO] [stdout] 256 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::Ty>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / named!(ty_rptr -> Ty, do_parse!( [INFO] [stdout] 259 | | punct!("&") >> [INFO] [stdout] 260 | | life: option!(lifetime) >> [INFO] [stdout] 261 | | mutability: mutability >> [INFO] [stdout] ... | [INFO] [stdout] 266 | | }))) [INFO] [stdout] 267 | | )); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / named!(ty_rptr -> Ty, do_parse!( [INFO] [stdout] 259 | | punct!("&") >> [INFO] [stdout] 260 | | life: option!(lifetime) >> [INFO] [stdout] 261 | | mutability: mutability >> [INFO] [stdout] ... | [INFO] [stdout] 266 | | }))) [INFO] [stdout] 267 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::Ty>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | named!(ty_never -> Ty, map!(punct!("!"), |_| Ty::Never)); [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::Ty>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | named!(ty_path -> Ty, do_parse!( [INFO] [stdout] | - ------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 303 | | qpath: qpath >> [INFO] [stdout] 304 | | parenthesized: cond!( [INFO] [stdout] 305 | | qpath.1.segments.last().unwrap().parameters == PathParameters::none(), [INFO] [stdout] ... | [INFO] [stdout] 320 | | }) [INFO] [stdout] 321 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::Ty>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 16 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | named!(type_binding -> TypeBinding, do_parse!( [INFO] [stdout] | - ------------ implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 448 | | id: ident >> [INFO] [stdout] 449 | | punct!("=") >> [INFO] [stdout] 450 | | ty: ty >> [INFO] [stdout] ... | [INFO] [stdout] 454 | | }) [INFO] [stdout] 455 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::TypeBinding>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 22 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/data.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | named!(pub struct_body -> VariantData, alt!( [INFO] [stdout] | - ----------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 60 | | struct_like_body => { VariantData::Struct } [INFO] [stdout] 61 | | | [INFO] [stdout] 62 | | terminated!(tuple_like_body, punct!(";")) => { VariantData::Tuple } [INFO] [stdout] 63 | | | [INFO] [stdout] 64 | | punct!(";") => { |_| VariantData::Unit } [INFO] [stdout] 65 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, data::VariantData>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 22 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/expr.rs:829:16 [INFO] [stdout] | [INFO] [stdout] 829 | named!(pub pat -> Pat, alt!( [INFO] [stdout] | - --- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 830 | | pat_wild // must be before pat_ident [INFO] [stdout] 831 | | | [INFO] [stdout] 832 | | pat_box // must be before pat_ident [INFO] [stdout] ... | [INFO] [stdout] 851 | | // TODO: Vec [INFO] [stdout] 852 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, expr::Pat>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 22 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/generics.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | named!(pub generics -> Generics, map!( [INFO] [stdout] | - -------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 187 | | alt!( [INFO] [stdout] 188 | | do_parse!( [INFO] [stdout] 189 | | punct!("<") >> [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] 206 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, generics::Generics>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 22 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/generics.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | named!(pub lifetime_def -> LifetimeDef, do_parse!( [INFO] [stdout] | - ------------ implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 216 | | life: lifetime >> [INFO] [stdout] 217 | | bounds: opt_vec!(preceded!( [INFO] [stdout] 218 | | punct!(":"), [INFO] [stdout] ... | [INFO] [stdout] 224 | | }) [INFO] [stdout] 225 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, generics::LifetimeDef>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 22 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/item.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | named!(pub item -> Item, alt!( [INFO] [stdout] | - ---- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 244 | | item_extern_crate [INFO] [stdout] 245 | | | [INFO] [stdout] 246 | | item_use [INFO] [stdout] ... | [INFO] [stdout] 270 | | item_mac [INFO] [stdout] 271 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, item::Item>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 22 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/lit.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | named!(pub lit -> Lit, alt!( [INFO] [stdout] | - --- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 62 | | string [INFO] [stdout] 63 | | | [INFO] [stdout] 64 | | byte_string [INFO] [stdout] ... | [INFO] [stdout] 75 | | keyword!("false") => { |_| Lit::Bool(false) } [INFO] [stdout] 76 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, lit::Lit>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 22 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/mac.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | named!(pub mac -> Mac, do_parse!( [INFO] [stdout] | - --- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 122 | | name: ident >> [INFO] [stdout] 123 | | punct!("!") >> [INFO] [stdout] 124 | | body: delimited >> [INFO] [stdout] ... | [INFO] [stdout] 128 | | }) [INFO] [stdout] 129 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, mac::Mac>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | |_________-^ [INFO] [stdout] | |_________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |__________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/macro_input.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / named!(pub macro_input -> MacroInput, do_parse!( [INFO] [stdout] 29 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 30 | | vis: visibility >> [INFO] [stdout] 31 | | which: alt!(keyword!("struct") | keyword!("enum")) >> [INFO] [stdout] ... | [INFO] [stdout] 59 | | (item) [INFO] [stdout] 60 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/macro_input.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / named!(pub macro_input -> MacroInput, do_parse!( [INFO] [stdout] 29 | | attrs: many0!(outer_attr) >> [INFO] [stdout] 30 | | vis: visibility >> [INFO] [stdout] 31 | | which: alt!(keyword!("struct") | keyword!("enum")) >> [INFO] [stdout] ... | [INFO] [stdout] 59 | | (item) [INFO] [stdout] 60 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, macro_input::MacroInput>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] 22 | $submac!(i, $($args)*) [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | named!(pub ty -> Ty, alt!( [INFO] [stdout] | - -- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 205 | | ty_poly_trait_ref // must be before ty_path [INFO] [stdout] 206 | | | [INFO] [stdout] 207 | | ty_vec [INFO] [stdout] ... | [INFO] [stdout] 225 | | ty_paren [INFO] [stdout] 226 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::Ty>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 29 | / $fun($i) [INFO] [stdout] 30 | | }; [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 472 | | ($i:expr, $field:ident : $submac:ident!( $($args:tt)* ) >> $($rest:tt)*) => { [INFO] [stdout] 473 | | match $submac!($i, $($args)*) { [INFO] [stdout] | _|________-^ [INFO] [stdout] | | |________| [INFO] [stdout] | | `match` arms have incompatible types [INFO] [stdout] 474 | | $crate::nom::IResult::Error => $crate::nom::IResult::Error, [INFO] [stdout] | | --------------------------- this is found to be of type `IResult<_, _>` [INFO] [stdout] 475 | | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] 479 | | } [INFO] [stdout] | |___________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | / named!(pub poly_trait_ref -> PolyTraitRef, do_parse!( [INFO] [stdout] 458 | | bound_lifetimes: bound_lifetimes >> [INFO] [stdout] 459 | | trait_ref: path >> [INFO] [stdout] 460 | | parenthesized: cond!( [INFO] [stdout] ... | [INFO] [stdout] 473 | | }) [INFO] [stdout] 474 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `IResult<_, _>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn $name(i: &str) -> $crate::nom::IResult<&str, $o> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:457:16 [INFO] [stdout] | [INFO] [stdout] 457 | named!(pub poly_trait_ref -> PolyTraitRef, do_parse!( [INFO] [stdout] | - -------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 458 | | bound_lifetimes: bound_lifetimes >> [INFO] [stdout] 459 | | trait_ref: path >> [INFO] [stdout] 460 | | parenthesized: cond!( [INFO] [stdout] ... | [INFO] [stdout] 473 | | }) [INFO] [stdout] 474 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::PolyTraitRef>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/nom.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 475 | $crate::nom::IResult::Done(i, o) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 476 | | let $field = o; [INFO] [stdout] 477 | | do_parse!(i, $($rest)*) [INFO] [stdout] | | - help: consider removing this semicolon [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____________^ expected enum `IResult`, found `()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.9.2/src/ty.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 476 | / named!(pub fn_arg -> BareFnArg, do_parse!( [INFO] [stdout] 477 | | name: option!(terminated!(ident, punct!(":"))) >> [INFO] [stdout] 478 | | ty: ty >> [INFO] [stdout] 479 | | (BareFnArg { [INFO] [stdout] ... | [INFO] [stdout] 482 | | }) [INFO] [stdout] 483 | | )); [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `IResult<&str, ty::BareFnArg>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 115 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7dc9e8a8e7f4cf7141663585bd3cf0398c7ada3ca9fc11680a93f7e8ae1b9d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc9e8a8e7f4cf7141663585bd3cf0398c7ada3ca9fc11680a93f7e8ae1b9d17", kill_on_drop: false }` [INFO] [stdout] 7dc9e8a8e7f4cf7141663585bd3cf0398c7ada3ca9fc11680a93f7e8ae1b9d17