Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code is not compiling ver 0.10.26 #312

Closed
bimmerv opened this issue Sep 26, 2022 · 2 comments
Closed

Code is not compiling ver 0.10.26 #312

bimmerv opened this issue Sep 26, 2022 · 2 comments

Comments

@bimmerv
Copy link

bimmerv commented Sep 26, 2022

Hi. I tried to build indexer-explorer v0.10.26 and received an errors:

cargo build --release
Compiling indexer-explorer v0.10.26 (/home/vitaliisyniahovskyi/near-indexer-for-explorer)
error[E0432]: unresolved import schema::access_keys
--> src/models/access_keys.rs:5:5

5 | use schema::access_keys;

| ^^^^^^^^^^^^^^^^^^^ no `access_keys` in `schema` |

error[E0432]: unresolved import schema::account_changes
--> src/models/account_changes.rs:7:5

7 | use schema::account_changes;

| ^^^^^^^^^^^^^^^^^^^^^^^ no `account_changes` in `schema` |

error[E0432]: unresolved import schema::accounts
--> src/models/accounts.rs:4:5

4 | use schema::accounts;

| ^^^^^^^^^^^^^^^^ no `accounts` in `schema` |

error[E0432]: unresolved import schema::aggregated__circulating_supply
--> src/models/aggregated/circulating_supply.rs:4:5

4 | use schema::aggregated__circulating_supply;

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `aggregated__circulating_supply` in `schema` |

error[E0432]: unresolved import schema::assets__fungible_token_events
--> src/models/assets/fungible_token_events.rs:5:5

5 | use schema::assets__fungible_token_events;

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `assets__fungible_token_events` in `schema` |

error[E0432]: unresolved import schema::assets__non_fungible_token_events
--> src/models/assets/non_fungible_token_events.rs:5:5

5 | use schema::assets__non_fungible_token_events;

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `assets__non_fungible_token_events` in `schema` |

error[E0432]: unresolved import schema::blocks
--> src/models/blocks.rs:8:5

8 | use schema::blocks;

| ^^^^^^^^^^^^^^ no `blocks` in `schema` |

error[E0432]: unresolved import schema::chunks
--> src/models/chunks.rs:4:5

4 | use schema::chunks;

| ^^^^^^^^^^^^^^ no `chunks` in `schema` |

error[E0432]: unresolved imports schema::execution_outcome_receipts, schema::execution_outcomes
--> src/models/execution_outcomes.rs:8:14

8 | use schema::

{execution_outcome_receipts, execution_outcomes}

;

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `execution_outcomes` in `schema` | |   | | no `execution_outcome_receipts` in `schema` |

error[E0432]: unresolved imports schema::action_receipt_actions, schema::action_receipt_input_data, schema::action_receipt_output_data, schema::action_receipts, schema::data_receipts, schema::receipts
--> src/models/receipts.rs:11:5

11 | action_receipt_actions, action_receipt_input_data, action_receipt_output_data, action_receipts,

| ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `action_receipts` in `schema` | |   |   |   | |   |   | no `action_receipt_output_data` in `schema` | |   | no `action_receipt_input_data` in `schema` | | no `action_receipt_actions` in `schema` 12 | data_receipts, receipts, | | ^^^^^^^^^^^^^ ^^^^^^^^ no `receipts` in `schema` | |   | | no `data_receipts` in `schema` |

error[E0432]: unresolved imports schema::transaction_actions, schema::transactions
--> src/models/transactions.rs:7:14

7 | use schema::

{transaction_actions, transactions}

;

| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `transactions` in `schema` | |   | | no `transaction_actions` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:134:34

134 | let target = schema::access_keys::table

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:135:33

135 | .filter(schema::access_keys::dsl::deleted_by_receipt_id.is_null())

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:137:29

137 | schema::access_keys::dsl::last_update_block_height

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:140:33

140 | .filter(schema::access_keys::dsl::account_id.eq(account_id));

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:145:33

