[INFO] updating cached repository https://github.com/czipperz/cinterp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d50c500083d414ebd069740e7db8def23ef9f7a6 [INFO] checking czipperz/cinterp/d50c500083d414ebd069740e7db8def23ef9f7a6 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczipperz%2Fcinterp" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/czipperz/cinterp on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/czipperz/cinterp [INFO] finished tweaking git repo https://github.com/czipperz/cinterp [INFO] tweaked toml for git repo https://github.com/czipperz/cinterp written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/czipperz/cinterp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5404f06226a02df971a9b03132161f67be660138ef66d5edfca3ccf78a09d9c [INFO] running `Command { std: "docker" "start" "-a" "f5404f06226a02df971a9b03132161f67be660138ef66d5edfca3ccf78a09d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5404f06226a02df971a9b03132161f67be660138ef66d5edfca3ccf78a09d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5404f06226a02df971a9b03132161f67be660138ef66d5edfca3ccf78a09d9c", kill_on_drop: false }` [INFO] [stdout] f5404f06226a02df971a9b03132161f67be660138ef66d5edfca3ccf78a09d9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 551d5502b6d83e54163cd7055386691d716023f730542b26f6bc4230661a5b3c [INFO] running `Command { std: "docker" "start" "-a" "551d5502b6d83e54163cd7055386691d716023f730542b26f6bc4230661a5b3c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.2.2 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking pretty_assertions v0.5.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Compiling syn v0.12.12 [INFO] [stderr] Checking clap v2.30.0 [INFO] [stderr] Compiling structopt-derive v0.2.2 [INFO] [stderr] Checking structopt v0.2.2 [INFO] [stderr] Checking cinterp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/parse.rs:827:66 [INFO] [stdout] | [INFO] [stdout] 827 | tokens, false)) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 828 | }, [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found keyword `false` [INFO] [stdout] --> src/parse.rs:817:72 [INFO] [stdout] | [INFO] [stdout] 817 | ... tokens, 1010 false)); [INFO] [stdout] | -^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/parse.rs:827:66 [INFO] [stdout] | [INFO] [stdout] 827 | tokens, false)) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 828 | }, [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found keyword `false` [INFO] [stdout] --> src/parse.rs:817:72 [INFO] [stdout] | [INFO] [stdout] 817 | ... tokens, 1010 false)); [INFO] [stdout] | -^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | let (next, expression) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 298 ~ let (next, expression) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 299 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 300 ~ format!("{} Found EOF after `return` keyword", first.pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | let (next, expr) = try!(parse_expression(first, tokens, false)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 365 | let (next, expr) = try!(parse_expression(first, tokens, /* usize */, false)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:531:58 [INFO] [stdout] | [INFO] [stdout] 531 | ... let (next, value) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 532 | ... || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 533 | ... format!("{} Found EOF after `=` here, expected an expression", pos)))), tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 531 ~ let (next, value) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 532 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 533 ~ format!("{} Found EOF after `=` here, expected an expression", pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:555:57 [INFO] [stdout] | [INFO] [stdout] 555 | ... let (next, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 556 | ... || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 557 | ... format!("{} ", pos)))), tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 555 ~ let (next, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 556 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 557 ~ format!("{} ", pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:661:63 [INFO] [stdout] | [INFO] [stdout] 661 | ... let (next, expression) = try!(parse_expression(Tag::new(n.value, n.pos), tokens, false)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 661 | let (next, expression) = try!(parse_expression(Tag::new(n.value, n.pos), tokens, /* usize */, false)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:706:43 [INFO] [stdout] | [INFO] [stdout] 706 | let (next, expression) = try!(parse_expression(first, tokens, true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 706 | let (next, expression) = try!(parse_expression(first, tokens, /* usize */, true)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:824:34 [INFO] [stdout] | [INFO] [stdout] 824 | let (n, expr) = try!(parse_expression(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 827 | tokens, false)) [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Tag`, found `Result, Error>` [INFO] [stdout] --> src/parse.rs:824:51 [INFO] [stdout] | [INFO] [stdout] 824 | let (n, expr) = try!(parse_expression(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 825 | | || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 826 | | format!("{} Nothing to type cast", first.pos))), [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] = note: expected struct `pos::Tag<_>` [INFO] [stdout] found enum `Result, std::io::Error>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: use the `?` operator to extract the `Result, std::io::Error>` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 826 | format!("{} Nothing to type cast", first.pos)))?, [INFO] [stdout] | + [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 824 | let (n, expr) = try!(parse_expression(/* pos::Tag */, tokens, /* usize */, false)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/parse.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 791 | let mut base = match first.value { [INFO] [stdout] | ----------------- `match` arms have incompatible types [INFO] [stdout] ... [INFO] [stdout] 808 | / match paren { [INFO] [stdout] 809 | | Ok(expr) => { [INFO] [stdout] 810 | | next = Some(n); [INFO] [stdout] 811 | | expr [INFO] [stdout] ... | [INFO] [stdout] 820 | | } [INFO] [stdout] 821 | | } [INFO] [stdout] | |_____________- this and all prior arms are found to be of type `pos::Tag` [INFO] [stdout] ... [INFO] [stdout] 824 | / let (n, expr) = try!(parse_expression(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 825 | | || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 826 | | format!("{} Nothing to type cast", first.pos))), [INFO] [stdout] 827 | | tokens, false)) [INFO] [stdout] | |_________________________________________________________________^ expected `Tag`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `pos::Tag` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:854:42 [INFO] [stdout] | [INFO] [stdout] 854 | let (n, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 855 | || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 856 | format!("{} Found EOF when expected `]` to close `[` here", nextu.pos)))), tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 854 ~ let (n, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 855 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 856 ~ format!("{} Found EOF when expected `]` to close `[` here", nextu.pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:870:42 [INFO] [stdout] | [INFO] [stdout] 870 | ..., expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 871 | ... io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 872 | ... format!("{} Found EOF when expecting an expression after `=` here", nextu.pos)))), tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 870 ~ let (n, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 871 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 872 ~ format!("{} Found EOF when expecting an expression after `=` here", nextu.pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:886:35 [INFO] [stdout] | [INFO] [stdout] 886 | let (next, expression) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 889 | tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 886 ~ let (next, expression) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 887 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 888 ~ format!("{} Expected expression after `,` here", comma_pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cinterp` (bin "cinterp") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | let (next, expression) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 298 ~ let (next, expression) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 299 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 300 ~ format!("{} Found EOF after `return` keyword", first.pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | let (next, expr) = try!(parse_expression(first, tokens, false)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 365 | let (next, expr) = try!(parse_expression(first, tokens, /* usize */, false)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:531:58 [INFO] [stdout] | [INFO] [stdout] 531 | ... let (next, value) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 532 | ... || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 533 | ... format!("{} Found EOF after `=` here, expected an expression", pos)))), tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 531 ~ let (next, value) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 532 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 533 ~ format!("{} Found EOF after `=` here, expected an expression", pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:555:57 [INFO] [stdout] | [INFO] [stdout] 555 | ... let (next, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 556 | ... || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 557 | ... format!("{} ", pos)))), tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 555 ~ let (next, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 556 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 557 ~ format!("{} ", pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:661:63 [INFO] [stdout] | [INFO] [stdout] 661 | ... let (next, expression) = try!(parse_expression(Tag::new(n.value, n.pos), tokens, false)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 661 | let (next, expression) = try!(parse_expression(Tag::new(n.value, n.pos), tokens, /* usize */, false)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:706:43 [INFO] [stdout] | [INFO] [stdout] 706 | let (next, expression) = try!(parse_expression(first, tokens, true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 706 | let (next, expression) = try!(parse_expression(first, tokens, /* usize */, true)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:824:34 [INFO] [stdout] | [INFO] [stdout] 824 | let (n, expr) = try!(parse_expression(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 827 | tokens, false)) [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Tag`, found `Result, Error>` [INFO] [stdout] --> src/parse.rs:824:51 [INFO] [stdout] | [INFO] [stdout] 824 | let (n, expr) = try!(parse_expression(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 825 | | || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 826 | | format!("{} Nothing to type cast", first.pos))), [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] = note: expected struct `pos::Tag<_>` [INFO] [stdout] found enum `Result, std::io::Error>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: use the `?` operator to extract the `Result, std::io::Error>` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 826 | format!("{} Nothing to type cast", first.pos)))?, [INFO] [stdout] | + [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 824 | let (n, expr) = try!(parse_expression(/* pos::Tag */, tokens, /* usize */, false)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/parse.rs:824:13 [INFO] [stdout] | [INFO] [stdout] 791 | let mut base = match first.value { [INFO] [stdout] | ----------------- `match` arms have incompatible types [INFO] [stdout] ... [INFO] [stdout] 808 | / match paren { [INFO] [stdout] 809 | | Ok(expr) => { [INFO] [stdout] 810 | | next = Some(n); [INFO] [stdout] 811 | | expr [INFO] [stdout] ... | [INFO] [stdout] 820 | | } [INFO] [stdout] 821 | | } [INFO] [stdout] | |_____________- this and all prior arms are found to be of type `pos::Tag` [INFO] [stdout] ... [INFO] [stdout] 824 | / let (n, expr) = try!(parse_expression(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 825 | | || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 826 | | format!("{} Nothing to type cast", first.pos))), [INFO] [stdout] 827 | | tokens, false)) [INFO] [stdout] | |_________________________________________________________________^ expected `Tag`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `pos::Tag` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:854:42 [INFO] [stdout] | [INFO] [stdout] 854 | let (n, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 855 | || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 856 | format!("{} Found EOF when expected `]` to close `[` here", nextu.pos)))), tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 854 ~ let (n, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 855 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 856 ~ format!("{} Found EOF when expected `]` to close `[` here", nextu.pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:870:42 [INFO] [stdout] | [INFO] [stdout] 870 | ..., expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 871 | ... io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 872 | ... format!("{} Found EOF when expecting an expression after `=` here", nextu.pos)))), tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 870 ~ let (n, expr) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 871 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 872 ~ format!("{} Found EOF when expecting an expression after `=` here", nextu.pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parse.rs:886:35 [INFO] [stdout] | [INFO] [stdout] 886 | let (next, expression) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 889 | tokens, false)); [INFO] [stdout] | ----- argument #3 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/parse.rs:788:4 [INFO] [stdout] | [INFO] [stdout] 788 | fn parse_expression>>>(first: Tag, tokens: &mut PrefixIterator, max: usize, type_allowed: bo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- ------------------------------ ---------- ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 886 ~ let (next, expression) = try!(parse_expression(try!(try!(to_result(tokens.next())).ok_or_else( [INFO] [stdout] 887 + || io::Error::new(io::ErrorKind::InvalidInput, [INFO] [stdout] 888 ~ format!("{} Expected expression after `,` here", comma_pos)))), tokens, /* usize */, false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cinterp` (bin "cinterp" test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "551d5502b6d83e54163cd7055386691d716023f730542b26f6bc4230661a5b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551d5502b6d83e54163cd7055386691d716023f730542b26f6bc4230661a5b3c", kill_on_drop: false }` [INFO] [stdout] 551d5502b6d83e54163cd7055386691d716023f730542b26f6bc4230661a5b3c