[INFO] updating cached repository https://github.com/archer884/motivate
[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] fcef39a77c40e9a03d8cd6325182460d760ed5a7
[INFO] checking archer884/motivate against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fmotivate" "/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/archer884/motivate on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/archer884/motivate
[INFO] finished tweaking git repo https://github.com/archer884/motivate
[INFO] tweaked toml for git repo https://github.com/archer884/motivate written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/archer884/motivate already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] [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 `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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=forbid" "-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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] fd92486b75bc701991e266a9b8bee6e62b165c864085ec75816738cc312854ab
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "fd92486b75bc701991e266a9b8bee6e62b165c864085ec75816738cc312854ab"`
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking motivate v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0425]: cannot find function `decode` in crate `toml`
[INFO] [stderr]   --> src/quotes.rs:59:42
[INFO] [stderr]    |
[INFO] [stderr] 59 |                     Some(value) => toml::decode(value.clone()).ok_or(
[INFO] [stderr]    |                                          ^^^^^^ not found in `toml`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc_serialize::json::decode;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::Rng`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rand::Rng;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `decode` in crate `toml`
[INFO] [stderr]   --> src/quotes.rs:59:42
[INFO] [stderr]    |
[INFO] [stderr] 59 |                     Some(value) => toml::decode(value.clone()).ok_or(
[INFO] [stderr]    |                                          ^^^^^^ not found in `toml`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use rustc_serialize::json::decode;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::Rng`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rand::Rng;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `choose` found for struct `rand::prelude::ThreadRng` in the current scope
[INFO] [stderr]   --> src/main.rs:38:24
[INFO] [stderr]    |
[INFO] [stderr] 38 |     rand::thread_rng().choose(&all_quotes).map(|&quote| quote)
[INFO] [stderr]    |                        ^^^^^^ method not found in `rand::prelude::ThreadRng`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `choose` found for struct `rand::prelude::ThreadRng` in the current scope
[INFO] [stderr]   --> src/main.rs:38:24
[INFO] [stderr]    |
[INFO] [stderr] 38 |     rand::thread_rng().choose(&all_quotes).map(|&quote| quote)
[INFO] [stderr]    |                        ^^^^^^ method not found in `rand::prelude::ThreadRng`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stderr]   --> src/quotes.rs:57:42
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 Ok(value) => match value.lookup("sources") {
[INFO] [stderr]    |                                          ^^^^^^ method not found in `toml::Value`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lookup` found for enum `toml::Value` in the current scope
[INFO] [stderr]   --> src/quotes.rs:57:42
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 Ok(value) => match value.lookup("sources") {
[INFO] [stderr]    |                                          ^^^^^^ method not found in `toml::Value`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `motivate`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `motivate`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "fd92486b75bc701991e266a9b8bee6e62b165c864085ec75816738cc312854ab"`
[INFO] running `"docker" "rm" "-f" "fd92486b75bc701991e266a9b8bee6e62b165c864085ec75816738cc312854ab"`
[INFO] [stdout] fd92486b75bc701991e266a9b8bee6e62b165c864085ec75816738cc312854ab
