[INFO] cloning repository https://github.com/Ryusei-0407/actix-mysql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryusei-0407/actix-mysql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyusei-0407%2Factix-mysql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyusei-0407%2Factix-mysql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b1819893e067b81a3ba07e738defe54ad6fd8fc [INFO] testing Ryusei-0407/actix-mysql against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyusei-0407%2Factix-mysql" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ryusei-0407/actix-mysql on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ryusei-0407/actix-mysql [INFO] finished tweaking git repo https://github.com/Ryusei-0407/actix-mysql [INFO] tweaked toml for git repo https://github.com/Ryusei-0407/actix-mysql written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Ryusei-0407/actix-mysql already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6b1dd3c2638edcf0f6b92641e294edbf42f017fe67a6e056c192938be3798f0 [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" "c6b1dd3c2638edcf0f6b92641e294edbf42f017fe67a6e056c192938be3798f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6b1dd3c2638edcf0f6b92641e294edbf42f017fe67a6e056c192938be3798f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b1dd3c2638edcf0f6b92641e294edbf42f017fe67a6e056c192938be3798f0", kill_on_drop: false }` [INFO] [stdout] c6b1dd3c2638edcf0f6b92641e294edbf42f017fe67a6e056c192938be3798f0 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a9a0ab2d3814607a553a75f3ee326d411752d44e6171361a612ce05e72536e9 [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" "1a9a0ab2d3814607a553a75f3ee326d411752d44e6171361a612ce05e72536e9", kill_on_drop: false }` [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/insert_user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use api::models::NewUser; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/insert_user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use api::schema::users as users_schema; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/insert_user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use api::utils::establish_connection; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/delete_user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use api::schema::users as users_schema; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/delete_user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use api::utils::establish_connection; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/update_user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use api::schema::users as users_schema; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/update_user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use api::utils::establish_connection; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/show_user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use api::models::User; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/show_user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use api::schema::users as users_schema; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `api` [INFO] [stdout] --> src/bin/show_user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use api::utils::establish_connection; [INFO] [stdout] | ^^^ use of undeclared crate or module `api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users_schema` [INFO] [stdout] --> src/bin/insert_user.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | diesel::insert_into(users_schema::dsl::users) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `users_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/bin/insert_user.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let connection = establish_connection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use app::utils::establish_connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/bin/insert_user.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use app::models::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewUser` in this scope [INFO] [stdout] --> src/bin/insert_user.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | NewUser { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use app::models::NewUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `(&_, &_, &_, &_, &_): diesel::Insertable<_>` [INFO] [stdout] --> src/bin/insert_user.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .execute(&connection) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#![recursion_limit="256"]` attribute to your crate (`insert_user`) [INFO] [stdout] = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(_, _, _, _, _)` [INFO] [stdout] = note: 124 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((_, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` [INFO] [stdout] = note: required because of the requirements on the impl of `QueryFragment<_>` for `BatchInsert<'_, (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((_, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _>` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `QueryFragment<_>` for `InsertStatement<_, BatchInsert<'_, (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((_, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _>>` [INFO] [stdout] = note: required because of the requirements on the impl of `ExecuteDsl<_, _>` for `InsertStatement<_, BatchInsert<'_, (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((_, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0275, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users_schema` [INFO] [stdout] --> src/bin/update_user.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | diesel::update(users_schema::dsl::users.find(2)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `users_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users_schema` [INFO] [stdout] --> src/bin/update_user.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | .set(users_schema::name.eq("updaet_user")) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `users_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/bin/update_user.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let connection = establish_connection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use app::utils::establish_connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users_schema` [INFO] [stdout] --> src/bin/delete_user.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | diesel::delete(users_schema::dsl::users.find(1)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `users_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/bin/delete_user.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let connection = establish_connection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use app::utils::establish_connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users_schema` [INFO] [stdout] --> src/bin/show_user.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let users = users_schema::dsl::users [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `users_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `establish_connection` in this scope [INFO] [stdout] --> src/bin/show_user.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let connection = establish_connection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use app::utils::establish_connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/bin/show_user.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | .load::(&connection) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use app::models::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/bin/show_user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1a9a0ab2d3814607a553a75f3ee326d411752d44e6171361a612ce05e72536e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9a0ab2d3814607a553a75f3ee326d411752d44e6171361a612ce05e72536e9", kill_on_drop: false }` [INFO] [stdout] 1a9a0ab2d3814607a553a75f3ee326d411752d44e6171361a612ce05e72536e9