[INFO] cloning repository https://github.com/astherath/turbogrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/astherath/turbogrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c12dbb3563d51979d4a229ccbc6928fbe3c4e497 [INFO] checking astherath/turbogrep/c12dbb3563d51979d4a229ccbc6928fbe3c4e497 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/astherath/turbogrep on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/astherath/turbogrep [INFO] finished tweaking git repo https://github.com/astherath/turbogrep [INFO] tweaked toml for git repo https://github.com/astherath/turbogrep written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/astherath/turbogrep 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68a070a6a3421fdff53f2a3d1f36907fc30ad21196259b4ccb9e0fa6843de070 [INFO] running `Command { std: "docker" "start" "-a" "68a070a6a3421fdff53f2a3d1f36907fc30ad21196259b4ccb9e0fa6843de070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68a070a6a3421fdff53f2a3d1f36907fc30ad21196259b4ccb9e0fa6843de070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a070a6a3421fdff53f2a3d1f36907fc30ad21196259b4ccb9e0fa6843de070", kill_on_drop: false }` [INFO] [stdout] 68a070a6a3421fdff53f2a3d1f36907fc30ad21196259b4ccb9e0fa6843de070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0ce61c5ed6ab9a53795e5f96f9d80c892f3f23a225727048f308680c6d764cb [INFO] running `Command { std: "docker" "start" "-a" "f0ce61c5ed6ab9a53795e5f96f9d80c892f3f23a225727048f308680c6d764cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking turbogrep v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::commons` [INFO] [stdout] --> tests/dir_walker.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::commons::unwrap_and_check_ok; [INFO] [stdout] | ^^^^^^^ could not find `commons` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_paths_that_match_expr` in this scope [INFO] [stdout] --> tests/dir_walker.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | get_file_paths_that_match_expr(expr, &init_path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/file_changes.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | new: user_input.replacement.to_string(), [INFO] [stdout] | ^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option: std::fmt::Display` [INFO] [stdout] which is required by `Option: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: the method `to_string` exists on the type `String` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:2619:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `String` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 17 | new: user_input.replacement.expect("REASON").to_string(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_paths_that_match_expr` in this scope [INFO] [stdout] --> tests/dir_walker.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | get_file_paths_that_match_expr(expr, &init_path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/dir_walker.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | files.into_iter().for_each(|path| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `Path: Sized` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/path.rs:2105:12 [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_paths_that_match_expr` in this scope [INFO] [stdout] --> tests/dir_walker.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | get_file_paths_that_match_expr(expr, &init_path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_paths_that_match_expr` in this scope [INFO] [stdout] --> tests/dir_walker.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | get_file_paths_that_match_expr(expr, &init_path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/dir_walker.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | files.into_iter().for_each(|path| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]`, which is required by `Path: Sized` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/path.rs:2105:12 [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `turbogrep` (test "dir_walker") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbogrep` (test "mod") due to 4 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbogrep` (bin "turbogrep") due to 2 previous errors [INFO] [stdout] error[E0599]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/file_changes.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | new: user_input.replacement.to_string(), [INFO] [stdout] | ^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option: std::fmt::Display` [INFO] [stdout] which is required by `Option: ToString` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: the method `to_string` exists on the type `String` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:2619:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `String` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 17 | new: user_input.replacement.expect("REASON").to_string(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbogrep` (bin "turbogrep" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f0ce61c5ed6ab9a53795e5f96f9d80c892f3f23a225727048f308680c6d764cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0ce61c5ed6ab9a53795e5f96f9d80c892f3f23a225727048f308680c6d764cb", kill_on_drop: false }` [INFO] [stdout] f0ce61c5ed6ab9a53795e5f96f9d80c892f3f23a225727048f308680c6d764cb