[INFO] fetching crate kohori 0.1.0... [INFO] checking kohori-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate kohori 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate kohori 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate kohori 0.1.0 [INFO] tweaked toml for crates.io crate kohori 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kohori 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kohori 0.1.0 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 631ffe1564c09e086f4529a60f984e2a265e65e65993442be94d03a9928f6065 [INFO] running `Command { std: "docker" "start" "-a" "631ffe1564c09e086f4529a60f984e2a265e65e65993442be94d03a9928f6065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "631ffe1564c09e086f4529a60f984e2a265e65e65993442be94d03a9928f6065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631ffe1564c09e086f4529a60f984e2a265e65e65993442be94d03a9928f6065", kill_on_drop: false }` [INFO] [stdout] 631ffe1564c09e086f4529a60f984e2a265e65e65993442be94d03a9928f6065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a4f7ca07cda9b87d61b92b21cceac71a2485a9f06d4398cf81ec6a5ab524945 [INFO] running `Command { std: "docker" "start" "-a" "6a4f7ca07cda9b87d61b92b21cceac71a2485a9f06d4398cf81ec6a5ab524945", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking async-stream v0.3.6 [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 serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking kohori v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `applied_migrations` is never read [INFO] [stdout] --> src/migration.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct MigrationManager { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 244 | migrations_dir: PathBuf, [INFO] [stdout] 245 | applied_migrations: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MigrationManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `applied_migrations` is never read [INFO] [stdout] --> src/migration.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct MigrationManager { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 244 | migrations_dir: PathBuf, [INFO] [stdout] 245 | applied_migrations: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MigrationManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kohori::schema::IndexType` [INFO] [stdout] --> examples/complex_schema_diff.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use kohori::schema::{Table, Column, DataType, Index, IndexType, Constraint, ConstraintType}; [INFO] [stdout] | ^^^^^^^^^ no `IndexType` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kohori::rls::Expression` [INFO] [stdout] --> examples/complex_schema_diff.rs:2:58 [INFO] [stdout] | [INFO] [stdout] 2 | use kohori::rls::{Policy, PolicyTarget, SecurityContext, Expression}; [INFO] [stdout] | ^^^^^^^^^^ no `Expression` in `rls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/complex_schema_diff.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | let users_email_idx = Index::new("users_email_idx") [INFO] [stdout] | ^^^^^^^^^^------------------- argument #2 of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/schema.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn new(name: impl Into, columns: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 28 | let users_email_idx = Index::new("users_email_idx", /* Vec */) [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `table` found for struct `kohori::schema::Index` in the current scope [INFO] [stdout] --> examples/complex_schema_diff.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | let users_email_idx = Index::new("users_email_idx") [INFO] [stdout] | ___________________________- [INFO] [stdout] 29 | | .table("users") [INFO] [stdout] | | -^^^^^ method not found in `kohori::schema::Index` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `DataType::Numeric` [INFO] [stdout] --> examples/complex_schema_diff.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | .column(Column::new("price", DataType::Numeric(Some(10), Some(2))).not_null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 38 - .column(Column::new("price", DataType::Numeric(Some(10), Some(2))).not_null()) [INFO] [stdout] 38 + .column(Column::new("price", DataType::Numeric { precision: /* value */, scale: /* value */ }).not_null()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_index` found for struct `kohori::Schema` in the current scope [INFO] [stdout] --> examples/complex_schema_diff.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | original_schema.add_index(users_email_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `kohori::Schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/complex_schema_diff.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | Constraint::new("users_role_check") [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- argument #2 of type `ConstraintType` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/schema.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn new(name: impl Into, constraint_type: ConstraintType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 88 | Constraint::new("users_role_check", /* ConstraintType */) [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `constraint_type` found for struct `Constraint` in the current scope [INFO] [stdout] --> examples/complex_schema_diff.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 88 | / Constraint::new("users_role_check") [INFO] [stdout] 89 | | .constraint_type(ConstraintType::Check("role IN ('user', 'admin', 'moderator')".to_string())) [INFO] [stdout] | | -^^^^^^^^^^^^^^^----------------------------------------------------------------------------- help: remove the arguments [INFO] [stdout] | | || [INFO] [stdout] | |_________________|field, not a method [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `DataType::Numeric` [INFO] [stdout] --> examples/complex_schema_diff.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | .column(Column::new("price", DataType::Numeric(Some(10), Some(2))).not_null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 97 - .column(Column::new("price", DataType::Numeric(Some(10), Some(2))).not_null()) [INFO] [stdout] 97 + .column(Column::new("price", DataType::Numeric { precision: /* value */, scale: /* value */ }).not_null()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_check` found for struct `Policy` in the current scope [INFO] [stdout] --> examples/complex_schema_diff.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 114 | / Policy::new("products_write_policy") [INFO] [stdout] 115 | | .using("auth.role() IN ('admin', 'editor')") [INFO] [stdout] 116 | | .target(PolicyTarget::All) [INFO] [stdout] 117 | | .with_check("price > 0") [INFO] [stdout] | |_________________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `check` with a similar name [INFO] [stdout] | [INFO] [stdout] 117 - .with_check("price > 0") [INFO] [stdout] 117 + .check("price > 0") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `DataType::Numeric` [INFO] [stdout] --> examples/complex_schema_diff.rs:135:45 [INFO] [stdout] | [INFO] [stdout] 135 | .column(Column::new("total_amount", DataType::Numeric(Some(12), Some(2))).not_null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 135 - .column(Column::new("total_amount", DataType::Numeric(Some(12), Some(2))).not_null()) [INFO] [stdout] 135 + .column(Column::new("total_amount", DataType::Numeric { precision: /* value */, scale: /* value */ }).not_null()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `DataType::Numeric` [INFO] [stdout] --> examples/complex_schema_diff.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | .column(Column::new("price", DataType::Numeric(Some(10), Some(2))).not_null()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 161 - .column(Column::new("price", DataType::Numeric(Some(10), Some(2))).not_null()) [INFO] [stdout] 161 + .column(Column::new("price", DataType::Numeric { precision: /* value */, scale: /* value */ }).not_null()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/complex_schema_diff.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | let users_name_idx = Index::new("users_name_idx") [INFO] [stdout] | ^^^^^^^^^^------------------ argument #2 of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/schema.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn new(name: impl Into, columns: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 165 | let users_name_idx = Index::new("users_name_idx", /* Vec */) [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `table` found for struct `kohori::schema::Index` in the current scope [INFO] [stdout] --> examples/complex_schema_diff.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 165 | let users_name_idx = Index::new("users_name_idx") [INFO] [stdout] | __________________________- [INFO] [stdout] 166 | | .table("users") [INFO] [stdout] | | -^^^^^ method not found in `kohori::schema::Index` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/complex_schema_diff.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | let products_category_idx = Index::new("products_category_idx") [INFO] [stdout] | ^^^^^^^^^^------------------------- argument #2 of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/schema.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn new(name: impl Into, columns: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 170 | let products_category_idx = Index::new("products_category_idx", /* Vec */) [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `table` found for struct `kohori::schema::Index` in the current scope [INFO] [stdout] --> examples/complex_schema_diff.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 170 | let products_category_idx = Index::new("products_category_idx") [INFO] [stdout] | _________________________________- [INFO] [stdout] 171 | | .table("products") [INFO] [stdout] | | -^^^^^ method not found in `kohori::schema::Index` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/complex_schema_diff.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | let orders_user_status_idx = Index::new("orders_user_status_idx") [INFO] [stdout] | ^^^^^^^^^^-------------------------- argument #2 of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/schema.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn new(name: impl Into, columns: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 175 | let orders_user_status_idx = Index::new("orders_user_status_idx", /* Vec */) [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `table` found for struct `kohori::schema::Index` in the current scope [INFO] [stdout] --> examples/complex_schema_diff.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 175 | let orders_user_status_idx = Index::new("orders_user_status_idx") [INFO] [stdout] | __________________________________- [INFO] [stdout] 176 | | .table("orders") [INFO] [stdout] | | -^^^^^ method not found in `kohori::schema::Index` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_index` found for struct `kohori::Schema` in the current scope [INFO] [stdout] --> examples/complex_schema_diff.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 190 | / updated_schema [INFO] [stdout] 191 | | .add_index(users_email_idx) [INFO] [stdout] | | -^^^^^^^^^ method not found in `kohori::Schema` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0533, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kohori` (example "complex_schema_diff") due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "6a4f7ca07cda9b87d61b92b21cceac71a2485a9f06d4398cf81ec6a5ab524945", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a4f7ca07cda9b87d61b92b21cceac71a2485a9f06d4398cf81ec6a5ab524945", kill_on_drop: false }` [INFO] [stdout] 6a4f7ca07cda9b87d61b92b21cceac71a2485a9f06d4398cf81ec6a5ab524945