[INFO] updating cached repository https://github.com/Atlas-Rhythm/Vaulth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3f4a3379eae0d96231c96337a89bda844ff2be0 [INFO] testing Atlas-Rhythm/Vaulth against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtlas-Rhythm%2FVaulth" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Atlas-Rhythm/Vaulth on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Atlas-Rhythm/Vaulth [INFO] finished tweaking git repo https://github.com/Atlas-Rhythm/Vaulth [INFO] tweaked toml for git repo https://github.com/Atlas-Rhythm/Vaulth written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Atlas-Rhythm/Vaulth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] d1ed22bdfddb1889ec700176f7dae011342e7d04912f31b254f9016b50416572 [INFO] running `Command { std: "docker" "start" "-a" "d1ed22bdfddb1889ec700176f7dae011342e7d04912f31b254f9016b50416572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1ed22bdfddb1889ec700176f7dae011342e7d04912f31b254f9016b50416572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ed22bdfddb1889ec700176f7dae011342e7d04912f31b254f9016b50416572", kill_on_drop: false }` [INFO] [stdout] d1ed22bdfddb1889ec700176f7dae011342e7d04912f31b254f9016b50416572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40f04f9df62b967d74819b03faccac56c8303f38578c42a0c9afb1d83cdcbb0c [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" "40f04f9df62b967d74819b03faccac56c8303f38578c42a0c9afb1d83cdcbb0c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling sharded-slab v0.0.9 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rust-argon2 v0.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling regex-automata v0.1.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 matchers v0.0.1 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling pem v0.8.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling tracing v0.1.16 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tracing-serde v0.1.1 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.8 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling warp v0.2.4 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling vaulth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: A single database backend must be selected [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | compile_error!("A single database backend must be selected"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::DbConnection` [INFO] [stdout] --> src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::DbConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DbConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::DbConnection` [INFO] [stdout] --> src/providers/oauth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | DbConnection, HttpClient, [INFO] [stdout] | ^^^^^^^^^^^^ no `DbConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::DbConnection` [INFO] [stdout] --> src/routes/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | DbConnection, [INFO] [stdout] | ^^^^^^^^^^^^ no `DbConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::DbConnection` [INFO] [stdout] --> src/routes/users.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | DbConnection, [INFO] [stdout] | ^^^^^^^^^^^^ no `DbConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DbConnection` in this scope [INFO] [stdout] --> src/main.rs:92:56 [INFO] [stdout] | [INFO] [stdout] 92 | async fn pool(config: &Config) -> Result<&'static Pool> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DbConnection` in this scope [INFO] [stdout] --> src/main.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | let pool: Pool = Pool::new(&config.database_url).await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool`, `Row` [INFO] [stdout] --> src/db.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Pool, Row}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `select_by_provider` found for struct `db::User` in the current scope [INFO] [stdout] --> src/providers/oauth.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let user_id = User::select_by_provider(provider.name, &provider_id, shared.pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `db::User` [INFO] [stdout] | [INFO] [stdout] ::: src/db.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select_by_provider` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `select_by_provider` found for struct `db::User` in the current scope [INFO] [stdout] --> src/routes/token.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | let user: String = User::select_by_provider(&code.provider_name, &code.provider_id, pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `db::User` [INFO] [stdout] | [INFO] [stdout] ::: src/db.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select_by_provider` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `login` found for struct `db::User` in the current scope [INFO] [stdout] --> src/routes/token.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | User::login(&user, pool).await.or_ise()?; [INFO] [stdout] | ^^^^^ function or associated item not found in `db::User` [INFO] [stdout] | [INFO] [stdout] ::: src/db.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `login` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `select_by_provider` found for struct `db::User` in the current scope [INFO] [stdout] --> src/routes/token.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | User::select_by_provider(&code.provider_name, &code.provider_id, pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `db::User` [INFO] [stdout] | [INFO] [stdout] ::: src/db.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select_by_provider` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `login` found for struct `db::User` in the current scope [INFO] [stdout] --> src/routes/token.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | User::login(&user, pool).await.or_ise()?; [INFO] [stdout] | ^^^^^ function or associated item not found in `db::User` [INFO] [stdout] | [INFO] [stdout] ::: src/db.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `login` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `register_by_provider` found for struct `db::User` in the current scope [INFO] [stdout] --> src/routes/token.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | User::register_by_provider(&given_user, &code.provider_name, &code.provider_id, pool) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `db::User` [INFO] [stdout] | [INFO] [stdout] ::: src/db.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `register_by_provider` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `select` found for struct `db::User` in the current scope [INFO] [stdout] --> src/routes/users.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let user = User::select(&id, pool).await.or_ise()?.or_nf()?; [INFO] [stdout] | ^^^^^^ function or associated item not found in `db::User` [INFO] [stdout] | [INFO] [stdout] ::: src/db.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `select` found for struct `db::User` in the current scope [INFO] [stdout] --> src/routes/users.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let user = User::select(&token.sub, pool).await.or_ise()?.or_nf()?; [INFO] [stdout] | ^^^^^^ function or associated item not found in `db::User` [INFO] [stdout] | [INFO] [stdout] ::: src/db.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `select` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | let pool = pool(config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vaulth`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "40f04f9df62b967d74819b03faccac56c8303f38578c42a0c9afb1d83cdcbb0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f04f9df62b967d74819b03faccac56c8303f38578c42a0c9afb1d83cdcbb0c", kill_on_drop: false }` [INFO] [stdout] 40f04f9df62b967d74819b03faccac56c8303f38578c42a0c9afb1d83cdcbb0c