[INFO] updating cached repository performance/enum_hall [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/performance/enum_hall [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/performance/enum_hall" "work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/performance/enum_hall"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/performance/enum_hall'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/performance/enum_hall" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/performance/enum_hall"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/performance/enum_hall'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 92a1d9b240fb5b4899db5644a3a0010441c0821f [INFO] sha for GitHub repo performance/enum_hall: 92a1d9b240fb5b4899db5644a3a0010441c0821f [INFO] validating manifest of performance/enum_hall on toolchain master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of performance/enum_hall on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing performance/enum_hall [INFO] finished frobbing performance/enum_hall [INFO] frobbed toml for performance/enum_hall written to work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/performance/enum_hall/Cargo.toml [INFO] started frobbing performance/enum_hall [INFO] finished frobbing performance/enum_hall [INFO] frobbed toml for performance/enum_hall written to work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/performance/enum_hall/Cargo.toml [INFO] crate performance/enum_hall already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/performance/enum_hall/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking performance/enum_hall against master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-4/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/performance/enum_hall:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d2aa0282a61e707920b15307b40ed61a83d6ec784d28e17a0be0a2e04e72d61b [INFO] running `"docker" "start" "-a" "d2aa0282a61e707920b15307b40ed61a83d6ec784d28e17a0be0a2e04e72d61b"` [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking enum_hall v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find function `sample` in module `rand` [INFO] [stderr] --> src/main.rs:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | let car_choice : DoorChoice = rand::sample( rng, door_choices.into_iter(), 1)[0].clone(); [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] 6 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sample` in module `rand` [INFO] [stderr] --> src/main.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | let player_choice : DoorChoice = rand::sample( rng, door_choices.into_iter(), 1)[0].clone(); [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] 6 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sample` in module `rand` [INFO] [stderr] --> src/main.rs:42:11 [INFO] [stderr] | [INFO] [stderr] 42 | rand::sample(rng, choices.into_iter(), 1)[0].clone() [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] 6 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sample` in module `rand` [INFO] [stderr] --> src/main.rs:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | let car_choice : DoorChoice = rand::sample( rng, door_choices.into_iter(), 1)[0].clone(); [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] 6 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sample` in module `rand` [INFO] [stderr] --> src/main.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | let player_choice : DoorChoice = rand::sample( rng, door_choices.into_iter(), 1)[0].clone(); [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] 6 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sample` in module `rand` [INFO] [stderr] --> src/main.rs:42:11 [INFO] [stderr] | [INFO] [stderr] 42 | rand::sample(rng, choices.into_iter(), 1)[0].clone() [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] 6 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `enum_hall`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `enum_hall`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d2aa0282a61e707920b15307b40ed61a83d6ec784d28e17a0be0a2e04e72d61b"` [INFO] running `"docker" "rm" "-f" "d2aa0282a61e707920b15307b40ed61a83d6ec784d28e17a0be0a2e04e72d61b"` [INFO] [stdout] d2aa0282a61e707920b15307b40ed61a83d6ec784d28e17a0be0a2e04e72d61b