[INFO] cloning repository https://github.com/natpen/mildril [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natpen/mildril" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatpen%2Fmildril", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatpen%2Fmildril'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b599c8680a34597d56432a3096f5974252a0972e [INFO] checking natpen/mildril against try#8b72f65b805cbe4c261de45030d663f524f27376 for pr-78991 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatpen%2Fmildril" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/natpen/mildril 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/natpen/mildril [INFO] finished tweaking git repo https://github.com/natpen/mildril [INFO] tweaked toml for git repo https://github.com/natpen/mildril written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/natpen/mildril 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 string_cache v0.2.29 [INFO] [stderr] Downloaded quote v0.3.3 [INFO] [stderr] Downloaded gcc v0.3.37 [INFO] [stderr] Downloaded futf v0.1.2 [INFO] [stderr] Downloaded tendril v0.2.3 [INFO] [stderr] Downloaded url v1.2.2 [INFO] [stderr] Downloaded utf-8 v0.6.0 [INFO] [stderr] Downloaded matches v0.1.3 [INFO] [stderr] Downloaded phf_codegen v0.7.17 [INFO] [stderr] Downloaded phf_generator v0.7.17 [INFO] [stderr] Downloaded phf_shared v0.7.17 [INFO] [stderr] Downloaded syn v0.9.2 [INFO] [stderr] Downloaded serde v0.8.15 [INFO] [stderr] Downloaded html5ever v0.7.0 [INFO] [stderr] Downloaded phf v0.7.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dfe930ddf6a0bd844dd21bcf80f5ba91210c539a8aaa648b93370a648b0fa206 [INFO] running `Command { std: "docker" "start" "-a" "dfe930ddf6a0bd844dd21bcf80f5ba91210c539a8aaa648b93370a648b0fa206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfe930ddf6a0bd844dd21bcf80f5ba91210c539a8aaa648b93370a648b0fa206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfe930ddf6a0bd844dd21bcf80f5ba91210c539a8aaa648b93370a648b0fa206", kill_on_drop: false }` [INFO] [stdout] dfe930ddf6a0bd844dd21bcf80f5ba91210c539a8aaa648b93370a648b0fa206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 15ebf672d2fdb61041e48f37dfc0eae591f72484c0933893678fb030fe91fc91 [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" "15ebf672d2fdb61041e48f37dfc0eae591f72484c0933893678fb030fe91fc91", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling gcc v0.3.37 [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling phf_shared v0.7.17 [INFO] [stderr] Checking matches v0.1.3 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling quote v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking mac v0.0.2 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Checking serde v0.8.15 [INFO] [stderr] Checking mime v0.2.2 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.2.3 [INFO] [stderr] Checking utf-8 v0.6.0 [INFO] [stderr] Checking phf v0.7.17 [INFO] [stderr] Checking debug_unreachable v0.1.1 [INFO] [stderr] Checking futf v0.1.2 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v0.9.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Checking idna v0.1.0 [INFO] [stderr] Checking tendril v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Compiling openssl-sys-extras v0.7.14 [INFO] [stderr] Compiling openssl v0.7.14 [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] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_SSL_clone': [INFO] [stderr] warning: src/c_helpers.c:4:5: warning: implicit declaration of function 'CRYPTO_add' [-Wimplicit-function-declaration] [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: src/c_helpers.c:4:20: error: dereferencing pointer to incomplete type 'SSL' {aka 'struct ssl_st'} [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:4:37: error: 'CRYPTO_LOCK_SSL' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_LOCK [INFO] [stderr] warning: src/c_helpers.c:4:37: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_SSL_CTX_clone': [INFO] [stderr] warning: src/c_helpers.c:8:20: error: dereferencing pointer to incomplete type 'SSL_CTX' {aka 'struct ssl_ctx_st'} [INFO] [stderr] warning: 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:8:35: error: 'CRYPTO_LOCK_SSL_CTX' undeclared (first use in this function); did you mean 'CRYPTO_EX_INDEX_SSL_CTX'? [INFO] [stderr] warning: 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_EX_INDEX_SSL_CTX [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_X509_clone': [INFO] [stderr] warning: src/c_helpers.c:12:21: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} [INFO] [stderr] warning: 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:12:36: error: 'CRYPTO_LOCK_X509' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] warning: 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_LOCK [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `openssl v0.7.14` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/openssl-0798c2175724c338/build-script-build` (exit code: 101) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] PROFILE = Some("debug") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] debug=true opt-level=0 [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-fPIC" "-o" "/opt/rustwide/target/debug/build/openssl-828b5a9daa6246dc/out/src/c_helpers.o" "-c" "src/c_helpers.c" [INFO] [stderr] cargo:warning=src/c_helpers.c: In function 'rust_SSL_clone': [INFO] [stderr] cargo:warning=src/c_helpers.c:4:5: warning: implicit declaration of function 'CRYPTO_add' [-Wimplicit-function-declaration] [INFO] [stderr] cargo:warning= 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~ [INFO] [stderr] cargo:warning=src/c_helpers.c:4:20: error: dereferencing pointer to incomplete type 'SSL' {aka 'struct ssl_st'} [INFO] [stderr] cargo:warning= 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=src/c_helpers.c:4:37: error: 'CRYPTO_LOCK_SSL' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] cargo:warning= 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | CRYPTO_LOCK [INFO] [stderr] cargo:warning=src/c_helpers.c:4:37: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] cargo:warning=src/c_helpers.c: In function 'rust_SSL_CTX_clone': [INFO] [stderr] cargo:warning=src/c_helpers.c:8:20: error: dereferencing pointer to incomplete type 'SSL_CTX' {aka 'struct ssl_ctx_st'} [INFO] [stderr] cargo:warning= 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=src/c_helpers.c:8:35: error: 'CRYPTO_LOCK_SSL_CTX' undeclared (first use in this function); did you mean 'CRYPTO_EX_INDEX_SSL_CTX'? [INFO] [stderr] cargo:warning= 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | CRYPTO_EX_INDEX_SSL_CTX [INFO] [stderr] cargo:warning=src/c_helpers.c: In function 'rust_X509_clone': [INFO] [stderr] cargo:warning=src/c_helpers.c:12:21: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} [INFO] [stderr] cargo:warning= 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=src/c_helpers.c:12:36: error: 'CRYPTO_LOCK_X509' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] cargo:warning= 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | CRYPTO_LOCK [INFO] [stderr] ExitStatus(ExitStatus(256)) [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] command did not execute successfully, got: exit code: 1 [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at 'explicit panic', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.37/src/lib.rs:952:5 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55a3203f64c0 - std::backtrace_rs::backtrace::libunwind::trace::h448c56741b6011d3 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/../../backtrace/src/backtrace/libunwind.rs:100:5 [INFO] [stderr] 1: 0x55a3203f64c0 - std::backtrace_rs::backtrace::trace_unsynchronized::h2d26397c5720fdbb [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55a3203f64c0 - std::sys_common::backtrace::_print_fmt::h720a2f61f75b9f58 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x55a3203f64c0 - ::fmt::h8d62bbfda6d5c836 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x55a3204154ec - core::fmt::write::h1857a60b204f1b6a [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/core/src/fmt/mod.rs:1078:17 [INFO] [stderr] 5: 0x55a3203f2992 - std::io::Write::write_fmt::h16a9fe7680ac245c [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/io/mod.rs:1518:15 [INFO] [stderr] 6: 0x55a3203f8825 - std::sys_common::backtrace::_print::h9ba51a6db618de7d [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x55a3203f8825 - std::sys_common::backtrace::print::h5f20e41c85e91716 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x55a3203f8825 - std::panicking::default_hook::{{closure}}::h5b7294ca19e8edab [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x55a3203f84c8 - std::panicking::default_hook::hb3948d1f74b6ff4c [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/panicking.rs:227:9 [INFO] [stderr] 10: 0x55a3203f8f61 - std::panicking::rust_panic_with_hook::h55d23fef0ad751bc [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/panicking.rs:593:17 [INFO] [stderr] 11: 0x55a3203cb74e - std::panicking::begin_panic::{{closure}}::hdc190724678690cf [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/panicking.rs:522:9 [INFO] [stderr] 12: 0x55a3203bb379 - std::sys_common::backtrace::__rust_end_short_backtrace::hec9a56168d3f980d [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x55a3203cb67b - std::panicking::begin_panic::hd2f3da0fd74f1618 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/panicking.rs:521:12 [INFO] [stderr] 14: 0x55a3203b99c6 - gcc::fail::h522bb29f5585bf78 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.37/src/lib.rs:952:5 [INFO] [stderr] 15: 0x55a3203b973e - gcc::run::ha83631d9761be054 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.37/src/lib.rs:946:9 [INFO] [stderr] 16: 0x55a3203b0830 - gcc::Config::compile_object::hf8a135214266b514 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.37/src/lib.rs:418:9 [INFO] [stderr] 17: 0x55a3203b0199 - gcc::Config::compile_objects::h66875e0225f4639b [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.37/src/lib.rs:388:13 [INFO] [stderr] 18: 0x55a3203af7c6 - gcc::Config::compile::hef80f4b566a8f11e [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.37/src/lib.rs:353:9 [INFO] [stderr] 19: 0x55a3203ae69a - build_script_build::main::h8eb2f51952cd8656 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/openssl-0.7.14/build.rs:15:5 [INFO] [stderr] 20: 0x55a3203ae85b - core::ops::function::FnOnce::call_once::h7160ba3d43f522e3 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 21: 0x55a3203ae41e - std::sys_common::backtrace::__rust_begin_short_backtrace::hbf694149f324a076 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 22: 0x55a3203ae241 - std::rt::lang_start::{{closure}}::h8a8f27febac4edaf [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/rt.rs:66:18 [INFO] [stderr] 23: 0x55a3203f9387 - core::ops::function::impls:: for &F>::call_once::h3f3ba5d1e0ce8d49 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 24: 0x55a3203f9387 - std::panicking::try::do_call::hd7a374fc87b951e7 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/panicking.rs:381:40 [INFO] [stderr] 25: 0x55a3203f9387 - std::panicking::try::h068087b173f80a49 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/panicking.rs:345:19 [INFO] [stderr] 26: 0x55a3203f9387 - std::panic::catch_unwind::h1f8259807e825279 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/panic.rs:396:14 [INFO] [stderr] 27: 0x55a3203f9387 - std::rt::lang_start_internal::h8ff82302dd620b52 [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/rt.rs:51:25 [INFO] [stderr] 28: 0x55a3203ae217 - std::rt::lang_start::h0a2640f8de7ae1ff [INFO] [stderr] at /rustc/8b72f65b805cbe4c261de45030d663f524f27376/library/std/src/rt.rs:65:5 [INFO] [stderr] 29: 0x55a3203ae7ea - main [INFO] [stderr] 30: 0x7f72108230b3 - __libc_start_main [INFO] [stderr] 31: 0x55a3203ae0be - _start [INFO] [stderr] 32: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/openssl_shim.c: In function 'DH_new_from_params': [INFO] [stderr] warning: src/openssl_shim.c:132:7: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'} [INFO] [stderr] warning: 132 | dh->p = p; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/openssl_shim.c: In function 'X509_get_extensions_shim': [INFO] [stderr] warning: src/openssl_shim.c:143:13: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} [INFO] [stderr] warning: 143 | return x->cert_info ? x->cert_info->extensions : NULL; [INFO] [stderr] warning: | ^~ [INFO] [stderr] [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [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" "15ebf672d2fdb61041e48f37dfc0eae591f72484c0933893678fb030fe91fc91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ebf672d2fdb61041e48f37dfc0eae591f72484c0933893678fb030fe91fc91", kill_on_drop: false }` [INFO] [stdout] 15ebf672d2fdb61041e48f37dfc0eae591f72484c0933893678fb030fe91fc91