145 | schema::access_keys::dsl::deleted_by_receipt_id

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:147:33

147 | schema::access_keys::dsl::last_update_block_height

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:161:34

161 | let target = schema::access_keys::table

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:162:33

162 | .filter(schema::access_keys::dsl::public_key.eq(value.public_key.clone()))

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:164:29

164 | schema::access_keys::dsl::last_update_block_height

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:167:33

167 | .filter(schema::access_keys::dsl::account_id.eq(value.account_id));

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:172:33

172 | schema::access_keys::dsl::deleted_by_receipt_id

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:174:33

174 | schema::access_keys::dsl::last_update_block_height

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:188:41

188 | diesel::insert_into(schema::access_keys::table)

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:198:34

198 | let target = schema::access_keys::table

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:199:33

199 | .filter(schema::access_keys::dsl::public_key.eq(value.public_key.clone()))

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:201:29

201 | schema::access_keys::dsl::last_update_block_height

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:204:33

204 | .filter(schema::access_keys::dsl::account_id.eq(value.account_id));

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:209:33

209 | schema::access_keys::dsl::created_by_receipt_id

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:211:33

211 | schema::access_keys::dsl::deleted_by_receipt_id

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:213:33

213 | schema::access_keys::dsl::last_update_block_height

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find access_keys in schema
--> src/db_adapters/access_keys.rs:244:37

244 | diesel::insert_into(schema::access_keys::table)

| ^^^^^^^^^^^ could not find `access_keys` in `schema` |

error[E0433]: failed to resolve: could not find account_changes in schema
--> src/db_adapters/account_changes.rs:49:37

49 | diesel::insert_into(schema::account_changes::table)

| ^^^^^^^^^^^^^^^ could not find `account_changes` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:100:34

100 | let target = schema::accounts::table

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:101:33

101 | .filter(schema::accounts::dsl::account_id.eq(value.account_id.clone()))

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:103:29

103 | schema::accounts::dsl::last_update_block_height

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:110:33

110 | schema::accounts::dsl::deleted_by_receipt_id

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:112:33

112 | schema::accounts::dsl::last_update_block_height

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:126:41

126 | diesel::insert_into(schema::accounts::table)

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:149:34

149 | let target = schema::accounts::table

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:150:33

150 | .filter(schema::accounts::dsl::account_id.eq(value.account_id.clone()))

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:151:33

151 | .filter(schema::accounts::dsl::deleted_by_receipt_id.is_not_null()) // this filter ensures we update only "deleted" accounts

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:153:29

153 | schema::accounts::dsl::last_update_block_height

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:160:33

160 | schema::accounts::dsl::created_by_receipt_id

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:162:33

162 | schema::accounts::dsl::deleted_by_receipt_id

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:164:33

164 | schema::accounts::dsl::last_update_block_height

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:175:34

175 | let target = schema::accounts::table

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:176:33

176 | .filter(schema::accounts::dsl::account_id.eq(value.account_id.clone()))

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:178:29

178 | schema::accounts::dsl::last_update_block_height

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:185:33

185 | schema::accounts::dsl::created_by_receipt_id

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:187:33

187 | schema::accounts::dsl::deleted_by_receipt_id

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:189:33

189 | schema::accounts::dsl::last_update_block_height

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find accounts in schema
--> src/db_adapters/accounts.rs:217:37

217 | diesel::insert_into(schema::accounts::table)

| ^^^^^^^^ could not find `accounts` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__lockups in schema
--> src/db_adapters/accounts.rs:250:13

250 | schema::aggregated__lockups::table

| ^^^^^^^^^^^^^^^^^^^ could not find `aggregated__lockups` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__lockups in schema
--> src/db_adapters/accounts.rs:251:25

251 | .select(schema::aggregated__lockups::dsl::account_id)

| ^^^^^^^^^^^^^^^^^^^ could not find `aggregated__lockups` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__lockups in schema
--> src/db_adapters/accounts.rs:253:21

253 | schema::aggregated__lockups::dsl::creation_block_height

