[INFO] updating cached repository https://github.com/davesque/nom-test [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f5cc2fbabbe033cb51a0cae88537507238dcd585 [INFO] checking davesque/nom-test against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavesque%2Fnom-test" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davesque/nom-test on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/davesque/nom-test [INFO] finished tweaking git repo https://github.com/davesque/nom-test [INFO] tweaked toml for git repo https://github.com/davesque/nom-test written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/davesque/nom-test already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e91be379917b82f0913040caba26ea638c2ba82ba93c01451b21fafea601538b [INFO] running `"docker" "start" "-a" "e91be379917b82f0913040caba26ea638c2ba82ba93c01451b21fafea601538b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Compiling nom v5.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Checking nom-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&'a str,)>` closure, found `impl std::ops::Fn<(&str,)>` [INFO] [stderr] --> src/main.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ) -> impl for<'a> Fn(&'a str) -> IResult<&str, &str, VerboseError<&str>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&'a str,)>` closure, found `impl std::ops::Fn<(&str,)>` [INFO] [stderr] 15 | / verify(one_token, move |actual_string| { [INFO] [stderr] 16 | | actual_string == expected_string [INFO] [stderr] 17 | | }) [INFO] [stderr] | |______- this returned value is of type `impl std::ops::Fn<(&str,)>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'a> std::ops::Fn<(&'a str,)>` is not implemented for `impl std::ops::Fn<(&str,)>` [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `for<'a> as std::ops::FnOnce<(&'a str,)>>::Output == std::result::Result<(&'a str, &'a str), nom::internal::Err>>` [INFO] [stderr] --> src/main.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ) -> impl for<'a> Fn(&'a str) -> IResult<&str, &str, VerboseError<&str>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected bound lifetime parameter 'a, found concrete lifetime [INFO] [stderr] | [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&'a str,)>` closure, found `impl std::ops::Fn<(&str,)>` [INFO] [stderr] --> src/main.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ) -> impl for<'a> Fn(&'a str) -> IResult<&str, &str, VerboseError<&str>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&'a str,)>` closure, found `impl std::ops::Fn<(&str,)>` [INFO] [stderr] 15 | / verify(one_token, move |actual_string| { [INFO] [stderr] 16 | | actual_string == expected_string [INFO] [stderr] 17 | | }) [INFO] [stderr] | |______- this returned value is of type `impl std::ops::Fn<(&str,)>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'a> std::ops::Fn<(&'a str,)>` is not implemented for `impl std::ops::Fn<(&str,)>` [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `for<'a> as std::ops::FnOnce<(&'a str,)>>::Output == std::result::Result<(&'a str, &'a str), nom::internal::Err>>` [INFO] [stderr] --> src/main.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ) -> impl for<'a> Fn(&'a str) -> IResult<&str, &str, VerboseError<&str>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected bound lifetime parameter 'a, found concrete lifetime [INFO] [stderr] | [INFO] [stderr] = note: the return type of a function must have a statically known size [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0271, E0277. [INFO] [stderr] For more information about an error, try `rustc --explain E0271`. [INFO] [stderr] error: could not compile `nom-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0271, E0277. [INFO] [stderr] For more information about an error, try `rustc --explain E0271`. [INFO] [stderr] error: could not compile `nom-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e91be379917b82f0913040caba26ea638c2ba82ba93c01451b21fafea601538b"` [INFO] running `"docker" "rm" "-f" "e91be379917b82f0913040caba26ea638c2ba82ba93c01451b21fafea601538b"` [INFO] [stdout] e91be379917b82f0913040caba26ea638c2ba82ba93c01451b21fafea601538b