<commit_before>#!/usr/bin/env bash

REPO_ROOT="$(git rev-parse --show-toplevel)"

cargo="${REPO_ROOT}/build-support/bin/native/cargo"

"${cargo}" ensure-installed --package cargo-ensure-prefix --version 0.1.3

if ! out="$("${cargo}" ensure-prefix \
  --manifest-path="${REPO_ROOT}/src/rust/engine/Cargo.toml" \
  --prefix-path="${REPO_ROOT}/build-support/rust-target-prefix.txt" \
  --all --exclude=bazel_protos)"; then<commit_msg>Update version of cargo-ensure-prefix to fix error while installing (#9240)<commit_after>#!/usr/bin/env bash

REPO_ROOT="$(git rev-parse --show-toplevel)"

cargo="${REPO_ROOT}/build-support/bin/native/cargo"

"${cargo}" ensure-installed --package cargo-ensure-prefix --version 0.1.5

if ! out="$("${cargo}" ensure-prefix \
  --manifest-path="${REPO_ROOT}/src/rust/engine/Cargo.toml" \
  --prefix-path="${REPO_ROOT}/build-support/rust-target-prefix.txt" \
  --all --exclude=bazel_protos)"; then
{'fraction_non_alphanumeric': 0.20887445887445888, 'fraction_numerical': 0.010822510822510822, 'mean_word_length': 4.4411764705882355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2265295', 'n_tokens_mistral': 355, 'n_tokens_neox': 333, 'n_words': 48}