| ^^^^^^^^^^^^^^^^^^^ could not find `aggregated__lockups` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__lockups in schema
--> src/db_adapters/accounts.rs:255:29

255 | .or(schema::aggregated__lockups::dsl::creation_block_height

| ^^^^^^^^^^^^^^^^^^^ could not find `aggregated__lockups` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__lockups in schema
--> src/db_adapters/accounts.rs:259:21

259 | schema::aggregated__lockups::dsl::deletion_block_height

| ^^^^^^^^^^^^^^^^^^^ could not find `aggregated__lockups` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__lockups in schema
--> src/db_adapters/accounts.rs:261:29

261 | .or(schema::aggregated__lockups::dsl::deletion_block_height

| ^^^^^^^^^^^^^^^^^^^ could not find `aggregated__lockups` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__circulating_supply in schema
--> src/db_adapters/aggregated/circulating_supply.rs:15:43

15 | match diesel::insert_into(schema::aggregated__circulating_supply::table)

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `aggregated__circulating_supply` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__circulating_supply in schema
--> src/db_adapters/aggregated/circulating_supply.rs:44:26

44 | let supply = schema::aggregated__circulating_supply::table

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `aggregated__circulating_supply` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__circulating_supply in schema
--> src/db_adapters/aggregated/circulating_supply.rs:45:25

45 | .select(schema::aggregated__circulating_supply::dsl::circulating_tokens_supply)

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `aggregated__circulating_supply` in `schema` |

error[E0433]: failed to resolve: could not find aggregated__circulating_supply in schema
--> src/db_adapters/aggregated/circulating_supply.rs:47:21

47 | schema::aggregated__circulating_supply::dsl::computed_at_block_timestamp

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `aggregated__circulating_supply` in `schema` |

error[E0433]: failed to resolve: could not find assets__fungible_token_events in schema
--> src/db_adapters/assets/fungible_token_events.rs:26:41

26 | diesel::insert_into(schema::assets__fungible_token_events::table)

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `assets__fungible_token_events` in `schema` |

error[E0433]: failed to resolve: could not find assets__non_fungible_token_events in schema
--> src/db_adapters/assets/non_fungible_token_events.rs:26:41

26 | diesel::insert_into(schema::assets__non_fungible_token_events::table)

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `assets__non_fungible_token_events` in `schema` |

error[E0433]: failed to resolve: could not find blocks in schema
--> src/db_adapters/blocks.rs:22:37

22 | diesel::insert_into(schema::blocks::table)

| ^^^^^^ could not find `blocks` in `schema` |

error[E0433]: failed to resolve: could not find blocks in schema
--> src/db_adapters/blocks.rs:38:16

38 | Ok(schema::blocks::table

| ^^^^^^ could not find `blocks` in `schema` |

error[E0433]: failed to resolve: could not find blocks in schema
--> src/db_adapters/blocks.rs:39:26

39 | .select((schema::blocks::dsl::block_height,))

| ^^^^^^ could not find `blocks` in `schema` |

error[E0433]: failed to resolve: could not find blocks in schema
--> src/db_adapters/blocks.rs:40:24

40 | .order(schema::blocks::dsl::block_height.desc())

| ^^^^^^ could not find `blocks` in `schema` |

error[E0433]: failed to resolve: could not find blocks in schema
--> src/db_adapters/blocks.rs:52:16

52 | Ok(schema::blocks::table

| ^^^^^^ could not find `blocks` in `schema` |

error[E0433]: failed to resolve: could not find blocks in schema
--> src/db_adapters/blocks.rs:53:25

53 | .filter(schema::blocks::dsl::block_timestamp.le(BigDecimal::from(timestamp)))

| ^^^^^^ could not find `blocks` in `schema` |

error[E0433]: failed to resolve: could not find blocks in schema
--> src/db_adapters/blocks.rs:54:24

54 | .order(schema::blocks::dsl::block_timestamp.desc())

| ^^^^^^ could not find `blocks` in `schema` |

error[E0433]: failed to resolve: could not find chunks in schema
--> src/db_adapters/chunks.rs:30:37

30 | diesel::insert_into(schema::chunks::table)

| ^^^^^^ could not find `chunks` in `schema` |

error[E0433]: failed to resolve: could not find execution_outcomes in schema
--> src/db_adapters/execution_outcomes.rs:89:37

89 | diesel::insert_into(schema::execution_outcomes::table)

| ^^^^^^^^^^^^^^^^^^ could not find `execution_outcomes` in `schema` |

error[E0433]: failed to resolve: could not find execution_outcome_receipts in schema
--> src/db_adapters/execution_outcomes.rs:99:37

99 | diesel::insert_into(schema::execution_outcome_receipts::table)

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `execution_outcome_receipts` in `schema` |

error[E0433]: failed to resolve: could not find action_receipt_output_data in schema
--> src/db_adapters/receipts.rs:243:31

243 | match schema::action_receipt_output_data::table

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `action_receipt_output_data` in `schema` |

error[E0433]: failed to resolve: could not find receipts in schema
--> src/db_adapters/receipts.rs:245:33

245 | schema::receipts::table.on(

| ^^^^^^^^ could not find `receipts` in `schema` |

error[E0433]: failed to resolve: could not find action_receipt_output_data in schema
--> src/db_adapters/receipts.rs:246:37

246 | ... schema::action_receipt_output_data::dsl::output_from_receipt_id

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `action_receipt_output_data` in `schema` |

error[E0433]: failed to resolve: could not find receipts in schema
--> src/db_adapters/receipts.rs:247:45

247 | ... .eq(schema::receipts::dsl::receipt_id),

| ^^^^^^^^ could not find `receipts` in `schema` |

error[E0433]: failed to resolve: could not find action_receipt_output_data in schema
--> src/db_adapters/receipts.rs:251:33

251 | schema::action_receipt_output_data::dsl::output_data_id

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `action_receipt_output_data` in `schema` |

error[E0433]: failed to resolve: could not find action_receipt_output_data in schema
--> src/db_adapters/receipts.rs:255:33

255 | schema::action_receipt_output_data::dsl::output_data_id,

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `action_receipt_output_data` in `schema` |

error[E0433]: failed to resolve: could not find receipts in schema
--> src/db_adapters/receipts.rs:256:33

256 | schema::receipts::dsl::originated_from_transaction_hash,

| ^^^^^^^^ could not find `receipts` in `schema` |

error[E0433]: failed to resolve: could not find execution_outcome_receipts in schema
--> src/db_adapters/receipts.rs:333:25

333 | schema::execution_outcome_receipts::table

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `execution_outcome_receipts` in `schema` |

error[E0433]: failed to resolve: could not find receipts in schema
--> src/db_adapters/receipts.rs:335:33

335 | schema::receipts::table

| ^^^^^^^^ could not find `receipts` in `schema` |

error[E0433]: failed to resolve: could not find execution_outcome_receipts in schema
--> src/db_adapters/receipts.rs:336:41

336 | ... .on(schema::execution_outcome_receipts::dsl::executed_receipt_id

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `execution_outcome_receipts` in `schema` |

error[E0433]: failed to resolve: could not find receipts in schema
--> src/db_adapters/receipts.rs:337:45

337 | ... .eq(schema::receipts::dsl::receipt_id)),

| ^^^^^^^^ could not find `receipts` in `schema` |

error[E0433]: failed to resolve: could not find execution_outcome_receipts in schema
--> src/db_adapters/receipts.rs:340:33

340 | schema::execution_outcome_receipts::dsl::produced_receipt_id.eq(any(

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `execution_outcome_receipts` in `schema` |

error[E0433]: failed to resolve: could not find execution_outcome_receipts in schema
--> src/db_adapters/receipts.rs:355:33

355 | schema::execution_outcome_receipts::dsl::produced_receipt_id,

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `execution_outcome_receipts` in `schema` |

error[E0433]: failed to resolve: could not find receipts in schema
--> src/db_adapters/receipts.rs:356:33

356 | schema::receipts::dsl::originated_from_transaction_hash,

| ^^^^^^^^ could not find `receipts` in `schema` |

error[E0433]: failed to resolve: could not find transactions in schema
--> src/db_adapters/receipts.rs:390:21

390 | schema::transactions::table

| ^^^^^^^^^^^^ could not find `transactions` in `schema` |

error[E0433]: failed to resolve: could not find transactions in schema
--> src/db_adapters/receipts.rs:392:29

392 | schema::transactions::dsl::converted_into_receipt_id.eq(any(receipts

| ^^^^^^^^^^^^ could not find `transactions` in `schema` |

error[E0433]: failed to resolve: could not find transactions in schema
--> src/db_adapters/receipts.rs:405:29

405 | schema::transactions::dsl::converted_into_receipt_id,

| ^^^^^^^^^^^^ could not find `transactions` in `schema` |

error[E0433]: failed to resolve: could not find transactions in schema
--> src/db_adapters/receipts.rs:406:29

406 | schema::transactions::dsl::transaction_hash,

| ^^^^^^^^^^^^ could not find `transactions` in `schema` |

error[E0433]: failed to resolve: could not find receipts in schema
--> src/db_adapters/receipts.rs:465:37

465 | diesel::insert_into(schema::receipts::table)

| ^^^^^^^^ could not find `receipts` in `schema` |

error[E0433]: failed to resolve: could not find action_receipts in schema
--> src/db_adapters/receipts.rs:553:37

553 | diesel::insert_into(schema::action_receipts::table)

| ^^^^^^^^^^^^^^^ could not find `action_receipts` in `schema` |

error[E0433]: failed to resolve: could not find action_receipt_actions in schema
--> src/db_adapters/receipts.rs:563:37

563 | diesel::insert_into(schema::action_receipt_actions::table)

| ^^^^^^^^^^^^^^^^^^^^^^ could not find `action_receipt_actions` in `schema` |

error[E0433]: failed to resolve: could not find action_receipt_output_data in schema
--> src/db_adapters/receipts.rs:573:37

573 | diesel::insert_into(schema::action_receipt_output_data::table)

| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `action_receipt_output_data` in `schema` |

error[E0433]: failed to resolve: could not find action_receipt_input_data in schema
--> src/db_adapters/receipts.rs:583:37

583 | diesel::insert_into(schema::action_receipt_input_data::table)

| ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `action_receipt_input_data` in `schema` |

error[E0433]: failed to resolve: could not find data_receipts in schema
--> src/db_adapters/receipts.rs:605:37

605 | diesel::insert_into(schema::data_receipts::table)

| ^^^^^^^^^^^^^ could not find `data_receipts` in `schema` |

error[E0433]: failed to resolve: could not find transactions in schema
--> src/db_adapters/transactions.rs:96:16

96 | Ok(schema::transactions::table

| ^^^^^^^^^^^^ could not find `transactions` in `schema` |

error[E0433]: failed to resolve: could not find transactions in schema
--> src/db_adapters/transactions.rs:97:25

97 | .select(schema::transactions::dsl::converted_into_receipt_id)

| ^^^^^^^^^^^^ could not find `transactions` in `schema` |

error[E0433]: failed to resolve: could not find transactions in schema
--> src/db_adapters/transactions.rs:98:25

98 | .filter(schema::transactions::dsl::included_in_block_hash.eq(block_hash.to_string()))

| ^^^^^^^^^^^^ could not find `transactions` in `schema` |

error[E0433]: failed to resolve: could not find transactions in schema
--> src/db_adapters/transactions.rs:154:37

@bimmerv
Copy link
Author

bimmerv commented Sep 26, 2022

same thing with 0.10.21

@bimmerv
Copy link
Author

bimmerv commented Sep 26, 2022

workaround from this topic - worked for me.
#299

@bimmerv bimmerv closed this as completed Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant