[INFO] fetching crate spacetimedb-schema-2 1.0.0-rc2... [INFO] checking spacetimedb-schema-2-1.0.0-rc2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate spacetimedb-schema-2 1.0.0-rc2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate spacetimedb-schema-2 1.0.0-rc2 [INFO] finished tweaking crates.io crate spacetimedb-schema-2 1.0.0-rc2 [INFO] tweaked toml for crates.io crate spacetimedb-schema-2 1.0.0-rc2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spacetimedb-schema-2 1.0.0-rc2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 118 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding petgraph v0.6.5 (available: v0.8.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spacetimedb-sql-parser-2 v1.0.0-rc2 [INFO] [stderr] Downloaded sqlparser v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20e017b643a2abd9986a21596c865dfd8cc77641cbf0accf583a80d88fc2ee2d [INFO] running `Command { std: "docker" "start" "-a" "20e017b643a2abd9986a21596c865dfd8cc77641cbf0accf583a80d88fc2ee2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e017b643a2abd9986a21596c865dfd8cc77641cbf0accf583a80d88fc2ee2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e017b643a2abd9986a21596c865dfd8cc77641cbf0accf583a80d88fc2ee2d", kill_on_drop: false }` [INFO] [stdout] 20e017b643a2abd9986a21596c865dfd8cc77641cbf0accf583a80d88fc2ee2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f190e6f6255722cf15cdbd9faf325d50ac8233f20f615849badce1d7bf5805e [INFO] running `Command { std: "docker" "start" "-a" "1f190e6f6255722cf15cdbd9faf325d50ac8233f20f615849badce1d7bf5805e", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Compiling spacetimedb-lib v1.2.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking second-stack v0.3.5 [INFO] [stderr] Checking sqlparser v0.38.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking decorum v0.3.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling spacetimedb-primitives v1.2.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking ethnum v1.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling proptest-derive v0.5.1 [INFO] [stderr] Compiling spacetimedb-bindings-macro v1.2.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking spacetimedb-data-structures v1.2.0 [INFO] [stderr] Checking spacetimedb-sats v1.2.0 [INFO] [stderr] Checking spacetimedb-sql-parser-2 v1.0.0-rc2 [INFO] [stderr] Checking spacetimedb-schema-2 v1.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v8.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | name: index_name.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option>`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 223 | name: Some(index_name.clone()), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v8.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | name: constraint_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Option>`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 265 | name: Some(constraint_name), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def/validate/v8.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | name: format!("{table_name}_schedule").into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `std::string::String` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v8.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | name: sequence_name, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Option>`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 301 | name: Some(sequence_name), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:456:14 [INFO] [stdout] | [INFO] [stdout] 456 | .with_column_sequence(0, Some("Apples_sequence".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------------------------ unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn with_column_sequence(mut self, column: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 456 - .with_column_sequence(0, Some("Apples_sequence".into())) [INFO] [stdout] 456 + .with_column_sequence(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:499:43 [INFO] [stdout] | [INFO] [stdout] 499 | let column = self.validate_col_id(&name, column).and_then(|col_id| { [INFO] [stdout] | --------------- ^^^^^ expected `&str`, found `&Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:668:12 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn validate_col_id(&self, def_name: &str, col_id: ColId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:504:31 [INFO] [stdout] | [INFO] [stdout] 504 | sequence: name.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ expected `Box`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 504 | sequence: name.clone().expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:533:27 [INFO] [stdout] | [INFO] [stdout] 533 | sequence: name.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ expected `Box`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 533 | sequence: name.clone().expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:541:49 [INFO] [stdout] | [INFO] [stdout] 541 | let name = self.add_to_global_namespace(name); [INFO] [stdout] | ----------------------- ^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn add_to_global_namespace(&mut self, name: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 541 | let name = self.add_to_global_namespace(name.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:457:14 [INFO] [stdout] | [INFO] [stdout] 457 | .with_unique_constraint(ColId(0), Some("Apples_unique_constraint".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ --------------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 457 - .with_unique_constraint(ColId(0), Some("Apples_unique_constraint".into())) [INFO] [stdout] 457 + .with_unique_constraint(ColId(0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:565:35 [INFO] [stdout] | [INFO] [stdout] 565 | .validate_col_ids(&name, columns) [INFO] [stdout] | ---------------- ^^^^^ expected `&str`, found `&Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:683:12 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn validate_col_ids(&self, def_name: &str, ids: ColList) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:567:58 [INFO] [stdout] | [INFO] [stdout] 567 | _ => Err(ValidationError::OnlyBtree { index: name.clone() }.into()), [INFO] [stdout] | ^^^^^^^^^^^^ expected `Box`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 567 | _ => Err(ValidationError::OnlyBtree { index: name.clone().expect("REASON") }.into()), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:458:14 [INFO] [stdout] | [INFO] [stdout] 458 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | Some("Apples_id_index".into()), [INFO] [stdout] | ------------------------------ unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 462 - "id_index", [INFO] [stdout] 463 - Some("Apples_id_index".into()), [INFO] [stdout] 462 + "id_index", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:569:49 [INFO] [stdout] | [INFO] [stdout] 569 | let name = self.add_to_global_namespace(name); [INFO] [stdout] | ----------------------- ^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn add_to_global_namespace(&mut self, name: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 569 | let name = self.add_to_global_namespace(name.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | Some("Apples_id_name_index".into()), [INFO] [stdout] | ----------------------------------- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 469 - "id_name_index", [INFO] [stdout] 470 - Some("Apples_id_name_index".into()), [INFO] [stdout] 469 + "id_name_index", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:586:66 [INFO] [stdout] | [INFO] [stdout] 586 | let columns: Result = self.validate_col_ids(&name, columns); [INFO] [stdout] | ---------------- ^^^^^ expected `&str`, found `&Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:683:12 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn validate_col_ids(&self, def_name: &str, ids: ColList) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | .with_schedule("check_deliveries", 1, None) [INFO] [stdout] | ^^^^^^^^^^^^^ ---- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:777:12 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn with_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 497 - .with_schedule("check_deliveries", 1, None) [INFO] [stdout] 497 + .with_schedule("check_deliveries", 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:587:53 [INFO] [stdout] | [INFO] [stdout] 587 | let name = self.add_to_global_namespace(name); [INFO] [stdout] | ----------------------- ^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn add_to_global_namespace(&mut self, name: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 587 | let name = self.add_to_global_namespace(name.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:539:14 [INFO] [stdout] | [INFO] [stdout] 539 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 544 | Some("Apples_id_index".into()), [INFO] [stdout] | ------------------------------ unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 543 - "id_index", [INFO] [stdout] 544 - Some("Apples_id_index".into()), [INFO] [stdout] 543 + "id_index", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:631:49 [INFO] [stdout] | [INFO] [stdout] 631 | let name = self.add_to_global_namespace(name); [INFO] [stdout] | ----------------------- ^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn add_to_global_namespace(&mut self, name: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 631 | let name = self.add_to_global_namespace(name.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | Some("Apples_id_count_index".into()), [INFO] [stdout] | ------------------------------------ unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 552 - "id_count_index", [INFO] [stdout] 553 - Some("Apples_id_count_index".into()), [INFO] [stdout] 552 + "id_count_index", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def.rs:513:28 [INFO] [stdout] | [INFO] [stdout] 513 | name: val.name.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `identifier::Identifier` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def.rs:559:28 [INFO] [stdout] | [INFO] [stdout] 559 | name: val.name.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `identifier::Identifier` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def.rs:649:28 [INFO] [stdout] | [INFO] [stdout] 649 | name: val.name.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `identifier::Identifier` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def.rs:741:28 [INFO] [stdout] | [INFO] [stdout] 741 | name: val.name.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `identifier::Identifier` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 568 | .with_column_sequence(0, Some("Bananas_sequence".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn with_column_sequence(mut self, column: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 568 - .with_column_sequence(0, Some("Bananas_sequence".into())) [INFO] [stdout] 568 + .with_column_sequence(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:603:14 [INFO] [stdout] | [INFO] [stdout] 603 | .with_schedule("perform_inspection", 1, None) [INFO] [stdout] | ^^^^^^^^^^^^^ ---- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:777:12 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn with_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 603 - .with_schedule("perform_inspection", 1, None) [INFO] [stdout] 603 + .with_schedule("perform_inspection", 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:616:14 [INFO] [stdout] | [INFO] [stdout] 616 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 621 | None, [INFO] [stdout] | ---- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 620 - "id_index", [INFO] [stdout] 621 - None, [INFO] [stdout] 620 + "id_index", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | .with_column_sequence(0, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn with_column_sequence(mut self, column: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 623 - .with_column_sequence(0, None) [INFO] [stdout] 623 + .with_column_sequence(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:624:14 [INFO] [stdout] | [INFO] [stdout] 624 | .with_unique_constraint(0, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ---- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 624 - .with_unique_constraint(0, None) [INFO] [stdout] 624 + .with_unique_constraint(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:702:14 [INFO] [stdout] | [INFO] [stdout] 702 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 707 | Some("Apples_id_index".into()), [INFO] [stdout] | ------------------------------ unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 706 - "id_index", [INFO] [stdout] 707 - Some("Apples_id_index".into()), [INFO] [stdout] 706 + "id_index", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:709:14 [INFO] [stdout] | [INFO] [stdout] 709 | .with_unique_constraint(ColList::from_iter([1, 2]), Some("Apples_changing_constraint".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ----------------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 709 - .with_unique_constraint(ColList::from_iter([1, 2]), Some("Apples_changing_constraint".into())) [INFO] [stdout] 709 + .with_unique_constraint(ColList::from_iter([1, 2])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_address` found for reference `&spacetimedb_lib::AlgebraicType` in the current scope [INFO] [stdout] --> src/type_for_generate.rs:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | if ty.is_address() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 411 - if ty.is_address() { [INFO] [stdout] 411 + if ty.is_ref() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:743:14 [INFO] [stdout] | [INFO] [stdout] 743 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 748 | Some("Apples_id_index".into()), [INFO] [stdout] | ------------------------------ unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 747 - "id_index_new_accessor", // change accessor name [INFO] [stdout] 748 - Some("Apples_id_index".into()), [INFO] [stdout] 747 + "id_index_new_accessor", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:750:14 [INFO] [stdout] | [INFO] [stdout] 750 | .with_unique_constraint(ColList::from_iter([0, 1]), Some("Apples_changing_constraint".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ----------------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 750 - .with_unique_constraint(ColList::from_iter([0, 1]), Some("Apples_changing_constraint".into())) [INFO] [stdout] 750 + .with_unique_constraint(ColList::from_iter([0, 1])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/auto_migrate.rs:751:14 [INFO] [stdout] | [INFO] [stdout] 751 | .with_unique_constraint(ColId(0), Some("Apples_name_unique_constraint".into())) // add unique constraint [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ -------------------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 751 - .with_unique_constraint(ColId(0), Some("Apples_name_unique_constraint".into())) // add unique constraint [INFO] [stdout] 751 + .with_unique_constraint(ColId(0)) // add unique constraint [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v8.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | name: index_name.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option>`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 223 | name: Some(index_name.clone()), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v8.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | name: constraint_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Option>`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 265 | name: Some(constraint_name), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def/validate/v8.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | name: format!("{table_name}_schedule").into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `std::string::String` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v8.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | name: sequence_name, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Option>`, found `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 301 | name: Some(sequence_name), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:499:43 [INFO] [stdout] | [INFO] [stdout] 499 | let column = self.validate_col_id(&name, column).and_then(|col_id| { [INFO] [stdout] | --------------- ^^^^^ expected `&str`, found `&Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:668:12 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn validate_col_id(&self, def_name: &str, col_id: ColId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:504:31 [INFO] [stdout] | [INFO] [stdout] 504 | sequence: name.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ expected `Box`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 504 | sequence: name.clone().expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:533:27 [INFO] [stdout] | [INFO] [stdout] 533 | sequence: name.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ expected `Box`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 533 | sequence: name.clone().expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:541:49 [INFO] [stdout] | [INFO] [stdout] 541 | let name = self.add_to_global_namespace(name); [INFO] [stdout] | ----------------------- ^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn add_to_global_namespace(&mut self, name: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 541 | let name = self.add_to_global_namespace(name.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spacetimedb-schema-2` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:565:35 [INFO] [stdout] | [INFO] [stdout] 565 | .validate_col_ids(&name, columns) [INFO] [stdout] | ---------------- ^^^^^ expected `&str`, found `&Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:683:12 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn validate_col_ids(&self, def_name: &str, ids: ColList) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:567:58 [INFO] [stdout] | [INFO] [stdout] 567 | _ => Err(ValidationError::OnlyBtree { index: name.clone() }.into()), [INFO] [stdout] | ^^^^^^^^^^^^ expected `Box`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 567 | _ => Err(ValidationError::OnlyBtree { index: name.clone().expect("REASON") }.into()), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:569:49 [INFO] [stdout] | [INFO] [stdout] 569 | let name = self.add_to_global_namespace(name); [INFO] [stdout] | ----------------------- ^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn add_to_global_namespace(&mut self, name: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 569 | let name = self.add_to_global_namespace(name.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:586:66 [INFO] [stdout] | [INFO] [stdout] 586 | let columns: Result = self.validate_col_ids(&name, columns); [INFO] [stdout] | ---------------- ^^^^^ expected `&str`, found `&Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:683:12 [INFO] [stdout] | [INFO] [stdout] 683 | pub fn validate_col_ids(&self, def_name: &str, ids: ColList) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:587:53 [INFO] [stdout] | [INFO] [stdout] 587 | let name = self.add_to_global_namespace(name); [INFO] [stdout] | ----------------------- ^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn add_to_global_namespace(&mut self, name: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 587 | let name = self.add_to_global_namespace(name.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def/validate/v9.rs:631:49 [INFO] [stdout] | [INFO] [stdout] 631 | let name = self.add_to_global_namespace(name); [INFO] [stdout] | ----------------------- ^^^^ expected `Box`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/def/validate/v9.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | fn add_to_global_namespace(&mut self, name: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 631 | let name = self.add_to_global_namespace(name.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:812:14 [INFO] [stdout] | [INFO] [stdout] 812 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 817 | Some("Apples_index".into()), [INFO] [stdout] | --------------------------- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 816 - "apples_id", [INFO] [stdout] 817 - Some("Apples_index".into()), [INFO] [stdout] 816 + "apples_id", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:819:14 [INFO] [stdout] | [INFO] [stdout] 819 | .with_unique_constraint(3, Some("Apples_unique_constraint".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ --------------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 819 - .with_unique_constraint(3, Some("Apples_unique_constraint".into())) [INFO] [stdout] 819 + .with_unique_constraint(3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:836:14 [INFO] [stdout] | [INFO] [stdout] 836 | .with_column_sequence(0, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn with_column_sequence(mut self, column: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 836 - .with_column_sequence(0, None) [INFO] [stdout] 836 + .with_column_sequence(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:837:14 [INFO] [stdout] | [INFO] [stdout] 837 | .with_unique_constraint(ColId(0), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ---- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 837 - .with_unique_constraint(ColId(0), None) [INFO] [stdout] 837 + .with_unique_constraint(ColId(0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:840:14 [INFO] [stdout] | [INFO] [stdout] 840 | .with_index(RawIndexAlgorithm::BTree { columns: 0.into() }, "bananas_count", None) [INFO] [stdout] | ^^^^^^^^^^ ---- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 840 - .with_index(RawIndexAlgorithm::BTree { columns: 0.into() }, "bananas_count", None) [INFO] [stdout] 840 + .with_index(RawIndexAlgorithm::BTree { columns: 0.into() }, "bananas_count") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:841:14 [INFO] [stdout] | [INFO] [stdout] 841 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | None, [INFO] [stdout] | ---- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 845 - "bananas_count_id_name", [INFO] [stdout] 846 - None, [INFO] [stdout] 845 + "bananas_count_id_name", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:861:14 [INFO] [stdout] | [INFO] [stdout] 861 | .with_schedule("check_deliveries", 1, Some("check_deliveries_schedule".into())) [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------------------- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:777:12 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn with_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 861 - .with_schedule("check_deliveries", 1, Some("check_deliveries_schedule".into())) [INFO] [stdout] 861 + .with_schedule("check_deliveries", 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1111:14 [INFO] [stdout] | [INFO] [stdout] 1111 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1116 | Some("Bananas_index".into()), [INFO] [stdout] | ---------------------------- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1115 - "bananas_a_b", [INFO] [stdout] 1116 - Some("Bananas_index".into()), [INFO] [stdout] 1115 + "bananas_a_b", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1137:14 [INFO] [stdout] | [INFO] [stdout] 1137 | .with_unique_constraint(ColId(55), Some("Bananas_unique_constraint".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ---------------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1137 - .with_unique_constraint(ColId(55), Some("Bananas_unique_constraint".into())) [INFO] [stdout] 1137 + .with_unique_constraint(ColId(55)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1158:14 [INFO] [stdout] | [INFO] [stdout] 1158 | .with_column_sequence(55, Some("Bananas_sequence".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn with_column_sequence(mut self, column: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1158 - .with_column_sequence(55, Some("Bananas_sequence".into())) [INFO] [stdout] 1158 + .with_column_sequence(55) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1176:14 [INFO] [stdout] | [INFO] [stdout] 1176 | .with_column_sequence(1, Some("Bananas_sequence".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn with_column_sequence(mut self, column: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1176 - .with_column_sequence(1, Some("Bananas_sequence".into())) [INFO] [stdout] 1176 + .with_column_sequence(1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1196:14 [INFO] [stdout] | [INFO] [stdout] 1196 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1201 | Some("Bananas_index".into()), [INFO] [stdout] | ---------------------------- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1200 - "bananas_a_b", [INFO] [stdout] 1201 - Some("Bananas_index".into()), [INFO] [stdout] 1200 + "bananas_a_b", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1220:14 [INFO] [stdout] | [INFO] [stdout] 1220 | .with_unique_constraint(ColList::from_iter([1, 1]), Some("Bananas_unique_constraint".into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ---------------------------------------- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn with_unique_constraint(mut self, columns: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1220 - .with_unique_constraint(ColList::from_iter([1, 1]), Some("Bananas_unique_constraint".into())) [INFO] [stdout] 1220 + .with_unique_constraint(ColList::from_iter([1, 1])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1284:14 [INFO] [stdout] | [INFO] [stdout] 1284 | .with_index( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1287 | Some("Bananas_index".into()), [INFO] [stdout] | ---------------------------- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn with_index(mut self, algorithm: RawIndexAlgorithm, accessor_name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1286 - "bananas_b", [INFO] [stdout] 1287 - Some("Bananas_index".into()), [INFO] [stdout] 1286 + "bananas_b", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1306:14 [INFO] [stdout] | [INFO] [stdout] 1306 | .with_column_sequence(1, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn with_column_sequence(mut self, column: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1306 - .with_column_sequence(1, None) [INFO] [stdout] 1306 + .with_column_sequence(1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1307:14 [INFO] [stdout] | [INFO] [stdout] 1307 | .with_column_sequence(1, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn with_column_sequence(mut self, column: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1307 - .with_column_sequence(1, None) [INFO] [stdout] 1307 + .with_column_sequence(1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1403:14 [INFO] [stdout] | [INFO] [stdout] 1403 | .with_schedule("check_deliveries", 1, Some("check_deliveries_schedule".into())) [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------------------- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:777:12 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn with_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1403 - .with_schedule("check_deliveries", 1, Some("check_deliveries_schedule".into())) [INFO] [stdout] 1403 + .with_schedule("check_deliveries", 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/def/validate/v9.rs:1429:14 [INFO] [stdout] | [INFO] [stdout] 1429 | .with_schedule("check_deliveries", 1, Some("check_deliveries_schedule".into())) [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------------------------------- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.2.0/src/db/raw_def/v9.rs:777:12 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn with_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 1429 - .with_schedule("check_deliveries", 1, Some("check_deliveries_schedule".into())) [INFO] [stdout] 1429 + .with_schedule("check_deliveries", 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def.rs:513:28 [INFO] [stdout] | [INFO] [stdout] 513 | name: val.name.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `identifier::Identifier` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def.rs:559:28 [INFO] [stdout] | [INFO] [stdout] 559 | name: val.name.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `identifier::Identifier` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def.rs:649:28 [INFO] [stdout] | [INFO] [stdout] 649 | name: val.name.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `identifier::Identifier` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> src/def.rs:741:28 [INFO] [stdout] | [INFO] [stdout] 741 | name: val.name.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option>` implements `From>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `identifier::Identifier` to implement `Into>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_address` found for reference `&spacetimedb_lib::AlgebraicType` in the current scope [INFO] [stdout] --> src/type_for_generate.rs:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | if ty.is_address() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 411 - if ty.is_address() { [INFO] [stdout] 411 + if ty.is_ref() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `spacetimedb-schema-2` (lib test) due to 54 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f190e6f6255722cf15cdbd9faf325d50ac8233f20f615849badce1d7bf5805e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f190e6f6255722cf15cdbd9faf325d50ac8233f20f615849badce1d7bf5805e", kill_on_drop: false }` [INFO] [stdout] 1f190e6f6255722cf15cdbd9faf325d50ac8233f20f615849badce1d7bf5805e