[INFO] cloning repository https://github.com/tBuLi12/parser-bench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tBuLi12/parser-bench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtBuLi12%2Fparser-bench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtBuLi12%2Fparser-bench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7040218070d5067811cf7e980aa02de5dbf00ebb [INFO] checking tBuLi12/parser-bench against master#f25e92bd42b14e45440c0a30a4ed751ea502f430 for pr-127481 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtBuLi12%2Fparser-bench" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tBuLi12/parser-bench on toolchain f25e92bd42b14e45440c0a30a4ed751ea502f430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f25e92bd42b14e45440c0a30a4ed751ea502f430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tBuLi12/parser-bench [INFO] finished tweaking git repo https://github.com/tBuLi12/parser-bench [INFO] tweaked toml for git repo https://github.com/tBuLi12/parser-bench written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tBuLi12/parser-bench 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" "+f25e92bd42b14e45440c0a30a4ed751ea502f430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 tBuLi12/parser-bench against try#81417ccfba1b50f064bed768ddab670f5bbfdcfe for pr-127481 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtBuLi12%2Fparser-bench" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tBuLi12/parser-bench on toolchain 81417ccfba1b50f064bed768ddab670f5bbfdcfe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tBuLi12/parser-bench [INFO] finished tweaking git repo https://github.com/tBuLi12/parser-bench [INFO] tweaked toml for git repo https://github.com/tBuLi12/parser-bench written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tBuLi12/parser-bench 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" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "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 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ce58bb2642d9d3861659269e12c578e8b76a5f9e64ac3010f4606aedbf8dec0 [INFO] running `Command { std: "docker" "start" "-a" "8ce58bb2642d9d3861659269e12c578e8b76a5f9e64ac3010f4606aedbf8dec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ce58bb2642d9d3861659269e12c578e8b76a5f9e64ac3010f4606aedbf8dec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce58bb2642d9d3861659269e12c578e8b76a5f9e64ac3010f4606aedbf8dec0", kill_on_drop: false }` [INFO] [stdout] 8ce58bb2642d9d3861659269e12c578e8b76a5f9e64ac3010f4606aedbf8dec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e867413b4e1a0e359a5d232019095d931bb4a5c33114babb6578c0a387c3d02f [INFO] running `Command { std: "docker" "start" "-a" "e867413b4e1a0e359a5d232019095d931bb4a5c33114babb6578c0a387c3d02f", kill_on_drop: false }` [INFO] [stderr] Checking parser-bench v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{marker::PhantomData, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pull_fix_parser::single` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pull_fix_parser::single; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{marker::PhantomData, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pull_fix_parser::single` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pull_fix_parser::single; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/push_parser.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn builder(self) -> impl Builder; [INFO] [stdout] | -------------------------------------------------------- return type from trait method defined here [INFO] [stdout] ... [INFO] [stdout] 108 | fn builder(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 108 | fn builder(self) -> impl push_parser::Builder::Output, Token = ::Token> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/push_parser.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn builder(self) -> impl Builder; [INFO] [stdout] | -------------------------------------------------------- return type from trait method defined here [INFO] [stdout] ... [INFO] [stdout] 108 | fn builder(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 108 | fn builder(self) -> impl push_parser::Builder::Output, Token = ::Token> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut CycledInput: Source` is not satisfied [INFO] [stdout] --> src/main.rs:439:23 [INFO] [stdout] | [INFO] [stdout] 439 | grammar.parse(&mut input); [INFO] [stdout] | ----- ^^^^^^^^^^ the trait `Source` is not implemented for `&mut CycledInput` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pull_fix_parser::Rule::parse` [INFO] [stdout] --> src/pull_fix_parser.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 107 | self, [INFO] [stdout] 108 | mut input: impl Source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Rule::parse` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 439 - grammar.parse(&mut input); [INFO] [stdout] 439 + grammar.parse(input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | grammar.parse(&mut input); [INFO] [stdout] | ^^^^^------------ an argument is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/pull_fix_parser.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | self, [INFO] [stdout] 108 | mut input: impl Source, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 109 | follow: impl Rule, [INFO] [stdout] | -------------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 439 | grammar.parse(&mut input, /* follow */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut CycledInput: Source` is not satisfied [INFO] [stdout] --> src/main.rs:439:23 [INFO] [stdout] | [INFO] [stdout] 439 | grammar.parse(&mut input); [INFO] [stdout] | ----- ^^^^^^^^^^ the trait `Source` is not implemented for `&mut CycledInput` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pull_fix_parser::Rule::parse` [INFO] [stdout] --> src/pull_fix_parser.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 107 | self, [INFO] [stdout] 108 | mut input: impl Source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Rule::parse` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 439 - grammar.parse(&mut input); [INFO] [stdout] 439 + grammar.parse(input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | grammar.parse(&mut input); [INFO] [stdout] | ^^^^^------------ an argument is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/pull_fix_parser.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | self, [INFO] [stdout] 108 | mut input: impl Source, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 109 | follow: impl Rule, [INFO] [stdout] | -------------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 439 | grammar.parse(&mut input, /* follow */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/push_parser.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | (Fed::Ok(left), Fed::NoMatch(right)) => Fed::Ok(Self::Left(left)), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/push_parser.rs:251:31 [INFO] [stdout] | [INFO] [stdout] 251 | (Fed::NoMatch(left), Fed::Ok(right)) => Fed::Ok(Self::Right(right)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/stack_parser.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut stack = Vec::::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stack_parser.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut stack = Vec::::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-bench` (bin "parser-bench" test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/push_parser.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | (Fed::Ok(left), Fed::NoMatch(right)) => Fed::Ok(Self::Left(left)), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/push_parser.rs:251:31 [INFO] [stdout] | [INFO] [stdout] 251 | (Fed::NoMatch(left), Fed::Ok(right)) => Fed::Ok(Self::Right(right)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/stack_parser.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut stack = Vec::::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stack_parser.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut stack = Vec::::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-bench` (bin "parser-bench") due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e867413b4e1a0e359a5d232019095d931bb4a5c33114babb6578c0a387c3d02f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e867413b4e1a0e359a5d232019095d931bb4a5c33114babb6578c0a387c3d02f", kill_on_drop: false }` [INFO] [stdout] e867413b4e1a0e359a5d232019095d931bb4a5c33114babb6578c0a387c3d02f