[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] testing dilettantemode/soldout against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilettantemode%2Fsoldout" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dilettantemode/soldout on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-5/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cc80c4b35fc94907073cc1274ee1ee855087fae0e4228e1a298761079cd4d2e [INFO] running `Command { std: "docker" "start" "-a" "4cc80c4b35fc94907073cc1274ee1ee855087fae0e4228e1a298761079cd4d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cc80c4b35fc94907073cc1274ee1ee855087fae0e4228e1a298761079cd4d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc80c4b35fc94907073cc1274ee1ee855087fae0e4228e1a298761079cd4d2e", kill_on_drop: false }` [INFO] [stdout] 4cc80c4b35fc94907073cc1274ee1ee855087fae0e4228e1a298761079cd4d2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdc98e448467f6f80201aed509975db4f05d736573b8bd72bd78de6e52d526ba [INFO] running `Command { std: "docker" "start" "-a" "cdc98e448467f6f80201aed509975db4f05d736573b8bd72bd78de6e52d526ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling multipart v0.17.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [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] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.7 [INFO] [stderr] Compiling tokio-tungstenite v0.11.0 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling warp v0.2.5 [INFO] [stderr] Compiling 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: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `pub` [INFO] [stdout] --> src/repositories/user.rs:16:11 [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 `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` 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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.5/src/query_dsl/mod.rs:1132:8 [INFO] [stdout] | [INFO] [stdout] 1132 | fn execute(self, conn: &Conn) -> QueryResult [INFO] [stdout] | ------- the method is available for `InsertStatement>, ColumnInsertValue>, ColumnInsertValue, &NaiveDateTime>>, ColumnInsertValue, &NaiveDateTime>>), table>>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel::RunQueryDsl; [INFO] [stdout] | [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] note: the following trait must be implemented [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] [stderr] error: could not compile `soldout` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "cdc98e448467f6f80201aed509975db4f05d736573b8bd72bd78de6e52d526ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc98e448467f6f80201aed509975db4f05d736573b8bd72bd78de6e52d526ba", kill_on_drop: false }` [INFO] [stdout] cdc98e448467f6f80201aed509975db4f05d736573b8bd72bd78de6e52d526ba