[INFO] cloning repository https://github.com/zaininijar/zenstore-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zaininijar/zenstore-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaininijar%2Fzenstore-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaininijar%2Fzenstore-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f44209122138f7d30925602ef377442a8b1f39c [INFO] checking zaininijar/zenstore-backend against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaininijar%2Fzenstore-backend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zaininijar/zenstore-backend [INFO] finished tweaking git repo https://github.com/zaininijar/zenstore-backend [INFO] tweaked toml for git repo https://github.com/zaininijar/zenstore-backend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zaininijar/zenstore-backend on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zaininijar/zenstore-backend 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.chrono.feaures [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a0de41c4dac4ab4272a2a0c4346a2f221c82d0e8eec06a1f09c4d57cde8adfa [INFO] running `Command { std: "docker" "start" "-a" "9a0de41c4dac4ab4272a2a0c4346a2f221c82d0e8eec06a1f09c4d57cde8adfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a0de41c4dac4ab4272a2a0c4346a2f221c82d0e8eec06a1f09c4d57cde8adfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0de41c4dac4ab4272a2a0c4346a2f221c82d0e8eec06a1f09c4d57cde8adfa", kill_on_drop: false }` [INFO] [stdout] 9a0de41c4dac4ab4272a2a0c4346a2f221c82d0e8eec06a1f09c4d57cde8adfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 758e63c7eead66f54f03f5eff9642fd087b2e66051d526eb2cd0f7be6206dcee [INFO] running `Command { std: "docker" "start" "-a" "758e63c7eead66f54f03f5eff9642fd087b2e66051d526eb2cd0f7be6206dcee", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.chrono.feaures [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling mysqlclient-sys v0.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling dsl_auto_type v0.1.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling diesel_derives v2.2.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking diesel v2.2.1 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking zenstore-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = products)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = products)]` instead [INFO] [stderr] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(HttpResponse::Ok().json(response)); [INFO] [stdout] | ---- ^^^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result, diesel::result::Error>` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `SuccessResponse, diesel::result::Error>>` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(products_list) => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 33 | | let response = SuccessResponse { [INFO] [stdout] 34 | | data: products_list, [INFO] [stdout] 35 | | message: "Products loaded successfully".to_string(), [INFO] [stdout] 36 | | }; [INFO] [stdout] 37 | | Ok(HttpResponse::Ok().json(response)); [INFO] [stdout] | | - help: remove this semicolon to return this value [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ expected `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(HttpResponse::Ok().json(response)); [INFO] [stdout] | ---- ^^^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result, diesel::result::Error>` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `SuccessResponse, diesel::result::Error>>` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(products_list) => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 33 | | let response = SuccessResponse { [INFO] [stdout] 34 | | data: products_list, [INFO] [stdout] 35 | | message: "Products loaded successfully".to_string(), [INFO] [stdout] 36 | | }; [INFO] [stdout] 37 | | Ok(HttpResponse::Ok().json(response)); [INFO] [stdout] | | - help: remove this semicolon to return this value [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________^ expected `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | .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>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.1/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(HttpResponse::Created().json(result)) [INFO] [stdout] | ---- ^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | .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>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.1/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(HttpResponse::Created().json(result)) [INFO] [stdout] | ---- ^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:67:93 [INFO] [stdout] | [INFO] [stdout] 67 | let result = web::block(move || products.find(product_id.into_inner()).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>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.1/src/query_dsl/mod.rs:1776:8 [INFO] [stdout] | [INFO] [stdout] 1776 | fn first<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:67:93 [INFO] [stdout] | [INFO] [stdout] 67 | let result = web::block(move || products.find(product_id.into_inner()).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>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.1/src/query_dsl/mod.rs:1776:8 [INFO] [stdout] | [INFO] [stdout] 1776 | fn first<'query, U>(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | Ok(HttpResponse::Ok().json(result)) [INFO] [stdout] | ---- ^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | Ok(HttpResponse::Ok().json(result)) [INFO] [stdout] | ---- ^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | .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>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.1/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | .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>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.1/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(HttpResponse::Ok().json(result)) [INFO] [stdout] | ---- ^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(HttpResponse::Ok().json(result)) [INFO] [stdout] | ---- ^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:95:100 [INFO] [stdout] | [INFO] [stdout] 95 | let result = web::block(move || diesel::delete(products.find(product_id.into_inner())).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>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.1/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(HttpResponse::Ok().json(result)) [INFO] [stdout] | ---- ^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/product.rs:95:100 [INFO] [stdout] | [INFO] [stdout] 95 | let result = web::block(move || diesel::delete(products.find(product_id.into_inner())).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>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.1/src/query_dsl/mod.rs:1428:8 [INFO] [stdout] | [INFO] [stdout] 1428 | fn execute(self, conn: &mut Conn) -> QueryResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/models/product.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `NaiveDateTime` [INFO] [stdout] ... [INFO] [stdout] 12 | pub created_at: NaiveDateTime, [INFO] [stdout] | ----------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 136 others [INFO] [stdout] note: required by a bound in `models::product::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/ser/mod.rs:1867:21 [INFO] [stdout] | [INFO] [stdout] 1865 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1866 | where [INFO] [stdout] 1867 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `diesel::result::Error: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/handlers/product.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(HttpResponse::Ok().json(result)) [INFO] [stdout] | ---- ^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `diesel::result::Error` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `diesel::result::Error` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 138 others [INFO] [stdout] = note: required for `Result` to implement `models::product::_::_serde::Serialize` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.8.0/src/response/builder.rs:333:40 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn json(&mut self, value: impl Serialize) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `HttpResponseBuilder::json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/de/mod.rs:1733:12 [INFO] [stdout] | [INFO] [stdout] 1731 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1732 | where [INFO] [stdout] 1733 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-3961a921bc4b439b.long-type-15439062175546830667.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 `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub updated_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/de/mod.rs:1733:12 [INFO] [stdout] | [INFO] [stdout] 1731 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1732 | where [INFO] [stdout] 1733 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-3961a921bc4b439b.long-type-15439062175546830667.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 `NaiveDateTime: models::product::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/models/product.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `models::product::_::_serde::Serialize` is not implemented for `NaiveDateTime` [INFO] [stdout] ... [INFO] [stdout] 12 | pub created_at: NaiveDateTime, [INFO] [stdout] | ----------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 136 others [INFO] [stdout] note: required by a bound in `models::product::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/ser/mod.rs:1867:21 [INFO] [stdout] | [INFO] [stdout] 1865 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1866 | where [INFO] [stdout] 1867 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/de/mod.rs:1872:12 [INFO] [stdout] | [INFO] [stdout] 1870 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1871 | where [INFO] [stdout] 1872 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-3961a921bc4b439b.long-type-15439062175546830667.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 `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub updated_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/de/mod.rs:1872:12 [INFO] [stdout] | [INFO] [stdout] 1870 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1871 | where [INFO] [stdout] 1872 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-3961a921bc4b439b.long-type-15439062175546830667.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 `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/de/mod.rs:1733:12 [INFO] [stdout] | [INFO] [stdout] 1731 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1732 | where [INFO] [stdout] 1733 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-1ee97c1cc6b0b909.long-type-2336377042040734229.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 `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub updated_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/de/mod.rs:1733:12 [INFO] [stdout] | [INFO] [stdout] 1731 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1732 | where [INFO] [stdout] 1733 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-1ee97c1cc6b0b909.long-type-2336377042040734229.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 `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `models::product::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-3961a921bc4b439b.long-type-15439062175546830667.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub created_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/de/mod.rs:1872:12 [INFO] [stdout] | [INFO] [stdout] 1870 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1871 | where [INFO] [stdout] 1872 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-1ee97c1cc6b0b909.long-type-2336377042040734229.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 `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub updated_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/de/mod.rs:1872:12 [INFO] [stdout] | [INFO] [stdout] 1870 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1871 | where [INFO] [stdout] 1872 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-1ee97c1cc6b0b909.long-type-2336377042040734229.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zenstore-backend` (bin "zenstore-backend" test) due to 16 previous errors [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: models::product::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/models/product.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Queryable, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `models::product::_::_serde::Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `models::product::_::_serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 147 others [INFO] [stdout] note: required by a bound in `models::product::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.204/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/zenstore_backend-1ee97c1cc6b0b909.long-type-2336377042040734229.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zenstore-backend` (bin "zenstore-backend") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "758e63c7eead66f54f03f5eff9642fd087b2e66051d526eb2cd0f7be6206dcee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758e63c7eead66f54f03f5eff9642fd087b2e66051d526eb2cd0f7be6206dcee", kill_on_drop: false }` [INFO] [stdout] 758e63c7eead66f54f03f5eff9642fd087b2e66051d526eb2cd0f7be6206dcee