[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 try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohangwbasson%2Ffp-rust" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johangwbasson/fp-rust on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "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-2/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" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+13f916f63bc6575d5ff1f989237dfabe88981368" "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] f7ae34a35e7b82cc7b38b8f69056bac7be3f23b6c6074ab9ec40a403d277ac43 [INFO] running `"docker" "start" "-a" "f7ae34a35e7b82cc7b38b8f69056bac7be3f23b6c6074ab9ec40a403d277ac43"` [INFO] [stderr] Checking jwt v0.4.0 [INFO] [stderr] Checking bcrypt v0.6.1 [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` [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` [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 { [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` [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` [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 { [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" "f7ae34a35e7b82cc7b38b8f69056bac7be3f23b6c6074ab9ec40a403d277ac43"` [INFO] running `"docker" "rm" "-f" "f7ae34a35e7b82cc7b38b8f69056bac7be3f23b6c6074ab9ec40a403d277ac43"` [INFO] [stdout] f7ae34a35e7b82cc7b38b8f69056bac7be3f23b6c6074ab9ec40a403d277ac43