[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdilettantemode%2Fsoldout" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dilettantemode/soldout on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f49d8f0078b4dcfd9d5467c8a69d2367c05dfc406d0a05d8ea66c4571cb2daf [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" "3f49d8f0078b4dcfd9d5467c8a69d2367c05dfc406d0a05d8ea66c4571cb2daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f49d8f0078b4dcfd9d5467c8a69d2367c05dfc406d0a05d8ea66c4571cb2daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f49d8f0078b4dcfd9d5467c8a69d2367c05dfc406d0a05d8ea66c4571cb2daf", kill_on_drop: false }` [INFO] [stdout] 3f49d8f0078b4dcfd9d5467c8a69d2367c05dfc406d0a05d8ea66c4571cb2daf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d22d7e00ceee89b8bb182fa7fd4256790174843bcea3371732f7127b742c98d5 [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" "d22d7e00ceee89b8bb182fa7fd4256790174843bcea3371732f7127b742c98d5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking multipart v0.17.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [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 h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking diesel v1.4.5 [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: 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: 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[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: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[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[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[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 function or associated item named `last` found for struct `NewUser` in the current scope [INFO] [stdout] --> src/repositories/user.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | Self::last() [INFO] [stdout] | ^^^^ function or associated item not found in `NewUser` [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 method `last` exists but 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]: 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 function or associated item named `last` found for struct `NewUser` in the current scope [INFO] [stdout] --> src/repositories/user.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | Self::last() [INFO] [stdout] | ^^^^ function or associated item not found in `NewUser` [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 method `last` exists but 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" "d22d7e00ceee89b8bb182fa7fd4256790174843bcea3371732f7127b742c98d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22d7e00ceee89b8bb182fa7fd4256790174843bcea3371732f7127b742c98d5", kill_on_drop: false }` [INFO] [stdout] d22d7e00ceee89b8bb182fa7fd4256790174843bcea3371732f7127b742c98d5