[INFO] cloning repository https://github.com/thecooldrop/warehouse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thecooldrop/warehouse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthecooldrop%2Fwarehouse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthecooldrop%2Fwarehouse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f919eef31c573ecf69d47e83bd309018febe5f1 [INFO] checking thecooldrop/warehouse against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthecooldrop%2Fwarehouse" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thecooldrop/warehouse on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thecooldrop/warehouse [INFO] finished tweaking git repo https://github.com/thecooldrop/warehouse [INFO] tweaked toml for git repo https://github.com/thecooldrop/warehouse written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/thecooldrop/warehouse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded testcontainers v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11e937f9592db2a67b0094f487a48155556dffeee52ccd0228b84e74cd4fba5f [INFO] running `Command { std: "docker" "start" "-a" "11e937f9592db2a67b0094f487a48155556dffeee52ccd0228b84e74cd4fba5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11e937f9592db2a67b0094f487a48155556dffeee52ccd0228b84e74cd4fba5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e937f9592db2a67b0094f487a48155556dffeee52ccd0228b84e74cd4fba5f", kill_on_drop: false }` [INFO] [stdout] 11e937f9592db2a67b0094f487a48155556dffeee52ccd0228b84e74cd4fba5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 232b6aba21dc090c55564dc0e7e9d7e5529682f3fd6d5b67ef3c1529111556dc [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" "232b6aba21dc090c55564dc0e7e9d7e5529682f3fd6d5b67ef3c1529111556dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling rocket_codegen v0.4.7 [INFO] [stderr] Compiling rocket v0.4.7 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.7 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.16 [INFO] [stderr] Checking cookie v0.11.4 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.7 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking testcontainers v0.12.0 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Checking rocket_contrib v0.4.7 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking warehouse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 30 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 30 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 38 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 38 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 44 | fn execute_returning_count(&self, source: &T) -> QueryResult where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 30 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 30 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 38 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 38 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 44 | fn execute_returning_count(&self, source: &T) -> QueryResult where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 74 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 74 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 82 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 82 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 88 | fn execute_returning_count(&self, source: &T) -> QueryResult where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 118 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 118 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 126 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 126 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 132 | fn execute_returning_count(&self, source: &T) -> QueryResult where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Okay` in this scope [INFO] [stdout] --> src/mock/connections.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Okay(RollBackTransactionConnection(T::default())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 74 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/product/category/models.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | use diesel::{prelude::*, RunQueryDsl}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 74 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `testcontainers::Image` [INFO] [stdout] --> src/product/category/models.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use testcontainers::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 82 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 82 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 88 | fn execute_returning_count(&self, source: &T) -> QueryResult where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 118 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 118 | fn query_by_index(&self, source: T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 126 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::HasSqlType` [INFO] [stdout] --> src/product/category/models.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use diesel::sql_types::HasSqlType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `U` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `U` [INFO] [stdout] ... [INFO] [stdout] 126 | fn query_by_name(&self, source: &T) -> QueryResult> where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/mock/connections.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | - first use of `T` [INFO] [stdout] ... [INFO] [stdout] 132 | fn execute_returning_count(&self, source: &T) -> QueryResult where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsQuery`, `QueryFragment`, `QueryId` [INFO] [stdout] --> src/product/category/models.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | use diesel::query_builder::{QueryId, AsQuery, QueryFragment}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::backend::Backend` [INFO] [stdout] --> src/product/category/models.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use diesel::backend::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Okay` in this scope [INFO] [stdout] --> src/mock/connections.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Okay(RollBackTransactionConnection(T::default())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnsiTransactionManager`, `SimpleConnection`, `TransactionManager` [INFO] [stdout] --> src/product/category/models.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | use diesel::connection::{TransactionManager, AnsiTransactionManager, SimpleConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::deserialize::QueryableByName` [INFO] [stdout] --> src/product/category/models.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use diesel::deserialize::QueryableByName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/product/category/models.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::NulError` [INFO] [stdout] --> src/product/category/models.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use std::ffi::NulError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/product/category/models.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/product/category/routes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude::*` [INFO] [stdout] --> src/product/category/routes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/product/category/routes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mock::transactions::OkayTransactionManager` [INFO] [stdout] --> src/mock/connections.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::mock::transactions::OkayTransactionManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::StdError` [INFO] [stdout] --> src/mock/connections.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::ser::StdError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/product/category/routes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude::*` [INFO] [stdout] --> src/product/category/routes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/product/category/routes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mock::transactions::OkayTransactionManager` [INFO] [stdout] --> src/mock/connections.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::mock::transactions::OkayTransactionManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::StdError` [INFO] [stdout] --> src/mock/connections.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::ser::StdError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/mock/connections.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/mock/connections.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/mock/connections.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl + Default> Connection for AlreadyInTransactionConnection { [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/mock/connections.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl + Default> Connection for RollBackTransactionConnection { [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/mock/connections.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/mock/connections.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 106 | impl + Default> Connection for NotFoundErrorConnection { [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0207, E0403, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0207`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0207, E0403, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0207`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warehouse` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "232b6aba21dc090c55564dc0e7e9d7e5529682f3fd6d5b67ef3c1529111556dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "232b6aba21dc090c55564dc0e7e9d7e5529682f3fd6d5b67ef3c1529111556dc", kill_on_drop: false }` [INFO] [stdout] 232b6aba21dc090c55564dc0e7e9d7e5529682f3fd6d5b67ef3c1529111556dc