[INFO] cloning repository https://github.com/bokutotu/flex-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bokutotu/flex-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Fflex-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Fflex-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 370f184f004f4400697a1486a9fa449aa4076e21 [INFO] checking bokutotu/flex-rs against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokutotu%2Fflex-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bokutotu/flex-rs [INFO] finished tweaking git repo https://github.com/bokutotu/flex-rs [INFO] tweaked toml for git repo https://github.com/bokutotu/flex-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bokutotu/flex-rs on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bokutotu/flex-rs 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cbdbb58ebe0e56889a30ea1f0ec7bcb1f9566a79e5cc8e2c2a17f2d91d6bf61 [INFO] running `Command { std: "docker" "start" "-a" "5cbdbb58ebe0e56889a30ea1f0ec7bcb1f9566a79e5cc8e2c2a17f2d91d6bf61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cbdbb58ebe0e56889a30ea1f0ec7bcb1f9566a79e5cc8e2c2a17f2d91d6bf61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbdbb58ebe0e56889a30ea1f0ec7bcb1f9566a79e5cc8e2c2a17f2d91d6bf61", kill_on_drop: false }` [INFO] [stdout] 5cbdbb58ebe0e56889a30ea1f0ec7bcb1f9566a79e5cc8e2c2a17f2d91d6bf61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 697349524fd702f9abd71a5fcaca6a2a3b8ae9a5e377bfa8fcfb70cced86bf79 [INFO] running `Command { std: "docker" "start" "-a" "697349524fd702f9abd71a5fcaca6a2a3b8ae9a5e377bfa8fcfb70cced86bf79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking flex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new_epsilon` is never used [INFO] [stdout] --> src/nfa.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl NfaEdge { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn new_epsilon() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_terminal` and `add_edge_nul_target_node` are never used [INFO] [stdout] --> src/nfa.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 64 | / impl NfaNode [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T: Clone + Debug, [INFO] [stdout] | |_____________________- associated items in this implementation [INFO] [stdout] 67 | { [INFO] [stdout] 68 | fn new_terminal(t: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn add_edge_nul_target_node(&mut self, edge: NfaEdge) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `back` is never used [INFO] [stdout] --> src/regex_tokenizer.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 244 | impl RegexTokenIter { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn back(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flex::regex_parser` [INFO] [stdout] --> tests/regex_parser.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use flex::regex_parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flex::automaton` [INFO] [stdout] --> tests/automaton.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use flex::automaton::*; [INFO] [stdout] | ^^^^^^^^^ could not find `automaton` in `flex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_edge_nul_target_node` is never used [INFO] [stdout] --> src/nfa.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 64 | / impl NfaNode [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T: Clone + Debug, [INFO] [stdout] | |_____________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn add_edge_nul_target_node(&mut self, edge: NfaEdge) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flex` (test "automaton") due to 2 previous errors [INFO] [stdout] error[E0603]: enum `Item` is private [INFO] [stdout] --> tests/automaton.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use flex::regex_parser::Item; [INFO] [stdout] | ^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `Item` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/regex_parser.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::regex_tokenizer::{Item, RegexTokenIter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: import `Item` directly [INFO] [stdout] | [INFO] [stdout] 4 - use flex::regex_parser::Item; [INFO] [stdout] 4 + use flex::regex_tokenizer::Item; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "697349524fd702f9abd71a5fcaca6a2a3b8ae9a5e377bfa8fcfb70cced86bf79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697349524fd702f9abd71a5fcaca6a2a3b8ae9a5e377bfa8fcfb70cced86bf79", kill_on_drop: false }` [INFO] [stdout] 697349524fd702f9abd71a5fcaca6a2a3b8ae9a5e377bfa8fcfb70cced86bf79