[INFO] updating cached repository richo/pwrs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/richo/pwrs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/richo/pwrs" "work/ex/beta-1.38-1/sources/1.37.0/gh/richo/pwrs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/richo/pwrs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/richo/pwrs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/richo/pwrs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/richo/pwrs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 08020502c31ee9f5a745565c117a009700162754 [INFO] sha for GitHub repo richo/pwrs: 08020502c31ee9f5a745565c117a009700162754 [INFO] validating manifest of richo/pwrs 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 richo/pwrs 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 richo/pwrs [INFO] finished frobbing richo/pwrs [INFO] frobbed toml for richo/pwrs written to work/ex/beta-1.38-1/sources/1.37.0/gh/richo/pwrs/Cargo.toml [INFO] started frobbing richo/pwrs [INFO] finished frobbing richo/pwrs [INFO] frobbed toml for richo/pwrs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/richo/pwrs/Cargo.toml [INFO] crate richo/pwrs 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/richo/pwrs/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 richo/pwrs 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-0/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/richo/pwrs:/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] 2faa50de149028704dcd32cfff1bec4cb79674dc526e86f1c20217cc1dfbead5 [INFO] running `"docker" "start" "-a" "2faa50de149028704dcd32cfff1bec4cb79674dc526e86f1c20217cc1dfbead5"` [INFO] [stderr] Compiling getrandom v0.1.10 [INFO] [stderr] Compiling c2-chacha v0.2.2 [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 pwrs v1.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find function `sample` in crate `rand` [INFO] [stderr] --> src/main.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | rand::sample(&mut rng, words.iter(), cfg.number) [INFO] [stderr] | ^^^^^^ not found in `rand` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 9 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:135:14 [INFO] [stderr] | [INFO] [stderr] 135 | for _ in (0..cfg.count) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::slice::::connect': renamed to join [INFO] [stderr] --> src/main.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | let out = inter.connect(" "); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `pwrs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2faa50de149028704dcd32cfff1bec4cb79674dc526e86f1c20217cc1dfbead5"` [INFO] running `"docker" "rm" "-f" "2faa50de149028704dcd32cfff1bec4cb79674dc526e86f1c20217cc1dfbead5"` [INFO] [stdout] 2faa50de149028704dcd32cfff1bec4cb79674dc526e86f1c20217cc1dfbead5