[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [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 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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" "+506512391b1a75ae450d36c9420978402a91abcc" "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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38b622a29867b47e83aab8c98e4193e98da4f1e0cb7ec566fae2159496ada915 [INFO] running `Command { std: "docker" "start" "-a" "38b622a29867b47e83aab8c98e4193e98da4f1e0cb7ec566fae2159496ada915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38b622a29867b47e83aab8c98e4193e98da4f1e0cb7ec566fae2159496ada915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b622a29867b47e83aab8c98e4193e98da4f1e0cb7ec566fae2159496ada915", kill_on_drop: false }` [INFO] [stdout] 38b622a29867b47e83aab8c98e4193e98da4f1e0cb7ec566fae2159496ada915 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d65396f337519b649407cf06623a4a6cde9c2396be9a5b6941a3126d691b387 [INFO] running `Command { std: "docker" "start" "-a" "1d65396f337519b649407cf06623a4a6cde9c2396be9a5b6941a3126d691b387", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking ansi_term v0.12.1 [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[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[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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/path.rs:1991: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[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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/path.rs:1991: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[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: the method `to_string` exists on the type `String` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:2541: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[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: the method `to_string` exists on the type `String` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:2541: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") due to 2 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" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1d65396f337519b649407cf06623a4a6cde9c2396be9a5b6941a3126d691b387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d65396f337519b649407cf06623a4a6cde9c2396be9a5b6941a3126d691b387", kill_on_drop: false }` [INFO] [stdout] 1d65396f337519b649407cf06623a4a6cde9c2396be9a5b6941a3126d691b387 [INFO] checking astherath/turbogrep against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/astherath/turbogrep on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb7262df7410769beb2d8081c4e7aa64eaa38878571bbbf11a5ce2b6e6e27637 [INFO] running `Command { std: "docker" "start" "-a" "cb7262df7410769beb2d8081c4e7aa64eaa38878571bbbf11a5ce2b6e6e27637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb7262df7410769beb2d8081c4e7aa64eaa38878571bbbf11a5ce2b6e6e27637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7262df7410769beb2d8081c4e7aa64eaa38878571bbbf11a5ce2b6e6e27637", kill_on_drop: false }` [INFO] [stdout] cb7262df7410769beb2d8081c4e7aa64eaa38878571bbbf11a5ce2b6e6e27637 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57dbbe5cb02d913999fabe122f8797372eb8f48d7ea4a44b66b181df2fc570b9 [INFO] running `Command { std: "docker" "start" "-a" "57dbbe5cb02d913999fabe122f8797372eb8f48d7ea4a44b66b181df2fc570b9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "57dbbe5cb02d913999fabe122f8797372eb8f48d7ea4a44b66b181df2fc570b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57dbbe5cb02d913999fabe122f8797372eb8f48d7ea4a44b66b181df2fc570b9", kill_on_drop: false }` [INFO] [stdout] 57dbbe5cb02d913999fabe122f8797372eb8f48d7ea4a44b66b181df2fc570b9