[INFO] cloning repository https://github.com/erfanhuda/entry_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erfanhuda/entry_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferfanhuda%2Fentry_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferfanhuda%2Fentry_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3e41e86af4830e582832cbb378ec1115a6388b1 [INFO] checking erfanhuda/entry_api against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferfanhuda%2Fentry_api" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erfanhuda/entry_api [INFO] finished tweaking git repo https://github.com/erfanhuda/entry_api [INFO] tweaked toml for git repo https://github.com/erfanhuda/entry_api written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erfanhuda/entry_api on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/erfanhuda/entry_api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-tls v3.4.0 [INFO] [stderr] Downloaded actix-server v2.5.1 [INFO] [stderr] Downloaded actix-http v3.10.0 [INFO] [stderr] Downloaded actix-web v4.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1db4fcebc71639431e5ade1cc06ac16fe0f6d2f2835a14bf477a0696ce502230 [INFO] running `Command { std: "docker" "start" "-a" "1db4fcebc71639431e5ade1cc06ac16fe0f6d2f2835a14bf477a0696ce502230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1db4fcebc71639431e5ade1cc06ac16fe0f6d2f2835a14bf477a0696ce502230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db4fcebc71639431e5ade1cc06ac16fe0f6d2f2835a14bf477a0696ce502230", kill_on_drop: false }` [INFO] [stdout] 1db4fcebc71639431e5ade1cc06ac16fe0f6d2f2835a14bf477a0696ce502230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 098ff0596a831bbd3c190c61fb1f592106a580110f1e46b7014205c395b4ee1c [INFO] running `Command { std: "docker" "start" "-a" "098ff0596a831bbd3c190c61fb1f592106a580110f1e46b7014205c395b4ee1c", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking deranged v0.4.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Checking ucd-trie v0.1.7 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking xml-rs v0.8.25 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking rust-saml-idp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `handlers` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod handlers; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handlers`, create file "src/handlers.rs" or "src/handlers/mod.rs" [INFO] [stdout] = note: if there is a `mod handlers` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `"false"` [INFO] [stdout] --> src/config.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| ServiceError:: "false".to_string()) [INFO] [stdout] | --- ^^^^^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| { ServiceError:: "false".to_string()}) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handlers` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod handlers; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handlers`, create file "src/handlers.rs" or "src/handlers/mod.rs" [INFO] [stdout] = note: if there is a `mod handlers` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `"false"` [INFO] [stdout] --> src/config.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| ServiceError:: "false".to_string()) [INFO] [stdout] | --- ^^^^^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|e| { ServiceError:: "false".to_string()}) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `d` [INFO] [stdout] --> src/saml.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 371 | window.onload = function() { [INFO] [stdout] | - because of this opening brace [INFO] [stdout] 372 | document.forms[0].submit(); [INFO] [stdout] | ^ expected `}` in format string [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `d` [INFO] [stdout] --> src/saml.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 371 | window.onload = function() { [INFO] [stdout] | - because of this opening brace [INFO] [stdout] 372 | document.forms[0].submit(); [INFO] [stdout] | ^ expected `}` in format string [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zlib` [INFO] [stdout] --> src/saml.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use zlib::{Compression, Deflater}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `zlib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zlib`, use `cargo add zlib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zlib` [INFO] [stdout] --> src/saml.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use zlib::{Compression, Deflater}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `zlib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zlib`, use `cargo add zlib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | info!("Starting SAML Identity Provider Service"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Into` accepts the similarly named `into` attribute [INFO] [stdout] | [INFO] [stdout] 14 - info!("Starting SAML Identity Provider Service"); [INFO] [stdout] 14 + into!("Starting SAML Identity Provider Service"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | info!("Configuration loaded successfully"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Into` accepts the similarly named `into` attribute [INFO] [stdout] | [INFO] [stdout] 19 - info!("Configuration loaded successfully"); [INFO] [stdout] 19 + into!("Configuration loaded successfully"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | error!("Failed to load configuration: {}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] = note: `error` is in scope, but it is a module, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use log::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | info!("Server running at {}", config.bind_address); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Into` accepts the similarly named `into` attribute [INFO] [stdout] | [INFO] [stdout] 66 - info!("Server running at {}", config.bind_address); [INFO] [stdout] 66 + into!("Server running at {}", config.bind_address); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | info!("Starting SAML Identity Provider Service"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Into` accepts the similarly named `into` attribute [INFO] [stdout] | [INFO] [stdout] 14 - info!("Starting SAML Identity Provider Service"); [INFO] [stdout] 14 + into!("Starting SAML Identity Provider Service"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | info!("Configuration loaded successfully"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Into` accepts the similarly named `into` attribute [INFO] [stdout] | [INFO] [stdout] 19 - info!("Configuration loaded successfully"); [INFO] [stdout] 19 + into!("Configuration loaded successfully"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | error!("Failed to load configuration: {}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] = note: `error` is in scope, but it is a module, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use log::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | info!("Server running at {}", config.bind_address); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Into` accepts the similarly named `into` attribute [INFO] [stdout] | [INFO] [stdout] 66 - info!("Server running at {}", config.bind_address); [INFO] [stdout] 66 + into!("Server running at {}", config.bind_address); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web` [INFO] [stdout] --> src/saml.rs:300:15 [INFO] [stdout] | [INFO] [stdout] 300 | body: web::Bytes, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web; [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::web; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web` [INFO] [stdout] --> src/saml.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | body: web::Bytes, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web; [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::web; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Env` [INFO] [stdout] --> src/main.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | env_logger::Builder::from_env(Env::default().default_filter_or("info")).init(); [INFO] [stdout] | ^^^ use of undeclared type `Env` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use env_logger::Env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> src/main.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let config = match AppConfig::load() { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::config::AppConfig; [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/main.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let identity_store = Arc::new(RwLock::new(IdentityStore::new(&config).await?)); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock` [INFO] [stdout] --> src/main.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | let identity_store = Arc::new(RwLock::new(IdentityStore::new(&config).await?)); [INFO] [stdout] | ^^^^^^ use of undeclared type `RwLock` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::nonpoison::RwLock; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentityStore` [INFO] [stdout] --> src/main.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | let identity_store = Arc::new(RwLock::new(IdentityStore::new(&config).await?)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IdentityStore` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::identity::IdentityStore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let saml_processor = Arc::new(SamlProcessor::new(&config)?); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SamlProcessor` [INFO] [stdout] --> src/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let saml_processor = Arc::new(SamlProcessor::new(&config)?); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SamlProcessor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::saml::SamlProcessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/main.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let metrics_collector = Arc::new(MetricsCollector::new()); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetricsCollector` [INFO] [stdout] --> src/main.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | let metrics_collector = Arc::new(MetricsCollector::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `MetricsCollector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::metrics::MetricsCollector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslAcceptor` [INFO] [stdout] --> src/main.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | let mut builder = SslAcceptor::mozilla_intermediate(SslMethod::tls()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SslAcceptor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use openssl::ssl::SslAcceptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslMethod` [INFO] [stdout] --> src/main.rs:39:61 [INFO] [stdout] | [INFO] [stdout] 39 | let mut builder = SslAcceptor::mozilla_intermediate(SslMethod::tls()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SslMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use openssl::ssl::SslMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslFiletype` [INFO] [stdout] --> src/main.rs:40:55 [INFO] [stdout] | [INFO] [stdout] 40 | builder.set_private_key_file(&config.ssl_key, SslFiletype::PEM).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SslFiletype` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use openssl::ssl::SslFiletype; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | App::new() [INFO] [stdout] | ^^^ use of undeclared type `App` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RequestLogger` in this scope [INFO] [stdout] --> src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | .wrap(RequestLogger) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | App::new() [INFO] [stdout] | ^^^ use of undeclared type `App` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RequestLogger` in this scope [INFO] [stdout] --> src/main.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | .wrap(RequestLogger) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/identity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/identity.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/metrics.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageDigest` and `hash` [INFO] [stdout] --> src/saml.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use openssl::hash::{hash, MessageDigest}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openssl::sign::Signer` [INFO] [stdout] --> src/saml.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use openssl::sign::Signer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/saml.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/saml.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> src/saml.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web` [INFO] [stdout] --> src/saml.rs:300:15 [INFO] [stdout] | [INFO] [stdout] 300 | body: web::Bytes, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web; [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::web; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web` [INFO] [stdout] --> src/saml.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | body: web::Bytes, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web; [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::web; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Env` [INFO] [stdout] --> src/main.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | env_logger::Builder::from_env(Env::default().default_filter_or("info")).init(); [INFO] [stdout] | ^^^ use of undeclared type `Env` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use env_logger::Env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> src/main.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let config = match AppConfig::load() { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::config::AppConfig; [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::dev::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/main.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let identity_store = Arc::new(RwLock::new(IdentityStore::new(&config).await?)); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock` [INFO] [stdout] --> src/main.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | let identity_store = Arc::new(RwLock::new(IdentityStore::new(&config).await?)); [INFO] [stdout] | ^^^^^^ use of undeclared type `RwLock` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::nonpoison::RwLock; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentityStore` [INFO] [stdout] --> src/main.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | let identity_store = Arc::new(RwLock::new(IdentityStore::new(&config).await?)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IdentityStore` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::identity::IdentityStore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let saml_processor = Arc::new(SamlProcessor::new(&config)?); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SamlProcessor` [INFO] [stdout] --> src/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | let saml_processor = Arc::new(SamlProcessor::new(&config)?); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SamlProcessor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::saml::SamlProcessor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/main.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let metrics_collector = Arc::new(MetricsCollector::new()); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetricsCollector` [INFO] [stdout] --> src/main.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | let metrics_collector = Arc::new(MetricsCollector::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `MetricsCollector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::metrics::MetricsCollector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslAcceptor` [INFO] [stdout] --> src/main.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | let mut builder = SslAcceptor::mozilla_intermediate(SslMethod::tls()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SslAcceptor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use openssl::ssl::SslAcceptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslMethod` [INFO] [stdout] --> src/main.rs:39:61 [INFO] [stdout] | [INFO] [stdout] 39 | let mut builder = SslAcceptor::mozilla_intermediate(SslMethod::tls()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SslMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use openssl::ssl::SslMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SslFiletype` [INFO] [stdout] --> src/main.rs:40:55 [INFO] [stdout] | [INFO] [stdout] 40 | builder.set_private_key_file(&config.ssl_key, SslFiletype::PEM).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SslFiletype` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use openssl::ssl::SslFiletype; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | App::new() [INFO] [stdout] | ^^^ use of undeclared type `App` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RequestLogger` in this scope [INFO] [stdout] --> src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | .wrap(RequestLogger) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | App::new() [INFO] [stdout] | ^^^ use of undeclared type `App` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use actix_web::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RequestLogger` in this scope [INFO] [stdout] --> src/main.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | .wrap(RequestLogger) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/identity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/identity.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/metrics.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageDigest` and `hash` [INFO] [stdout] --> src/saml.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use openssl::hash::{hash, MessageDigest}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openssl::sign::Signer` [INFO] [stdout] --> src/saml.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use openssl::sign::Signer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/saml.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/saml.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> src/saml.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0210]: type parameter `S` must be used as the type parameter for some local type (e.g., `MyStruct`) [INFO] [stdout] --> src/metrics.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | impl Transform for Arc [INFO] [stdout] | ^ type parameter `S` must be used as the type parameter for some local type [INFO] [stdout] | [INFO] [stdout] = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local [INFO] [stdout] = note: only traits defined in the current crate can be implemented for a type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0210]: type parameter `S` must be used as the type parameter for some local type (e.g., `MyStruct`) [INFO] [stdout] --> src/metrics.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | impl Transform for Arc [INFO] [stdout] | ^ type parameter `S` must be used as the type parameter for some local type [INFO] [stdout] | [INFO] [stdout] = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local [INFO] [stdout] = note: only traits defined in the current crate can be implemented for a type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/saml.rs:444:32 [INFO] [stdout] | [INFO] [stdout] 444 | if let Ok(XmlReadEvent::Characters(content)) = reader.next().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------- this expression has type `xml::reader::XmlEvent` [INFO] [stdout] | | [INFO] [stdout] | expected `XmlEvent`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `xml::reader::XmlEvent` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/saml.rs:444:32 [INFO] [stdout] | [INFO] [stdout] 444 | if let Ok(XmlReadEvent::Characters(content)) = reader.next().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------- this expression has type `xml::reader::XmlEvent` [INFO] [stdout] | | [INFO] [stdout] | expected `XmlEvent`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `xml::reader::XmlEvent` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `routes` [INFO] [stdout] --> src/main.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | .configure(routes::configure) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `routes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `routes`, use `cargo add routes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `routes` [INFO] [stdout] --> src/main.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | .configure(routes::configure) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `routes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `routes`, use `cargo add routes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `routes` [INFO] [stdout] --> src/main.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | .configure(routes::configure) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `routes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `routes`, use `cargo add routes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `routes` [INFO] [stdout] --> src/main.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | .configure(routes::configure) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `routes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `routes`, use `cargo add routes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> src/saml.rs:544:64 [INFO] [stdout] | [INFO] [stdout] 544 | fn serialize_saml_response(&self, response: &SamlResponse, sp: &ServiceProvider) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0210, E0308, E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0210`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-saml-idp` (bin "rust-saml-idp" test) due to 30 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> src/saml.rs:544:64 [INFO] [stdout] | [INFO] [stdout] 544 | fn serialize_saml_response(&self, response: &SamlResponse, sp: &ServiceProvider) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0210, E0308, E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0210`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-saml-idp` (bin "rust-saml-idp") due to 30 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "098ff0596a831bbd3c190c61fb1f592106a580110f1e46b7014205c395b4ee1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "098ff0596a831bbd3c190c61fb1f592106a580110f1e46b7014205c395b4ee1c", kill_on_drop: false }` [INFO] [stdout] 098ff0596a831bbd3c190c61fb1f592106a580110f1e46b7014205c395b4ee1c