[INFO] crate pallet-contracts 2.0.0-alpha.6 is already in cache [INFO] checking pallet-contracts-2.0.0-alpha.6 against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] extracting crate pallet-contracts 2.0.0-alpha.6 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pallet-contracts 2.0.0-alpha.6 on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-contracts 2.0.0-alpha.6 [INFO] finished tweaking crates.io crate pallet-contracts 2.0.0-alpha.6 [INFO] tweaked toml for crates.io crate pallet-contracts 2.0.0-alpha.6 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] acecc70f2c166af894aba5efefb37d27d85261df8489c95a9a18a052944e96f0 [INFO] running `"docker" "start" "-a" "acecc70f2c166af894aba5efefb37d27d85261df8489c95a9a18a052944e96f0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking pwasm-utils v0.12.0 [INFO] [stderr] Checking sp-sandbox v0.8.0-alpha.7 [INFO] [stderr] Checking pallet-contracts-primitives v2.0.0-alpha.7 [INFO] [stderr] Checking pallet-contracts v2.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:553:38 [INFO] [stderr] | [INFO] [stderr] 553 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:568:38 [INFO] [stderr] | [INFO] [stderr] 568 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:596:38 [INFO] [stderr] | [INFO] [stderr] 596 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:622:38 [INFO] [stderr] | [INFO] [stderr] 622 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:645:38 [INFO] [stderr] | [INFO] [stderr] 645 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `child_root` in module `child` [INFO] [stderr] --> src/rent.rs:238:36 [INFO] [stderr] | [INFO] [stderr] 238 | let child_storage_root = child::child_root(&alive_contract_info.trie_id); [INFO] [stderr] | ^^^^^^^^^^ not found in `child` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `child_root` in module `child` [INFO] [stderr] --> src/lib.rs:844:12 [INFO] [stderr] | [INFO] [stderr] 844 | &child::child_root( [INFO] [stderr] | ^^^^^^^^^^ not found in `child` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/exec.rs:894:6 [INFO] [stderr] | [INFO] [stderr] 894 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wabt` [INFO] [stderr] --> src/wasm/prepare.rs:398:6 [INFO] [stderr] | [INFO] [stderr] 398 | use wabt; [INFO] [stderr] | ^^^^ no `wabt` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:399:6 [INFO] [stderr] | [INFO] [stderr] 399 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `wabt` [INFO] [stderr] --> src/wasm/mod.rs:161:6 [INFO] [stderr] | [INFO] [stderr] 161 | use wabt; [INFO] [stderr] | ^^^^ no `wabt` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hex_literal` [INFO] [stderr] --> src/wasm/mod.rs:162:6 [INFO] [stderr] | [INFO] [stderr] 162 | use hex_literal::hex; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `hex_literal` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/wasm/mod.rs:163:6 [INFO] [stderr] | [INFO] [stderr] 163 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hex_literal` [INFO] [stderr] --> src/tests.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use hex_literal::*; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `hex_literal` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/tests.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_balances` [INFO] [stderr] --> src/tests.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | use pallet_balances as balances; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `pallet_balances` external crate [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1024:4 [INFO] [stderr] | [INFO] [stderr] 1024 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1050:4 [INFO] [stderr] | [INFO] [stderr] 1050 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1070:4 [INFO] [stderr] | [INFO] [stderr] 1070 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1158:4 [INFO] [stderr] | [INFO] [stderr] 1158 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1184:4 [INFO] [stderr] | [INFO] [stderr] 1184 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1213:4 [INFO] [stderr] | [INFO] [stderr] 1213 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1249:4 [INFO] [stderr] | [INFO] [stderr] 1249 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1344:4 [INFO] [stderr] | [INFO] [stderr] 1344 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1370:4 [INFO] [stderr] | [INFO] [stderr] 1370 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1391:5 [INFO] [stderr] | [INFO] [stderr] 1391 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1401:5 [INFO] [stderr] | [INFO] [stderr] 1401 | assert_matches!(r, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1420:4 [INFO] [stderr] | [INFO] [stderr] 1420 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1440:4 [INFO] [stderr] | [INFO] [stderr] 1440 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1466:4 [INFO] [stderr] | [INFO] [stderr] 1466 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1483:4 [INFO] [stderr] | [INFO] [stderr] 1483 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1507:4 [INFO] [stderr] | [INFO] [stderr] 1507 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1522:4 [INFO] [stderr] | [INFO] [stderr] 1522 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1548:40 [INFO] [stderr] | [INFO] [stderr] 1548 | let instantiated_contract_address = assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1588:40 [INFO] [stderr] | [INFO] [stderr] 1588 | let instantiated_contract_address = assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1635:4 [INFO] [stderr] | [INFO] [stderr] 1635 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1674:5 [INFO] [stderr] | [INFO] [stderr] 1674 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1695:4 [INFO] [stderr] | [INFO] [stderr] 1695 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1730:5 [INFO] [stderr] | [INFO] [stderr] 1730 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/exec.rs:1773:4 [INFO] [stderr] | [INFO] [stderr] 1773 | assert_matches!(result, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 432 | prepare_test!(no_floats, [INFO] [stderr] | _____- [INFO] [stderr] 433 | | r#" [INFO] [stderr] 434 | | (module [INFO] [stderr] 435 | | (func (export "call") [INFO] [stderr] ... | [INFO] [stderr] 445 | | Err("gas instrumentation failed") [INFO] [stderr] 446 | | ); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 457 | prepare_test!(memory_with_one_page, [INFO] [stderr] | _________- [INFO] [stderr] 458 | | r#" [INFO] [stderr] 459 | | (module [INFO] [stderr] 460 | | (import "env" "memory" (memory 1 1)) [INFO] [stderr] ... | [INFO] [stderr] 466 | | Ok(_) [INFO] [stderr] 467 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 469 | prepare_test!(internal_memory_declaration, [INFO] [stderr] | _________- [INFO] [stderr] 470 | | r#" [INFO] [stderr] 471 | | (module [INFO] [stderr] 472 | | (memory 1 1) [INFO] [stderr] ... | [INFO] [stderr] 478 | | Err("module declares internal memory") [INFO] [stderr] 479 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 481 | prepare_test!(no_memory_import, [INFO] [stderr] | _________- [INFO] [stderr] 482 | | r#" [INFO] [stderr] 483 | | (module [INFO] [stderr] 484 | | ;; no memory imported [INFO] [stderr] ... | [INFO] [stderr] 489 | | Ok(_) [INFO] [stderr] 490 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 492 | prepare_test!(initial_exceeds_maximum, [INFO] [stderr] | _________- [INFO] [stderr] 493 | | r#" [INFO] [stderr] 494 | | (module [INFO] [stderr] 495 | | (import "env" "memory" (memory 16 1)) [INFO] [stderr] ... | [INFO] [stderr] 501 | | Err("Module is not valid") [INFO] [stderr] 502 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 504 | prepare_test!(no_maximum, [INFO] [stderr] | _________- [INFO] [stderr] 505 | | r#" [INFO] [stderr] 506 | | (module [INFO] [stderr] 507 | | (import "env" "memory" (memory 1)) [INFO] [stderr] ... | [INFO] [stderr] 513 | | Err("Maximum number of pages should be always declared.") [INFO] [stderr] 514 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 516 | prepare_test!(requested_maximum_exceeds_configured_maximum, [INFO] [stderr] | _________- [INFO] [stderr] 517 | | r#" [INFO] [stderr] 518 | | (module [INFO] [stderr] 519 | | (import "env" "memory" (memory 1 17)) [INFO] [stderr] ... | [INFO] [stderr] 525 | | Err("Maximum number of pages should not exceed the configured maximum.") [INFO] [stderr] 526 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 528 | prepare_test!(field_name_not_memory, [INFO] [stderr] | _________- [INFO] [stderr] 529 | | r#" [INFO] [stderr] 530 | | (module [INFO] [stderr] 531 | | (import "env" "forgetit" (memory 1 1)) [INFO] [stderr] ... | [INFO] [stderr] 537 | | Err("Memory import must have the field name 'memory'") [INFO] [stderr] 538 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 540 | prepare_test!(multiple_memory_imports, [INFO] [stderr] | _________- [INFO] [stderr] 541 | | r#" [INFO] [stderr] 542 | | (module [INFO] [stderr] 543 | | (import "env" "memory" (memory 1 1)) [INFO] [stderr] ... | [INFO] [stderr] 550 | | Err("Module is not valid") [INFO] [stderr] 551 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 553 | prepare_test!(table_import, [INFO] [stderr] | _________- [INFO] [stderr] 554 | | r#" [INFO] [stderr] 555 | | (module [INFO] [stderr] 556 | | (import "env" "table" (table 1 anyfunc)) [INFO] [stderr] ... | [INFO] [stderr] 562 | | Err("Cannot import tables") [INFO] [stderr] 563 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 565 | prepare_test!(global_import, [INFO] [stderr] | _________- [INFO] [stderr] 566 | | r#" [INFO] [stderr] 567 | | (module [INFO] [stderr] 568 | | (global $g (import "env" "global") i32) [INFO] [stderr] ... | [INFO] [stderr] 573 | | Err("Cannot import globals") [INFO] [stderr] 574 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 586 | prepare_test!(no_tables, [INFO] [stderr] | _________- [INFO] [stderr] 587 | | r#" [INFO] [stderr] 588 | | (module [INFO] [stderr] 589 | | (func (export "call")) [INFO] [stderr] ... | [INFO] [stderr] 593 | | Ok(_) [INFO] [stderr] 594 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 596 | prepare_test!(table_valid_size, [INFO] [stderr] | _________- [INFO] [stderr] 597 | | r#" [INFO] [stderr] 598 | | (module [INFO] [stderr] 599 | | (table 10000 funcref) [INFO] [stderr] ... | [INFO] [stderr] 605 | | Ok(_) [INFO] [stderr] 606 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 608 | prepare_test!(table_too_big, [INFO] [stderr] | _________- [INFO] [stderr] 609 | | r#" [INFO] [stderr] 610 | | (module [INFO] [stderr] 611 | | (table 20000 funcref) [INFO] [stderr] ... | [INFO] [stderr] 616 | | Err("table exceeds maximum size allowed") [INFO] [stderr] 617 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 623 | prepare_test!(can_import_legit_function, [INFO] [stderr] | _________- [INFO] [stderr] 624 | | r#" [INFO] [stderr] 625 | | (module [INFO] [stderr] 626 | | (import "env" "nop" (func (param i64))) [INFO] [stderr] ... | [INFO] [stderr] 632 | | Ok(_) [INFO] [stderr] 633 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 637 | prepare_test!(can_not_import_gas_function, [INFO] [stderr] | _________- [INFO] [stderr] 638 | | r#" [INFO] [stderr] 639 | | (module [INFO] [stderr] 640 | | (import "env" "gas" (func (param i32))) [INFO] [stderr] ... | [INFO] [stderr] 646 | | Err("module imports a non-existent function") [INFO] [stderr] 647 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 650 | prepare_test!(non_env_import, [INFO] [stderr] | _________- [INFO] [stderr] 651 | | r#" [INFO] [stderr] 652 | | (module [INFO] [stderr] 653 | | (import "another_module" "memory" (memory 1 1)) [INFO] [stderr] ... | [INFO] [stderr] 659 | | Err("module has imports from a non-'env' namespace") [INFO] [stderr] 660 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 663 | prepare_test!(wrong_signature, [INFO] [stderr] | _________- [INFO] [stderr] 664 | | r#" [INFO] [stderr] 665 | | (module [INFO] [stderr] 666 | | (import "env" "gas" (func (param i64))) [INFO] [stderr] ... | [INFO] [stderr] 672 | | Err("module imports a non-existent function") [INFO] [stderr] 673 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 675 | prepare_test!(unknown_func_name, [INFO] [stderr] | _________- [INFO] [stderr] 676 | | r#" [INFO] [stderr] 677 | | (module [INFO] [stderr] 678 | | (import "env" "unknown_func" (func)) [INFO] [stderr] ... | [INFO] [stderr] 684 | | Err("module imports a non-existent function") [INFO] [stderr] 685 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 687 | prepare_test!(ext_println_debug_disabled, [INFO] [stderr] | _________- [INFO] [stderr] 688 | | r#" [INFO] [stderr] 689 | | (module [INFO] [stderr] 690 | | (import "env" "ext_println" (func $ext_println (param i32 i32))) [INFO] [stderr] ... | [INFO] [stderr] 696 | | Err("module imports `ext_println` but debug features disabled") [INFO] [stderr] 697 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:714:4 [INFO] [stderr] | [INFO] [stderr] 714 | assert_matches!(r, Ok(_)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 721 | prepare_test!(it_works, [INFO] [stderr] | _________- [INFO] [stderr] 722 | | r#" [INFO] [stderr] 723 | | (module [INFO] [stderr] 724 | | (func (export "call")) [INFO] [stderr] ... | [INFO] [stderr] 728 | | Ok(_) [INFO] [stderr] 729 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 731 | prepare_test!(omit_deploy, [INFO] [stderr] | _________- [INFO] [stderr] 732 | | r#" [INFO] [stderr] 733 | | (module [INFO] [stderr] 734 | | (func (export "call")) [INFO] [stderr] ... | [INFO] [stderr] 737 | | Err("deploy function isn't exported") [INFO] [stderr] 738 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 740 | prepare_test!(omit_call, [INFO] [stderr] | _________- [INFO] [stderr] 741 | | r#" [INFO] [stderr] 742 | | (module [INFO] [stderr] 743 | | (func (export "deploy")) [INFO] [stderr] ... | [INFO] [stderr] 746 | | Err("call function isn't exported") [INFO] [stderr] 747 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 750 | prepare_test!(try_sneak_export_as_entrypoint, [INFO] [stderr] | _________- [INFO] [stderr] 751 | | r#" [INFO] [stderr] 752 | | (module [INFO] [stderr] 753 | | (import "env" "panic" (func)) [INFO] [stderr] ... | [INFO] [stderr] 760 | | Err("entry point points to an imported function") [INFO] [stderr] 761 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 764 | prepare_test!(try_sneak_export_as_global, [INFO] [stderr] | _________- [INFO] [stderr] 765 | | r#" [INFO] [stderr] 766 | | (module [INFO] [stderr] 767 | | (func (export "deploy")) [INFO] [stderr] ... | [INFO] [stderr] 771 | | Err("expected a function") [INFO] [stderr] 772 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 774 | prepare_test!(wrong_signature, [INFO] [stderr] | _________- [INFO] [stderr] 775 | | r#" [INFO] [stderr] 776 | | (module [INFO] [stderr] 777 | | (func (export "deploy")) [INFO] [stderr] ... | [INFO] [stderr] 781 | | Err("entry point has wrong signature") [INFO] [stderr] 782 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 784 | prepare_test!(unknown_exports, [INFO] [stderr] | _________- [INFO] [stderr] 785 | | r#" [INFO] [stderr] 786 | | (module [INFO] [stderr] 787 | | (func (export "call")) [INFO] [stderr] ... | [INFO] [stderr] 792 | | Err("unknown export: expecting only deploy and call functions") [INFO] [stderr] 793 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 795 | prepare_test!(global_float, [INFO] [stderr] | _________- [INFO] [stderr] 796 | | r#" [INFO] [stderr] 797 | | (module [INFO] [stderr] 798 | | (global $x f32 (f32.const 0)) [INFO] [stderr] ... | [INFO] [stderr] 803 | | Err("use of floating point type in globals is forbidden") [INFO] [stderr] 804 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 806 | prepare_test!(local_float, [INFO] [stderr] | _________- [INFO] [stderr] 807 | | r#" [INFO] [stderr] 808 | | (module [INFO] [stderr] 809 | | (func $foo (local f32)) [INFO] [stderr] ... | [INFO] [stderr] 814 | | Err("use of floating point type in locals is forbidden") [INFO] [stderr] 815 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 817 | prepare_test!(param_float, [INFO] [stderr] | _________- [INFO] [stderr] 818 | | r#" [INFO] [stderr] 819 | | (module [INFO] [stderr] 820 | | (func $foo (param f32)) [INFO] [stderr] ... | [INFO] [stderr] 825 | | Err("use of floating point type in function types is forbidden") [INFO] [stderr] 826 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/prepare.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | assert_matches!(r, $($expected)*); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 828 | prepare_test!(result_float, [INFO] [stderr] | _________- [INFO] [stderr] 829 | | r#" [INFO] [stderr] 830 | | (module [INFO] [stderr] 831 | | (func $foo (result f32) (f32.const 0)) [INFO] [stderr] ... | [INFO] [stderr] 836 | | Err("use of floating point type in function types is forbidden") [INFO] [stderr] 837 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `hex` [INFO] [stderr] --> src/wasm/mod.rs:1560:11 [INFO] [stderr] | [INFO] [stderr] 1560 | data: hex!("000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F").to_vec(), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/mod.rs:1639:3 [INFO] [stderr] | [INFO] [stderr] 1639 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/wasm/mod.rs:1683:3 [INFO] [stderr] | [INFO] [stderr] 1683 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `hex` [INFO] [stderr] --> src/wasm/mod.rs:1860:4 [INFO] [stderr] | [INFO] [stderr] 1860 | hex!("00112233445566778899").to_vec(), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `hex` [INFO] [stderr] --> src/wasm/mod.rs:1865:57 [INFO] [stderr] | [INFO] [stderr] 1865 | assert_eq!(output, ExecReturnValue { status: 0, data: hex!("445566778899").to_vec() }); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `hex` [INFO] [stderr] --> src/wasm/mod.rs:1873:4 [INFO] [stderr] | [INFO] [stderr] 1873 | hex!("112233445566778899").to_vec(), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `hex` [INFO] [stderr] --> src/wasm/mod.rs:1878:58 [INFO] [stderr] | [INFO] [stderr] 1878 | assert_eq!(output, ExecReturnValue { status: 17, data: hex!("5566778899").to_vec() }); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot find macro `hex` in this scope [INFO] [stderr] --> src/tests.rs:459:28 [INFO] [stderr] | [INFO] [stderr] 459 | assert_eq!(&encoded[..], &hex!("00000300000000000000C8")[..]); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `hex` in this scope [INFO] [stderr] --> src/tests.rs:580:28 [INFO] [stderr] | [INFO] [stderr] 580 | assert_eq!(&encoded[..], &hex!("00000300000000000000C8")[..]); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `hex` in this scope [INFO] [stderr] --> src/tests.rs:724:28 [INFO] [stderr] | [INFO] [stderr] 724 | assert_eq!(&encoded[..], &hex!("00000300000000000000C8")[..]); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/tests.rs:1457:3 [INFO] [stderr] | [INFO] [stderr] 1457 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/tests.rs:1495:3 [INFO] [stderr] | [INFO] [stderr] 1495 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/tests.rs:1514:3 [INFO] [stderr] | [INFO] [stderr] 1514 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/tests.rs:1539:3 [INFO] [stderr] | [INFO] [stderr] 1539 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/tests.rs:1545:3 [INFO] [stderr] | [INFO] [stderr] 1545 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/tests.rs:1590:3 [INFO] [stderr] | [INFO] [stderr] 1590 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/wasm/mod.rs:1269:20 [INFO] [stderr] | [INFO] [stderr] 1269 | Call::Balances(pallet_balances::Call::set_balance(42, 1337, 0)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:118:21 [INFO] [stderr] | [INFO] [stderr] 118 | type AccountData = pallet_balances::AccountData; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:122:6 [INFO] [stderr] | [INFO] [stderr] 122 | impl pallet_balances::Trait for Test { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_timestamp` [INFO] [stderr] --> src/tests.rs:132:6 [INFO] [stderr] | [INFO] [stderr] 132 | impl pallet_timestamp::Trait for Test { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:179:17 [INFO] [stderr] | [INFO] [stderr] 179 | type Balances = pallet_balances::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_timestamp` [INFO] [stderr] --> src/tests.rs:180:18 [INFO] [stderr] | [INFO] [stderr] 180 | type Timestamp = pallet_timestamp::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_randomness_collective_flip` [INFO] [stderr] --> src/tests.rs:183:19 [INFO] [stderr] | [INFO] [stderr] 183 | type Randomness = pallet_randomness_collective_flip::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_randomness_collective_flip` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:272:3 [INFO] [stderr] | [INFO] [stderr] 272 | pallet_balances::GenesisConfig:: { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wabt` [INFO] [stderr] --> src/tests.rs:290:53 [INFO] [stderr] | [INFO] [stderr] 290 | -> Result<(Vec, ::Output), wabt::Error> [INFO] [stderr] | ^^^^ use of undeclared type or module `wabt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wabt` [INFO] [stderr] --> src/tests.rs:293:13 [INFO] [stderr] | [INFO] [stderr] 293 | let wasm = wabt::wat2wasm(wabt_module)?; [INFO] [stderr] | ^^^^ use of undeclared type or module `wabt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:412:32 [INFO] [stderr] | [INFO] [stderr] 412 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:428:6 [INFO] [stderr] | [INFO] [stderr] 428 | pallet_balances::RawEvent::Endowed(BOB, 100) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:458:47 [INFO] [stderr] | [INFO] [stderr] 458 | let encoded = Encode::encode(&Call::Balances(pallet_balances::Call::transfer(CHARLIE, 50))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:479:32 [INFO] [stderr] | [INFO] [stderr] 479 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:513:32 [INFO] [stderr] | [INFO] [stderr] 513 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:529:6 [INFO] [stderr] | [INFO] [stderr] 529 | pallet_balances::RawEvent::Endowed(BOB, 100) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:553:6 [INFO] [stderr] | [INFO] [stderr] 553 | pallet_balances::RawEvent::Endowed(CHARLIE, 50) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:560:6 [INFO] [stderr] | [INFO] [stderr] 560 | pallet_balances::RawEvent::Transfer(BOB, CHARLIE, 50) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:579:47 [INFO] [stderr] | [INFO] [stderr] 579 | let encoded = Encode::encode(&Call::Balances(pallet_balances::Call::transfer(CHARLIE, 50))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:600:32 [INFO] [stderr] | [INFO] [stderr] 600 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:638:32 [INFO] [stderr] | [INFO] [stderr] 638 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:654:6 [INFO] [stderr] | [INFO] [stderr] 654 | pallet_balances::RawEvent::Endowed(BOB, 100) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:723:47 [INFO] [stderr] | [INFO] [stderr] 723 | let encoded = Encode::encode(&Call::Balances(pallet_balances::Call::transfer(CHARLIE, 50))); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:742:32 [INFO] [stderr] | [INFO] [stderr] 742 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:767:13 [INFO] [stderr] | [INFO] [stderr] 767 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:804:13 [INFO] [stderr] | [INFO] [stderr] 804 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:898:13 [INFO] [stderr] | [INFO] [stderr] 898 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:931:13 [INFO] [stderr] | [INFO] [stderr] 931 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:967:13 [INFO] [stderr] | [INFO] [stderr] 967 | ::Balance::from(100u32).encode() // rent allowance [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:1002:13 [INFO] [stderr] | [INFO] [stderr] 1002 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:1046:13 [INFO] [stderr] | [INFO] [stderr] 1046 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:1151:32 [INFO] [stderr] | [INFO] [stderr] 1151 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:1173:13 [INFO] [stderr] | [INFO] [stderr] 1173 | ::Balance::from(0u32).encode() [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:1222:13 [INFO] [stderr] | [INFO] [stderr] 1222 | ::Balance::from(0u32).encode() [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:1279:35 [INFO] [stderr] | [INFO] [stderr] 1279 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(CHARLIE, 1_000_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:1289:35 [INFO] [stderr] | [INFO] [stderr] 1289 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(DJANGO, 30_000)), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:553:38 [INFO] [stderr] | [INFO] [stderr] 553 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:568:38 [INFO] [stderr] | [INFO] [stderr] 568 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:596:38 [INFO] [stderr] | [INFO] [stderr] 596 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:622:38 [INFO] [stderr] | [INFO] [stderr] 622 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] --> src/lib.rs:645:38 [INFO] [stderr] | [INFO] [stderr] 645 | #[weight = frame_support::weights::SimpleDispatchInfo::default()] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `SimpleDispatchInfo` in `weights` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `child_root` in module `child` [INFO] [stderr] --> src/rent.rs:238:36 [INFO] [stderr] | [INFO] [stderr] 238 | let child_storage_root = child::child_root(&alive_contract_info.trie_id); [INFO] [stderr] | ^^^^^^^^^^ not found in `child` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `child_root` in module `child` [INFO] [stderr] --> src/lib.rs:844:12 [INFO] [stderr] | [INFO] [stderr] 844 | &child::child_root( [INFO] [stderr] | ^^^^^^^^^^ not found in `child` [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp_runtime::DispatchError` [INFO] [stderr] --> src/exec.rs:895:6 [INFO] [stderr] | [INFO] [stderr] 895 | use sp_runtime::DispatchError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 124 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `pallet-contracts`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stderr] --> src/lib.rs:825:5 [INFO] [stderr] | [INFO] [stderr] 825 | child::get_raw( [INFO] [stderr] | ^^^^^^^^^^^^^^ expected 2 arguments [INFO] [stderr] 826 | &origin_contract.trie_id, [INFO] [stderr] | ------------------------ [INFO] [stderr] 827 | origin_contract.child_trie_unique_id(), [INFO] [stderr] | -------------------------------------- [INFO] [stderr] 828 | &blake2_256(key), [INFO] [stderr] | ---------------- supplied 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stderr] --> src/lib.rs:830:6 [INFO] [stderr] | [INFO] [stderr] 830 | child::kill( [INFO] [stderr] | ^^^^^^^^^^^ expected 2 arguments [INFO] [stderr] 831 | &origin_contract.trie_id, [INFO] [stderr] | ------------------------ [INFO] [stderr] 832 | origin_contract.child_trie_unique_id(), [INFO] [stderr] | -------------------------------------- [INFO] [stderr] 833 | &blake2_256(key), [INFO] [stderr] | ---------------- supplied 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stderr] --> src/lib.rs:852:5 [INFO] [stderr] | [INFO] [stderr] 852 | child::put_raw( [INFO] [stderr] | ^^^^^^^^^^^^^^ expected 3 arguments [INFO] [stderr] 853 | &origin_contract.trie_id, [INFO] [stderr] | ------------------------ [INFO] [stderr] 854 | origin_contract.child_trie_unique_id(), [INFO] [stderr] | -------------------------------------- [INFO] [stderr] 855 | &blake2_256(key), [INFO] [stderr] | ---------------- [INFO] [stderr] 856 | &value, [INFO] [stderr] | ------ supplied 4 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stderr] --> src/account_db.rs:131:25 [INFO] [stderr] | [INFO] [stderr] 131 | trie_id.and_then(|id| child::get_raw(id, crate::trie_unique_id(&id[..]), &blake2_256(location))) [INFO] [stderr] | ^^^^^^^^^^^^^^ -- ------------------------------ --------------------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/account_db.rs:170:7 [INFO] [stderr] | [INFO] [stderr] 170 | child::kill_storage(&info.trie_id, info.child_trie_unique_id()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ------------- --------------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/account_db.rs:176:7 [INFO] [stderr] | [INFO] [stderr] 176 | child::kill_storage(&info.trie_id, info.child_trie_unique_id()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ------------- --------------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stderr] --> src/account_db.rs:214:27 [INFO] [stderr] | [INFO] [stderr] 214 | if let Some(value) = child::get_raw( [INFO] [stderr] | ^^^^^^^^^^^^^^ expected 2 arguments [INFO] [stderr] 215 | &new_info.trie_id[..], [INFO] [stderr] | --------------------- [INFO] [stderr] 216 | new_info.child_trie_unique_id(), [INFO] [stderr] | ------------------------------- [INFO] [stderr] 217 | &blake2_256(&k), [INFO] [stderr] | --------------- supplied 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stderr] --> src/account_db.rs:223:7 [INFO] [stderr] | [INFO] [stderr] 223 | child::put_raw(&new_info.trie_id[..], new_info.child_trie_unique_id(), &blake2_256(&k), &value[..]); [INFO] [stderr] | ^^^^^^^^^^^^^^ --------------------- ------------------------------- --------------- ---------- supplied 4 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stderr] --> src/account_db.rs:225:7 [INFO] [stderr] | [INFO] [stderr] 225 | child::kill(&new_info.trie_id[..], new_info.child_trie_unique_id(), &blake2_256(&k)); [INFO] [stderr] | ^^^^^^^^^^^ --------------------- ------------------------------- --------------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/rent.rs:225:4 [INFO] [stderr] | [INFO] [stderr] 225 | child::kill_storage( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ expected 1 argument [INFO] [stderr] 226 | &alive_contract_info.trie_id, [INFO] [stderr] | ---------------------------- [INFO] [stderr] 227 | alive_contract_info.child_trie_unique_id(), [INFO] [stderr] | ------------------------------------------ supplied 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/rent.rs:247:4 [INFO] [stderr] | [INFO] [stderr] 247 | child::kill_storage( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ expected 1 argument [INFO] [stderr] 248 | &alive_contract_info.trie_id, [INFO] [stderr] | ---------------------------- [INFO] [stderr] 249 | alive_contract_info.child_trie_unique_id(), [INFO] [stderr] | ------------------------------------------ supplied 2 arguments [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch<(&Schedule,)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&Schedule,)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&Schedule,)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&Schedule,)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch<(&u64, &std::vec::Vec)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&u64, &std::vec::Vec)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&u64, &std::vec::Vec)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&u64, &std::vec::Vec)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &<::Currency as sp_api_hidden_includes_decl_storage::hidden_include::traits::Currency<::AccountId>>::Balance, &u64, &std::vec::Vec)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &<::Currency as sp_api_hidden_includes_decl_storage::hidden_include::traits::Currency<::AccountId>>::Balance, &u64, &std::vec::Vec)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &<::Currency as sp_api_hidden_includes_decl_storage::hidden_include::traits::Currency<::AccountId>>::Balance, &u64, &std::vec::Vec)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&<::Lookup as sp_api_hidden_includes_decl_storage::hidden_include::sp_runtime::traits::StaticLookup>::Source, &<::Currency as sp_api_hidden_includes_decl_storage::hidden_include::traits::Currency<::AccountId>>::Balance, &u64, &std::vec::Vec)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch<(&<::Currency as sp_api_hidden_includes_decl_storage::hidden_include::traits::Currency<::AccountId>>::Balance, &u64, &::Hash, &std::vec::Vec)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&<::Currency as sp_api_hidden_includes_decl_storage::hidden_include::traits::Currency<::AccountId>>::Balance, &u64, &::Hash, &std::vec::Vec)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&<::Currency as sp_api_hidden_includes_decl_storage::hidden_include::traits::Currency<::AccountId>>::Balance, &u64, &::Hash, &std::vec::Vec)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&<::Currency as sp_api_hidden_includes_decl_storage::hidden_include::traits::Currency<::AccountId>>::Balance, &u64, &::Hash, &std::vec::Vec)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::ClassifyDispatch<(&::AccountId, &std::option::Option<::AccountId>)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&::AccountId, &std::option::Option<::AccountId>)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:485:1 [INFO] [stderr] | [INFO] [stderr] 485 | / decl_module! { [INFO] [stderr] 486 | | /// Contracts module. [INFO] [stderr] 487 | | pub struct Module for enum Call where origin: ::Origin { [INFO] [stderr] 488 | | type Error = Error; [INFO] [stderr] ... | [INFO] [stderr] 676 | | } [INFO] [stderr] 677 | | } [INFO] [stderr] | |_^ expected trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee`, found trait `sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::PaysFee<(&::AccountId, &std::option::Option<::AccountId>)>` [INFO] [stderr] found reference `&dyn sp_api_hidden_includes_decl_storage::hidden_include::dispatch::WeighData<(&::AccountId, &std::option::Option<::AccountId>)>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 28 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `pallet-contracts`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "acecc70f2c166af894aba5efefb37d27d85261df8489c95a9a18a052944e96f0"` [INFO] running `"docker" "rm" "-f" "acecc70f2c166af894aba5efefb37d27d85261df8489c95a9a18a052944e96f0"` [INFO] [stdout] acecc70f2c166af894aba5efefb37d27d85261df8489c95a9a18a052944e96f0