[INFO] updating cached repository tsurai/data-mining-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tsurai/data-mining-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tsurai/data-mining-rs" "work/ex/beta-1.38-1/sources/1.37.0/gh/tsurai/data-mining-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/tsurai/data-mining-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tsurai/data-mining-rs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tsurai/data-mining-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tsurai/data-mining-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8550eab35b1abc27d3a5741a287d5af4bed4b5f6 [INFO] sha for GitHub repo tsurai/data-mining-rs: 8550eab35b1abc27d3a5741a287d5af4bed4b5f6 [INFO] validating manifest of tsurai/data-mining-rs on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tsurai/data-mining-rs on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tsurai/data-mining-rs [INFO] finished frobbing tsurai/data-mining-rs [INFO] frobbed toml for tsurai/data-mining-rs written to work/ex/beta-1.38-1/sources/1.37.0/gh/tsurai/data-mining-rs/Cargo.toml [INFO] started frobbing tsurai/data-mining-rs [INFO] finished frobbing tsurai/data-mining-rs [INFO] frobbed toml for tsurai/data-mining-rs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tsurai/data-mining-rs/Cargo.toml [INFO] crate tsurai/data-mining-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/tsurai/data-mining-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.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing tsurai/data-mining-rs against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tsurai/data-mining-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-08-13" "build" "--frozen"` [INFO] [stdout] 534534c2754d30d347084fbf8d0d64901b102805f564bda56ca41cb4834a8116 [INFO] running `"docker" "start" "-a" "534534c2754d30d347084fbf8d0d64901b102805f564bda56ca41cb4834a8116"` [INFO] [stderr] Compiling getrandom v0.1.10 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling datamining_rs v0.0.2 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/kmeans.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/kmedoids.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `shuffle` found for type `rand::prelude::ThreadRng` in the current scope [INFO] [stderr] --> src/kmeans.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | thread_rng().shuffle(&mut indices[..]); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `shuffle` found for type `rand::prelude::ThreadRng` in the current scope [INFO] [stderr] --> src/kmedoids.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | thread_rng().shuffle(&mut indices[..]); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: Could not compile `datamining_rs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "534534c2754d30d347084fbf8d0d64901b102805f564bda56ca41cb4834a8116"` [INFO] running `"docker" "rm" "-f" "534534c2754d30d347084fbf8d0d64901b102805f564bda56ca41cb4834a8116"` [INFO] [stdout] 534534c2754d30d347084fbf8d0d64901b102805f564bda56ca41cb4834a8116