[INFO] updating cached repository https://github.com/johangwbasson/fp-rust
[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] 96f78901f9fb25c4a71776c54fe6f42acfa644c4
[INFO] checking johangwbasson/fp-rust against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohangwbasson%2Ffp-rust" "/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/johangwbasson/fp-rust on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/johangwbasson/fp-rust
[INFO] finished tweaking git repo https://github.com/johangwbasson/fp-rust
[INFO] tweaked toml for git repo https://github.com/johangwbasson/fp-rust written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/johangwbasson/fp-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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=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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 933078c00cbb724558179ddb411bed0cd395096ebbf38c2c301d67037b2195b3
[INFO] running `"docker" "start" "-a" "933078c00cbb724558179ddb411bed0cd395096ebbf38c2c301d67037b2195b3"`
[INFO] [stderr]    Compiling smallvec v1.0.0
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]     Checking unicode-normalization v0.1.11
[INFO] [stderr]     Checking rust-crypto v0.2.36
[INFO] [stderr]     Checking inotify v0.6.1
[INFO] [stderr]     Checking notify v4.0.14
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking block-cipher-trait v0.6.2
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking blowfish v0.4.0
[INFO] [stderr]     Checking bcrypt v0.6.1
[INFO] [stderr]     Checking cookie v0.11.1
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking jwt v0.4.0
[INFO] [stderr]     Checking rocket_http v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling rocket_codegen v0.4.2
[INFO] [stderr]     Checking rocket v0.4.2
[INFO] [stderr]     Checking rocket_contrib v0.4.2
[INFO] [stderr]     Checking fp-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0507]: cannot move out of dereference of `rocket_contrib::json::Json<Auth>`
[INFO] [stderr]   --> src/main.rs:24:24
[INFO] [stderr]    |
[INFO] [stderr] 24 |     match authenticate(auth.email, auth.password) {
[INFO] [stderr]    |                        ^^^^^^^^^^ move occurs because value has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of dereference of `rocket_contrib::json::Json<Auth>`
[INFO] [stderr]   --> src/main.rs:24:36
[INFO] [stderr]    |
[INFO] [stderr] 24 |     match authenticate(auth.email, auth.password) {
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^ move occurs because value has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stderr] 
[INFO] [stderr] error[E0382]: use of moved value: `user`
[INFO] [stderr]   --> src/security.rs:21:20
[INFO] [stderr]    |
[INFO] [stderr] 19 | fn check_password(user: User, plain: String) -> Result<User, String> {
[INFO] [stderr]    |                   ---- move occurs because `user` has type `db::User`, which does not implement the `Copy` trait
[INFO] [stderr] 20 |     match verify(plain, user.get_password().as_str()).unwrap() {
[INFO] [stderr]    |                         ---- value moved here
[INFO] [stderr] 21 |         true => Ok(user),
[INFO] [stderr]    |                    ^^^^ value used here after move
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0382, E0507.
[INFO] [stderr] For more information about an error, try `rustc --explain E0382`.
[INFO] [stderr] error: could not compile `fp-rust`.
[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[E0507]: cannot move out of dereference of `rocket_contrib::json::Json<Auth>`
[INFO] [stderr]   --> src/main.rs:24:24
[INFO] [stderr]    |
[INFO] [stderr] 24 |     match authenticate(auth.email, auth.password) {
[INFO] [stderr]    |                        ^^^^^^^^^^ move occurs because value has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of dereference of `rocket_contrib::json::Json<Auth>`
[INFO] [stderr]   --> src/main.rs:24:36
[INFO] [stderr]    |
[INFO] [stderr] 24 |     match authenticate(auth.email, auth.password) {
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^ move occurs because value has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stderr] 
[INFO] [stderr] error[E0382]: use of moved value: `user`
[INFO] [stderr]   --> src/security.rs:21:20
[INFO] [stderr]    |
[INFO] [stderr] 19 | fn check_password(user: User, plain: String) -> Result<User, String> {
[INFO] [stderr]    |                   ---- move occurs because `user` has type `db::User`, which does not implement the `Copy` trait
[INFO] [stderr] 20 |     match verify(plain, user.get_password().as_str()).unwrap() {
[INFO] [stderr]    |                         ---- value moved here
[INFO] [stderr] 21 |         true => Ok(user),
[INFO] [stderr]    |                    ^^^^ value used here after move
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0382, E0507.
[INFO] [stderr] For more information about an error, try `rustc --explain E0382`.
[INFO] [stderr] error: could not compile `fp-rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "933078c00cbb724558179ddb411bed0cd395096ebbf38c2c301d67037b2195b3"`
[INFO] running `"docker" "rm" "-f" "933078c00cbb724558179ddb411bed0cd395096ebbf38c2c301d67037b2195b3"`
[INFO] [stdout] 933078c00cbb724558179ddb411bed0cd395096ebbf38c2c301d67037b2195b3
