[INFO] updating cached repository https://github.com/samdolt/dml [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4f88008c6623192d2b60f4b3b42af1d6b3fe751a [INFO] checking samdolt/dml against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdolt%2Fdml" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samdolt/dml on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/samdolt/dml [INFO] finished tweaking git repo https://github.com/samdolt/dml [INFO] tweaked toml for git repo https://github.com/samdolt/dml written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/samdolt/dml already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/samdolt/subcmd-rs.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=allow" "-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" "+beta-2019-10-27" "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] 9cfa518c9e91a97825c5db52e9817ee1141f2487e46dc3630f04f011eb129a13 [INFO] running `"docker" "start" "-a" "9cfa518c9e91a97825c5db52e9817ee1141f2487e46dc3630f04f011eb129a13"` [INFO] [stderr] Checking tabwriter v0.1.25 [INFO] [stderr] Checking subcmd v0.1.0 (https://github.com/samdolt/subcmd-rs.git#217a26d2) [INFO] [stderr] Checking dml v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/plugin/emphasis.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | result = strong_re.replace_all(&block, "$t"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `strong_re.replace_all(&block, "$t").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/plugin/emphasis.rs:35:26 [INFO] [stderr] | [INFO] [stderr] 35 | result = weak_re.replace_all(&result, "$t"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `weak_re.replace_all(&result, "$t").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/plugin/emphasis.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | result = strong_re.replace_all(&block, "$t"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `strong_re.replace_all(&block, "$t").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 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `dml`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/plugin/emphasis.rs:35:26 [INFO] [stderr] | [INFO] [stderr] 35 | result = weak_re.replace_all(&result, "$t"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::string::String`, found enum `std::borrow::Cow` [INFO] [stderr] | help: try using a conversion method: `weak_re.replace_all(&result, "$t").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 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `dml`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9cfa518c9e91a97825c5db52e9817ee1141f2487e46dc3630f04f011eb129a13"` [INFO] running `"docker" "rm" "-f" "9cfa518c9e91a97825c5db52e9817ee1141f2487e46dc3630f04f011eb129a13"` [INFO] [stdout] 9cfa518c9e91a97825c5db52e9817ee1141f2487e46dc3630f04f011eb129a13