[INFO] cloning repository https://github.com/jctaoo/tigen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jctaoo/tigen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjctaoo%2Ftigen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjctaoo%2Ftigen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e69c84dc039571fec02a04e3825026beb0ab0309 [INFO] testing jctaoo/tigen against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjctaoo%2Ftigen" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jctaoo/tigen on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jctaoo/tigen [INFO] finished tweaking git repo https://github.com/jctaoo/tigen [INFO] tweaked toml for git repo https://github.com/jctaoo/tigen written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate git repo https://github.com/jctaoo/tigen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9b6b764056064fca9c0f8ce2a95a90a699da6759f0f527f3548911a66d63de5 [INFO] running `Command { std: "docker" "start" "-a" "b9b6b764056064fca9c0f8ce2a95a90a699da6759f0f527f3548911a66d63de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9b6b764056064fca9c0f8ce2a95a90a699da6759f0f527f3548911a66d63de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b6b764056064fca9c0f8ce2a95a90a699da6759f0f527f3548911a66d63de5", kill_on_drop: false }` [INFO] [stdout] b9b6b764056064fca9c0f8ce2a95a90a699da6759f0f527f3548911a66d63de5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aec13fa48fe09de58b66afbb4140cad9ca51e71544e2438b3a99cc971090975 [INFO] running `Command { std: "docker" "start" "-a" "9aec13fa48fe09de58b66afbb4140cad9ca51e71544e2438b3a99cc971090975", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling tigen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::code_gen::BTest` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::code_gen::BTest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `BTest` in `code_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/input/flow_input.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/input/flow_input.rs:25:50 [INFO] [stdout] | [INFO] [stdout] 25 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/input/code_gen_input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/input/flow_input.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{Arg, App, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/input/code_gen_input.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | fn absolute_path() -> Result<&str, Error>; [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 5 | fn absolute_path() -> Result<&'static str, Error>; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/input/flow_input.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn absolute_path() -> Result<&str, Error> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 15 | fn absolute_path() -> Result<&'static str, Error> { [INFO] [stdout] | ~~~~~~~~ [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: E0106, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tigen` due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9aec13fa48fe09de58b66afbb4140cad9ca51e71544e2438b3a99cc971090975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aec13fa48fe09de58b66afbb4140cad9ca51e71544e2438b3a99cc971090975", kill_on_drop: false }` [INFO] [stdout] 9aec13fa48fe09de58b66afbb4140cad9ca51e71544e2438b3a99cc971090975