[INFO] cloning repository https://github.com/rkanati/lark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rkanati/lark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Flark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Flark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22a69d8707bb137a447907895b3330dd4b509a1b [INFO] checking rkanati/lark against master#d97bb195bf7b84815622b235cb51171c1b8f7e51 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Flark" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rkanati/lark on toolchain d97bb195bf7b84815622b235cb51171c1b8f7e51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rkanati/lark [INFO] finished tweaking git repo https://github.com/rkanati/lark [INFO] tweaked toml for git repo https://github.com/rkanati/lark written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rkanati/lark 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" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rkanati/lark against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frkanati%2Flark" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rkanati/lark on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rkanati/lark [INFO] finished tweaking git repo https://github.com/rkanati/lark [INFO] tweaked toml for git repo https://github.com/rkanati/lark written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rkanati/lark 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" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f4d99155fb7c9ddc120e3abb2105695687d4bd04dcb105338601bbcb11e3304 [INFO] running `Command { std: "docker" "start" "-a" "3f4d99155fb7c9ddc120e3abb2105695687d4bd04dcb105338601bbcb11e3304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f4d99155fb7c9ddc120e3abb2105695687d4bd04dcb105338601bbcb11e3304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4d99155fb7c9ddc120e3abb2105695687d4bd04dcb105338601bbcb11e3304", kill_on_drop: false }` [INFO] [stdout] 3f4d99155fb7c9ddc120e3abb2105695687d4bd04dcb105338601bbcb11e3304 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7db5b003403c85092ef933b26ee1cbc34786350d33b66d50a9c4effda2a56bd2 [INFO] running `Command { std: "docker" "start" "-a" "7db5b003403c85092ef933b26ee1cbc34786350d33b66d50a9c4effda2a56bd2", kill_on_drop: false }` [INFO] [stderr] Checking lark v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TK` [INFO] [stdout] --> src/syn.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | let tokens = tokens.expect(TK::Ident, "let")?; [INFO] [stdout] | ^^ use of undeclared type `TK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 76 + use crate::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TK` [INFO] [stdout] --> src/syn.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | let tokens = tokens.expect(TK::Punct, "=")?; [INFO] [stdout] | ^^ use of undeclared type `TK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 76 + use crate::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TK` [INFO] [stdout] --> src/syn.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | let tokens = tokens.expect(TK::Ident, "let")?; [INFO] [stdout] | ^^ use of undeclared type `TK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 76 + use crate::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TK` [INFO] [stdout] --> src/syn.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | let tokens = tokens.expect(TK::Punct, "=")?; [INFO] [stdout] | ^^ use of undeclared type `TK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 76 + use crate::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenKind as TK`, `Token` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::{Token, TokenKind as TK, lex}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenKind as TK`, `Token` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | lexer::{Token, TokenKind as TK, lex}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary associated type bound for not object safe associated type [INFO] [stdout] --> src/parse/combinators/mod.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | alternatives: &'static [&'static dyn Parser], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this associated type has a `where Self: Sized` bound. Thus, while the associated type can be specified, it cannot be used in any way, because trait objects are not `Sized`. [INFO] [stdout] = note: `#[warn(unused_associated_type_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary associated type bound for not object safe associated type [INFO] [stdout] --> src/parse/combinators/mod.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | alternatives: &'static [&'static dyn Parser], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this associated type has a `where Self: Sized` bound. Thus, while the associated type can be specified, it cannot be used in any way, because trait objects are not `Sized`. [INFO] [stdout] = note: `#[warn(unused_associated_type_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary associated type bound for not object safe associated type [INFO] [stdout] --> src/parse/combinators/mod.rs:125:60 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(alternatives: &'static [&'static dyn Parser]) -> FirstOf { [INFO] [stdout] | ^^^^^^^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this associated type has a `where Self: Sized` bound. Thus, while the associated type can be specified, it cannot be used in any way, because trait objects are not `Sized`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary associated type bound for not object safe associated type [INFO] [stdout] --> src/parse/combinators/mod.rs:125:60 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(alternatives: &'static [&'static dyn Parser]) -> FirstOf { [INFO] [stdout] | ^^^^^^^^^^ help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this associated type has a `where Self: Sized` bound. Thus, while the associated type can be specified, it cannot be used in any way, because trait objects are not `Sized`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `parse::Parser` cannot be made into an object [INFO] [stdout] --> src/parse/combinators/mod.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | alternatives: &'static [&'static dyn Parser], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `parse::Parser` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/parse/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Parser : Sized { [INFO] [stdout] | ------ ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `parse::Parser` for this new enum and using it instead: [INFO] [stdout] parse::combinators::Map [INFO] [stdout] parse::combinators::OrElse [INFO] [stdout] parse::combinators::Within [INFO] [stdout] parse::combinators::List [INFO] [stdout] parse::combinators::FirstOf [INFO] [stdout] parse::TrivialParser [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `parse::Parser` cannot be made into an object [INFO] [stdout] --> src/parse/combinators/mod.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | alternatives: &'static [&'static dyn Parser], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `parse::Parser` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/parse/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Parser : Sized { [INFO] [stdout] | ------ ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `parse::Parser` for this new enum and using it instead: [INFO] [stdout] parse::combinators::Map [INFO] [stdout] parse::combinators::OrElse [INFO] [stdout] parse::combinators::Within [INFO] [stdout] parse::combinators::List [INFO] [stdout] parse::combinators::FirstOf [INFO] [stdout] parse::TrivialParser [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `parse::Parser` cannot be made into an object [INFO] [stdout] --> src/parse/combinators/mod.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(alternatives: &'static [&'static dyn Parser]) -> FirstOf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `parse::Parser` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/parse/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Parser : Sized { [INFO] [stdout] | ------ ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `parse::Parser` for this new enum and using it instead: [INFO] [stdout] parse::combinators::Map [INFO] [stdout] parse::combinators::OrElse [INFO] [stdout] parse::combinators::Within [INFO] [stdout] parse::combinators::List [INFO] [stdout] parse::combinators::FirstOf [INFO] [stdout] parse::TrivialParser [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `parse::Parser` cannot be made into an object [INFO] [stdout] --> src/parse/combinators/mod.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(alternatives: &'static [&'static dyn Parser]) -> FirstOf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `parse::Parser` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/parse/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Parser : Sized { [INFO] [stdout] | ------ ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `parse::Parser` for this new enum and using it instead: [INFO] [stdout] parse::combinators::Map [INFO] [stdout] parse::combinators::OrElse [INFO] [stdout] parse::combinators::Within [INFO] [stdout] parse::combinators::List [INFO] [stdout] parse::combinators::FirstOf [INFO] [stdout] parse::TrivialParser [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `punct` in this scope [INFO] [stdout] --> src/syn.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | .list(punct(',')) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `punct` in this scope [INFO] [stdout] --> src/syn.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | .list(punct(',')) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lark` (bin "lark") due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lark` (bin "lark" test) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7db5b003403c85092ef933b26ee1cbc34786350d33b66d50a9c4effda2a56bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db5b003403c85092ef933b26ee1cbc34786350d33b66d50a9c4effda2a56bd2", kill_on_drop: false }` [INFO] [stdout] 7db5b003403c85092ef933b26ee1cbc34786350d33b66d50a9c4effda2a56bd2