[INFO] updating cached repository https://github.com/bmcorser/similarity-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 0067af1a1a35030cfa1a53752881801aee18cb8e [INFO] testing bmcorser/similarity-rs against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmcorser%2Fsimilarity-rs" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bmcorser/similarity-rs on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/bmcorser/similarity-rs [INFO] finished tweaking git repo https://github.com/bmcorser/similarity-rs [INFO] tweaked toml for git repo https://github.com/bmcorser/similarity-rs written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/bmcorser/similarity-rs already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 557774c391fc2f89ca7b414cefa612cdc1ec3a8c392718c9c44345f0335e811d [INFO] running `"docker" "start" "-a" "557774c391fc2f89ca7b414cefa612cdc1ec3a8c392718c9c44345f0335e811d"` [INFO] [stderr] Compiling itertools v0.3.25 [INFO] [stderr] Compiling rust-tfidf v1.0.4 [INFO] [stderr] Compiling similarity-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `&str: std::borrow::Borrow` is not satisfied [INFO] [stderr] --> src/main.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | TfIdfDefault::tfidf("a", &docs[0], docs.iter()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the trait `std::borrow::Borrow` is not implemented for `&str` [INFO] [stderr] | [INFO] [stderr] = note: required by `tfidf::TfIdf::tfidf` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `similarity-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "557774c391fc2f89ca7b414cefa612cdc1ec3a8c392718c9c44345f0335e811d"` [INFO] running `"docker" "rm" "-f" "557774c391fc2f89ca7b414cefa612cdc1ec3a8c392718c9c44345f0335e811d"` [INFO] [stdout] 557774c391fc2f89ca7b414cefa612cdc1ec3a8c392718c9c44345f0335e811d