[INFO] cloning repository https://github.com/YoloDev/skorm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YoloDev/skorm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoloDev%2Fskorm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoloDev%2Fskorm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0e896de8868bf8ccbeaaf9428d5a317f21c130a [INFO] testing YoloDev/skorm against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoloDev%2Fskorm" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YoloDev/skorm on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config [INFO] started tweaking git repo https://github.com/YoloDev/skorm [INFO] finished tweaking git repo https://github.com/YoloDev/skorm [INFO] tweaked toml for git repo https://github.com/YoloDev/skorm written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/YoloDev/skorm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal v1.0.3 [INFO] [stderr] Downloaded datatest-derive v0.6.0 [INFO] [stderr] Downloaded evitable-derive-core v0.5.0 [INFO] [stderr] Downloaded evitable-syn-meta-ext v0.5.0 [INFO] [stderr] Downloaded salsa v0.16.1 [INFO] [stderr] Downloaded evitable v0.5.0 [INFO] [stderr] Downloaded evitable-derive v0.5.0 [INFO] [stderr] Downloaded salsa-macros v0.16.0 [INFO] [stderr] Downloaded datatest v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03a409955a79d3824902d63d57728de76fa07201d1a5c182a18e4895014f932e [INFO] running `Command { std: "docker" "start" "-a" "03a409955a79d3824902d63d57728de76fa07201d1a5c182a18e4895014f932e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03a409955a79d3824902d63d57728de76fa07201d1a5c182a18e4895014f932e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a409955a79d3824902d63d57728de76fa07201d1a5c182a18e4895014f932e", kill_on_drop: false }` [INFO] [stdout] 03a409955a79d3824902d63d57728de76fa07201d1a5c182a18e4895014f932e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8abaaf7bf31426366501ec2bf4ab21cfab6dc0005aeca6ecdedce33279b26c5 [INFO] running `Command { std: "docker" "start" "-a" "b8abaaf7bf31426366501ec2bf4ab21cfab6dc0005aeca6ecdedce33279b26c5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling skorm-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling bitmaps v2.0.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling skorm-parse v0.1.0 (/opt/rustwide/workdir/crates/parse) [INFO] [stderr] Compiling skorm-format v0.1.0 (/opt/rustwide/workdir/crates/format) [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling rust_decimal v1.0.3 [INFO] [stderr] Compiling sized-chunks v0.6.2 [INFO] [stderr] Compiling evitable-syn-meta-ext v0.5.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling evitable-derive-core v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.3.4 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Compiling evitable-derive v0.5.0 [INFO] [stderr] Compiling evitable v0.5.0 [INFO] [stderr] Compiling skorm-turtle-parse v0.1.0 (/opt/rustwide/workdir/crates/turtle-parse) [INFO] [stdout] error[E0053]: method `slice_index` has an incompatible type for trait [INFO] [stdout] --> crates/turtle-parse/src/parse/input.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | fn slice_index(&self, count: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | help: change the output type to match the trait: `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&InputBuf<'a>, _) -> std::result::Result` [INFO] [stdout] found fn pointer `fn(&InputBuf<'a>, _) -> Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_context` found for struct `VerboseError` in the current scope [INFO] [stdout] --> crates/turtle-parse/src/parse/productions.rs:504:34 [INFO] [stdout] | [INFO] [stdout] 504 | let outer_error = E::add_context(i2, "predicate_object_list", inner_error); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `VerboseError>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use nom::error::ContextError;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | None => Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:285:54 [INFO] [stdout] | [INFO] [stdout] 285 | None => Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `NonZeroUsize` here [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | Err(e) => return Err(e), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:294:57 [INFO] [stdout] | [INFO] [stdout] 294 | None => return Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `NonZeroUsize` here [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | Err(e) => return Err(e), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'a>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:254:38 [INFO] [stdout] | [INFO] [stdout] 254 | fn long_str<'a>(quote_char: char) -> impl Fn(I<'a>) -> O<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'a>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'a>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:351:54 [INFO] [stdout] | [INFO] [stdout] 351 | None => Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `NonZeroUsize` here [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | Err(e) => return Err(e), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:360:57 [INFO] [stdout] | [INFO] [stdout] 360 | None => return Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `NonZeroUsize` here [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | Err(e) => return Err(e), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'a>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:313:40 [INFO] [stdout] | [INFO] [stdout] 313 | fn simple_str<'a>(quote_char: char) -> impl Fn(I<'a>) -> O<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'a>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'a>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'a>,)>` closure, found `impl FnMut<(InputBuf<'a>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:395:50 [INFO] [stdout] | [INFO] [stdout] 395 | fn void<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'a>,)>` closure, found `impl FnMut<(InputBuf<'a>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'a>,)>` is not implemented for `impl FnMut<(InputBuf<'a>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/input.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | fn slice_index(&self, count: usize) -> Option { [INFO] [stdout] | ------------- expected `Option` because of return type [INFO] [stdout] 152 | self.slice().slice_index(count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/input.rs:202:53 [INFO] [stdout] | [INFO] [stdout] 202 | None => Err(Err::Incomplete(nom::Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/input.rs:223:53 [INFO] [stdout] | [INFO] [stdout] 223 | None => Err(Err::Incomplete(nom::Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | None => Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | None => Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 129 | fn start_mid_end<'a>( [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 130 | cstart: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] 131 | cmid: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] | ------------------------ required by this bound in `start_mid_end` [INFO] [stdout] ... [INFO] [stdout] 192 | start_mid_end(pn_chars_base, alt((pn_chars, char('.'))), pn_chars)(buf) [INFO] [stdout] | ^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 129 | fn start_mid_end<'a>( [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 130 | cstart: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] | ------------------------ required by this bound in `start_mid_end` [INFO] [stdout] ... [INFO] [stdout] 196 | start_mid_end( [INFO] [stdout] | ^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 129 | fn start_mid_end<'a>( [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 130 | cstart: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] 131 | cmid: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] | ------------------------ required by this bound in `start_mid_end` [INFO] [stdout] ... [INFO] [stdout] 196 | start_mid_end( [INFO] [stdout] | ^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 129 | fn start_mid_end<'a>( [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 132 | cend: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] | ------------------------ required by this bound in `start_mid_end` [INFO] [stdout] ... [INFO] [stdout] 199 | alt((pn_chars, char(':'), plx)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:408:15 [INFO] [stdout] | [INFO] [stdout] 400 | fn matched_str<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, &'a str> { [INFO] [stdout] | --------------------- required by this bound in `matched_str` [INFO] [stdout] ... [INFO] [stdout] 408 | matched_str(preceded( [INFO] [stdout] | _______________^ [INFO] [stdout] 409 | | alt((char('e'), char('E'))), [INFO] [stdout] 410 | | tuple((unary_op, many1_count(dec))), [INFO] [stdout] 411 | | ))(buf) [INFO] [stdout] | |___^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 395 | fn void<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, ()> { [INFO] [stdout] | --------------------- required by this bound in `void` [INFO] [stdout] ... [INFO] [stdout] 416 | let arm1 = void(tuple(( [INFO] [stdout] | ___________________^ [INFO] [stdout] 417 | | many1_count(dec), [INFO] [stdout] 418 | | char('.'), [INFO] [stdout] 419 | | many0_count(dec), [INFO] [stdout] 420 | | exponent, [INFO] [stdout] 421 | | ))); [INFO] [stdout] | |____^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 395 | fn void<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, ()> { [INFO] [stdout] | --------------------- required by this bound in `void` [INFO] [stdout] ... [INFO] [stdout] 424 | let arm2 = void(tuple((char('.'), many1_count(dec), exponent))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 395 | fn void<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, ()> { [INFO] [stdout] | --------------------- required by this bound in `void` [INFO] [stdout] ... [INFO] [stdout] 427 | let arm3 = void(tuple((many1_count(dec), exponent))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:430:17 [INFO] [stdout] | [INFO] [stdout] 400 | fn matched_str<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, &'a str> { [INFO] [stdout] | --------------------- required by this bound in `matched_str` [INFO] [stdout] ... [INFO] [stdout] 430 | matched_str(tuple((unary_op, alt((arm1, arm2, arm3))))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_context` found for struct `VerboseError` in the current scope [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:438:28 [INFO] [stdout] | [INFO] [stdout] 438 | let outer_error = E::add_context(i, "error parsing as f64", inner_error); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `VerboseError>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use nom::error::ContextError;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 400 | fn matched_str<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, &'a str> { [INFO] [stdout] | --------------------- required by this bound in `matched_str` [INFO] [stdout] ... [INFO] [stdout] 447 | matched_str(tuple(( [INFO] [stdout] | _________________^ [INFO] [stdout] 448 | | unary_op, [INFO] [stdout] 449 | | many0_count(dec), [INFO] [stdout] 450 | | char('.'), [INFO] [stdout] 451 | | many1_count(dec), [INFO] [stdout] 452 | | ))), [INFO] [stdout] | |______^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_context` found for struct `VerboseError` in the current scope [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:460:28 [INFO] [stdout] | [INFO] [stdout] 460 | let outer_error = E::add_context(i, "error parsing as d128", inner_error); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `VerboseError>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use nom::error::ContextError;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:468:32 [INFO] [stdout] | [INFO] [stdout] 400 | fn matched_str<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, &'a str> { [INFO] [stdout] | --------------------- required by this bound in `matched_str` [INFO] [stdout] ... [INFO] [stdout] 468 | let parser = map(matched_str(tuple((unary_op, many1_count(dec)))), |s| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `add_context` found for struct `VerboseError` in the current scope [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:476:28 [INFO] [stdout] | [INFO] [stdout] 476 | let outer_error = E::add_context(i, "error parsing as i64", inner_error); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `VerboseError>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use nom::error::ContextError;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:497:35 [INFO] [stdout] | [INFO] [stdout] 400 | fn matched_str<'a, T>(f: impl Fn(I<'a>) -> O<'a, T>) -> impl Fn(I<'a>) -> O<'a, &'a str> { [INFO] [stdout] | --------------------- required by this bound in `matched_str` [INFO] [stdout] ... [INFO] [stdout] 497 | preceded(char('@'), matched_str(lang_tag_ident_part))(buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 129 | fn start_mid_end<'a>( [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 130 | cstart: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] | ------------------------ required by this bound in `start_mid_end` [INFO] [stdout] ... [INFO] [stdout] 503 | start_mid_end( [INFO] [stdout] | ^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 129 | fn start_mid_end<'a>( [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 130 | cstart: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] 131 | cmid: impl Fn(I<'a>) -> O<'a, char>, [INFO] [stdout] | ------------------------ required by this bound in `start_mid_end` [INFO] [stdout] ... [INFO] [stdout] 503 | start_mid_end( [INFO] [stdout] | ^^^^^^^^^^^^^ expected an `Fn<(InputBuf<'_>,)>` closure, found `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(InputBuf<'_>,)>` is not implemented for `impl FnMut<(InputBuf<'_>,)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:573:54 [INFO] [stdout] | [INFO] [stdout] 573 | None => Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `NonZeroUsize` here [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:534:26 [INFO] [stdout] | [INFO] [stdout] 534 | Err(e) => return Err(e), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:582:57 [INFO] [stdout] | [INFO] [stdout] 582 | None => return Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `NonZeroUsize` here [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:534:26 [INFO] [stdout] | [INFO] [stdout] 534 | Err(e) => return Err(e), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling structopt v0.3.4 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/turtle-parse/src/parse/terminals.rs:613:57 [INFO] [stdout] | [INFO] [stdout] 613 | None => return Err(Err::Incomplete(Needed::Size(1))), [INFO] [stdout] | ^ expected struct `NonZeroUsize`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `skorm-turtle-parse` due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b8abaaf7bf31426366501ec2bf4ab21cfab6dc0005aeca6ecdedce33279b26c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8abaaf7bf31426366501ec2bf4ab21cfab6dc0005aeca6ecdedce33279b26c5", kill_on_drop: false }` [INFO] [stdout] b8abaaf7bf31426366501ec2bf4ab21cfab6dc0005aeca6ecdedce33279b26c5