[INFO] cloning repository https://github.com/tattoo1880/rust_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tattoo1880/rust_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftattoo1880%2Frust_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftattoo1880%2Frust_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 36432f441ec7777b9b4cd700877316aa442fff70
[INFO] testing tattoo1880/rust_api against 1.99.0-beta.8 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftattoo1880%2Frust_api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tattoo1880/rust_api
[INFO] finished tweaking git repo https://github.com/tattoo1880/rust_api
[INFO] tweaked toml for git repo https://github.com/tattoo1880/rust_api written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tattoo1880/rust_api on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tattoo1880/rust_api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.215
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded thread_local v0.3.6
[INFO] [stderr]   Downloaded uuid v0.6.5
[INFO] [stderr]   Downloaded listenfd v0.3.5
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded serde_derive v1.0.215
[INFO] [stderr]   Downloaded ucd-util v0.1.10
[INFO] [stderr]   Downloaded derive-error-chain v0.11.2
[INFO] [stderr]   Downloaded migrations_internals v2.2.0
[INFO] [stderr]   Downloaded syntex_fmt_macros v0.5.0
[INFO] [stderr]   Downloaded diesel_migrations v2.2.0
[INFO] [stderr]   Downloaded migrations_macros v2.2.0
[INFO] [stderr]   Downloaded env_logger v0.6.2
[INFO] [stderr]   Downloaded error-chain v0.11.0
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded dsl_auto_type v0.1.2
[INFO] [stderr]   Downloaded pq-sys v0.4.8
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.2.0
[INFO] [stderr]   Downloaded humantime v1.3.0
[INFO] [stderr]   Downloaded diesel_derives v2.2.3
[INFO] [stderr]   Downloaded syn v0.14.9
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] [stderr]   Downloaded actix-web v3.3.3
[INFO] [stderr]   Downloaded dotenv v0.11.0
[INFO] [stderr]   Downloaded diesel v2.2.6
[INFO] [stderr]   Downloaded const_fn v0.4.10
[INFO] [stderr]   Downloaded pin-project v1.1.7
[INFO] [stderr]   Downloaded pin-project-internal v1.1.7
[INFO] [stderr]   Downloaded pin-project v0.4.30
[INFO] [stderr]   Downloaded pin-project-internal v0.4.30
[INFO] [stderr]   Downloaded actix-http v2.2.2
[INFO] [stderr]   Downloaded brotli-decompressor v2.5.1
[INFO] [stderr]   Downloaded enum-as-inner v0.3.4
[INFO] [stderr]   Downloaded brotli v3.5.0
[INFO] [stderr]   Downloaded bytestring v1.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e
[INFO] running `Command { std: "docker" "start" "14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling const_fn v0.4.10
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling brotli v3.5.0
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling pin-project v0.4.30
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling dsl_auto_type v0.1.2
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling object v0.36.5
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling syntex_fmt_macros v0.5.0
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling diesel_derives v2.2.3
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling trust-dns-proto v0.19.7
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling migrations_internals v2.2.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.7
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling actix-router v0.2.7
[INFO] [stderr]    Compiling diesel v2.2.6
[INFO] [stderr]    Compiling derive-error-chain v0.11.2
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling migrations_macros v2.2.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling actix-http v2.2.2
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling listenfd v0.3.5
[INFO] [stderr]    Compiling uuid v0.6.5
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling dotenv v0.11.0
[INFO] [stderr]    Compiling awc v2.0.3
[INFO] [stderr]    Compiling actix-web v3.3.3
[INFO] [stderr]    Compiling diesel_migrations v2.2.0
[INFO] [stderr]    Compiling rust_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]   --> src/db.rs:15:44
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!();
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Failed to receive migrations dir from None
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = employees)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = employees)]` instead
[INFO] [stderr] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{web, App, HttpServer};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/employees/routes.rs:28:55
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let employee = Employees::update(id.into_inner(), employee.into_inner())?;
[INFO] [stdout]    |                    -----------------                  ^^^^^^^^^^^^^^^^^^^^^ expected `Employees`, found `Employee`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/employees/models.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn update(id: i32, employee: Employees) -> Result<Employee, CustomError> {
[INFO] [stdout]    |            ^^^^^^          -------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `employeess` in this scope
[INFO] [stdout]   --> src/employees/models.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Employees {
[INFO] [stdout]    |            ^^^^^^^^^ use of unresolved module or unlinked crate `employeess`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `employeess`, use `cargo add employeess` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(Integer, Text, Text, Text, Integer, Integer): CompatibleType<_, _>` is not satisfied
[INFO] [stdout]     --> src/employees/models.rs:28:59
[INFO] [stdout]      |
[INFO] [stdout]   28 |         let employees = employees::table.load::<Employee>(&conn)?;
[INFO] [stdout]      |                                          ----             ^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `diesel::query_dsl::load_dsl::private::CompatibleType<models::Employee, _>` is not implemented for `(Integer, Text, Text, Text, Integer, Integer)`
[INFO] [stdout]      = note: this is a mismatch between what your query returns and what your type expects the query to return
[INFO] [stdout]      = note: the fields in your struct need to match the fields returned by your query in count, order and type
[INFO] [stdout]      = note: consider using `#[derive(Selectable)]` or #[derive(QueryableByName)] + `#[diesel(check_for_backend(_))]` 
[INFO] [stdout]              on your struct `models::Employee` and in your query `.select(models::Employee::as_select())` to get a better error message
[INFO] [stdout]      = help: the following other types implement trait `diesel::query_dsl::load_dsl::private::CompatibleType<U, DB>`:
[INFO] [stdout]                (T₁, T₂, …, Tₙ) for tuples of arity 1 up to and including 32
[INFO] [stdout]              and 24 others
[INFO] [stdout]      = note: required for `table` to implement `LoadQuery<'_, _, models::Employee>`
[INFO] [stdout] note: required by a bound in `load`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.6/src/query_dsl/mod.rs:1542:15
[INFO] [stdout]      |
[INFO] [stdout] 1540 |     fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>>
[INFO] [stdout]      |        ---- required by a bound in this associated function
[INFO] [stdout] 1541 |     where
[INFO] [stdout] 1542 |         Self: LoadQuery<'query, Conn, U>,
[INFO] [stdout]      |               ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_api-369cbaab435dd46b.long-type-643705192134444935.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `models::Employee: FromSqlRow<_, _>` is not satisfied
[INFO] [stdout]     --> src/employees/models.rs:28:59
[INFO] [stdout]      |
[INFO] [stdout]   28 |         let employees = employees::table.load::<Employee>(&conn)?;
[INFO] [stdout]      |                                          ----             ^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `FromSqlRow<_, _>` is not implemented for `models::Employee`
[INFO] [stdout]     --> src/employees/models.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout]    8 | pub struct Employee {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: double check your type mappings via the documentation of `_`
[INFO] [stdout]      = note: `diesel::sql_query` requires the loading target to column names for loading values.
[INFO] [stdout]              You need to provide a type that explicitly derives `diesel::deserialize::QueryableByName`
[INFO] [stdout]      = help: the following other types implement trait `FromSqlRow<ST, DB>`:
[INFO] [stdout]                `(T1, T0)` implements `FromSqlRow<(ST1, Untyped), __DB>`
[INFO] [stdout]                `(T1, T2, T0)` implements `FromSqlRow<(ST1, ST2, Untyped), __DB>`
[INFO] [stdout]                `(T1, T2, T3, T0)` implements `FromSqlRow<(ST1, ST2, ST3, Untyped), __DB>`
[INFO] [stdout]                `(T1, T2, T3, T4, T0)` implements `FromSqlRow<(ST1, ST2, ST3, ST4, Untyped), __DB>`
[INFO] [stdout]                `(T1, T2, T3, T4, T5, T0)` implements `FromSqlRow<(ST1, ST2, ST3, ST4, ST5, Untyped), __DB>`
[INFO] [stdout]                `(T1, T2, T3, T4, T5, T6, T0)` implements `FromSqlRow<(ST1, ST2, ST3, ST4, ST5, ST6, Untyped), __DB>`
[INFO] [stdout]                `(T1, T2, T3, T4, T5, T6, T7, T0)` implements `FromSqlRow<(ST1, ST2, ST3, ST4, ST5, ST6, ST7, Untyped), __DB>`
[INFO] [stdout]                `(T1, T2, T3, T4, T5, T6, T7, T8, T0)` implements `FromSqlRow<(ST1, ST2, ST3, ST4, ST5, ST6, ST7, ST8, Untyped), __DB>`
[INFO] [stdout]              and 23 others
[INFO] [stdout]      = note: required for `table` to implement `LoadQuery<'_, _, models::Employee>`
[INFO] [stdout] note: required by a bound in `load`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.6/src/query_dsl/mod.rs:1542:15
[INFO] [stdout]      |
[INFO] [stdout] 1540 |     fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>>
[INFO] [stdout]      |        ---- required by a bound in this associated function
[INFO] [stdout] 1541 |     where
[INFO] [stdout] 1542 |         Self: LoadQuery<'query, Conn, U>,
[INFO] [stdout]      |               ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_api-369cbaab435dd46b.long-type-13356636222104055208.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/employees/models.rs:28:59
[INFO] [stdout]      |
[INFO] [stdout]   28 |         let employees = employees::table.load::<Employee>(&conn)?;
[INFO] [stdout]      |                                          ---------------- ^^^^^ types differ in mutability
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut _`
[INFO] [stdout]                         found reference `&PooledConnection<ConnectionManager<PgConnection>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.6/src/query_dsl/mod.rs:1540:8
[INFO] [stdout]      |
[INFO] [stdout] 1540 |     fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>>
[INFO] [stdout]      |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/employees/models.rs:34:76
[INFO] [stdout]      |
[INFO] [stdout]   34 |         let employee = employees::table.filter(employees::id.eq(id)).first(&conn)?;
[INFO] [stdout]      |                                                                      ----- ^^^^^ types differ in mutability
[INFO] [stdout]      |                                                                      |
[INFO] [stdout]      |                                                                      arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut _`
[INFO] [stdout]                         found reference `&PooledConnection<ConnectionManager<PgConnection>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.6/src/query_dsl/mod.rs:1776:8
[INFO] [stdout]      |
[INFO] [stdout] 1776 |     fn first<'query, U>(self, conn: &mut Conn) -> QueryResult<U>
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Employee: Queryable<(Integer, Text, Text, Text, Integer, Integer), _>` is not satisfied
[INFO] [stdout]     --> src/employees/models.rs:34:76
[INFO] [stdout]      |
[INFO] [stdout]   34 |         let employee = employees::table.filter(employees::id.eq(id)).first(&conn)?;
[INFO] [stdout]      |                                                                      ----- ^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                                                      |
[INFO] [stdout]      |                                                                      required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `Queryable<(Integer, diesel::sql_types::Text, diesel::sql_types::Text, diesel::sql_types::Text, Integer, Integer), _>` is not implemented for `models::Employee`
[INFO] [stdout]     --> src/employees/models.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout]    8 | pub struct Employee {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = help: the following other types implement trait `Queryable<ST, DB>`:
[INFO] [stdout]                `(T0,)` implements `Queryable<(ST0,), __DB>`
[INFO] [stdout]                `(T0,)` implements `Queryable<Record<(ST0,)>, Pg>`
[INFO] [stdout]                `(Bound<T>, Bound<T>)` implements `Queryable<diesel::sql_types::Range<ST>, Pg>`
[INFO] [stdout]                `(T0, T1)` implements `Queryable<(ST0, ST1), __DB>`
[INFO] [stdout]                `(T0, T1)` implements `Queryable<Record<(ST0, ST1)>, Pg>`
[INFO] [stdout]                `(T0, T1, T2)` implements `Queryable<(ST0, ST1, ST2), __DB>`
[INFO] [stdout]                `(T0, T1, T2)` implements `Queryable<Record<(ST0, ST1, ST2)>, Pg>`
[INFO] [stdout]                `(T0, T1, T2, T3)` implements `Queryable<(ST0, ST1, ST2, ST3), __DB>`
[INFO] [stdout]              and 117 others
[INFO] [stdout]      = note: required for `models::Employee` to implement `FromSqlRow<(Integer, Text, Text, Text, Integer, Integer), _>`
[INFO] [stdout]      = note: required for `(Integer, Text, Text, Text, Integer, Integer)` to implement `diesel::query_dsl::load_dsl::private::CompatibleType<models::Employee, _>`
[INFO] [stdout]      = note: required for `SelectStatement<FromClause<table>, DefaultSelectClause<_>, _, _, _, _>` to implement `LoadQuery<'_, _, models::Employee>`
[INFO] [stdout] note: required by a bound in `first`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.6/src/query_dsl/mod.rs:1779:22
[INFO] [stdout]      |
[INFO] [stdout] 1776 |     fn first<'query, U>(self, conn: &mut Conn) -> QueryResult<U>
[INFO] [stdout]      |        ----- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 1779 |         Limit<Self>: LoadQuery<'query, Conn, U>,
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::first`
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_api-369cbaab435dd46b.long-type-643705192134444935.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `employee` in this scope
[INFO] [stdout]   --> src/employees/models.rs:40:44
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let employee = diesel::insert_into(employee::table)
[INFO] [stdout]    |                                            ^^^^^^^^ use of unresolved module or unlinked crate `employee`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `employee`, use `cargo add employee` to add it to your `Cargo.toml`
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 40 -         let employee = diesel::insert_into(employee::table)
[INFO] [stdout] 40 +         let employee = diesel::insert_into(Employee::table)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `employee` in this scope
[INFO] [stdout]   --> src/employees/models.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let employee = diesel::update(employee::table)
[INFO] [stdout]    |                                       ^^^^^^^^ use of unresolved module or unlinked crate `employee`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `employee`, use `cargo add employee` to add it to your `Cargo.toml`
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 48 -         let employee = diesel::update(employee::table)
[INFO] [stdout] 48 +         let employee = diesel::update(Employee::table)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/employees/models.rs:57:79
[INFO] [stdout]      |
[INFO] [stdout]   57 |         diesel::delete(employees::table.filter(employees::id.eq(id))).execute(&conn)?;
[INFO] [stdout]      |                                                                       ------- ^^^^^ types differ in mutability
[INFO] [stdout]      |                                                                       |
[INFO] [stdout]      |                                                                       arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut _`
[INFO] [stdout]                         found reference `&PooledConnection<ConnectionManager<PgConnection>>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.6/src/query_dsl/mod.rs:1428:8
[INFO] [stdout]      |
[INFO] [stdout] 1428 |     fn execute(self, conn: &mut Conn) -> QueryResult<usize>
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_message`
[INFO] [stdout]   --> src/error_handler.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let error_message = match status_code.as_u16()<500 {
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_api` (bin "rust_api") due to 11 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e", kill_on_drop: false }`
[INFO] [stdout] 14b72f237d4e259f34d5a3e6f1e686066b63235ce1de00754bef6d90ee9f491e
