[INFO] cloning repository https://github.com/jjkind/Portfolio-Rust_Actix_API_Example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jjkind/Portfolio-Rust_Actix_API_Example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjkind%2FPortfolio-Rust_Actix_API_Example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjkind%2FPortfolio-Rust_Actix_API_Example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3637f7dc11ecd7ddfdcc8f4ade32bbfb7db59c67 [INFO] testing jjkind/Portfolio-Rust_Actix_API_Example against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjkind%2FPortfolio-Rust_Actix_API_Example" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jjkind/Portfolio-Rust_Actix_API_Example on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jjkind/Portfolio-Rust_Actix_API_Example [INFO] finished tweaking git repo https://github.com/jjkind/Portfolio-Rust_Actix_API_Example [INFO] tweaked toml for git repo https://github.com/jjkind/Portfolio-Rust_Actix_API_Example written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/jjkind/Portfolio-Rust_Actix_API_Example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bded87476f70934b8b234b7852cb806f94b4bd8aca86d7db261130c36526229f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bded87476f70934b8b234b7852cb806f94b4bd8aca86d7db261130c36526229f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bded87476f70934b8b234b7852cb806f94b4bd8aca86d7db261130c36526229f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bded87476f70934b8b234b7852cb806f94b4bd8aca86d7db261130c36526229f", kill_on_drop: false }` [INFO] [stdout] bded87476f70934b8b234b7852cb806f94b4bd8aca86d7db261130c36526229f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f608ba0361064a98f90544b20dea00106f9a3443a79dd3f2660834a3257955e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0f608ba0361064a98f90544b20dea00106f9a3443a79dd3f2660834a3257955e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.14 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling alcoholic_jwt v1.0.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-web-httpauth v0.4.0 (https://github.com/actix/actix-web-httpauth#7fa9723f) [INFO] [stderr] Compiling rust-graphql-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `users` in `schema` [INFO] [stdout] --> src/handlers.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use super::schema::users::dsl::*; [INFO] [stdout] | ^^^^^ could not find `users` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/models.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize, Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/models.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Insertable, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[table_name = "users"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/schema.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] diesel::table [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `users` in this scope [INFO] [stdout] --> src/handlers.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let items = users.load::(&conn)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `users` in this scope [INFO] [stdout] --> src/handlers.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | users.find(user_id).get_result::(&conn) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `users` in this scope [INFO] [stdout] --> src/handlers.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | let res = insert_into(users).values(&new_user).get_result(&conn)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `users` in this scope [INFO] [stdout] --> src/handlers.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let count = delete(users.find(user_id)).execute(&conn)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `dev::ServiceRequest` [INFO] [stdout] --> src/main.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, App, HttpServer, dev::ServiceRequest, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::*` [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&NewUser<'_>: Insertable<_>` is not satisfied [INFO] [stdout] --> src/handlers.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 75 | let res = insert_into(users).values(&new_user).get_result(&conn)?; [INFO] [stdout] | ^^^^^^^^^ the trait `Insertable<_>` is not implemented for `&NewUser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: diesel::Queryable<_, Pg>` is not satisfied [INFO] [stdout] --> src/handlers.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 75 | let res = insert_into(users).values(&new_user).get_result(&conn)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `diesel::Queryable<_, Pg>` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `LoadQuery>, User>` for `InsertStatement<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::QueryDsl` [INFO] [stdout] --> src/handlers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::QueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-graphql-example` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0f608ba0361064a98f90544b20dea00106f9a3443a79dd3f2660834a3257955e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f608ba0361064a98f90544b20dea00106f9a3443a79dd3f2660834a3257955e", kill_on_drop: false }` [INFO] [stdout] 0f608ba0361064a98f90544b20dea00106f9a3443a79dd3f2660834a3257955e