[INFO] cloning repository https://github.com/NichoCM/schedsync-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NichoCM/schedsync-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNichoCM%2Fschedsync-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNichoCM%2Fschedsync-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 475df065b878383c48cd5fe917e495ccc0bea5b5 [INFO] testing NichoCM/schedsync-rs against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNichoCM%2Fschedsync-rs" "/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/NichoCM/schedsync-rs [INFO] finished tweaking git repo https://github.com/NichoCM/schedsync-rs [INFO] tweaked toml for git repo https://github.com/NichoCM/schedsync-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NichoCM/schedsync-rs on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NichoCM/schedsync-rs 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f35031cde1ba9d04b2a1bc007b8b4ba473ef314405f2ee1816db148b6ea38e3a [INFO] running `Command { std: "docker" "start" "-a" "f35031cde1ba9d04b2a1bc007b8b4ba473ef314405f2ee1816db148b6ea38e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f35031cde1ba9d04b2a1bc007b8b4ba473ef314405f2ee1816db148b6ea38e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f35031cde1ba9d04b2a1bc007b8b4ba473ef314405f2ee1816db148b6ea38e3a", kill_on_drop: false }` [INFO] [stdout] f35031cde1ba9d04b2a1bc007b8b4ba473ef314405f2ee1816db148b6ea38e3a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0561fb3489192cfea0184d0c675065ff5fd80ec2aa96476e82c858e7b4d48d95 [INFO] running `Command { std: "docker" "start" "-a" "0561fb3489192cfea0184d0c675065ff5fd80ec2aa96476e82c858e7b4d48d95", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pq-sys v0.6.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling ical v0.11.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling diesel v2.2.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling quick-xml v0.37.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling schedsync-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/models/integration.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] 10 + #[diesel(check_for_backend(Backend))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `crate::db` [INFO] [stdout] --> src/models/app.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(conn: &mut crate::db::Connection) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - pub fn new(conn: &mut crate::db::Connection) -> Self { [INFO] [stdout] 16 + pub fn new(conn: &mut Connection) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/models/oauth_integration.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] 11 + #[diesel(check_for_backend(Backend))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/models/group.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] 6 + #[diesel(check_for_backend(Backend))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `crate::db` [INFO] [stdout] --> src/models/group.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(app_id: i32, conn: &mut crate::db::Connection) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - pub fn new(app_id: i32, conn: &mut crate::db::Connection) -> Self { [INFO] [stdout] 13 + pub fn new(app_id: i32, conn: &mut Connection) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `crate::db` [INFO] [stdout] --> src/models/group.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn find_by_id(id: i32, conn: &mut crate::db::Connection) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - pub fn find_by_id(id: i32, conn: &mut crate::db::Connection) -> Option { [INFO] [stdout] 23 + pub fn find_by_id(id: i32, conn: &mut Connection) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/models/app_key.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] 8 + #[diesel(check_for_backend(Backend))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/models/oauth2_state.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - #[diesel(check_for_backend(crate::db::Backend))] [INFO] [stdout] 8 + #[diesel(check_for_backend(Backend))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `crate::db` [INFO] [stdout] --> src/models/oauth2_state.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | conn: &mut crate::db::Connection, [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - conn: &mut crate::db::Connection, [INFO] [stdout] 19 + conn: &mut Connection, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `crate::db` [INFO] [stdout] --> src/models/oauth2_state.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn delete(self, conn: &mut crate::db::Connection) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - pub fn delete(self, conn: &mut crate::db::Connection) -> Result { [INFO] [stdout] 37 + pub fn delete(self, conn: &mut Connection) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `crate::db` [INFO] [stdout] --> src/models/oauth2_state.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | conn: &mut crate::db::Connection, [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - conn: &mut crate::db::Connection, [INFO] [stdout] 48 + conn: &mut Connection, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `crate::db` [INFO] [stdout] --> src/models/oauth2_state.rs:63:65 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn find_by_string(value: &String, conn: &mut crate::db::Connection) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - pub fn find_by_string(value: &String, conn: &mut crate::db::Connection) -> Option { [INFO] [stdout] 63 + pub fn find_by_string(value: &String, conn: &mut Connection) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `crate::db` [INFO] [stdout] --> src/models/oauth2_state.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_group(&self, conn: &mut crate::db::Connection) -> Group { [INFO] [stdout] | ^^^^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - pub fn get_group(&self, conn: &mut crate::db::Connection) -> Group { [INFO] [stdout] 81 + pub fn get_group(&self, conn: &mut Connection) -> Group { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/oauth2/mod.rs:99:56 [INFO] [stdout] | [INFO] [stdout] 99 | impl Queryable for Oauth2Service { [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 99 - impl Queryable for Oauth2Service { [INFO] [stdout] 99 + impl Queryable for Oauth2Service { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/oauth2/mod.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | impl ToSql for Oauth2Service { [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 110 - impl ToSql for Oauth2Service { [INFO] [stdout] 110 + impl ToSql for Oauth2Service { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/oauth2/mod.rs:111:84 [INFO] [stdout] | [INFO] [stdout] 111 | fn to_sql<'b>(&'b self, out: &mut diesel::serialize::Output<'b, '_, crate::db::Backend>) -> diesel::serialize::Result { [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 111 - fn to_sql<'b>(&'b self, out: &mut diesel::serialize::Output<'b, '_, crate::db::Backend>) -> diesel::serialize::Result { [INFO] [stdout] 111 + fn to_sql<'b>(&'b self, out: &mut diesel::serialize::Output<'b, '_, Backend>) -> diesel::serialize::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/oauth2/mod.rs:114:73 [INFO] [stdout] | [INFO] [stdout] 114 | let _ = ToSql::::to_sql(&1, out); [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 114 - let _ = ToSql::::to_sql(&1, out); [INFO] [stdout] 114 + let _ = ToSql::::to_sql(&1, out); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/oauth2/mod.rs:118:73 [INFO] [stdout] | [INFO] [stdout] 118 | let _ = ToSql::::to_sql(&2, out); [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - let _ = ToSql::::to_sql(&2, out); [INFO] [stdout] 118 + let _ = ToSql::::to_sql(&2, out); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/mod.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | impl Queryable for ServiceType { [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - impl Queryable for ServiceType { [INFO] [stdout] 18 + impl Queryable for ServiceType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/mod.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl ToSql for ServiceType { [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - impl ToSql for ServiceType { [INFO] [stdout] 30 + impl ToSql for ServiceType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/mod.rs:31:84 [INFO] [stdout] | [INFO] [stdout] 31 | fn to_sql<'b>(&'b self, out: &mut diesel::serialize::Output<'b, '_, crate::db::Backend>) -> diesel::serialize::Result { [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 31 - fn to_sql<'b>(&'b self, out: &mut diesel::serialize::Output<'b, '_, crate::db::Backend>) -> diesel::serialize::Result { [INFO] [stdout] 31 + fn to_sql<'b>(&'b self, out: &mut diesel::serialize::Output<'b, '_, Backend>) -> diesel::serialize::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/mod.rs:34:73 [INFO] [stdout] | [INFO] [stdout] 34 | let _ = ToSql::::to_sql(&1, out); [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 34 - let _ = ToSql::::to_sql(&1, out); [INFO] [stdout] 34 + let _ = ToSql::::to_sql(&1, out); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/mod.rs:38:73 [INFO] [stdout] | [INFO] [stdout] 38 | let _ = ToSql::::to_sql(&2, out); [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 38 - let _ = ToSql::::to_sql(&2, out); [INFO] [stdout] 38 + let _ = ToSql::::to_sql(&2, out); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in module `crate::db` [INFO] [stdout] --> src/connectors/mod.rs:42:73 [INFO] [stdout] | [INFO] [stdout] 42 | let _ = ToSql::::to_sql(&3, out); [INFO] [stdout] | ^^^^^^^ not found in `crate::db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 21 | pub type Backend = diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 23 | pub type Backend = diesel::sqlite::Sqlite; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 25 | pub type Backend = diesel::mysql::Mysql; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::backend::Backend; [INFO] [stdout] | [INFO] [stdout] help: if you import `Backend`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - let _ = ToSql::::to_sql(&3, out); [INFO] [stdout] 42 + let _ = ToSql::::to_sql(&3, out); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/db.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | pub type PooledConnection = diesel::r2d2::PooledConnection>; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/db.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_connection_pool(url: String) -> Pool> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/db.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let manager = ConnectionManager::::new(url); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in module `db` [INFO] [stdout] --> src/lib.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | pub connection_pool: Pool>, [INFO] [stdout] | ^^^^^^^^^^ not found in `db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - pub connection_pool: Pool>, [INFO] [stdout] 21 + pub connection_pool: Pool>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Connection` in `db` [INFO] [stdout] --> src/lib.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | crate::db::Connection::establish(&database_url) [INFO] [stdout] | ^^^^^^^^^^ could not find `Connection` in `db` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 8 | pub type Connection = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 10 | pub type Connection = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/db.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 12 | pub type Connection = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use diesel::Connection; [INFO] [stdout] | [INFO] [stdout] help: if you import `Connection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 31 - crate::db::Connection::establish(&database_url) [INFO] [stdout] 31 + Connection::establish(&database_url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/lib.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::{r2d2::{ConnectionManager, Pool}, Connection}; [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: `schema::integrations::group_id` [INFO] [stdout] --> src/models/integration.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{connectors::ServiceType, schema::integrations::group_id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path` and `Query` [INFO] [stdout] --> src/controllers/oauth2.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::{Path, Query}, response::Redirect}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `integration::Integration` [INFO] [stdout] --> src/connectors/oauth2/outlook.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config::Oauth2Config, models::{calendar::CalendarResult, integration::Integration, oauth_integration::OauthIntegration}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/connectors/oauth2/mod.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | fn build(row: Self::Row) -> Result> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - fn build(row: Self::Row) -> Result> { [INFO] [stdout] 101 + fn build(row: Self::Row) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/connectors/caldav/caldav.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `line` [INFO] [stdout] --> src/connectors/caldav/caldav.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use ical::{line, parser::ical::component::IcalEvent, property::Property}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Deserializer` [INFO] [stdout] --> src/connectors/caldav/caldav.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use quick_xml::{se::Serializer, de::Deserializer, de::DeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/connectors/mod.rs:20:57 [INFO] [stdout] | [INFO] [stdout] 20 | fn build(row: Self::Row) -> Result> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - fn build(row: Self::Row) -> Result> { [INFO] [stdout] 20 + fn build(row: Self::Row) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/middleware/mod.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::{Request, State, Extension}, middleware::Next, response::IntoResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integration` [INFO] [stdout] --> src/connectors/oauth2/outlook.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | async fn revoke_access_token(&self, integration: &OauthIntegration) -> Result<(), Oauth2ConnectorError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integration` [INFO] [stdout] --> src/connectors/oauth2/outlook.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | async fn get_calendars(&self, integration: &OauthIntegration) -> Result, Oauth2ConnectorError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connectors/caldav/caldav.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let mut list = elements.map(|events_data| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `schedsync-api` (lib) due to 29 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0561fb3489192cfea0184d0c675065ff5fd80ec2aa96476e82c858e7b4d48d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0561fb3489192cfea0184d0c675065ff5fd80ec2aa96476e82c858e7b4d48d95", kill_on_drop: false }` [INFO] [stdout] 0561fb3489192cfea0184d0c675065ff5fd80ec2aa96476e82c858e7b4d48d95