[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwmurray%2Frfind" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jwmurray/rfind on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 795862736a419d2b7da5160484ef31d20c0f9b92ea0094f0e7848024482674bf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "795862736a419d2b7da5160484ef31d20c0f9b92ea0094f0e7848024482674bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "795862736a419d2b7da5160484ef31d20c0f9b92ea0094f0e7848024482674bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795862736a419d2b7da5160484ef31d20c0f9b92ea0094f0e7848024482674bf", kill_on_drop: false }` [INFO] [stdout] 795862736a419d2b7da5160484ef31d20c0f9b92ea0094f0e7848024482674bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e8259170b569d2828b391244f79dd8b368ad9d5117ac23514dd7644a19d3396 [INFO] running `Command { std: "docker" "start" "-a" "1e8259170b569d2828b391244f79dd8b368ad9d5117ac23514dd7644a19d3396", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling same-file v1.0.5 [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" "1e8259170b569d2828b391244f79dd8b368ad9d5117ac23514dd7644a19d3396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8259170b569d2828b391244f79dd8b368ad9d5117ac23514dd7644a19d3396", kill_on_drop: false }` [INFO] [stdout] 1e8259170b569d2828b391244f79dd8b368ad9d5117ac23514dd7644a19d3396