[INFO] cloning repository https://github.com/jwmurray/rfind [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jwmurray/rfind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwmurray%2Frfind", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwmurray%2Frfind'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edb7716434ef21395701016d0d8a3460e2fff156 [INFO] testing jwmurray/rfind against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwmurray%2Frfind" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jwmurray/rfind on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jwmurray/rfind [INFO] finished tweaking git repo https://github.com/jwmurray/rfind [INFO] tweaked toml for git repo https://github.com/jwmurray/rfind written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/jwmurray/rfind already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14e5908b5ca1d9c8a9941b35a9357b57a9d187a48844d91b566d21e0186bf1ce [INFO] running `Command { std: "docker" "start" "-a" "14e5908b5ca1d9c8a9941b35a9357b57a9d187a48844d91b566d21e0186bf1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14e5908b5ca1d9c8a9941b35a9357b57a9d187a48844d91b566d21e0186bf1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e5908b5ca1d9c8a9941b35a9357b57a9d187a48844d91b566d21e0186bf1ce", kill_on_drop: false }` [INFO] [stdout] 14e5908b5ca1d9c8a9941b35a9357b57a9d187a48844d91b566d21e0186bf1ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8c3d5ad40b49f7d44b40a9d6bba7756492573d1456c295dc6c97c82cb286920 [INFO] running `Command { std: "docker" "start" "-a" "a8c3d5ad40b49f7d44b40a9d6bba7756492573d1456c295dc6c97c82cb286920", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling rfind v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `Options` [INFO] [stdout] --> src/cli.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 49 | [INFO] [stdout] 50 | Options("hello".to_string(), pattern) [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ParseError` in this scope [INFO] [stdout] --> src/cli.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | Err(error) => return Err(ParseError(format!("Couldn't compile regex pattern. {}", error))), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Options` [INFO] [stdout] --> src/cli.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 9 | / pub struct Options { [INFO] [stdout] 10 | | path: String, [INFO] [stdout] 11 | | pattern: Regex, [INFO] [stdout] 12 | | // path_slice: &'a str, [INFO] [stdout] 13 | | // pattern_slice: &'a str, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- `Options` defined here [INFO] [stdout] ... [INFO] [stdout] 50 | Options("hello".to_string(), pattern) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `Options { path: val, pattern: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `WalkDir` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cli.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_options() -> Options { [INFO] [stdout] | ------- expected `Options` because of return type [INFO] [stdout] ... [INFO] [stdout] 47 | Err(error) => return Err(ParseError(format!("Couldn't compile regex pattern. {}", error))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Options`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Options` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rfind` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a8c3d5ad40b49f7d44b40a9d6bba7756492573d1456c295dc6c97c82cb286920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c3d5ad40b49f7d44b40a9d6bba7756492573d1456c295dc6c97c82cb286920", kill_on_drop: false }` [INFO] [stdout] a8c3d5ad40b49f7d44b40a9d6bba7756492573d1456c295dc6c97c82cb286920