[INFO] crate pallet-contracts 2.0.0-rc4 is already in cache [INFO] checking pallet-contracts-2.0.0-rc4 against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] extracting crate pallet-contracts 2.0.0-rc4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate pallet-contracts 2.0.0-rc4 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-contracts 2.0.0-rc4 [INFO] finished tweaking crates.io crate pallet-contracts 2.0.0-rc4 [INFO] tweaked toml for crates.io crate pallet-contracts 2.0.0-rc4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22d4bb9a9a3f5ae43b2a44834120a4f59ab336a396da6a08143118ff8e1dc160 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "22d4bb9a9a3f5ae43b2a44834120a4f59ab336a396da6a08143118ff8e1dc160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22d4bb9a9a3f5ae43b2a44834120a4f59ab336a396da6a08143118ff8e1dc160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d4bb9a9a3f5ae43b2a44834120a4f59ab336a396da6a08143118ff8e1dc160", kill_on_drop: false }` [INFO] [stdout] 22d4bb9a9a3f5ae43b2a44834120a4f59ab336a396da6a08143118ff8e1dc160 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e03187c80316fb1feb9af792bf6a4d63491893e5c8ff5fcc459fca259af04d4f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e03187c80316fb1feb9af792bf6a4d63491893e5c8ff5fcc459fca259af04d4f", kill_on_drop: false }` [INFO] [stderr] Checking pwasm-utils v0.12.0 [INFO] [stderr] Checking sp-sandbox v0.8.0-rc5 [INFO] [stderr] Checking pallet-contracts-primitives v2.0.0-rc5 [INFO] [stderr] Checking pallet-contracts v2.0.0-rc4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self as system` [INFO] [stdout] --> src/lib.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | use frame_system::{self as system, ensure_signed, ensure_root}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/exec.rs:880:6 [INFO] [stdout] | [INFO] [stdout] 880 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wabt` [INFO] [stdout] --> src/wasm/prepare.rs:398:6 [INFO] [stdout] | [INFO] [stdout] 398 | use wabt; [INFO] [stdout] | ^^^^ no `wabt` external crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:399:6 [INFO] [stdout] | [INFO] [stdout] 399 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wabt` [INFO] [stdout] --> src/wasm/mod.rs:161:6 [INFO] [stdout] | [INFO] [stdout] 161 | use wabt; [INFO] [stdout] | ^^^^ no `wabt` external crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/wasm/mod.rs:162:6 [INFO] [stdout] | [INFO] [stdout] 162 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `hex_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/wasm/mod.rs:163:6 [INFO] [stdout] | [INFO] [stdout] 163 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use hex_literal::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `hex_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `pallet_balances`, `super::Test`, `super::Balances` [INFO] [stdout] --> src/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use pallet_balances as balances; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `pallet_balances` external crate [INFO] [stdout] ... [INFO] [stdout] 66 | use super::{Test, Balances}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pretty_assertions` [INFO] [stdout] --> src/tests.rs:396:4 [INFO] [stdout] | [INFO] [stdout] 396 | pretty_assertions::assert_eq!(System::events(), vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pretty_assertions` [INFO] [stdout] --> src/tests.rs:1193:7 [INFO] [stdout] | [INFO] [stdout] 1193 | pretty_assertions::assert_eq!(System::events(), vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1007:4 [INFO] [stdout] | [INFO] [stdout] 1007 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1033:4 [INFO] [stdout] | [INFO] [stdout] 1033 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1053:4 [INFO] [stdout] | [INFO] [stdout] 1053 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1141:4 [INFO] [stdout] | [INFO] [stdout] 1141 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1166:4 [INFO] [stdout] | [INFO] [stdout] 1166 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1194:4 [INFO] [stdout] | [INFO] [stdout] 1194 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1229:4 [INFO] [stdout] | [INFO] [stdout] 1229 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1324:4 [INFO] [stdout] | [INFO] [stdout] 1324 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1350:4 [INFO] [stdout] | [INFO] [stdout] 1350 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1371:5 [INFO] [stdout] | [INFO] [stdout] 1371 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1381:5 [INFO] [stdout] | [INFO] [stdout] 1381 | assert_matches!(r, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1400:4 [INFO] [stdout] | [INFO] [stdout] 1400 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1420:4 [INFO] [stdout] | [INFO] [stdout] 1420 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1446:4 [INFO] [stdout] | [INFO] [stdout] 1446 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1463:4 [INFO] [stdout] | [INFO] [stdout] 1463 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1487:4 [INFO] [stdout] | [INFO] [stdout] 1487 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1502:4 [INFO] [stdout] | [INFO] [stdout] 1502 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1528:40 [INFO] [stdout] | [INFO] [stdout] 1528 | let instantiated_contract_address = assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1561:40 [INFO] [stdout] | [INFO] [stdout] 1561 | let instantiated_contract_address = assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1608:4 [INFO] [stdout] | [INFO] [stdout] 1608 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1636:5 [INFO] [stdout] | [INFO] [stdout] 1636 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1657:4 [INFO] [stdout] | [INFO] [stdout] 1657 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1687:5 [INFO] [stdout] | [INFO] [stdout] 1687 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/exec.rs:1729:4 [INFO] [stdout] | [INFO] [stdout] 1729 | assert_matches!(result, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | prepare_test!(no_floats, [INFO] [stdout] | _____- [INFO] [stdout] 433 | | r#" [INFO] [stdout] 434 | | (module [INFO] [stdout] 435 | | (func (export "call") [INFO] [stdout] ... | [INFO] [stdout] 445 | | Err("gas instrumentation failed") [INFO] [stdout] 446 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | prepare_test!(memory_with_one_page, [INFO] [stdout] | _________- [INFO] [stdout] 458 | | r#" [INFO] [stdout] 459 | | (module [INFO] [stdout] 460 | | (import "env" "memory" (memory 1 1)) [INFO] [stdout] ... | [INFO] [stdout] 466 | | Ok(_) [INFO] [stdout] 467 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | prepare_test!(internal_memory_declaration, [INFO] [stdout] | _________- [INFO] [stdout] 470 | | r#" [INFO] [stdout] 471 | | (module [INFO] [stdout] 472 | | (memory 1 1) [INFO] [stdout] ... | [INFO] [stdout] 478 | | Err("module declares internal memory") [INFO] [stdout] 479 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | prepare_test!(no_memory_import, [INFO] [stdout] | _________- [INFO] [stdout] 482 | | r#" [INFO] [stdout] 483 | | (module [INFO] [stdout] 484 | | ;; no memory imported [INFO] [stdout] ... | [INFO] [stdout] 489 | | Ok(_) [INFO] [stdout] 490 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | prepare_test!(initial_exceeds_maximum, [INFO] [stdout] | _________- [INFO] [stdout] 493 | | r#" [INFO] [stdout] 494 | | (module [INFO] [stdout] 495 | | (import "env" "memory" (memory 16 1)) [INFO] [stdout] ... | [INFO] [stdout] 501 | | Err("Module is not valid") [INFO] [stdout] 502 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | prepare_test!(no_maximum, [INFO] [stdout] | _________- [INFO] [stdout] 505 | | r#" [INFO] [stdout] 506 | | (module [INFO] [stdout] 507 | | (import "env" "memory" (memory 1)) [INFO] [stdout] ... | [INFO] [stdout] 513 | | Err("Maximum number of pages should be always declared.") [INFO] [stdout] 514 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | prepare_test!(requested_maximum_exceeds_configured_maximum, [INFO] [stdout] | _________- [INFO] [stdout] 517 | | r#" [INFO] [stdout] 518 | | (module [INFO] [stdout] 519 | | (import "env" "memory" (memory 1 17)) [INFO] [stdout] ... | [INFO] [stdout] 525 | | Err("Maximum number of pages should not exceed the configured maximum.") [INFO] [stdout] 526 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | prepare_test!(field_name_not_memory, [INFO] [stdout] | _________- [INFO] [stdout] 529 | | r#" [INFO] [stdout] 530 | | (module [INFO] [stdout] 531 | | (import "env" "forgetit" (memory 1 1)) [INFO] [stdout] ... | [INFO] [stdout] 537 | | Err("Memory import must have the field name 'memory'") [INFO] [stdout] 538 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | prepare_test!(multiple_memory_imports, [INFO] [stdout] | _________- [INFO] [stdout] 541 | | r#" [INFO] [stdout] 542 | | (module [INFO] [stdout] 543 | | (import "env" "memory" (memory 1 1)) [INFO] [stdout] ... | [INFO] [stdout] 550 | | Err("Module is not valid") [INFO] [stdout] 551 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | prepare_test!(table_import, [INFO] [stdout] | _________- [INFO] [stdout] 554 | | r#" [INFO] [stdout] 555 | | (module [INFO] [stdout] 556 | | (import "env" "table" (table 1 anyfunc)) [INFO] [stdout] ... | [INFO] [stdout] 562 | | Err("Cannot import tables") [INFO] [stdout] 563 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | prepare_test!(global_import, [INFO] [stdout] | _________- [INFO] [stdout] 566 | | r#" [INFO] [stdout] 567 | | (module [INFO] [stdout] 568 | | (global $g (import "env" "global") i32) [INFO] [stdout] ... | [INFO] [stdout] 573 | | Err("Cannot import globals") [INFO] [stdout] 574 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | prepare_test!(no_tables, [INFO] [stdout] | _________- [INFO] [stdout] 587 | | r#" [INFO] [stdout] 588 | | (module [INFO] [stdout] 589 | | (func (export "call")) [INFO] [stdout] ... | [INFO] [stdout] 593 | | Ok(_) [INFO] [stdout] 594 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | prepare_test!(table_valid_size, [INFO] [stdout] | _________- [INFO] [stdout] 597 | | r#" [INFO] [stdout] 598 | | (module [INFO] [stdout] 599 | | (table 10000 funcref) [INFO] [stdout] ... | [INFO] [stdout] 605 | | Ok(_) [INFO] [stdout] 606 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | prepare_test!(table_too_big, [INFO] [stdout] | _________- [INFO] [stdout] 609 | | r#" [INFO] [stdout] 610 | | (module [INFO] [stdout] 611 | | (table 20000 funcref) [INFO] [stdout] ... | [INFO] [stdout] 616 | | Err("table exceeds maximum size allowed") [INFO] [stdout] 617 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 623 | prepare_test!(can_import_legit_function, [INFO] [stdout] | _________- [INFO] [stdout] 624 | | r#" [INFO] [stdout] 625 | | (module [INFO] [stdout] 626 | | (import "env" "nop" (func (param i64))) [INFO] [stdout] ... | [INFO] [stdout] 632 | | Ok(_) [INFO] [stdout] 633 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | prepare_test!(can_not_import_gas_function, [INFO] [stdout] | _________- [INFO] [stdout] 638 | | r#" [INFO] [stdout] 639 | | (module [INFO] [stdout] 640 | | (import "env" "gas" (func (param i32))) [INFO] [stdout] ... | [INFO] [stdout] 646 | | Err("module imports a non-existent function") [INFO] [stdout] 647 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | prepare_test!(non_env_import, [INFO] [stdout] | _________- [INFO] [stdout] 651 | | r#" [INFO] [stdout] 652 | | (module [INFO] [stdout] 653 | | (import "another_module" "memory" (memory 1 1)) [INFO] [stdout] ... | [INFO] [stdout] 659 | | Err("module has imports from a non-'env' namespace") [INFO] [stdout] 660 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | prepare_test!(wrong_signature, [INFO] [stdout] | _________- [INFO] [stdout] 664 | | r#" [INFO] [stdout] 665 | | (module [INFO] [stdout] 666 | | (import "env" "gas" (func (param i64))) [INFO] [stdout] ... | [INFO] [stdout] 672 | | Err("module imports a non-existent function") [INFO] [stdout] 673 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | prepare_test!(unknown_func_name, [INFO] [stdout] | _________- [INFO] [stdout] 676 | | r#" [INFO] [stdout] 677 | | (module [INFO] [stdout] 678 | | (import "env" "unknown_func" (func)) [INFO] [stdout] ... | [INFO] [stdout] 684 | | Err("module imports a non-existent function") [INFO] [stdout] 685 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 687 | prepare_test!(ext_println_debug_disabled, [INFO] [stdout] | _________- [INFO] [stdout] 688 | | r#" [INFO] [stdout] 689 | | (module [INFO] [stdout] 690 | | (import "env" "ext_println" (func $ext_println (param i32 i32))) [INFO] [stdout] ... | [INFO] [stdout] 696 | | Err("module imports `ext_println` but debug features disabled") [INFO] [stdout] 697 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:714:4 [INFO] [stdout] | [INFO] [stdout] 714 | assert_matches!(r, Ok(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | prepare_test!(it_works, [INFO] [stdout] | _________- [INFO] [stdout] 722 | | r#" [INFO] [stdout] 723 | | (module [INFO] [stdout] 724 | | (func (export "call")) [INFO] [stdout] ... | [INFO] [stdout] 728 | | Ok(_) [INFO] [stdout] 729 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 731 | prepare_test!(omit_deploy, [INFO] [stdout] | _________- [INFO] [stdout] 732 | | r#" [INFO] [stdout] 733 | | (module [INFO] [stdout] 734 | | (func (export "call")) [INFO] [stdout] ... | [INFO] [stdout] 737 | | Err("deploy function isn't exported") [INFO] [stdout] 738 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | prepare_test!(omit_call, [INFO] [stdout] | _________- [INFO] [stdout] 741 | | r#" [INFO] [stdout] 742 | | (module [INFO] [stdout] 743 | | (func (export "deploy")) [INFO] [stdout] ... | [INFO] [stdout] 746 | | Err("call function isn't exported") [INFO] [stdout] 747 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | prepare_test!(try_sneak_export_as_entrypoint, [INFO] [stdout] | _________- [INFO] [stdout] 751 | | r#" [INFO] [stdout] 752 | | (module [INFO] [stdout] 753 | | (import "env" "panic" (func)) [INFO] [stdout] ... | [INFO] [stdout] 760 | | Err("entry point points to an imported function") [INFO] [stdout] 761 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 764 | prepare_test!(try_sneak_export_as_global, [INFO] [stdout] | _________- [INFO] [stdout] 765 | | r#" [INFO] [stdout] 766 | | (module [INFO] [stdout] 767 | | (func (export "deploy")) [INFO] [stdout] ... | [INFO] [stdout] 771 | | Err("expected a function") [INFO] [stdout] 772 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | prepare_test!(wrong_signature, [INFO] [stdout] | _________- [INFO] [stdout] 775 | | r#" [INFO] [stdout] 776 | | (module [INFO] [stdout] 777 | | (func (export "deploy")) [INFO] [stdout] ... | [INFO] [stdout] 781 | | Err("entry point has wrong signature") [INFO] [stdout] 782 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | prepare_test!(unknown_exports, [INFO] [stdout] | _________- [INFO] [stdout] 785 | | r#" [INFO] [stdout] 786 | | (module [INFO] [stdout] 787 | | (func (export "call")) [INFO] [stdout] ... | [INFO] [stdout] 792 | | Err("unknown export: expecting only deploy and call functions") [INFO] [stdout] 793 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 795 | prepare_test!(global_float, [INFO] [stdout] | _________- [INFO] [stdout] 796 | | r#" [INFO] [stdout] 797 | | (module [INFO] [stdout] 798 | | (global $x f32 (f32.const 0)) [INFO] [stdout] ... | [INFO] [stdout] 803 | | Err("use of floating point type in globals is forbidden") [INFO] [stdout] 804 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | prepare_test!(local_float, [INFO] [stdout] | _________- [INFO] [stdout] 807 | | r#" [INFO] [stdout] 808 | | (module [INFO] [stdout] 809 | | (func $foo (local f32)) [INFO] [stdout] ... | [INFO] [stdout] 814 | | Err("use of floating point type in locals is forbidden") [INFO] [stdout] 815 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 817 | prepare_test!(param_float, [INFO] [stdout] | _________- [INFO] [stdout] 818 | | r#" [INFO] [stdout] 819 | | (module [INFO] [stdout] 820 | | (func $foo (param f32)) [INFO] [stdout] ... | [INFO] [stdout] 825 | | Err("use of floating point type in function types is forbidden") [INFO] [stdout] 826 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/prepare.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_matches!(r, $($expected)*); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | prepare_test!(result_float, [INFO] [stdout] | _________- [INFO] [stdout] 829 | | r#" [INFO] [stdout] 830 | | (module [INFO] [stdout] 831 | | (func $foo (result f32) (f32.const 0)) [INFO] [stdout] ... | [INFO] [stdout] 836 | | Err("use of floating point type in function types is forbidden") [INFO] [stdout] 837 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/wasm/mod.rs:1520:11 [INFO] [stdout] | [INFO] [stdout] 1520 | data: hex!("000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F").to_vec(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/mod.rs:1599:3 [INFO] [stdout] | [INFO] [stdout] 1599 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/wasm/mod.rs:1643:3 [INFO] [stdout] | [INFO] [stdout] 1643 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/wasm/mod.rs:1820:4 [INFO] [stdout] | [INFO] [stdout] 1820 | hex!("00112233445566778899").to_vec(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/wasm/mod.rs:1825:57 [INFO] [stdout] | [INFO] [stdout] 1825 | assert_eq!(output, ExecReturnValue { status: 0, data: hex!("445566778899").to_vec() }); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/wasm/mod.rs:1833:4 [INFO] [stdout] | [INFO] [stdout] 1833 | hex!("112233445566778899").to_vec(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/wasm/mod.rs:1838:58 [INFO] [stdout] | [INFO] [stdout] 1838 | assert_eq!(output, ExecReturnValue { status: 17, data: hex!("5566778899").to_vec() }); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hex` in this scope [INFO] [stdout] --> src/tests.rs:498:28 [INFO] [stdout] | [INFO] [stdout] 498 | assert_eq!(&encoded[..], &hex!("00000300000000000000C8")[..]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/tests.rs:1366:4 [INFO] [stdout] | [INFO] [stdout] 1366 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/tests.rs:1406:4 [INFO] [stdout] | [INFO] [stdout] 1406 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/tests.rs:1425:4 [INFO] [stdout] | [INFO] [stdout] 1425 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/tests.rs:1452:4 [INFO] [stdout] | [INFO] [stdout] 1452 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/tests.rs:1458:4 [INFO] [stdout] | [INFO] [stdout] 1458 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/tests.rs:1504:4 [INFO] [stdout] | [INFO] [stdout] 1504 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl pallet_balances::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_timestamp` [INFO] [stdout] --> src/tests.rs:146:6 [INFO] [stdout] | [INFO] [stdout] 146 | impl pallet_timestamp::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | type Balances = pallet_balances::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_timestamp` [INFO] [stdout] --> src/tests.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | type Timestamp = pallet_timestamp::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_randomness_collective_flip` [INFO] [stdout] --> src/tests.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | type Randomness = pallet_randomness_collective_flip::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_randomness_collective_flip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:247:3 [INFO] [stdout] | [INFO] [stdout] 247 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wabt` [INFO] [stdout] --> src/tests.rs:268:54 [INFO] [stdout] | [INFO] [stdout] 268 | ) -> Result<(Vec, ::Output), wabt::Error> [INFO] [stdout] | ^^^^ use of undeclared type or module `wabt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `wabt` [INFO] [stdout] --> src/tests.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | let wasm_binary = wabt::wat2wasm(module_wat_source)?; [INFO] [stdout] | ^^^^ use of undeclared type or module `wabt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:678:14 [INFO] [stdout] | [INFO] [stdout] 678 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:775:14 [INFO] [stdout] | [INFO] [stdout] 775 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:811:14 [INFO] [stdout] | [INFO] [stdout] 811 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:851:14 [INFO] [stdout] | [INFO] [stdout] 851 | ::Balance::from(100u32).encode() // rent allowance [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:903:14 [INFO] [stdout] | [INFO] [stdout] 903 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:973:14 [INFO] [stdout] | [INFO] [stdout] 973 | ::Balance::from(1_000u32).encode() // rent allowance [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:1103:14 [INFO] [stdout] | [INFO] [stdout] 1103 | ::Balance::from(0u32).encode() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:1149:14 [INFO] [stdout] | [INFO] [stdout] 1149 | ::Balance::from(0u32).encode() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:497:64 [INFO] [stdout] | [INFO] [stdout] 497 | let encoded = Encode::encode(&Call::Balances(pallet_balances::Call::transfer(CHARLIE, 50))); [INFO] [stdout] | ^^^^ not found in `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 17 | use crate::Call; [INFO] [stdout] | [INFO] [stdout] 17 | use crate::tests::Call; [INFO] [stdout] | [INFO] [stdout] 17 | use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:519:50 [INFO] [stdout] | [INFO] [stdout] 519 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stdout] | ^^^^^^^^ not found in `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 17 | use crate::RawEvent; [INFO] [stdout] | [INFO] [stdout] 17 | use frame_system::RawEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:1081:50 [INFO] [stdout] | [INFO] [stdout] 1081 | event: MetaEvent::balances(pallet_balances::RawEvent::Endowed(1, 1_000_000)), [INFO] [stdout] | ^^^^^^^^ not found in `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 17 | use crate::RawEvent; [INFO] [stdout] | [INFO] [stdout] 17 | use frame_system::RawEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_runtime::DispatchError` [INFO] [stdout] --> src/exec.rs:879:6 [INFO] [stdout] | [INFO] [stdout] 879 | use sp_runtime::DispatchError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as system` [INFO] [stdout] --> src/lib.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | use frame_system::{self as system, ensure_signed, ensure_root}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 102 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e03187c80316fb1feb9af792bf6a4d63491893e5c8ff5fcc459fca259af04d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03187c80316fb1feb9af792bf6a4d63491893e5c8ff5fcc459fca259af04d4f", kill_on_drop: false }` [INFO] [stdout] e03187c80316fb1feb9af792bf6a4d63491893e5c8ff5fcc459fca259af04d4f