[INFO] fetching crate spacetimedb-expr-2 1.0.0-rc2... [INFO] testing spacetimedb-expr-2-1.0.0-rc2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate spacetimedb-expr-2 1.0.0-rc2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate spacetimedb-expr-2 1.0.0-rc2 [INFO] finished tweaking crates.io crate spacetimedb-expr-2 1.0.0-rc2 [INFO] tweaked toml for crates.io crate spacetimedb-expr-2 1.0.0-rc2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spacetimedb-expr-2 1.0.0-rc2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding string-interner v0.17.0 (available: v0.19.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4777132e14ed70284a398265183c8c29380cd022310ee3f4b591347cefa258ff [INFO] running `Command { std: "docker" "start" "-a" "4777132e14ed70284a398265183c8c29380cd022310ee3f4b591347cefa258ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4777132e14ed70284a398265183c8c29380cd022310ee3f4b591347cefa258ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4777132e14ed70284a398265183c8c29380cd022310ee3f4b591347cefa258ff", kill_on_drop: false }` [INFO] [stdout] 4777132e14ed70284a398265183c8c29380cd022310ee3f4b591347cefa258ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 743e14cd7f4b06fb47bfbf13a97d66122670b527071dcd946977411a75d3855c [INFO] running `Command { std: "docker" "start" "-a" "743e14cd7f4b06fb47bfbf13a97d66122670b527071dcd946977411a75d3855c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling second-stack v0.3.5 [INFO] [stderr] Compiling spacetimedb-lib v1.3.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling sqlparser v0.38.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling decorum v0.3.1 [INFO] [stderr] Compiling spacetimedb-primitives v1.3.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ethnum v1.5.2 [INFO] [stderr] Compiling string-interner v0.17.0 [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 spacetimedb-bindings-macro v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling spacetimedb-data-structures v1.3.0 [INFO] [stderr] Compiling spacetimedb-sats v1.3.0 [INFO] [stderr] Compiling spacetimedb-sql-parser-2 v1.0.0-rc2 [INFO] [stderr] Compiling spacetimedb-schema-2 v1.0.0-rc2 [INFO] [stdout] error[E0432]: unresolved import `spacetimedb_lib::db::error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/src/schema.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use spacetimedb_lib::db::error::{DefType, SchemaError}; [INFO] [stdout] | ^^^^^ could not find `error` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spacetimedb_lib::relation` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/src/schema.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use spacetimedb_lib::relation::{combine_constraints, Column, DbTable, FieldName, Header}; [INFO] [stdout] | ^^^^^^^^ could not find `relation` in `spacetimedb_lib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generated_constraints` found for struct `spacetimedb_lib::db::raw_def::RawTableDefV8` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/src/def/validate/v8.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | let generated_constraints = table.schema.generated_constraints().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_constraints` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.3.0/src/db/raw_def/v8.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn with_constraints(self, constraints: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generated_sequences` found for struct `spacetimedb_lib::db::raw_def::RawTableDefV8` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/src/def/validate/v8.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | let generated_sequences = table.schema.generated_sequences().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_sequences` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-lib-1.3.0/src/db/raw_def/v8.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn with_sequences(self, sequences: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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[E0277]: the trait bound `Option>: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spacetimedb-schema-2-1.0.0-rc2/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: E0277, E0308, E0432, 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 23 previous errors [INFO] running `Command { std: "docker" "inspect" "743e14cd7f4b06fb47bfbf13a97d66122670b527071dcd946977411a75d3855c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "743e14cd7f4b06fb47bfbf13a97d66122670b527071dcd946977411a75d3855c", kill_on_drop: false }` [INFO] [stdout] 743e14cd7f4b06fb47bfbf13a97d66122670b527071dcd946977411a75d3855c