[INFO] updating cached repository cmsd2/rust-openid-connect [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cmsd2/rust-openid-connect [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cmsd2/rust-openid-connect" "work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/cmsd2/rust-openid-connect"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/cmsd2/rust-openid-connect'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cmsd2/rust-openid-connect" "work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/cmsd2/rust-openid-connect"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/cmsd2/rust-openid-connect'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 689e09bceb108ce7e7652cc401fa22a83137a35a [INFO] sha for GitHub repo cmsd2/rust-openid-connect: 689e09bceb108ce7e7652cc401fa22a83137a35a [INFO] validating manifest of cmsd2/rust-openid-connect on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cmsd2/rust-openid-connect on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cmsd2/rust-openid-connect [INFO] removed 2 missing examples [INFO] removed path dependency jsonwebtoken from cmsd2/rust-openid-connect [INFO] finished frobbing cmsd2/rust-openid-connect [INFO] frobbed toml for cmsd2/rust-openid-connect written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/cmsd2/rust-openid-connect/Cargo.toml [INFO] started frobbing cmsd2/rust-openid-connect [INFO] removed 2 missing examples [INFO] removed path dependency jsonwebtoken from cmsd2/rust-openid-connect [INFO] finished frobbing cmsd2/rust-openid-connect [INFO] frobbed toml for cmsd2/rust-openid-connect written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/cmsd2/rust-openid-connect/Cargo.toml [INFO] crate cmsd2/rust-openid-connect already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/cmsd2/rust-openid-connect/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/cmsd2/rbvt.git` [INFO] [stderr] Updating git repository `https://github.com/cmsd2/urlencoded.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Updating git repository `https://github.com/cmsd2/rbvt.git` [INFO] [stderr] Updating git repository `https://github.com/cmsd2/urlencoded.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking cmsd2/rust-openid-connect against try#f45cc3094ee337acd688771b9234318046b0572d for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-1/try#f45cc3094ee337acd688771b9234318046b0572d:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/cmsd2/rust-openid-connect:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 24c48fa560b6b58c47e6daf06d1f060d6d6c6ce3e2f924ddd7b6f927c6d40b69 [INFO] running `"docker" "start" "-a" "24c48fa560b6b58c47e6daf06d1f060d6d6c6ce3e2f924ddd7b6f927c6d40b69"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/rp_server.rs [INFO] [stderr] * /opt/crater/workdir/examples/rp_client.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: dependency (jsonwebtoken) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking cast v0.1.0 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking rbvt v0.1.0 (https://github.com/cmsd2/rbvt.git#6f8d4075) [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking cookie v0.6.2 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking iron v0.5.1 [INFO] [stderr] Checking error-chain v0.7.2 [INFO] [stderr] Checking cookie v0.5.1 [INFO] [stderr] Checking persistent v0.3.0 [INFO] [stderr] Checking mount v0.3.0 [INFO] [stderr] Checking logger v0.3.0 [INFO] [stderr] Checking iron-sessionstorage v0.6.6 [INFO] [stderr] Checking router v0.5.1 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking handlebars v0.25.3 [INFO] [stderr] Checking staticfile v0.4.0 [INFO] [stderr] Checking bodyparser v0.6.0 [INFO] [stderr] Checking urlencoded v0.5.0 (https://github.com/cmsd2/urlencoded.git#dcdd5082) [INFO] [stderr] Checking handlebars-iron v0.23.1 [INFO] [stderr] Checking jsonwebtoken v6.0.1 [INFO] [stderr] Checking openid-connect v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::result` [INFO] [stderr] --> src/result.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | use jsonwebtoken::result::*; [INFO] [stderr] | ^^^^^^ could not find `result` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::crypto::mac_signer` [INFO] [stderr] --> src/config.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::crypto::mac_signer::MacSigner; [INFO] [stderr] | ^^^^^^^^^^ could not find `mac_signer` in `crypto` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::json` [INFO] [stderr] --> src/oauth2/routes/consent.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^ could not find `json` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::jwt` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::jwt::*; [INFO] [stderr] | ^^^ could not find `jwt` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::json` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^ could not find `json` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `claims` in `jsonwebtoken` [INFO] [stderr] --> src/oauth2/models/client.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::claims::time::*; [INFO] [stderr] | ^^^^^^ could not find `claims` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::signer` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::signer::*; [INFO] [stderr] | ^^^^^^ could not find `signer` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::signer` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::signer::*; [INFO] [stderr] | ^^^^^^ could not find `signer` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::verifier` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::verifier::*; [INFO] [stderr] | ^^^^^^^^ could not find `verifier` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::algorithm` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::algorithm::*; [INFO] [stderr] | ^^^^^^^^^ could not find `algorithm` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::jwt` [INFO] [stderr] --> src/back.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::jwt::{Jwt, JwtClaims}; [INFO] [stderr] | ^^^ could not find `jwt` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::json` [INFO] [stderr] --> src/back.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^ could not find `json` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `claims` in `jsonwebtoken` [INFO] [stderr] --> src/back.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::claims::time::*; [INFO] [stderr] | ^^^^^^ could not find `claims` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::claims` [INFO] [stderr] --> src/back.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::claims::claims_verifier; [INFO] [stderr] | ^^^^^^ could not find `claims` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::jwk` [INFO] [stderr] --> src/site_config.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | use jsonwebtoken::jwk::*; [INFO] [stderr] | ^^^ could not find `jwk` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::json` [INFO] [stderr] --> src/site_config.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^ could not find `json` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::result` [INFO] [stderr] --> src/result.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | use jsonwebtoken::result::*; [INFO] [stderr] | ^^^^^^ could not find `result` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::crypto::mac_signer` [INFO] [stderr] --> src/config.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::crypto::mac_signer::MacSigner; [INFO] [stderr] | ^^^^^^^^^^ could not find `mac_signer` in `crypto` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::json` [INFO] [stderr] --> src/oauth2/routes/consent.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^ could not find `json` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::jwt` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::jwt::*; [INFO] [stderr] | ^^^ could not find `jwt` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::json` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^ could not find `json` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `claims` in `jsonwebtoken` [INFO] [stderr] --> src/oauth2/models/client.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::claims::time::*; [INFO] [stderr] | ^^^^^^ could not find `claims` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::signer` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::signer::*; [INFO] [stderr] | ^^^^^^ could not find `signer` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::signer` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::signer::*; [INFO] [stderr] | ^^^^^^ could not find `signer` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::verifier` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::verifier::*; [INFO] [stderr] | ^^^^^^^^ could not find `verifier` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::algorithm` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::algorithm::*; [INFO] [stderr] | ^^^^^^^^^ could not find `algorithm` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::jwt` [INFO] [stderr] --> src/back.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::jwt::{Jwt, JwtClaims}; [INFO] [stderr] | ^^^ could not find `jwt` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::json` [INFO] [stderr] --> src/back.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^ could not find `json` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `claims` in `jsonwebtoken` [INFO] [stderr] --> src/back.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::claims::time::*; [INFO] [stderr] | ^^^^^^ could not find `claims` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::claims` [INFO] [stderr] --> src/back.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::claims::claims_verifier; [INFO] [stderr] | ^^^^^^ could not find `claims` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::jwk` [INFO] [stderr] --> src/site_config.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | use jsonwebtoken::jwk::*; [INFO] [stderr] | ^^^ could not find `jwk` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonwebtoken::json` [INFO] [stderr] --> src/site_config.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^ could not find `json` in `jsonwebtoken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/routes/register.rs:49:38 [INFO] [stderr] | [INFO] [stderr] 49 | state.reject("username", ValidationError::MissingRequiredValue("username".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/routes/register.rs:53:38 [INFO] [stderr] | [INFO] [stderr] 53 | state.reject("password", ValidationError::MissingRequiredValue("password".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/routes/register.rs:68:36 [INFO] [stderr] | [INFO] [stderr] 68 | let mut validation_state = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/routes/register.rs:71:42 [INFO] [stderr] | [INFO] [stderr] 71 | Err(OpenIdConnectError::from(ValidationError::ValidationError(validation_state))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/users.rs:44:31 [INFO] [stderr] | [INFO] [stderr] 44 | validation_state: ValidationState::new(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/users.rs:51:48 [INFO] [stderr] | [INFO] [stderr] 51 | username: try!(self.username.ok_or(ValidationError::MissingRequiredValue("username".to_owned()))), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/users.rs:61:54 [INFO] [stderr] | [INFO] [stderr] 61 | self.validation_state.reject("username", ValidationError::MissingRequiredValue("username".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/routes/token.rs:50:31 [INFO] [stderr] | [INFO] [stderr] 50 | validation_state: ValidationState::new(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:59:57 [INFO] [stderr] | [INFO] [stderr] 59 | .ok_or(OpenIdConnectError::from(ValidationError::MissingRequiredValue("grant_type".to_owned()))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:65:42 [INFO] [stderr] | [INFO] [stderr] 65 | Err(OpenIdConnectError::from(ValidationError::ValidationError(self.validation_state))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/routes/token.rs:78:33 [INFO] [stderr] | [INFO] [stderr] 78 | self.validation_state = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:83:58 [INFO] [stderr] | [INFO] [stderr] 83 | self.validation_state.reject("code", ValidationError::MissingRequiredValue("code".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:87:66 [INFO] [stderr] | [INFO] [stderr] 87 | self.validation_state.reject("redirect_uri", ValidationError::MissingRequiredValue("redirect_uri".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:90:60 [INFO] [stderr] | [INFO] [stderr] 90 | self.validation_state.reject("grant_type", ValidationError::InvalidValue("grant_type".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:93:56 [INFO] [stderr] | [INFO] [stderr] 93 | self.validation_state.reject("grant_type", ValidationError::MissingRequiredValue("grant_type".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/repos/client_repo.rs:64:60 [INFO] [stderr] | [INFO] [stderr] 64 | return Err(OpenIdConnectError::ValidationError(ValidationError::ValidationError(input.validation_state))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `JwtClaims` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | let mut claims = JwtClaims::new(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `JwtClaims` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Header` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:127:22 [INFO] [stderr] | [INFO] [stderr] 127 | let header = Header::default(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Header` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Jwt` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:130:19 [INFO] [stderr] | [INFO] [stderr] 130 | let jwt = Jwt::new(header, claims); [INFO] [stderr] | ^^^ use of undeclared type or module `Jwt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/routes/register.rs:49:38 [INFO] [stderr] | [INFO] [stderr] 49 | state.reject("username", ValidationError::MissingRequiredValue("username".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/routes/register.rs:53:38 [INFO] [stderr] | [INFO] [stderr] 53 | state.reject("password", ValidationError::MissingRequiredValue("password".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/routes/register.rs:68:36 [INFO] [stderr] | [INFO] [stderr] 68 | let mut validation_state = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/routes/register.rs:71:42 [INFO] [stderr] | [INFO] [stderr] 71 | Err(OpenIdConnectError::from(ValidationError::ValidationError(validation_state))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Header` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:201:26 [INFO] [stderr] | [INFO] [stderr] 201 | let header = Header::default(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Header` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Jwt` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:209:23 [INFO] [stderr] | [INFO] [stderr] 209 | let jwt = Jwt::new(header, claims); [INFO] [stderr] | ^^^ use of undeclared type or module `Jwt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Header` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:233:26 [INFO] [stderr] | [INFO] [stderr] 233 | let header = Header::default(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Header` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Jwt` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:237:23 [INFO] [stderr] | [INFO] [stderr] 237 | let jwt = Jwt::new(header, claims); [INFO] [stderr] | ^^^ use of undeclared type or module `Jwt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/users.rs:44:31 [INFO] [stderr] | [INFO] [stderr] 44 | validation_state: ValidationState::new(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/users.rs:51:48 [INFO] [stderr] | [INFO] [stderr] 51 | username: try!(self.username.ok_or(ValidationError::MissingRequiredValue("username".to_owned()))), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/users.rs:61:54 [INFO] [stderr] | [INFO] [stderr] 61 | self.validation_state.reject("username", ValidationError::MissingRequiredValue("username".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/routes/token.rs:50:31 [INFO] [stderr] | [INFO] [stderr] 50 | validation_state: ValidationState::new(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:59:57 [INFO] [stderr] | [INFO] [stderr] 59 | .ok_or(OpenIdConnectError::from(ValidationError::MissingRequiredValue("grant_type".to_owned()))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:65:42 [INFO] [stderr] | [INFO] [stderr] 65 | Err(OpenIdConnectError::from(ValidationError::ValidationError(self.validation_state))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/routes/token.rs:78:33 [INFO] [stderr] | [INFO] [stderr] 78 | self.validation_state = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:83:58 [INFO] [stderr] | [INFO] [stderr] 83 | self.validation_state.reject("code", ValidationError::MissingRequiredValue("code".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:87:66 [INFO] [stderr] | [INFO] [stderr] 87 | self.validation_state.reject("redirect_uri", ValidationError::MissingRequiredValue("redirect_uri".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:90:60 [INFO] [stderr] | [INFO] [stderr] 90 | self.validation_state.reject("grant_type", ValidationError::InvalidValue("grant_type".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/routes/token.rs:93:56 [INFO] [stderr] | [INFO] [stderr] 93 | self.validation_state.reject("grant_type", ValidationError::MissingRequiredValue("grant_type".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/models/client.rs:187:31 [INFO] [stderr] | [INFO] [stderr] 187 | validation_state: ValidationState::new(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/client.rs:192:51 [INFO] [stderr] | [INFO] [stderr] 192 | let client_id = try!(self.client_id.ok_or(ValidationError::MissingRequiredValue("client_id".to_owned()))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/models/client.rs:215:33 [INFO] [stderr] | [INFO] [stderr] 215 | self.validation_state = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/client.rs:218:55 [INFO] [stderr] | [INFO] [stderr] 218 | self.validation_state.reject("client_id", ValidationError::MissingRequiredValue("client_id".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/models/grant.rs:166:22 [INFO] [stderr] | [INFO] [stderr] 166 | let mut vs = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/grant.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | vs.reject("user_id", ValidationError::MissingRequiredValue("user_id".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/grant.rs:173:36 [INFO] [stderr] | [INFO] [stderr] 173 | vs.reject("client_id", ValidationError::MissingRequiredValue("client_id".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/grant.rs:201:81 [INFO] [stderr] | [INFO] [stderr] 201 | Err(serde::de::Error::custom(format!("{}", OpenIdConnectError::from(ValidationError::ValidationError(vs))))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/repos/client_repo.rs:64:60 [INFO] [stderr] | [INFO] [stderr] 64 | return Err(OpenIdConnectError::ValidationError(ValidationError::ValidationError(input.validation_state))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:52:50 [INFO] [stderr] | [INFO] [stderr] 52 | validation_state.reject("scope", ValidationError::MissingRequiredValue("scope: openid".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:58:57 [INFO] [stderr] | [INFO] [stderr] 58 | validation_state.reject("redirect_uri", ValidationError::InvalidValue("redirect_uri does not match".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:61:50 [INFO] [stderr] | [INFO] [stderr] 61 | validation_state.reject("client_id", ValidationError::InvalidValue("client not found for client_id".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:66:58 [INFO] [stderr] | [INFO] [stderr] 66 | validation_state.reject("response_mode", ValidationError::InvalidValue(e.to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:98:36 [INFO] [stderr] | [INFO] [stderr] 98 | let mut validation_state = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:101:60 [INFO] [stderr] | [INFO] [stderr] 101 | return Err(OpenIdConnectError::ValidationError(ValidationError::ValidationError(validation_state))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Header` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:210:26 [INFO] [stderr] | [INFO] [stderr] 210 | let mut header = Header::new(Algorithm::HS256); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Header` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Algorithm` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:210:38 [INFO] [stderr] | [INFO] [stderr] 210 | let mut header = Header::new(Algorithm::HS256); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Algorithm` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationSchema` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let mut vs = ValidationSchema::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationSchema` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `JwtClaims` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | let mut claims = JwtClaims::new(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `JwtClaims` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Header` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:127:22 [INFO] [stderr] | [INFO] [stderr] 127 | let header = Header::default(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Header` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Jwt` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:130:19 [INFO] [stderr] | [INFO] [stderr] 130 | let jwt = Jwt::new(header, claims); [INFO] [stderr] | ^^^ use of undeclared type or module `Jwt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | s.reject("resource", ValidationError::MissingRequiredValue("resource".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | s.reject("rel", ValidationError::InvalidValue("rel".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:79:33 [INFO] [stderr] | [INFO] [stderr] 79 | s.reject("rel", ValidationError::MissingRequiredValue("rel".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:85:53 [INFO] [stderr] | [INFO] [stderr] 85 | Err(OpenIdConnectError::ValidationError(ValidationError::ValidationError(vs.state))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:93:84 [INFO] [stderr] | [INFO] [stderr] 93 | resource: try!(self.resource.ok_or(OpenIdConnectError::ValidationError(ValidationError::MissingRequiredValue("resource".to_owned())))), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:94:74 [INFO] [stderr] | [INFO] [stderr] 94 | rel: try!(self.rel.ok_or(OpenIdConnectError::ValidationError(ValidationError::MissingRequiredValue("rel".to_owned())))), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Header` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:201:26 [INFO] [stderr] | [INFO] [stderr] 201 | let header = Header::default(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Header` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Jwt` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:209:23 [INFO] [stderr] | [INFO] [stderr] 209 | let jwt = Jwt::new(header, claims); [INFO] [stderr] | ^^^ use of undeclared type or module `Jwt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Header` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:233:26 [INFO] [stderr] | [INFO] [stderr] 233 | let header = Header::default(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Header` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Jwt` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:237:23 [INFO] [stderr] | [INFO] [stderr] 237 | let jwt = Jwt::new(header, claims); [INFO] [stderr] | ^^^ use of undeclared type or module `Jwt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/service/routes/login.rs:42:31 [INFO] [stderr] | [INFO] [stderr] 42 | validation_state: ValidationState::new(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/service/routes/login.rs:54:42 [INFO] [stderr] | [INFO] [stderr] 54 | Err(OpenIdConnectError::from(ValidationError::ValidationError(self.validation_state))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/service/routes/login.rs:62:54 [INFO] [stderr] | [INFO] [stderr] 62 | self.validation_state.reject("username", ValidationError::MissingRequiredValue("username".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/service/routes/login.rs:68:54 [INFO] [stderr] | [INFO] [stderr] 68 | self.validation_state.reject("password", ValidationError::MissingRequiredValue("password".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/service/routes/login.rs:74:56 [INFO] [stderr] | [INFO] [stderr] 74 | self.validation_state.reject("csrf_token", ValidationError::MissingRequiredValue("csrf_token".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/models/client.rs:187:31 [INFO] [stderr] | [INFO] [stderr] 187 | validation_state: ValidationState::new(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/client.rs:192:51 [INFO] [stderr] | [INFO] [stderr] 192 | let client_id = try!(self.client_id.ok_or(ValidationError::MissingRequiredValue("client_id".to_owned()))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/models/client.rs:215:33 [INFO] [stderr] | [INFO] [stderr] 215 | self.validation_state = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/client.rs:218:55 [INFO] [stderr] | [INFO] [stderr] 218 | self.validation_state.reject("client_id", ValidationError::MissingRequiredValue("client_id".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/models/grant.rs:166:22 [INFO] [stderr] | [INFO] [stderr] 166 | let mut vs = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/grant.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | vs.reject("user_id", ValidationError::MissingRequiredValue("user_id".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/grant.rs:173:36 [INFO] [stderr] | [INFO] [stderr] 173 | vs.reject("client_id", ValidationError::MissingRequiredValue("client_id".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/grant.rs:201:81 [INFO] [stderr] | [INFO] [stderr] 201 | Err(serde::de::Error::custom(format!("{}", OpenIdConnectError::from(ValidationError::ValidationError(vs))))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:52:50 [INFO] [stderr] | [INFO] [stderr] 52 | validation_state.reject("scope", ValidationError::MissingRequiredValue("scope: openid".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:58:57 [INFO] [stderr] | [INFO] [stderr] 58 | validation_state.reject("redirect_uri", ValidationError::InvalidValue("redirect_uri does not match".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:61:50 [INFO] [stderr] | [INFO] [stderr] 61 | validation_state.reject("client_id", ValidationError::InvalidValue("client not found for client_id".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:66:58 [INFO] [stderr] | [INFO] [stderr] 66 | validation_state.reject("response_mode", ValidationError::InvalidValue(e.to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:98:36 [INFO] [stderr] | [INFO] [stderr] 98 | let mut validation_state = ValidationState::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:101:60 [INFO] [stderr] | [INFO] [stderr] 101 | return Err(OpenIdConnectError::ValidationError(ValidationError::ValidationError(validation_state))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Header` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:210:26 [INFO] [stderr] | [INFO] [stderr] 210 | let mut header = Header::new(Algorithm::HS256); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Header` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Algorithm` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:210:38 [INFO] [stderr] | [INFO] [stderr] 210 | let mut header = Header::new(Algorithm::HS256); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Algorithm` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationSchema` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let mut vs = ValidationSchema::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationSchema` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | s.reject("resource", ValidationError::MissingRequiredValue("resource".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | s.reject("rel", ValidationError::InvalidValue("rel".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:79:33 [INFO] [stderr] | [INFO] [stderr] 79 | s.reject("rel", ValidationError::MissingRequiredValue("rel".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:85:53 [INFO] [stderr] | [INFO] [stderr] 85 | Err(OpenIdConnectError::ValidationError(ValidationError::ValidationError(vs.state))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:93:84 [INFO] [stderr] | [INFO] [stderr] 93 | resource: try!(self.resource.ok_or(OpenIdConnectError::ValidationError(ValidationError::MissingRequiredValue("resource".to_owned())))), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:94:74 [INFO] [stderr] | [INFO] [stderr] 94 | rel: try!(self.rel.ok_or(OpenIdConnectError::ValidationError(ValidationError::MissingRequiredValue("rel".to_owned())))), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtError` in this scope [INFO] [stderr] --> src/result.rs:175:21 [INFO] [stderr] | [INFO] [stderr] 175 | JwtError(e: JwtError) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: there is an enum variant `result::OpenIdConnectError::JwtError`; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 175 | JwtError(e: result::OpenIdConnectError) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/routes/register.rs:47:40 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn validate(&self, state: &mut ValidationState) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/users.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | validation_state: ValidationState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/routes/token.rs:40:23 [INFO] [stderr] | [INFO] [stderr] 40 | validation_state: ValidationState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtClaims` in this scope [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:22:111 [INFO] [stderr] | [INFO] [stderr] 22 | fn get_user_claims(&self, req: &mut Request, user_id: &str, client_id: &str, scopes: &[String]) -> Result; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Header` in this scope [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:90:58 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn half_hash_value(config: Arc, header: &Header, value: &str) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use iron::headers::Header; [INFO] [stderr] | [INFO] [stderr] 1 | use iron::modifiers::Header; [INFO] [stderr] | [INFO] [stderr] 1 | use jsonwebtoken::Header; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtClaims` in this scope [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:102:106 [INFO] [stderr] | [INFO] [stderr] 102 | fn get_basic_claims(req: &mut Request, user_id: &str, client_id: &str, duration: Duration) -> Result { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtClaims` in this scope [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:136:112 [INFO] [stderr] | [INFO] [stderr] 136 | fn get_user_claims(&self, req: &mut Request, user_id: &str, client_id: &str, _scopes: &[String]) -> Result { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SystemTimeProvider` in this scope [INFO] [stderr] --> src/oauth2/models/client.rs:96:28 [INFO] [stderr] | [INFO] [stderr] 96 | let now_i64 = try!(SystemTimeProvider.now_utc_minus_a_bit()).timestamp(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/models/client.rs:177:27 [INFO] [stderr] | [INFO] [stderr] 177 | pub validation_state: ValidationState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:46:70 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn validate(&self, req: &mut Request, validation_state: &mut ValidationState) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Signer` in this scope [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:209:22 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn encode(&self, jwt_type: &str, signer: &S) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Verifier` in this scope [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:215:22 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn decode(encoded: &str, verifier: &V) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:66:64 [INFO] [stderr] | [INFO] [stderr] 66 | vs.rule(Box::new(|b: &WebFingerRequestBuilder, s: &mut ValidationState| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:73:64 [INFO] [stderr] | [INFO] [stderr] 73 | vs.rule(Box::new(|b: &WebFingerRequestBuilder, s: &mut ValidationState| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/service/routes/login.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | validation_state: ValidationState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationSchema` in this scope [INFO] [stderr] --> src/back.rs:64:24 [INFO] [stderr] | [INFO] [stderr] 64 | let mut v: ValidationSchema = claims_verifier(SystemTimeProvider, Duration::zero(), Duration::zero()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::validation::ValidationSchema; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SystemTimeProvider` in this scope [INFO] [stderr] --> src/back.rs:64:70 [INFO] [stderr] | [INFO] [stderr] 64 | let mut v: ValidationSchema = claims_verifier(SystemTimeProvider, Duration::zero(), Duration::zero()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwkSet` in this scope [INFO] [stderr] --> src/site_config.rs:202:47 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn load_jwks(&self) -> result::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwkSet` in this scope [INFO] [stderr] --> src/site_config.rs:209:19 [INFO] [stderr] | [INFO] [stderr] 209 | let jwks: JwkSet = try!(f.read_json().map_err(OpenIdConnectError::from)); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/result.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | use jsonwebtoken::validation; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/routes/register.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/users.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `crypto` is private [INFO] [stderr] --> src/config.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::crypto::mac_signer::MacSigner; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/routes/token.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/repos/client_repo.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `header` is private [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::header::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/models/client.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/models/grant.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `header` is private [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::header::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/service/routes/login.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/back.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationState` [INFO] [stderr] --> src/service/routes/login.rs:42:31 [INFO] [stderr] | [INFO] [stderr] 42 | validation_state: ValidationState::new(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationState` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/service/routes/login.rs:54:42 [INFO] [stderr] | [INFO] [stderr] 54 | Err(OpenIdConnectError::from(ValidationError::ValidationError(self.validation_state))) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/service/routes/login.rs:62:54 [INFO] [stderr] | [INFO] [stderr] 62 | self.validation_state.reject("username", ValidationError::MissingRequiredValue("username".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/service/routes/login.rs:68:54 [INFO] [stderr] | [INFO] [stderr] 68 | self.validation_state.reject("password", ValidationError::MissingRequiredValue("password".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValidationError` [INFO] [stderr] --> src/service/routes/login.rs:74:56 [INFO] [stderr] | [INFO] [stderr] 74 | self.validation_state.reject("csrf_token", ValidationError::MissingRequiredValue("csrf_token".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ValidationError` [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::result::*` [INFO] [stderr] --> src/result.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use jsonwebtoken::result::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/routes/register.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/users.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `iron::modifier` [INFO] [stderr] --> src/login_manager.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use iron::modifier; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `iron_sessionstorage::traits::*` [INFO] [stderr] --> src/login_manager.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use iron_sessionstorage::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/routes/token.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::json::*` [INFO] [stderr] --> src/oauth2/routes/consent.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/repos/client_repo.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::jwt::*` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::jwt::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::json::*` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::header::*` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::header::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::signer::*` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::signer::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserializer`, `Serializer` [INFO] [stderr] --> src/oauth2/models/client.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::{Serializer, Deserializer}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/models/client.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::claims::time::*` [INFO] [stderr] --> src/oauth2/models/client.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::claims::time::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `authentication::*` [INFO] [stderr] --> src/oauth2/models/client.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use authentication::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/models/grant.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::signer::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::signer::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::verifier::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::verifier::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::header::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::header::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::algorithm::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::algorithm::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json` [INFO] [stderr] --> src/oauth2/models/registration.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/service/routes/login.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::json::*` [INFO] [stderr] --> src/back.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::claims::time::*` [INFO] [stderr] --> src/back.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::claims::time::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/back.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::jwk::*` [INFO] [stderr] --> src/site_config.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use jsonwebtoken::jwk::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::json::*` [INFO] [stderr] --> src/site_config.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtError` in this scope [INFO] [stderr] --> src/result.rs:175:21 [INFO] [stderr] | [INFO] [stderr] 175 | JwtError(e: JwtError) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: there is an enum variant `result::OpenIdConnectError::JwtError`; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 175 | JwtError(e: result::OpenIdConnectError) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/routes/register.rs:47:40 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn validate(&self, state: &mut ValidationState) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/users.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | validation_state: ValidationState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/routes/token.rs:40:23 [INFO] [stderr] | [INFO] [stderr] 40 | validation_state: ValidationState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtClaims` in this scope [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:22:111 [INFO] [stderr] | [INFO] [stderr] 22 | fn get_user_claims(&self, req: &mut Request, user_id: &str, client_id: &str, scopes: &[String]) -> Result; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Header` in this scope [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:90:58 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn half_hash_value(config: Arc, header: &Header, value: &str) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use iron::headers::Header; [INFO] [stderr] | [INFO] [stderr] 1 | use iron::modifiers::Header; [INFO] [stderr] | [INFO] [stderr] 1 | use jsonwebtoken::Header; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtClaims` in this scope [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:102:106 [INFO] [stderr] | [INFO] [stderr] 102 | fn get_basic_claims(req: &mut Request, user_id: &str, client_id: &str, duration: Duration) -> Result { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwtClaims` in this scope [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:136:112 [INFO] [stderr] | [INFO] [stderr] 136 | fn get_user_claims(&self, req: &mut Request, user_id: &str, client_id: &str, _scopes: &[String]) -> Result { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SystemTimeProvider` in this scope [INFO] [stderr] --> src/oauth2/models/client.rs:96:28 [INFO] [stderr] | [INFO] [stderr] 96 | let now_i64 = try!(SystemTimeProvider.now_utc_minus_a_bit()).timestamp(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/models/client.rs:177:27 [INFO] [stderr] | [INFO] [stderr] 177 | pub validation_state: ValidationState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:46:70 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn validate(&self, req: &mut Request, validation_state: &mut ValidationState) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Signer` in this scope [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:209:22 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn encode(&self, jwt_type: &str, signer: &S) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Verifier` in this scope [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:215:22 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn decode(encoded: &str, verifier: &V) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:66:64 [INFO] [stderr] | [INFO] [stderr] 66 | vs.rule(Box::new(|b: &WebFingerRequestBuilder, s: &mut ValidationState| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:73:64 [INFO] [stderr] | [INFO] [stderr] 73 | vs.rule(Box::new(|b: &WebFingerRequestBuilder, s: &mut ValidationState| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationState` in this scope [INFO] [stderr] --> src/service/routes/login.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | validation_state: ValidationState, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::state::ValidationState; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ValidationSchema` in this scope [INFO] [stderr] --> src/back.rs:64:24 [INFO] [stderr] | [INFO] [stderr] 64 | let mut v: ValidationSchema = claims_verifier(SystemTimeProvider, Duration::zero(), Duration::zero()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use rbvt::validation::ValidationSchema; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SystemTimeProvider` in this scope [INFO] [stderr] --> src/back.rs:64:70 [INFO] [stderr] | [INFO] [stderr] 64 | let mut v: ValidationSchema = claims_verifier(SystemTimeProvider, Duration::zero(), Duration::zero()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwkSet` in this scope [INFO] [stderr] --> src/site_config.rs:202:47 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn load_jwks(&self) -> result::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JwkSet` in this scope [INFO] [stderr] --> src/site_config.rs:209:19 [INFO] [stderr] | [INFO] [stderr] 209 | let jwks: JwkSet = try!(f.read_json().map_err(OpenIdConnectError::from)); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/result.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | use jsonwebtoken::validation; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/routes/register.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/users.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `crypto` is private [INFO] [stderr] --> src/config.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::crypto::mac_signer::MacSigner; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/routes/token.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/repos/client_repo.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `header` is private [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::header::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/models/client.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/models/grant.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `header` is private [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::header::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/service/routes/login.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `validation` is private [INFO] [stderr] --> src/back.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::result::*` [INFO] [stderr] --> src/result.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use jsonwebtoken::result::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/routes/register.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/users.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `iron::modifier` [INFO] [stderr] --> src/login_manager.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use iron::modifier; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `iron_sessionstorage::traits::*` [INFO] [stderr] --> src/login_manager.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use iron_sessionstorage::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `oauth2::models::*` [INFO] [stderr] --> src/oauth2/routes/authorize.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | use oauth2::models::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/routes/token.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::json::*` [INFO] [stderr] --> src/oauth2/routes/consent.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/repos/client_repo.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::jwt::*` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::jwt::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::json::*` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::header::*` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::header::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::signer::*` [INFO] [stderr] --> src/oauth2/repos/token_repo.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::signer::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserializer`, `Serializer` [INFO] [stderr] --> src/oauth2/models/client.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::{Serializer, Deserializer}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/models/client.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::claims::time::*` [INFO] [stderr] --> src/oauth2/models/client.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::claims::time::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `authentication::*` [INFO] [stderr] --> src/oauth2/models/client.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use authentication::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/models/grant.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::signer::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonwebtoken::signer::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::verifier::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::verifier::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::header::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::header::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::algorithm::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::algorithm::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/models/authorize_request.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/oauth2/models/webfinger_request.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json` [INFO] [stderr] --> src/oauth2/models/registration.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/service/routes/login.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::json::*` [INFO] [stderr] --> src/back.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::claims::time::*` [INFO] [stderr] --> src/back.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonwebtoken::claims::time::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::validation::*` [INFO] [stderr] --> src/back.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonwebtoken::validation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::jwk::*` [INFO] [stderr] --> src/site_config.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use jsonwebtoken::jwk::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `jsonwebtoken::json::*` [INFO] [stderr] --> src/site_config.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use jsonwebtoken::json::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 101 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `openid-connect`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 101 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `openid-connect`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "24c48fa560b6b58c47e6daf06d1f060d6d6c6ce3e2f924ddd7b6f927c6d40b69"` [INFO] running `"docker" "rm" "-f" "24c48fa560b6b58c47e6daf06d1f060d6d6c6ce3e2f924ddd7b6f927c6d40b69"` [INFO] [stdout] 24c48fa560b6b58c47e6daf06d1f060d6d6c6ce3e2f924ddd7b6f927c6d40b69