[INFO] crate spaceslugs 0.1.0 is already in cache [INFO] checking spaceslugs-0.1.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate spaceslugs 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate spaceslugs 0.1.0 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate spaceslugs 0.1.0 [INFO] finished tweaking crates.io crate spaceslugs 0.1.0 [INFO] tweaked toml for crates.io crate spaceslugs 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 540a03b0f481551ef6f821e1fe5f46d32a5bbac62cb36e94d7a6b05d7c536698 [INFO] running `"docker" "start" "-a" "540a03b0f481551ef6f821e1fe5f46d32a5bbac62cb36e94d7a6b05d7c536698"` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking spaceslugs v0.1.0 (/opt/rustwide/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 struct `std::string::String` [INFO] [stderr] found enum `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 struct `std::string::String` [INFO] [stderr] found enum `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 struct `std::string::String` [INFO] [stderr] found enum `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 struct `std::string::String` [INFO] [stderr] found enum `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 struct `std::string::String` [INFO] [stderr] found enum `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 struct `std::string::String` [INFO] [stderr] found enum `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 struct `std::string::String` [INFO] [stderr] found enum `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 struct `std::string::String` [INFO] [stderr] found enum `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: 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `spaceslugs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "540a03b0f481551ef6f821e1fe5f46d32a5bbac62cb36e94d7a6b05d7c536698"` [INFO] running `"docker" "rm" "-f" "540a03b0f481551ef6f821e1fe5f46d32a5bbac62cb36e94d7a6b05d7c536698"` [INFO] [stdout] 540a03b0f481551ef6f821e1fe5f46d32a5bbac62cb36e94d7a6b05d7c536698