[INFO] fetching crate rocket_auth 0.3.0... [INFO] checking rocket_auth-0.3.0 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate rocket_auth 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate rocket_auth 0.3.0 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rocket_auth 0.3.0 [INFO] finished tweaking crates.io crate rocket_auth 0.3.0 [INFO] tweaked toml for crates.io crate rocket_auth 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate rocket_auth 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d607a3cddb0cf7e57f9b5ba525bff3ad31d4c2b237611860ea7d48072df6e4fc [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" "d607a3cddb0cf7e57f9b5ba525bff3ad31d4c2b237611860ea7d48072df6e4fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d607a3cddb0cf7e57f9b5ba525bff3ad31d4c2b237611860ea7d48072df6e4fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d607a3cddb0cf7e57f9b5ba525bff3ad31d4c2b237611860ea7d48072df6e4fc", kill_on_drop: false }` [INFO] [stdout] d607a3cddb0cf7e57f9b5ba525bff3ad31d4c2b237611860ea7d48072df6e4fc [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=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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdcf6d3875a8a0219e3f460f5ab34666d2132d54996d3bcea05cc7dd25c46814 [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" "cdcf6d3875a8a0219e3f460f5ab34666d2132d54996d3bcea05cc7dd25c46814", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.7 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rocket v0.4.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling devise_core v0.2.0 [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] Checking toml v0.4.10 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking rocket_contrib v0.4.7 [INFO] [stderr] Checking rocket_auth v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> examples/sqlite.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{request::Form, response::{Redirect, Responder}, *}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rocket_auth::Error: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/postgres.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / json!({ [INFO] [stdout] 28 | | "signup": auth.signup(&form), [INFO] [stdout] 29 | | "login": auth.login(&form.into()) [INFO] [stdout] 30 | | }) [INFO] [stdout] | |______^ the trait `serde::ser::Serialize` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/value/mod.rs:965:8 [INFO] [stdout] | [INFO] [stdout] 965 | T: Serialize, [INFO] [stdout] | --------- required by this bound in `to_value` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `Result<(), rocket_auth::Error>` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&Result<(), rocket_auth::Error>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rocket_auth::Error: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/postgres.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / json!({ [INFO] [stdout] 28 | | "signup": auth.signup(&form), [INFO] [stdout] 29 | | "login": auth.login(&form.into()) [INFO] [stdout] 30 | | }) [INFO] [stdout] | |______^ the trait `serde::ser::Serialize` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/value/mod.rs:965:8 [INFO] [stdout] | [INFO] [stdout] 965 | T: Serialize, [INFO] [stdout] | --------- required by this bound in `to_value` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `Result<(), rocket_auth::Error>` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&Result<(), rocket_auth::Error>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ES` found for enum `Language` in the current scope [INFO] [stdout] --> examples/sqlite.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 18 | return Err(json!(result.map_err(|s|s.message(Language::ES)))); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Language` [INFO] [stdout] | help: there is a variant with a similar name: `EN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ES` found for enum `Language` in the current scope [INFO] [stdout] --> examples/sqlite.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | auth.signup(&form).map_err(|e| e.message(Language::ES))?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Language` [INFO] [stdout] | help: there is a variant with a similar name: `EN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ES` found for enum `Language` in the current scope [INFO] [stdout] --> examples/sqlite.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | auth.login(&form.into()).map_err(|e| e.message(Language::ES)) [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Language` [INFO] [stdout] | help: there is a variant with a similar name: `EN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ES` found for enum `Language` in the current scope [INFO] [stdout] --> examples/sqlite.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | json!(auth.logout().map_err(|s|s.message(Language::ES))) [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Language` [INFO] [stdout] | help: there is a variant with a similar name: `EN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ES` found for enum `Language` in the current scope [INFO] [stdout] --> examples/sqlite.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | json!(auth.delete().map_err(|s|s.message(Language::ES))) [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Language` [INFO] [stdout] | help: there is a variant with a similar name: `EN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_auth` [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] [stdout] error[E0599]: no function or associated item named `open_postgres` found for struct `Users` in the current scope [INFO] [stdout] --> examples/redis.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | let mut users = Users::open_postgres("database.db")?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/postgres.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | fn post_signup(mut auth: Auth, form: Form) -> Redirect { [INFO] [stdout] | -------- expected `Redirect` because of return type [INFO] [stdout] 27 | / json!({ [INFO] [stdout] 28 | | "signup": auth.signup(&form), [INFO] [stdout] 29 | | "login": auth.login(&form.into()) [INFO] [stdout] 30 | | }) [INFO] [stdout] | |______^ expected struct `Redirect`, found enum `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rocket_auth::Error: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/postgres.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | json!(auth.logout()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/value/mod.rs:965:8 [INFO] [stdout] | [INFO] [stdout] 965 | T: Serialize, [INFO] [stdout] | --------- required by this bound in `to_value` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `Result<(), rocket_auth::Error>` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&Result<(), rocket_auth::Error>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/postgres.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn logout(mut auth: Auth) -> &'static str { [INFO] [stdout] | ------------ expected `&'static str` because of return type [INFO] [stdout] 42 | json!(auth.logout()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `&str`, found enum `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rocket_auth::Error: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/postgres.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | json!(auth.delete()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `rocket_auth::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/value/mod.rs:965:8 [INFO] [stdout] | [INFO] [stdout] 965 | T: Serialize, [INFO] [stdout] | --------- required by this bound in `to_value` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `Result<(), rocket_auth::Error>` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&Result<(), rocket_auth::Error>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/postgres.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn delete(mut auth: Auth) -> &'static str { [INFO] [stdout] | ------------ expected `&'static str` because of return type [INFO] [stdout] 46 | json!(auth.delete()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `&str`, found enum `serde_json::Value` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open_postgres` found for struct `rocket_auth::Users` in the current scope [INFO] [stdout] --> examples/postgres.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let users = Users::open_postgres("host=localhost user=postgres password='password'")?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `rocket_auth::Users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cdcf6d3875a8a0219e3f460f5ab34666d2132d54996d3bcea05cc7dd25c46814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdcf6d3875a8a0219e3f460f5ab34666d2132d54996d3bcea05cc7dd25c46814", kill_on_drop: false }` [INFO] [stdout] cdcf6d3875a8a0219e3f460f5ab34666d2132d54996d3bcea05cc7dd25c46814