[INFO] updating cached repository https://github.com/akuraj/learning
[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] 327be26c8408a7da53f5749b1b7ee3186b2a8ec1
[INFO] testing akuraj/learning against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakuraj%2Flearning" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/akuraj/learning on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/akuraj/learning
[INFO] finished tweaking git repo https://github.com/akuraj/learning
[INFO] tweaked toml for git repo https://github.com/akuraj/learning written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/akuraj/learning already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.40.0" "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] 54ec86400277d672312c7c7ca1ebd10b01027d8a0314984a5fa1f255b65c1744
[INFO] running `"docker" "start" "-a" "54ec86400277d672312c7c7ca1ebd10b01027d8a0314984a5fa1f255b65c1744"`
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `rand::ThreadRng`
[INFO] [stderr]  --> src/percepteron.rs:1:30
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rand::{ Rng, thread_rng, ThreadRng };
[INFO] [stderr]   |                              ^^^^^^^^^
[INFO] [stderr]   |                              |
[INFO] [stderr]   |                              no `ThreadRng` in the root
[INFO] [stderr]   |                              help: a similar name exists in the module: `thread_rng`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Rng`
[INFO] [stderr]  --> src/percepteron.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rand::{ Rng, thread_rng, ThreadRng };
[INFO] [stderr]   |             ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` 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 E0432`.
[INFO] [stderr] error: could not compile `learning`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "54ec86400277d672312c7c7ca1ebd10b01027d8a0314984a5fa1f255b65c1744"`
[INFO] running `"docker" "rm" "-f" "54ec86400277d672312c7c7ca1ebd10b01027d8a0314984a5fa1f255b65c1744"`
[INFO] [stdout] 54ec86400277d672312c7c7ca1ebd10b01027d8a0314984a5fa1f255b65c1744
