[INFO] cloning repository https://github.com/agatan/rparse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agatan/rparse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagatan%2Frparse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagatan%2Frparse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0abac886422a2fbc1276c8524e5e67f4a46272d [INFO] checking agatan/rparse against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagatan%2Frparse" "/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/agatan/rparse on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agatan/rparse [INFO] finished tweaking git repo https://github.com/agatan/rparse [INFO] tweaked toml for git repo https://github.com/agatan/rparse written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/agatan/rparse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8fb2883fb081347da40d954ff203c2e7b02083af85ada57837352d6cc34c293 [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" "c8fb2883fb081347da40d954ff203c2e7b02083af85ada57837352d6cc34c293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8fb2883fb081347da40d954ff203c2e7b02083af85ada57837352d6cc34c293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fb2883fb081347da40d954ff203c2e7b02083af85ada57837352d6cc34c293", kill_on_drop: false }` [INFO] [stdout] c8fb2883fb081347da40d954ff203c2e7b02083af85ada57837352d6cc34c293 [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb66a1741d025cea929f325cafadd59ce5a6a0f66f799c583cd26e20fb0329df [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" "eb66a1741d025cea929f325cafadd59ce5a6a0f66f799c583cd26e20fb0329df", kill_on_drop: false }` [INFO] [stderr] Checking rparse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/prim/mod.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn parse(&mut self, mut src: Peekable) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/combinator.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | let (r1, ctx) = try!(self.p1.parse(src)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/prim/mod.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn parse(&mut self, mut src: Peekable) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/combinator.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | let (r1, ctx) = try!(self.p1.parse(src)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | fn map(self, f: F) -> Map [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 141 | pub struct Map { [INFO] [stdout] | - required by this bound in `combinator::Map` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P` if it were used through indirection like `&P` or `Box

` [INFO] [stdout] --> src/combinator.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Map { [INFO] [stdout] | ^ this could be changed to `P: ?Sized`... [INFO] [stdout] 142 | p: P, [INFO] [stdout] | - ...if indirection was used here: `Box

` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 29 | where F: FnMut(Self::Output) -> B, Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | -> FollowedBy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 182 | pub struct FollowedBy> { [INFO] [stdout] | -- required by this bound in `FollowedBy` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P1` if it were used through indirection like `&P1` or `Box` [INFO] [stdout] --> src/combinator.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FollowedBy> { [INFO] [stdout] | ^^ this could be changed to `P1: ?Sized`... [INFO] [stdout] 183 | p: P1, [INFO] [stdout] | -- ...if indirection was used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 49 | -> FollowedBy where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | -> NotFollowedBy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct NotFollowedBy> { [INFO] [stdout] | -- required by this bound in `NotFollowedBy` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P1` if it were used through indirection like `&P1` or `Box` [INFO] [stdout] --> src/combinator.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct NotFollowedBy> { [INFO] [stdout] | ^^ this could be changed to `P1: ?Sized`... [INFO] [stdout] 224 | p: P1, [INFO] [stdout] | -- ...if indirection was used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 68 | -> NotFollowedBy where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | -> Seq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 265 | pub struct Seq, P2: Parser> { [INFO] [stdout] | -- required by this bound in `Seq` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P1` if it were used through indirection like `&P1` or `Box` [INFO] [stdout] --> src/combinator.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct Seq, P2: Parser> { [INFO] [stdout] | ^^ this could be changed to `P1: ?Sized`... [INFO] [stdout] 266 | p1: P1, [INFO] [stdout] | -- ...if indirection was used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 89 | -> Seq where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | -> Skip; [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 313 | pub struct Skip> { [INFO] [stdout] | -- required by this bound in `combinator::Skip` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P1` if it were used through indirection like `&P1` or `Box` [INFO] [stdout] --> src/combinator.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct Skip> { [INFO] [stdout] | ^^ this could be changed to `P1: ?Sized`... [INFO] [stdout] 314 | p: P1, [INFO] [stdout] | -- ...if indirection was used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 109 | -> Skip where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rparse` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | fn map(self, f: F) -> Map [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 141 | pub struct Map { [INFO] [stdout] | - required by this bound in `combinator::Map` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P` if it were used through indirection like `&P` or `Box

` [INFO] [stdout] --> src/combinator.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct Map { [INFO] [stdout] | ^ this could be changed to `P: ?Sized`... [INFO] [stdout] 142 | p: P, [INFO] [stdout] | - ...if indirection was used here: `Box

` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 29 | where F: FnMut(Self::Output) -> B, Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | -> FollowedBy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 182 | pub struct FollowedBy> { [INFO] [stdout] | -- required by this bound in `FollowedBy` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P1` if it were used through indirection like `&P1` or `Box` [INFO] [stdout] --> src/combinator.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FollowedBy> { [INFO] [stdout] | ^^ this could be changed to `P1: ?Sized`... [INFO] [stdout] 183 | p: P1, [INFO] [stdout] | -- ...if indirection was used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 49 | -> FollowedBy where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | -> NotFollowedBy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct NotFollowedBy> { [INFO] [stdout] | -- required by this bound in `NotFollowedBy` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P1` if it were used through indirection like `&P1` or `Box` [INFO] [stdout] --> src/combinator.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct NotFollowedBy> { [INFO] [stdout] | ^^ this could be changed to `P1: ?Sized`... [INFO] [stdout] 224 | p: P1, [INFO] [stdout] | -- ...if indirection was used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 68 | -> NotFollowedBy where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | -> Seq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 265 | pub struct Seq, P2: Parser> { [INFO] [stdout] | -- required by this bound in `Seq` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P1` if it were used through indirection like `&P1` or `Box` [INFO] [stdout] --> src/combinator.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct Seq, P2: Parser> { [INFO] [stdout] | ^^ this could be changed to `P1: ?Sized`... [INFO] [stdout] 266 | p1: P1, [INFO] [stdout] | -- ...if indirection was used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 89 | -> Seq where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/combinator.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | -> Skip; [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 313 | pub struct Skip> { [INFO] [stdout] | -- required by this bound in `combinator::Skip` [INFO] [stdout] | [INFO] [stdout] help: you could relax the implicit `Sized` bound on `P1` if it were used through indirection like `&P1` or `Box` [INFO] [stdout] --> src/combinator.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct Skip> { [INFO] [stdout] | ^^ this could be changed to `P1: ?Sized`... [INFO] [stdout] 314 | p: P1, [INFO] [stdout] | -- ...if indirection was used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 109 | -> Skip where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eb66a1741d025cea929f325cafadd59ce5a6a0f66f799c583cd26e20fb0329df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb66a1741d025cea929f325cafadd59ce5a6a0f66f799c583cd26e20fb0329df", kill_on_drop: false }` [INFO] [stdout] eb66a1741d025cea929f325cafadd59ce5a6a0f66f799c583cd26e20fb0329df