[INFO] updating cached repository https://github.com/performance/enum_hall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92a1d9b240fb5b4899db5644a3a0010441c0821f [INFO] testing performance/enum_hall against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperformance%2Fenum_hall" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 100% (37/37) Checking out files: 100% (37/37), done. [INFO] validating manifest of git repo https://github.com/performance/enum_hall on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/performance/enum_hall [INFO] finished tweaking git repo https://github.com/performance/enum_hall [INFO] tweaked toml for git repo https://github.com/performance/enum_hall written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/performance/enum_hall already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62c810b04156b783ad5434b21e76b7dafdcd629c493dd60aebb398f3b59aa618 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "62c810b04156b783ad5434b21e76b7dafdcd629c493dd60aebb398f3b59aa618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62c810b04156b783ad5434b21e76b7dafdcd629c493dd60aebb398f3b59aa618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62c810b04156b783ad5434b21e76b7dafdcd629c493dd60aebb398f3b59aa618", kill_on_drop: false }` [INFO] [stdout] 62c810b04156b783ad5434b21e76b7dafdcd629c493dd60aebb398f3b59aa618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0e7895dfc7216dd14da7aab3d2e70f57f8f784e00282a93df88a4b456fb9c42 [INFO] running `Command { std: "docker" "start" "-a" "a0e7895dfc7216dd14da7aab3d2e70f57f8f784e00282a93df88a4b456fb9c42", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling enum_derive v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling enum_hall v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `sample` in crate `rand` [INFO] [stdout] --> src/main.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | let car_choice : DoorChoice = rand::sample( rng, door_choices.into_iter(), 1)[0].clone(); [INFO] [stdout] | ^^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::index::sample; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sample` in crate `rand` [INFO] [stdout] --> src/main.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | let player_choice : DoorChoice = rand::sample( rng, door_choices.into_iter(), 1)[0].clone(); [INFO] [stdout] | ^^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::index::sample; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sample` in crate `rand` [INFO] [stdout] --> src/main.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | rand::sample(rng, choices.into_iter(), 1)[0].clone() [INFO] [stdout] | ^^^^^^ not found in `rand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::index::sample; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enum_hall`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a0e7895dfc7216dd14da7aab3d2e70f57f8f784e00282a93df88a4b456fb9c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e7895dfc7216dd14da7aab3d2e70f57f8f784e00282a93df88a4b456fb9c42", kill_on_drop: false }` [INFO] [stdout] a0e7895dfc7216dd14da7aab3d2e70f57f8f784e00282a93df88a4b456fb9c42