[INFO] cloning repository https://github.com/dilettantemode/soldout [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dilettantemode/soldout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilettantemode%2Fsoldout", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilettantemode%2Fsoldout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be4f483c06331b75ba80fd9611e8947b29a91143 [INFO] checking dilettantemode/soldout against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilettantemode%2Fsoldout" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dilettantemode/soldout on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dilettantemode/soldout [INFO] finished tweaking git repo https://github.com/dilettantemode/soldout [INFO] tweaked toml for git repo https://github.com/dilettantemode/soldout written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/dilettantemode/soldout already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d85e80db9942ba0f57746713487587b7e0a60c310e087861f994064449b7f9d4 [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" "d85e80db9942ba0f57746713487587b7e0a60c310e087861f994064449b7f9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d85e80db9942ba0f57746713487587b7e0a60c310e087861f994064449b7f9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85e80db9942ba0f57746713487587b7e0a60c310e087861f994064449b7f9d4", kill_on_drop: false }` [INFO] [stdout] d85e80db9942ba0f57746713487587b7e0a60c310e087861f994064449b7f9d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b261b69baf3ed15ed48ccb60190b3754732cb5483095966afc334a5169517a82 [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" "b261b69baf3ed15ed48ccb60190b3754732cb5483095966afc334a5169517a82", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking multipart v0.17.0 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Checking soldout v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/repositories/user.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 16 | impl User { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn find(record: i32) -> Self { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | ...as it matches this but it has different indentation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/repositories/user.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 16 | impl User { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn find(record: i32) -> Self { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | ...as it matches this but it has different indentation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `pub` [INFO] [stdout] --> src/repositories/user.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 16 | impl User { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 32 | .first::(&connection) [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] | help: `}` may belong here [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn find(user_id: &u64, &connection: &MysqlConnection) { [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `pub` [INFO] [stdout] --> src/repositories/user.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 16 | impl User { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 32 | .first::(&connection) [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] | help: `}` may belong here [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn find(user_id: &u64, &connection: &MysqlConnection) { [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schema` [INFO] [stdout] --> src/repositories/user.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use schema::tickets::dsl::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `schema` [INFO] [stdout] --> src/repositories/user.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use schema::tickets::dsl::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `database` [INFO] [stdout] --> src/repositories/user.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let connection = database::establish_connection(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `database` [INFO] [stdout] --> src/repositories/user.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let connection = database::establish_connection(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tickets` in this scope [INFO] [stdout] --> src/repositories/user.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let results = tickets.load::(&connection).expect( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `NewUser` is private [INFO] [stdout] --> src/handlers/user_handler.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | repositories::user::{NewUser, User}, [INFO] [stdout] | ^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `NewUser` is defined here... [INFO] [stdout] --> src/repositories/user.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::user::{NewUser, User}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `NewUser` which is defined here [INFO] [stdout] --> src/models/user.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NewUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `User` is private [INFO] [stdout] --> src/handlers/user_handler.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | repositories::user::{NewUser, User}, [INFO] [stdout] | ^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `User` is defined here... [INFO] [stdout] --> src/repositories/user.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::user::{NewUser, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: ...and refers to the struct `User` which is defined here [INFO] [stdout] --> src/models/user.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `database` [INFO] [stdout] --> src/repositories/user.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let connection = database::establish_connection(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `database` [INFO] [stdout] --> src/repositories/user.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let connection = database::establish_connection(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tickets` in this scope [INFO] [stdout] --> src/repositories/user.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let results = tickets.load::(&connection).expect( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `NewUser` is private [INFO] [stdout] --> src/handlers/user_handler.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | repositories::user::{NewUser, User}, [INFO] [stdout] | ^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `NewUser` is defined here... [INFO] [stdout] --> src/repositories/user.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::user::{NewUser, User}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `NewUser` which is defined here [INFO] [stdout] --> src/models/user.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NewUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `User` is private [INFO] [stdout] --> src/handlers/user_handler.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | repositories::user::{NewUser, User}, [INFO] [stdout] | ^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `User` is defined here... [INFO] [stdout] --> src/repositories/user.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::user::{NewUser, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: ...and refers to the struct `User` which is defined here [INFO] [stdout] --> src/models/user.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `execute` found for struct `InsertStatement>, ColumnInsertValue>, ColumnInsertValue, &NaiveDateTime>>, ColumnInsertValue, &NaiveDateTime>>), table>>` in the current scope [INFO] [stdout] --> src/repositories/user.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | .execute(&connection) [INFO] [stdout] | ^^^^^^^ method not found in `InsertStatement>, ColumnInsertValue>, ColumnInsertValue, &NaiveDateTime>>, ColumnInsertValue, &NaiveDateTime>>), table>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::diesel::RunQueryDsl;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `execute` found for struct `InsertStatement>, ColumnInsertValue>, ColumnInsertValue, &NaiveDateTime>>, ColumnInsertValue, &NaiveDateTime>>), table>>` in the current scope [INFO] [stdout] --> src/repositories/user.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | .execute(&connection) [INFO] [stdout] | ^^^^^^^ method not found in `InsertStatement>, ColumnInsertValue>, ColumnInsertValue, &NaiveDateTime>>, ColumnInsertValue, &NaiveDateTime>>), table>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::diesel::RunQueryDsl;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `last` exists for struct `NewUser`, but its trait bounds were not satisfied [INFO] [stdout] --> src/repositories/user.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | Self::last() [INFO] [stdout] | ^^^^ function or associated item cannot be called on `NewUser` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/models/user.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NewUser { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `last` not found for this [INFO] [stdout] | doesn't satisfy `NewUser: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NewUser: Iterator` [INFO] [stdout] which is required by `&mut NewUser: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `last`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `last` exists for struct `NewUser`, but its trait bounds were not satisfied [INFO] [stdout] --> src/repositories/user.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | Self::last() [INFO] [stdout] | ^^^^ function or associated item cannot be called on `NewUser` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/models/user.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NewUser { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `last` not found for this [INFO] [stdout] | doesn't satisfy `NewUser: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NewUser: Iterator` [INFO] [stdout] which is required by `&mut NewUser: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `last`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `soldout` [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" "b261b69baf3ed15ed48ccb60190b3754732cb5483095966afc334a5169517a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b261b69baf3ed15ed48ccb60190b3754732cb5483095966afc334a5169517a82", kill_on_drop: false }` [INFO] [stdout] b261b69baf3ed15ed48ccb60190b3754732cb5483095966afc334a5169517a82