[INFO] cloning repository https://github.com/oriolval/guessinggame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oriolval/guessinggame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foriolval%2Fguessinggame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foriolval%2Fguessinggame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8144674187f326ea9c7b8710722e78c8b79945d1 [INFO] testing oriolval/guessinggame against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foriolval%2Fguessinggame" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oriolval/guessinggame on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oriolval/guessinggame [INFO] finished tweaking git repo https://github.com/oriolval/guessinggame [INFO] tweaked toml for git repo https://github.com/oriolval/guessinggame written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/oriolval/guessinggame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d56955ff72b09e16798c1f49c0524a44bfbfaf28d6680e780fcc07e8caa34a9 [INFO] running `Command { std: "docker" "start" "-a" "6d56955ff72b09e16798c1f49c0524a44bfbfaf28d6680e780fcc07e8caa34a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d56955ff72b09e16798c1f49c0524a44bfbfaf28d6680e780fcc07e8caa34a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d56955ff72b09e16798c1f49c0524a44bfbfaf28d6680e780fcc07e8caa34a9", kill_on_drop: false }` [INFO] [stdout] 6d56955ff72b09e16798c1f49c0524a44bfbfaf28d6680e780fcc07e8caa34a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eee1d4183ad9f74fb41a8c6cf1fac6dd9d80ad3032d46670d4c7492c734eaa21 [INFO] running `Command { std: "docker" "start" "-a" "eee1d4183ad9f74fb41a8c6cf1fac6dd9d80ad3032d46670d4c7492c734eaa21", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [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 guessing_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rnd` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rnd::Rng; [INFO] [stdout] | ^^^ use of undeclared crate or module `rnd` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | let secret_number = rand::thread_rng().gen_range(1,101); [INFO] [stdout] | ^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_range(&mut self, low: B1, high: B2) -> T [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `guessing_game` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "eee1d4183ad9f74fb41a8c6cf1fac6dd9d80ad3032d46670d4c7492c734eaa21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eee1d4183ad9f74fb41a8c6cf1fac6dd9d80ad3032d46670d4c7492c734eaa21", kill_on_drop: false }` [INFO] [stdout] eee1d4183ad9f74fb41a8c6cf1fac6dd9d80ad3032d46670d4c7492c734eaa21