[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] testing tBuLi12/parser-bench against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtBuLi12%2Fparser-bench" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tBuLi12/parser-bench on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3494dbde582daabc3d09637d6704b6e2b69a50fced15b05e49a6ad9bbc317d3 [INFO] running `Command { std: "docker" "start" "-a" "f3494dbde582daabc3d09637d6704b6e2b69a50fced15b05e49a6ad9bbc317d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3494dbde582daabc3d09637d6704b6e2b69a50fced15b05e49a6ad9bbc317d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3494dbde582daabc3d09637d6704b6e2b69a50fced15b05e49a6ad9bbc317d3", kill_on_drop: false }` [INFO] [stdout] f3494dbde582daabc3d09637d6704b6e2b69a50fced15b05e49a6ad9bbc317d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3936e83d60d439836d0ff829860253082ab8d9fa596e004daf55d822de82f04 [INFO] running `Command { std: "docker" "start" "-a" "b3936e83d60d439836d0ff829860253082ab8d9fa596e004daf55d822de82f04", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/parser_bench-8fd980b96e604848.long-type-9936236414156880707.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 108 - fn builder(self) -> Self { [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] | ^^^^^------------ argument #2 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] ... [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b3936e83d60d439836d0ff829860253082ab8d9fa596e004daf55d822de82f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3936e83d60d439836d0ff829860253082ab8d9fa596e004daf55d822de82f04", kill_on_drop: false }` [INFO] [stdout] b3936e83d60d439836d0ff829860253082ab8d9fa596e004daf55d822de82f04