[INFO] updating cached repository https://github.com/b4284/guessing_game [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c1780cdf1b0740d0297c46b50d131e91c6ae2bd8 [INFO] testing b4284/guessing_game against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb4284%2Fguessing_game" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/b4284/guessing_game on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/b4284/guessing_game [INFO] finished tweaking git repo https://github.com/b4284/guessing_game [INFO] tweaked toml for git repo https://github.com/b4284/guessing_game written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/b4284/guessing_game already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 96c1a26726ee2701e39589a94aa3cb2130db3ea66bd3293ad07123bd6a6f1334 [INFO] running `"docker" "start" "-a" "96c1a26726ee2701e39589a94aa3cb2130db3ea66bd3293ad07123bd6a6f1334"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling guessing_game v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stderr] --> src/main.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | let secret = std::rand::random::() % 100 + 1; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/main.rs:31:38 [INFO] [stderr] | [INFO] [stderr] 31 | let input = std::io::stdin().read_line().ok().expect("shouldn't fail"); [INFO] [stderr] | ^^^^^^^^^- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `trim` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | match input.trim().parse::() { [INFO] [stderr] | ^^^^ method not found in `usize` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `guessing_game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "96c1a26726ee2701e39589a94aa3cb2130db3ea66bd3293ad07123bd6a6f1334"` [INFO] running `"docker" "rm" "-f" "96c1a26726ee2701e39589a94aa3cb2130db3ea66bd3293ad07123bd6a6f1334"` [INFO] [stdout] 96c1a26726ee2701e39589a94aa3cb2130db3ea66bd3293ad07123bd6a6f1334