[INFO] fetching crate canyon_observer 0.3.1... [INFO] checking canyon_observer-0.3.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate canyon_observer 0.3.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate canyon_observer 0.3.1 [INFO] finished tweaking crates.io crate canyon_observer 0.3.1 [INFO] tweaked toml for crates.io crate canyon_observer 0.3.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate canyon_observer 0.3.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 283 packages to latest compatible versions [INFO] [stderr] Adding canyon_connection v0.3.1 (available: v0.5.1) [INFO] [stderr] Adding canyon_crud v0.3.1 (available: v0.5.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5 v0.6.1 [INFO] [stderr] Downloaded canyon_crud v0.3.1 [INFO] [stderr] Downloaded async-native-tls v0.4.0 [INFO] [stderr] Downloaded winauth v0.0.4 [INFO] [stderr] Downloaded partialdebug v0.2.0 [INFO] [stderr] Downloaded canyon_connection v0.3.1 [INFO] [stderr] Downloaded libgssapi v0.4.6 [INFO] [stderr] Downloaded partialdebug-derive v0.2.0 [INFO] [stderr] Downloaded libgssapi-sys v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99b62c3d5ee5b75ddffc78a42f5416c4626f1ed353cdfaa6ed70e2a5bd1cd0b [INFO] running `Command { std: "docker" "start" "-a" "f99b62c3d5ee5b75ddffc78a42f5416c4626f1ed353cdfaa6ed70e2a5bd1cd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99b62c3d5ee5b75ddffc78a42f5416c4626f1ed353cdfaa6ed70e2a5bd1cd0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99b62c3d5ee5b75ddffc78a42f5416c4626f1ed353cdfaa6ed70e2a5bd1cd0b", kill_on_drop: false }` [INFO] [stdout] f99b62c3d5ee5b75ddffc78a42f5416c4626f1ed353cdfaa6ed70e2a5bd1cd0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f95d124759045ee652514f241aa96ddfbe84e7f9495f1ef63ab211454252b4f7 [INFO] running `Command { std: "docker" "start" "-a" "f95d124759045ee652514f241aa96ddfbe84e7f9495f1ef63ab211454252b4f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling partialdebug-derive v0.2.0 [INFO] [stderr] Checking partialdebug v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking canyon_connection v0.3.1 [INFO] [stderr] Checking canyon_crud v0.3.1 [INFO] [stderr] Checking canyon_observer v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `constants` [INFO] [stdout] --> src/migrations/handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | constants, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColumnType` [INFO] [stdout] --> src/migrations/information_schema.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use canyon_crud::bounds::{Column, ColumnType, Row, RowOperations}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> src/migrations/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_check` [INFO] [stdout] --> src/migrations/memory.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(not(cargo_check))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_check)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_check)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_check` [INFO] [stdout] --> src/migrations/memory.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | #[cfg(not(cargo_check))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_check)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_check)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/migrations/register_types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `regex_patterns` and `rust_type` [INFO] [stdout] --> src/migrations/register_types.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::constants::{regex_patterns, rust_type, NUMERIC_PK_DATATYPE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants` [INFO] [stdout] --> src/migrations/handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | constants, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColumnType` [INFO] [stdout] --> src/migrations/information_schema.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use canyon_crud::bounds::{Column, ColumnType, Row, RowOperations}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> src/migrations/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_check` [INFO] [stdout] --> src/migrations/memory.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(not(cargo_check))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_check)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_check)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `cargo_check` [INFO] [stdout] --> src/migrations/memory.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | #[cfg(not(cargo_check))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_check)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_check)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/migrations/register_types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `regex_patterns` and `rust_type` [INFO] [stdout] --> src/migrations/register_types.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::constants::{regex_patterns, rust_type, NUMERIC_PK_DATATYPE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> src/migrations/handler.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 57 | Self::map_rows(schema_status, datasource.get_db_type()); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 60 | let mut user_database_tables = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/handler.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | Self::map_rows(schema_status, datasource.get_db_type()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/migrations/handler.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | Self::fetch_database(&datasource.name, datasource.get_db_type()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/handler.rs:55:56 [INFO] [stdout] | [INFO] [stdout] 55 | Self::fetch_database(&datasource.name, datasource.get_db_type()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `migrations_processor` [INFO] [stdout] --> src/migrations/handler.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut migrations_processor = MigrationsProcessor::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_migrations_processor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_memory` [INFO] [stdout] --> src/migrations/handler.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let canyon_memory = CanyonMemory::remember(datasource, &canyon_entities).await; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_status` [INFO] [stdout] --> src/migrations/handler.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let schema_status = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database_tables_schema_info` [INFO] [stdout] --> src/migrations/handler.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let database_tables_schema_info = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_tables_schema_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/migrations/handler.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut migrations_processor = MigrationsProcessor::default(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/migrations/handler.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 92 | let query = match db_type { [INFO] [stdout] | _____________________- [INFO] [stdout] 93 | | #[cfg(feature = "postgres")] [INFO] [stdout] 94 | | DatabaseType::PostgreSql => constants::postgresql_queries::FETCH_PUBLIC_SCHEMA, [INFO] [stdout] 95 | | #[cfg(feature = "mssql")] [INFO] [stdout] 96 | | DatabaseType::SqlServer => constants::mssql_queries::FETCH_PUBLIC_SCHEMA, [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 98 | [INFO] [stdout] 99 | / Self::query(query, [], datasource_name) [INFO] [stdout] 100 | | .await [INFO] [stdout] 101 | | .unwrap_or_else(|_| { [INFO] [stdout] 102 | | panic!( [INFO] [stdout] ... | [INFO] [stdout] 105 | | }) [INFO] [stdout] | |______________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): AsRef` is not satisfied [INFO] [stdout] --> src/migrations/handler.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | Self::query(query, [], datasource_name) [INFO] [stdout] | ----------- ^^^^^ the trait `AsRef` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/crud.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | async fn query<'a, S, Z>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 30 | S: AsRef + Display + Sync + Send + 'a, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Transaction::query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/migrations/handler.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | Self::query(query, [], datasource_name) [INFO] [stdout] | ----------- ^^^^^ the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/crud.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 24 | async fn query<'a, S, Z>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 30 | S: AsRef + Display + Sync + Send + 'a, [INFO] [stdout] | ^^^^^^^ required by this bound in `Transaction::query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/migrations/memory.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Self::create_memory(&datasource.name, &datasource.get_db_type()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/memory.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | Self::create_memory(&datasource.name, &datasource.get_db_type()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_entities` [INFO] [stdout] --> src/migrations/memory.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | canyon_entities: &[CanyonRegisterEntity<'_>], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/migrations/memory.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let res = Self::query("SELECT * FROM canyon_memory", [], &datasource.name) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/migrations/memory.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 246 | let query = match database_type { [INFO] [stdout] | _____________________- [INFO] [stdout] 247 | | #[cfg(feature = "postgres")] [INFO] [stdout] 248 | | DatabaseType::PostgreSql => constants::postgresql_queries::CANYON_MEMORY_TABLE, [INFO] [stdout] 249 | | #[cfg(feature = "mssql")] [INFO] [stdout] 250 | | DatabaseType::SqlServer => constants::mssql_queries::CANYON_MEMORY_TABLE, [INFO] [stdout] 251 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 252 | [INFO] [stdout] 253 | / Self::query(query, [], datasource_name) [INFO] [stdout] 254 | | .await [INFO] [stdout] 255 | | .expect("Error creating the 'canyon_memory' table"); [INFO] [stdout] | |________________________________________________________________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): AsRef` is not satisfied [INFO] [stdout] --> src/migrations/memory.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | Self::query(query, [], datasource_name) [INFO] [stdout] | ----------- ^^^^^ the trait `AsRef` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/crud.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | async fn query<'a, S, Z>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 30 | S: AsRef + Display + Sync + Send + 'a, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Transaction::query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/migrations/memory.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | Self::query(query, [], datasource_name) [INFO] [stdout] | ----------- ^^^^^ the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/crud.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 24 | async fn query<'a, S, Z>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 30 | S: AsRef + Display + Sync + Send + 'a, [INFO] [stdout] | ^^^^^^^ required by this bound in `Transaction::query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/migrations/processor.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 38 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 39 | // For each entity (table) on the register (Rust structs) [INFO] [stdout] 40 | for canyon_register_entity in canyon_entities { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/processor.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_memory` [INFO] [stdout] --> src/migrations/processor.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | canyon_memory: CanyonMemory, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_entities` [INFO] [stdout] --> src/migrations/processor.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | canyon_entities: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database_tables` [INFO] [stdout] --> src/migrations/processor.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | database_tables: Vec<&'a TableMetadata>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_tables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/processor.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> src/migrations/handler.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 57 | Self::map_rows(schema_status, datasource.get_db_type()); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 60 | let mut user_database_tables = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/handler.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | Self::map_rows(schema_status, datasource.get_db_type()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/migrations/handler.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | Self::fetch_database(&datasource.name, datasource.get_db_type()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/handler.rs:55:56 [INFO] [stdout] | [INFO] [stdout] 55 | Self::fetch_database(&datasource.name, datasource.get_db_type()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `migrations_processor` [INFO] [stdout] --> src/migrations/handler.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut migrations_processor = MigrationsProcessor::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_migrations_processor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_memory` [INFO] [stdout] --> src/migrations/handler.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let canyon_memory = CanyonMemory::remember(datasource, &canyon_entities).await; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_status` [INFO] [stdout] --> src/migrations/handler.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let schema_status = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database_tables_schema_info` [INFO] [stdout] --> src/migrations/handler.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let database_tables_schema_info = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_tables_schema_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/migrations/handler.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut migrations_processor = MigrationsProcessor::default(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/migrations/handler.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 92 | let query = match db_type { [INFO] [stdout] | _____________________- [INFO] [stdout] 93 | | #[cfg(feature = "postgres")] [INFO] [stdout] 94 | | DatabaseType::PostgreSql => constants::postgresql_queries::FETCH_PUBLIC_SCHEMA, [INFO] [stdout] 95 | | #[cfg(feature = "mssql")] [INFO] [stdout] 96 | | DatabaseType::SqlServer => constants::mssql_queries::FETCH_PUBLIC_SCHEMA, [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 98 | [INFO] [stdout] 99 | / Self::query(query, [], datasource_name) [INFO] [stdout] 100 | | .await [INFO] [stdout] 101 | | .unwrap_or_else(|_| { [INFO] [stdout] 102 | | panic!( [INFO] [stdout] ... | [INFO] [stdout] 105 | | }) [INFO] [stdout] | |______________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): AsRef` is not satisfied [INFO] [stdout] --> src/migrations/handler.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | Self::query(query, [], datasource_name) [INFO] [stdout] | ----------- ^^^^^ the trait `AsRef` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/crud.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | async fn query<'a, S, Z>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 30 | S: AsRef + Display + Sync + Send + 'a, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Transaction::query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/migrations/handler.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | Self::query(query, [], datasource_name) [INFO] [stdout] | ----------- ^^^^^ the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/crud.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 24 | async fn query<'a, S, Z>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 30 | S: AsRef + Display + Sync + Send + 'a, [INFO] [stdout] | ^^^^^^^ required by this bound in `Transaction::query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/migrations/memory.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Self::create_memory(&datasource.name, &datasource.get_db_type()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/memory.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | Self::create_memory(&datasource.name, &datasource.get_db_type()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_entities` [INFO] [stdout] --> src/migrations/memory.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | canyon_entities: &[CanyonRegisterEntity<'_>], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/migrations/memory.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let res = Self::query("SELECT * FROM canyon_memory", [], &datasource.name) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/migrations/processor.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 778 | let stmt = match self { [INFO] [stdout] | ____________________- [INFO] [stdout] 779 | | TableOperation::CreateTable(table_name, table_fields) => { [INFO] [stdout] 780 | | match db_type { [INFO] [stdout] 781 | | #[cfg(feature = "postgres")] DatabaseType::PostgreSql => { [INFO] [stdout] ... | [INFO] [stdout] 886 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 887 | [INFO] [stdout] 888 | save_migrations_query_to_execute(stmt, &datasource.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/migrations/memory.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 246 | let query = match database_type { [INFO] [stdout] | _____________________- [INFO] [stdout] 247 | | #[cfg(feature = "postgres")] [INFO] [stdout] 248 | | DatabaseType::PostgreSql => constants::postgresql_queries::CANYON_MEMORY_TABLE, [INFO] [stdout] 249 | | #[cfg(feature = "mssql")] [INFO] [stdout] 250 | | DatabaseType::SqlServer => constants::mssql_queries::CANYON_MEMORY_TABLE, [INFO] [stdout] 251 | | }; [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 252 | [INFO] [stdout] 253 | / Self::query(query, [], datasource_name) [INFO] [stdout] 254 | | .await [INFO] [stdout] 255 | | .expect("Error creating the 'canyon_memory' table"); [INFO] [stdout] | |________________________________________________________________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): AsRef` is not satisfied [INFO] [stdout] --> src/migrations/memory.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | Self::query(query, [], datasource_name) [INFO] [stdout] | ----------- ^^^^^ the trait `AsRef` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/crud.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | async fn query<'a, S, Z>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 30 | S: AsRef + Display + Sync + Send + 'a, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Transaction::query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/migrations/memory.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | Self::query(query, [], datasource_name) [INFO] [stdout] | ----------- ^^^^^ the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `query` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/crud.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 24 | async fn query<'a, S, Z>( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 30 | S: AsRef + Display + Sync + Send + 'a, [INFO] [stdout] | ^^^^^^^ required by this bound in `Transaction::query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/migrations/processor.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 38 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 39 | // For each entity (table) on the register (Rust structs) [INFO] [stdout] 40 | for canyon_register_entity in canyon_entities { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/processor.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_memory` [INFO] [stdout] --> src/migrations/processor.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | canyon_memory: CanyonMemory, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_entities` [INFO] [stdout] --> src/migrations/processor.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | canyon_entities: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database_tables` [INFO] [stdout] --> src/migrations/processor.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | database_tables: Vec<&'a TableMetadata>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_tables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/processor.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/migrations/processor.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 778 | let stmt = match self { [INFO] [stdout] | ____________________- [INFO] [stdout] 779 | | TableOperation::CreateTable(table_name, table_fields) => { [INFO] [stdout] 780 | | match db_type { [INFO] [stdout] 781 | | #[cfg(feature = "postgres")] DatabaseType::PostgreSql => { [INFO] [stdout] ... | [INFO] [stdout] 886 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 887 | [INFO] [stdout] 888 | save_migrations_query_to_execute(stmt, &datasource.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RowOperations` [INFO] [stdout] --> src/migrations/information_schema.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use canyon_crud::bounds::{Column, ColumnType, Row, RowOperations}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/handler.rs:111:53 [INFO] [stdout] | [INFO] [stdout] 111 | fn map_rows(db_results: CanyonRows, db_type: DatabaseType) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/migrations/handler.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | table: &&mut TableMetadata, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_row` [INFO] [stdout] --> src/migrations/handler.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | res_row: &dyn Row, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&ColumnType` is non-empty [INFO] [stdout] --> src/migrations/information_schema.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | match col.column_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnType` defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/bounds.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum ColumnType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&ColumnType` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 45 ~ match col.column_type() { [INFO] [stdout] 46 + _ => todo!(), [INFO] [stdout] 47 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/processor.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | db_type: DatabaseType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_register_entity_field` [INFO] [stdout] --> src/migrations/processor.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | canyon_register_entity_field: &CanyonRegisterEntityField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_register_entity_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_column_metadata` [INFO] [stdout] --> src/migrations/processor.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | current_column_metadata: &ColumnMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_column_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RowOperations` [INFO] [stdout] --> src/migrations/information_schema.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use canyon_crud::bounds::{Column, ColumnType, Row, RowOperations}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> src/migrations/processor.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 776 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 777 | [INFO] [stdout] 778 | let stmt = match self { [INFO] [stdout] | ^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/processor.rs:776:23 [INFO] [stdout] | [INFO] [stdout] 776 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/handler.rs:111:53 [INFO] [stdout] | [INFO] [stdout] 111 | fn map_rows(db_results: CanyonRows, db_type: DatabaseType) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/processor.rs:776:13 [INFO] [stdout] | [INFO] [stdout] 776 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/migrations/processor.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | let stmt = match self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/migrations/handler.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | table: &&mut TableMetadata, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_row` [INFO] [stdout] --> src/migrations/handler.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | res_row: &dyn Row, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&ColumnType` is non-empty [INFO] [stdout] --> src/migrations/information_schema.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | match col.column_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnType` defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/canyon_crud-0.3.1/src/bounds.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum ColumnType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&ColumnType` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 45 ~ match col.column_type() { [INFO] [stdout] 46 + _ => todo!(), [INFO] [stdout] 47 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:779:41 [INFO] [stdout] | [INFO] [stdout] 779 | TableOperation::CreateTable(table_name, table_fields) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_fields` [INFO] [stdout] --> src/migrations/processor.rs:779:53 [INFO] [stdout] | [INFO] [stdout] 779 | TableOperation::CreateTable(table_name, table_fields) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_table_name` [INFO] [stdout] --> src/migrations/processor.rs:814:44 [INFO] [stdout] | [INFO] [stdout] 814 | TableOperation::AlterTableName(old_table_name, new_table_name) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_table_name` [INFO] [stdout] --> src/migrations/processor.rs:814:60 [INFO] [stdout] | [INFO] [stdout] 814 | TableOperation::AlterTableName(old_table_name, new_table_name) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:878:51 [INFO] [stdout] | [INFO] [stdout] 878 | TableOperation::DeleteTablePrimaryKey(table_name, primary_key_name) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primary_key_name` [INFO] [stdout] --> src/migrations/processor.rs:878:63 [INFO] [stdout] | [INFO] [stdout] 878 | TableOperation::DeleteTablePrimaryKey(table_name, primary_key_name) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> src/migrations/processor.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 917 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 918 | [INFO] [stdout] 919 | let stmt = match self { [INFO] [stdout] | ^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/processor.rs:917:23 [INFO] [stdout] | [INFO] [stdout] 917 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/processor.rs:917:13 [INFO] [stdout] | [INFO] [stdout] 917 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:920:43 [INFO] [stdout] | [INFO] [stdout] 920 | ColumnOperation::CreateColumn(table_name, entity_field) => [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_field` [INFO] [stdout] --> src/migrations/processor.rs:920:55 [INFO] [stdout] | [INFO] [stdout] 920 | ColumnOperation::CreateColumn(table_name, entity_field) => [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:951:53 [INFO] [stdout] | [INFO] [stdout] 951 | ColumnOperation::AlterColumnDropNotNull(table_name, entity_field) => [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_field` [INFO] [stdout] --> src/migrations/processor.rs:951:65 [INFO] [stdout] | [INFO] [stdout] 951 | ColumnOperation::AlterColumnDropNotNull(table_name, entity_field) => [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:976:52 [INFO] [stdout] | [INFO] [stdout] 976 | ColumnOperation::AlterColumnSetNotNull(table_name, entity_field) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_field` [INFO] [stdout] --> src/migrations/processor.rs:976:64 [INFO] [stdout] | [INFO] [stdout] 976 | ColumnOperation::AlterColumnSetNotNull(table_name, entity_field) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/processor.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | db_type: DatabaseType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canyon_register_entity_field` [INFO] [stdout] --> src/migrations/processor.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | canyon_register_entity_field: &CanyonRegisterEntityField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canyon_register_entity_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_column_metadata` [INFO] [stdout] --> src/migrations/processor.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | current_column_metadata: &ColumnMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_column_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> src/migrations/processor.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 776 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 777 | [INFO] [stdout] 778 | let stmt = match self { [INFO] [stdout] | ^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/processor.rs:776:23 [INFO] [stdout] | [INFO] [stdout] 776 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/processor.rs:776:13 [INFO] [stdout] | [INFO] [stdout] 776 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/migrations/processor.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | let stmt = match self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:779:41 [INFO] [stdout] | [INFO] [stdout] 779 | TableOperation::CreateTable(table_name, table_fields) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_fields` [INFO] [stdout] --> src/migrations/processor.rs:779:53 [INFO] [stdout] | [INFO] [stdout] 779 | TableOperation::CreateTable(table_name, table_fields) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_table_name` [INFO] [stdout] --> src/migrations/processor.rs:814:44 [INFO] [stdout] | [INFO] [stdout] 814 | TableOperation::AlterTableName(old_table_name, new_table_name) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_table_name` [INFO] [stdout] --> src/migrations/processor.rs:814:60 [INFO] [stdout] | [INFO] [stdout] 814 | TableOperation::AlterTableName(old_table_name, new_table_name) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:878:51 [INFO] [stdout] | [INFO] [stdout] 878 | TableOperation::DeleteTablePrimaryKey(table_name, primary_key_name) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primary_key_name` [INFO] [stdout] --> src/migrations/processor.rs:878:63 [INFO] [stdout] | [INFO] [stdout] 878 | TableOperation::DeleteTablePrimaryKey(table_name, primary_key_name) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> src/migrations/processor.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 917 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 918 | [INFO] [stdout] 919 | let stmt = match self { [INFO] [stdout] | ^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/migrations/processor.rs:917:23 [INFO] [stdout] | [INFO] [stdout] 917 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_type` [INFO] [stdout] --> src/migrations/processor.rs:917:13 [INFO] [stdout] | [INFO] [stdout] 917 | let db_type = datasource.get_db_type(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:920:43 [INFO] [stdout] | [INFO] [stdout] 920 | ColumnOperation::CreateColumn(table_name, entity_field) => [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_field` [INFO] [stdout] --> src/migrations/processor.rs:920:55 [INFO] [stdout] | [INFO] [stdout] 920 | ColumnOperation::CreateColumn(table_name, entity_field) => [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:951:53 [INFO] [stdout] | [INFO] [stdout] 951 | ColumnOperation::AlterColumnDropNotNull(table_name, entity_field) => [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_field` [INFO] [stdout] --> src/migrations/processor.rs:951:65 [INFO] [stdout] | [INFO] [stdout] 951 | ColumnOperation::AlterColumnDropNotNull(table_name, entity_field) => [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/migrations/processor.rs:976:52 [INFO] [stdout] | [INFO] [stdout] 976 | ColumnOperation::AlterColumnSetNotNull(table_name, entity_field) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_field` [INFO] [stdout] --> src/migrations/processor.rs:976:64 [INFO] [stdout] | [INFO] [stdout] 976 | ColumnOperation::AlterColumnSetNotNull(table_name, entity_field) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `canyon_observer` (lib test) due to 5 previous errors; 49 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0004, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `canyon_observer` (lib) due to 5 previous errors; 49 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f95d124759045ee652514f241aa96ddfbe84e7f9495f1ef63ab211454252b4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f95d124759045ee652514f241aa96ddfbe84e7f9495f1ef63ab211454252b4f7", kill_on_drop: false }` [INFO] [stdout] f95d124759045ee652514f241aa96ddfbe84e7f9495f1ef63ab211454252b4f7