[INFO] updating cached repository bmcorser/similarity-rs
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/bmcorser/similarity-rs
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/bmcorser/similarity-rs" "work/ex/beta-1.37-6/sources/1.36.0/gh/bmcorser/similarity-rs"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/bmcorser/similarity-rs'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/bmcorser/similarity-rs" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/bmcorser/similarity-rs"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/bmcorser/similarity-rs'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 0067af1a1a35030cfa1a53752881801aee18cb8e
[INFO] sha for GitHub repo bmcorser/similarity-rs: 0067af1a1a35030cfa1a53752881801aee18cb8e
[INFO] validating manifest of bmcorser/similarity-rs on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of bmcorser/similarity-rs on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing bmcorser/similarity-rs
[INFO] finished frobbing bmcorser/similarity-rs
[INFO] frobbed toml for bmcorser/similarity-rs written to work/ex/beta-1.37-6/sources/1.36.0/gh/bmcorser/similarity-rs/Cargo.toml
[INFO] started frobbing bmcorser/similarity-rs
[INFO] finished frobbing bmcorser/similarity-rs
[INFO] frobbed toml for bmcorser/similarity-rs written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/bmcorser/similarity-rs/Cargo.toml
[INFO] crate bmcorser/similarity-rs already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/bmcorser/similarity-rs/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache lock
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing bmcorser/similarity-rs against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/bmcorser/similarity-rs:/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=warn" "-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" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] 4a16d7050c380f73c38f79071e00fef7c8de8c8718418b81dda557b798a60cee
[INFO] running `"docker" "start" "-a" "4a16d7050c380f73c38f79071e00fef7c8de8c8718418b81dda557b798a60cee"`
[INFO] [stderr]    Compiling itertools v0.3.25
[INFO] [stderr]    Compiling csv v0.14.7
[INFO] [stderr]    Compiling rust-tfidf v1.0.4
[INFO] [stderr]    Compiling similarity-rs v0.1.0 (/opt/crater/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<std::string::String>` 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<std::string::String>` 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" "4a16d7050c380f73c38f79071e00fef7c8de8c8718418b81dda557b798a60cee"`
[INFO] running `"docker" "rm" "-f" "4a16d7050c380f73c38f79071e00fef7c8de8c8718418b81dda557b798a60cee"`
[INFO] [stdout] 4a16d7050c380f73c38f79071e00fef7c8de8c8718418b81dda557b798a60cee
