[INFO] crate spaceslugs 0.1.0 is already in cache [INFO] extracting crate spaceslugs 0.1.0 into work/ex/pr-62181/sources/master#6ea4036cd20a4b1ab1d56e555108c21735ff6946/reg/spaceslugs/0.1.0 [INFO] extracting crate spaceslugs 0.1.0 into work/ex/pr-62181/sources/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc/reg/spaceslugs/0.1.0 [INFO] validating manifest of spaceslugs-0.1.0 on toolchain master#6ea4036cd20a4b1ab1d56e555108c21735ff6946 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+6ea4036cd20a4b1ab1d56e555108c21735ff6946-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of spaceslugs-0.1.0 on toolchain try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+003a7b6b5753e8509fdfe7949d4f0873ba71e4fc-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing spaceslugs-0.1.0 [INFO] finished frobbing spaceslugs-0.1.0 [INFO] frobbed toml for spaceslugs-0.1.0 written to work/ex/pr-62181/sources/master#6ea4036cd20a4b1ab1d56e555108c21735ff6946/reg/spaceslugs/0.1.0/Cargo.toml [INFO] started frobbing spaceslugs-0.1.0 [INFO] finished frobbing spaceslugs-0.1.0 [INFO] frobbed toml for spaceslugs-0.1.0 written to work/ex/pr-62181/sources/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc/reg/spaceslugs/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+6ea4036cd20a4b1ab1d56e555108c21735ff6946-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+003a7b6b5753e8509fdfe7949d4f0873ba71e4fc-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+6ea4036cd20a4b1ab1d56e555108c21735ff6946-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+003a7b6b5753e8509fdfe7949d4f0873ba71e4fc-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking spaceslugs-0.1.0 against try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc for pr-62181 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62181/worker-1/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62181/sources/try#003a7b6b5753e8509fdfe7949d4f0873ba71e4fc/reg/spaceslugs/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+003a7b6b5753e8509fdfe7949d4f0873ba71e4fc-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 56f11194cd51df654e710119668ea8130312b52be0cb07430a88472d4b93489d [INFO] running `"docker" "start" "-a" "56f11194cd51df654e710119668ea8130312b52be0cb07430a88472d4b93489d"` [INFO] [stderr] Checking spaceslugs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | result = re_replace_non_ascii.replace_all(&result[..], ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `re_replace_non_ascii.replace_all(&result[..], "").to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | result = re_replace_non_ascii.replace_all(&result[..], ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `re_replace_non_ascii.replace_all(&result[..], "").to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | result = re_replace_single_quotes.replace_all(&result[..], ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `re_replace_single_quotes.replace_all(&result[..], "").to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | result = re_replace_single_quotes.replace_all(&result[..], ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `re_replace_single_quotes.replace_all(&result[..], "").to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | result = re_replace_non_char.replace_all(&result[..], " "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `re_replace_non_char.replace_all(&result[..], " ").to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | result = re_replace_non_char.replace_all(&result[..], " "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `re_replace_non_char.replace_all(&result[..], " ").to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | result = re_replace_spaces.replace_all(&result[..], "-"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `re_replace_spaces.replace_all(&result[..], "-").to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | result = re_replace_spaces.replace_all(&result[..], "-"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `re_replace_spaces.replace_all(&result[..], "-").to_string()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `std::borrow::Cow<'_, str>` [INFO] [stderr] [INFO] [stderr] error: Could not compile `spaceslugs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `spaceslugs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "56f11194cd51df654e710119668ea8130312b52be0cb07430a88472d4b93489d"` [INFO] running `"docker" "rm" "-f" "56f11194cd51df654e710119668ea8130312b52be0cb07430a88472d4b93489d"` [INFO] [stdout] 56f11194cd51df654e710119668ea8130312b52be0cb07430a88472d4b93489d