[INFO] fetching crate substrate-wasmtime 0.19.0...
[INFO] testing substrate-wasmtime-0.19.0 against 1.75.0 for beta-1.76-1
[INFO] extracting crate substrate-wasmtime 0.19.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate substrate-wasmtime 0.19.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate substrate-wasmtime 0.19.0
[INFO] finished tweaking crates.io crate substrate-wasmtime 0.19.0
[INFO] tweaked toml for crates.io crate substrate-wasmtime 0.19.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasmtime-runtime v0.19.0
[INFO] [stderr]   Downloaded wasmtime-jit v0.19.0
[INFO] [stderr]   Downloaded wasmtime-profiling v0.19.0
[INFO] [stderr]   Downloaded wasmtime-debug v0.19.0
[INFO] [stderr]   Downloaded target-lexicon v0.10.0
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.66.0
[INFO] [stderr]   Downloaded dynasmrt v0.5.2
[INFO] [stderr]   Downloaded cranelift-bforest v0.66.0
[INFO] [stderr]   Downloaded wasmparser v0.59.0
[INFO] [stderr]   Downloaded capstone v0.6.0
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.66.0
[INFO] [stderr]   Downloaded regalloc v0.0.27
[INFO] [stderr]   Downloaded capstone-sys v0.10.0
[INFO] [stderr]   Downloaded ittapi-rs v0.1.6
[INFO] [stderr]   Downloaded iter-enum v0.2.7
[INFO] [stderr]   Downloaded wasmtime-obj v0.19.0
[INFO] [stderr]   Downloaded cranelift-codegen v0.66.0
[INFO] [stderr]   Downloaded dynasm v0.5.2
[INFO] [stderr]   Downloaded wasmtime-environ v0.19.0
[INFO] [stderr]   Downloaded cranelift-entity v0.66.0
[INFO] [stderr]   Downloaded raw-cpuid v7.0.4
[INFO] [stderr]   Downloaded cranelift-wasm v0.66.0
[INFO] [stderr]   Downloaded cranelift-native v0.66.0
[INFO] [stderr]   Downloaded cranelift-frontend v0.66.0
[INFO] [stderr]   Downloaded lightbeam v0.19.0
[INFO] [stderr]   Downloaded staticvec v0.10.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 847baa7c8915ed480cb7f29ae7621dbc27f5a22ae20e932fdfba3fc107bdd077
[INFO] running `Command { std: "docker" "start" "-a" "847baa7c8915ed480cb7f29ae7621dbc27f5a22ae20e932fdfba3fc107bdd077", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "847baa7c8915ed480cb7f29ae7621dbc27f5a22ae20e932fdfba3fc107bdd077", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "847baa7c8915ed480cb7f29ae7621dbc27f5a22ae20e932fdfba3fc107bdd077", kill_on_drop: false }`
[INFO] [stdout] 847baa7c8915ed480cb7f29ae7621dbc27f5a22ae20e932fdfba3fc107bdd077
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2d0c1e5f8dbe46de925d0ff35a9fb4c8be03dfa4a88036cf37200ca91e6d193d
[INFO] running `Command { std: "docker" "start" "-a" "2d0c1e5f8dbe46de925d0ff35a9fb4c8be03dfa4a88036cf37200ca91e6d193d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.66.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]    Compiling regalloc v0.0.27
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling wasmparser v0.59.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling wasmtime-environ v0.19.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling wasmparser v0.57.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling object v0.19.0
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling wasm-encoder v0.38.1
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling directories v2.0.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling region v2.2.0
[INFO] [stderr]    Compiling wast v69.0.1
[INFO] [stderr]    Compiling is-terminal v0.4.10
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling wasmtime-runtime v0.19.0
[INFO] [stderr]    Compiling raw-cpuid v7.0.4
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling scroll_derive v0.10.5
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling env_logger v0.10.1
[INFO] [stderr]    Compiling file-per-thread-logger v0.1.6
[INFO] [stderr]    Compiling scroll v0.10.2
[INFO] [stderr]    Compiling wat v1.0.82
[INFO] [stderr]    Compiling cranelift-entity v0.66.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.66.0
[INFO] [stderr]    Compiling cranelift-bforest v0.66.0
[INFO] [stderr]    Compiling gimli v0.21.0
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling cranelift-codegen v0.66.0
[INFO] [stderr]    Compiling zstd v0.5.4+zstd.1.4.7
[INFO] [stderr]    Compiling cranelift-frontend v0.66.0
[INFO] [stderr]    Compiling cranelift-native v0.66.0
[INFO] [stderr]    Compiling cranelift-wasm v0.66.0
[INFO] [stderr]    Compiling wasmtime-debug v0.19.0
[INFO] [stderr]    Compiling wasmtime-profiling v0.19.0
[INFO] [stderr]    Compiling wasmtime-obj v0.19.0
[INFO] [stderr]    Compiling wasmtime-jit v0.19.0
[INFO] [stderr]    Compiling substrate-wasmtime v0.19.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `module` is never read
[INFO] [stdout]    --> src/instance.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct Instance {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     module: Module,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 41.77s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.66.0, wasmparser v0.57.0, wasmparser v0.59.0, wasmtime-debug v0.19.0, wasmtime-environ v0.19.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "2d0c1e5f8dbe46de925d0ff35a9fb4c8be03dfa4a88036cf37200ca91e6d193d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d0c1e5f8dbe46de925d0ff35a9fb4c8be03dfa4a88036cf37200ca91e6d193d", kill_on_drop: false }`
[INFO] [stdout] 2d0c1e5f8dbe46de925d0ff35a9fb4c8be03dfa4a88036cf37200ca91e6d193d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 60211b1034de8ae525a971dbe7b7473a885410c46205c30c6965e57f04a96ed6
[INFO] running `Command { std: "docker" "start" "-a" "60211b1034de8ae525a971dbe7b7473a885410c46205c30c6965e57f04a96ed6", kill_on_drop: false }`
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `module` is never read
[INFO] [stdout]    --> src/instance.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct Instance {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     module: Module,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]    Compiling substrate-wasmtime v0.19.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `module` is never read
[INFO] [stdout]    --> src/instance.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct Instance {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     module: Module,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 8.65s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.66.0, wasmparser v0.57.0, wasmparser v0.59.0, wasmtime-debug v0.19.0, wasmtime-environ v0.19.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "60211b1034de8ae525a971dbe7b7473a885410c46205c30c6965e57f04a96ed6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60211b1034de8ae525a971dbe7b7473a885410c46205c30c6965e57f04a96ed6", kill_on_drop: false }`
[INFO] [stdout] 60211b1034de8ae525a971dbe7b7473a885410c46205c30c6965e57f04a96ed6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] badddc1fc972d10b1176bf79ff1c2fb2d679a3a6c79e3307186d9417f61e68e9
[INFO] running `Command { std: "docker" "start" "-a" "badddc1fc972d10b1176bf79ff1c2fb2d679a3a6c79e3307186d9417f61e68e9", kill_on_drop: false }`
[INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stderr]    --> src/lib.rs:232:23
[INFO] [stderr]     |
[INFO] [stderr] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `module` is never read
[INFO] [stderr]    --> src/instance.rs:130:5
[INFO] [stderr]     |
[INFO] [stderr] 127 | pub struct Instance {
[INFO] [stderr]     |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 130 |     module: Module,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `substrate-wasmtime` (lib) generated 2 warnings
[INFO] [stderr] warning: `substrate-wasmtime` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.66.0, wasmparser v0.57.0, wasmparser v0.59.0, wasmtime-debug v0.19.0, wasmtime-environ v0.19.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/substrate_wasmtime-669ba133377408db)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test externals::tests::respect_tunables ... ok
[INFO] [stdout] test func::wasm_ty_roundtrip ... ok
[INFO] [stdout] test runtime::tests::cache_accounts_for_opt_level ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests substrate-wasmtime
[INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been renamed to `rustdoc::broken_intra_doc_links`
[INFO] [stderr]    --> src/lib.rs:232:23
[INFO] [stderr]     |
[INFO] [stderr] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 41 tests
[INFO] [stdout] test src/lib.rs - (line 153) - compile ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 41) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 108) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory::new (line 750) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 410) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::allow_shadowing (line 99) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 72) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 384) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 479) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory::ty (line 778) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 441) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 179) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory::grow (line 891) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory (line 637) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory (line 584) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::new (line 73) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 50) - compile ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::instance (line 236) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::exports (line 430) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::module (line 334) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::module (line 305) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_binary (line 218) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::instantiate (line 557) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::func (line 188) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::define (line 137) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 63) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_file (line 180) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::exports (line 418) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_binary (line 230) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 39) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_file (line 191) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::imports (line 360) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::get_export (line 478) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::get_export (line 490) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::new (line 130) - compile ... FAILED
[INFO] [stdout] test src/trap.rs - trap::Trap::new (line 51) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::new (line 143) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::imports (line 372) ... FAILED
[INFO] [stdout] test src/runtime.rs - runtime::Store::interrupt_handle (line 1083) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::name (line 325) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 153) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:155:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `wasmtime_wasi`
[INFO] [stdout]  --> src/lib.rs:156:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime_wasi::{Wasi, WasiCtx};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `wasmtime_wasi`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime_jit::{Wasi, WasiCtx};
[INFO] [stdout]   |     ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:159:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/lib.rs:160:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:169:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | let module = Module::from_file(store.engine(), "foo.wasm")?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 41) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:42:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/func.rs:44:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:45:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/func.rs:46:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, r#"(module (func (export "foo")))"#)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/func.rs:47:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 108) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:109:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:111:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]  --> src/func.rs:115:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | let double_type = wasmtime::FuncType::new(
[INFO] [stdout]   |                   ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::FuncType;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::FuncType;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `FuncType`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 9 - let double_type = wasmtime::FuncType::new(
[INFO] [stdout] 9 + let double_type = FuncType::new(
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]   --> src/func.rs:116:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Box::new([wasmtime::ValType::I32]),
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ValType;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ValType`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 10 -     Box::new([wasmtime::ValType::I32]),
[INFO] [stdout] 10 +     Box::new([ValType::I32]),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]   --> src/func.rs:117:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Box::new([wasmtime::ValType::I32])
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ValType;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ValType`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 11 -     Box::new([wasmtime::ValType::I32])
[INFO] [stdout] 11 +     Box::new([ValType::I32])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]   --> src/func.rs:119:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let double = Func::new(&store, double_type, |_, params, results| {
[INFO] [stdout]    |              ^^^^ use of undeclared type `Func`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Func;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:126:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:138:16
[INFO] [stdout]    |
[INFO] [stdout] 32 | let instance = Instance::new(&store, &module, &[double.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory::new (line 750) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:751:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:753:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:754:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType`
[INFO] [stdout]  --> src/externals.rs:756:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | let memory_ty = MemoryType::new(Limits::new(1, None));
[INFO] [stdout]   |                 ^^^^^^^^^^ use of undeclared type `MemoryType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::MemoryType;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::MemoryType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Limits`
[INFO] [stdout]  --> src/externals.rs:756:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | let memory_ty = MemoryType::new(Limits::new(1, None));
[INFO] [stdout]   |                                 ^^^^^^ use of undeclared type `Limits`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Limits;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory`
[INFO] [stdout]  --> src/externals.rs:757:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let memory = Memory::new(&store, memory_ty);
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Memory`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Memory;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::wasm::Memory;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/externals.rs:759:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | let module = Module::new(&engine, "(module (memory (import \"\" \"\") 1))")?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/externals.rs:760:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | let instance = Instance::new(&store, &module, &[memory.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 410) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:411:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:413:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:414:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let add = Func::wrap(&store, |a: i32, b: i32| {
[INFO] [stdout]   |           ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]  --> src/func.rs:417:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |         None => Err(Trap::new("overflow")),
[INFO] [stdout]   |                     ^^^^ use of undeclared type `Trap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_runtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:420:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:431:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:24:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:28:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let store = Store::default();
[INFO] [stdout]   |                 ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:40:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]   --> src/lib.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let host_hello = Func::wrap(&store, |param: i32| {
[INFO] [stdout]    |                      ^^^^ use of undeclared type `Func`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Func;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/lib.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let instance = Instance::new(&store, &module, &[host_hello.into()])?;
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::allow_shadowing (line 99) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:100:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:102:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:103:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 72) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:73:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:75:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:79:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | let add = Func::wrap(&store, |a: i32, b: i32| -> i32 { a + b });
[INFO] [stdout]   |           ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 27 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 384) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:385:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:387:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:388:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let add = Func::wrap(&store, |a: i32, b: i32| a + b);
[INFO] [stdout]   |           ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/func.rs:389:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:400:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 479) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:482:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:484:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:485:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |               ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/func.rs:485:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Extern`
[INFO] [stdout]   --> src/func.rs:487:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extern::Memory(mem)) => mem,
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Extern`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extend::Memory(mem)) => mem,
[INFO] [stdout]    |              ~~~~~~
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Extern;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:488:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |         _ => return Err(Trap::new("failed to find host memory")),
[INFO] [stdout]    |                         ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:503:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 Err(_) => return Err(Trap::new("invalid utf-8")),
[INFO] [stdout]    |                                      ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:505:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |             None => return Err(Trap::new("pointer/length out of bounds")),
[INFO] [stdout]    |                                ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:512:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:525:16
[INFO] [stdout]    |
[INFO] [stdout] 48 | let instance = Instance::new(&store, &module, &[log_str.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory::ty (line 778) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:779:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:781:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:782:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/externals.rs:783:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, "(module (memory (export \"mem\") 1))")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/externals.rs:784:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 441) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:442:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:444:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:445:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let debug = Func::wrap(&store, |a: i32, b: u32, c: f32, d: i64, e: u64, f: f64| {
[INFO] [stdout]   |             ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:454:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:469:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | let instance = Instance::new(&store, &module, &[debug.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 179) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:182:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:184:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/lib.rs:185:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |               ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/lib.rs:185:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Extern`
[INFO] [stdout]   --> src/lib.rs:187:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extern::Memory(mem)) => mem,
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Extern`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extend::Memory(mem)) => mem,
[INFO] [stdout]    |              ~~~~~~
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Extern;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:188:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |         _ => return Err(Trap::new("failed to find host memory")),
[INFO] [stdout]    |                         ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:203:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 Err(_) => return Err(Trap::new("invalid utf-8")),
[INFO] [stdout]    |                                      ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:205:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |             None => return Err(Trap::new("pointer/length out of bounds")),
[INFO] [stdout]    |                                ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:212:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/lib.rs:225:16
[INFO] [stdout]    |
[INFO] [stdout] 48 | let instance = Instance::new(&store, &module, &[log_str.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory::grow (line 891) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:892:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:894:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:895:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/externals.rs:896:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, "(module (memory (export \"mem\") 1 2))")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/externals.rs:897:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory (line 637) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:639:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::Memory;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory (line 584) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:585:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::Memory;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::new (line 73) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:74:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::{Linker, Store};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 50) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:51:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:55:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::from_file(&engine, "path/to/foo.wat")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::instance (line 236) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:237:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:239:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:240:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:244:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:260:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::exports (line 430) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:431:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:433:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:440:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:447:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ExternType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:454:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ExternType::Memory(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ExternType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::module (line 334) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:335:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:337:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:338:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:353:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:372:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::module (line 305) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:306:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:308:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:309:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:315:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:326:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_binary (line 218) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:219:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:221:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:223:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::from_binary(&engine, wasm)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::instantiate (line 557) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:558:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:560:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:561:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:569:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::func (line 188) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:189:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:191:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:192:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/linker.rs:195:41
[INFO] [stdout]   |
[INFO] [stdout] 9 | linker.func("host", "log_str", |caller: Caller, ptr: i32, len: i32| {
[INFO] [stdout]   |                                         ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:206:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::define (line 137) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:138:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:140:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:141:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType`
[INFO] [stdout]  --> src/linker.rs:142:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |          ^^^^^^^^^^ use of undeclared type `GlobalType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::GlobalType;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::GlobalType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValType`
[INFO] [stdout]  --> src/linker.rs:142:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |                          ^^^^^^^ use of undeclared type `ValType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::ValType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability`
[INFO] [stdout]  --> src/linker.rs:142:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |                                        ^^^^^^^^^^ use of undeclared type `Mutability`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Mutability;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global`
[INFO] [stdout]  --> src/linker.rs:143:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | let global = Global::new(&store, ty, Val::I32(0x1234))?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Global`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use std::alloc::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::wasm::Global;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Val`
[INFO] [stdout]  --> src/linker.rs:143:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | let global = Global::new(&store, ty, Val::I32(0x1234))?;
[INFO] [stdout]   |                                      ^^^ use of undeclared type `Val`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Val;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:153:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 63) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:64:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:66:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:68:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, &wasm_bytes)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module = Module::new(&engine, "(module (func))")?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_file (line 180) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:181:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:183:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:184:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "./path/to/foo.wasm")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::exports (line 418) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:419:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:421:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:422:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_binary (line 230) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:231:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:233:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:234:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert!(Module::from_binary(&engine, b"(module)").is_err());
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 39) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:40:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:42:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:43:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "path/to/foo.wasm")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_file (line 191) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:192:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:194:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:195:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "./path/to/foo.wat")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::imports (line 360) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:361:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:363:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:364:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::get_export (line 478) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:479:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:481:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:482:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::get_export (line 490) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:491:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:493:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:500:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:506:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ExternType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::new (line 130) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:131:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:133:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:135:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, &wasm_bytes)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/trap.rs - trap::Trap::new (line 51) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]  --> src/trap.rs:52:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let trap = wasmtime::Trap::new("unexpected error");
[INFO] [stdout]   |            ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_runtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Trap`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let trap = wasmtime::Trap::new("unexpected error");
[INFO] [stdout] 4 + let trap = Trap::new("unexpected error");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::new (line 143) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:144:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:146:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:147:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module (func))")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::imports (line 372) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:373:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:375:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:381:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:387:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ExternType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/runtime.rs - runtime::Store::interrupt_handle (line 1083) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/runtime.rs:1085:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/runtime.rs:1089:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | let engine = Engine::new(Config::new().interruptable(true));
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]  --> src/runtime.rs:1089:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | let engine = Engine::new(Config::new().interruptable(true));
[INFO] [stdout]   |                          ^^^^^^ use of undeclared type `Config`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Config;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/runtime.rs:1090:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/runtime.rs:1094:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let module = Module::new(&engine, r#"
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/runtime.rs:1097:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::name (line 325) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:326:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:328:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:329:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module $foo)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:332:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:335:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new_with_name(&engine, "(module)", "bar")?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/externals.rs - externals::Memory (line 584)
[INFO] [stdout]     src/externals.rs - externals::Memory (line 637)
[INFO] [stdout]     src/externals.rs - externals::Memory::grow (line 891)
[INFO] [stdout]     src/externals.rs - externals::Memory::new (line 750)
[INFO] [stdout]     src/externals.rs - externals::Memory::ty (line 778)
[INFO] [stdout]     src/func.rs - func::Func (line 108)
[INFO] [stdout]     src/func.rs - func::Func (line 41)
[INFO] [stdout]     src/func.rs - func::Func (line 72)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 384)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 410)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 441)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 479)
[INFO] [stdout]     src/lib.rs - (line 153)
[INFO] [stdout]     src/lib.rs - (line 179)
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/linker.rs - linker::Linker::allow_shadowing (line 99)
[INFO] [stdout]     src/linker.rs - linker::Linker::define (line 137)
[INFO] [stdout]     src/linker.rs - linker::Linker::func (line 188)
[INFO] [stdout]     src/linker.rs - linker::Linker::instance (line 236)
[INFO] [stdout]     src/linker.rs - linker::Linker::instantiate (line 557)
[INFO] [stdout]     src/linker.rs - linker::Linker::module (line 305)
[INFO] [stdout]     src/linker.rs - linker::Linker::module (line 334)
[INFO] [stdout]     src/linker.rs - linker::Linker::new (line 73)
[INFO] [stdout]     src/module.rs - module::Module (line 39)
[INFO] [stdout]     src/module.rs - module::Module (line 50)
[INFO] [stdout]     src/module.rs - module::Module (line 63)
[INFO] [stdout]     src/module.rs - module::Module::exports (line 418)
[INFO] [stdout]     src/module.rs - module::Module::exports (line 430)
[INFO] [stdout]     src/module.rs - module::Module::from_binary (line 218)
[INFO] [stdout]     src/module.rs - module::Module::from_binary (line 230)
[INFO] [stdout]     src/module.rs - module::Module::from_file (line 180)
[INFO] [stdout]     src/module.rs - module::Module::from_file (line 191)
[INFO] [stdout]     src/module.rs - module::Module::get_export (line 478)
[INFO] [stdout]     src/module.rs - module::Module::get_export (line 490)
[INFO] [stdout]     src/module.rs - module::Module::imports (line 360)
[INFO] [stdout]     src/module.rs - module::Module::imports (line 372)
[INFO] [stdout]     src/module.rs - module::Module::name (line 325)
[INFO] [stdout]     src/module.rs - module::Module::new (line 130)
[INFO] [stdout]     src/module.rs - module::Module::new (line 143)
[INFO] [stdout]     src/runtime.rs - runtime::Store::interrupt_handle (line 1083)
[INFO] [stdout]     src/trap.rs - trap::Trap::new (line 51)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 41 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "badddc1fc972d10b1176bf79ff1c2fb2d679a3a6c79e3307186d9417f61e68e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "badddc1fc972d10b1176bf79ff1c2fb2d679a3a6c79e3307186d9417f61e68e9", kill_on_drop: false }`
[INFO] [stdout] badddc1fc972d10b1176bf79ff1c2fb2d679a3a6c79e3307186d9417f61e68e9
[INFO] testing substrate-wasmtime-0.19.0 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate substrate-wasmtime 0.19.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate substrate-wasmtime 0.19.0 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate substrate-wasmtime 0.19.0
[INFO] finished tweaking crates.io crate substrate-wasmtime 0.19.0
[INFO] tweaked toml for crates.io crate substrate-wasmtime 0.19.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f59c68c96e1ead7374421ef9e308e4cc2e77a8cf0e4bc4a27cb5a661fc603cdd
[INFO] running `Command { std: "docker" "start" "-a" "f59c68c96e1ead7374421ef9e308e4cc2e77a8cf0e4bc4a27cb5a661fc603cdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f59c68c96e1ead7374421ef9e308e4cc2e77a8cf0e4bc4a27cb5a661fc603cdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f59c68c96e1ead7374421ef9e308e4cc2e77a8cf0e4bc4a27cb5a661fc603cdd", kill_on_drop: false }`
[INFO] [stdout] f59c68c96e1ead7374421ef9e308e4cc2e77a8cf0e4bc4a27cb5a661fc603cdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9a13b95e3256474cc67fb9887856b8f567a2a434acb31f47f8475de46b872df4
[INFO] running `Command { std: "docker" "start" "-a" "9a13b95e3256474cc67fb9887856b8f567a2a434acb31f47f8475de46b872df4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.66.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling regalloc v0.0.27
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling wasmparser v0.59.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling wasmtime-environ v0.19.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling wasmparser v0.57.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling object v0.19.0
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling wasm-encoder v0.38.1
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling directories v2.0.2
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling region v2.2.0
[INFO] [stderr]    Compiling wast v69.0.1
[INFO] [stderr]    Compiling scroll_derive v0.10.5
[INFO] [stderr]    Compiling is-terminal v0.4.10
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling raw-cpuid v7.0.4
[INFO] [stderr]    Compiling wasmtime-runtime v0.19.0
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling env_logger v0.10.1
[INFO] [stderr]    Compiling scroll v0.10.2
[INFO] [stderr]    Compiling file-per-thread-logger v0.1.6
[INFO] [stderr]    Compiling wat v1.0.82
[INFO] [stderr]    Compiling cranelift-entity v0.66.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.66.0
[INFO] [stderr]    Compiling cranelift-bforest v0.66.0
[INFO] [stderr]    Compiling gimli v0.21.0
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling cranelift-codegen v0.66.0
[INFO] [stderr]    Compiling zstd v0.5.4+zstd.1.4.7
[INFO] [stderr]    Compiling cranelift-frontend v0.66.0
[INFO] [stderr]    Compiling cranelift-native v0.66.0
[INFO] [stderr]    Compiling cranelift-wasm v0.66.0
[INFO] [stderr]    Compiling wasmtime-debug v0.19.0
[INFO] [stderr]    Compiling wasmtime-profiling v0.19.0
[INFO] [stderr]    Compiling wasmtime-obj v0.19.0
[INFO] [stderr]    Compiling wasmtime-jit v0.19.0
[INFO] [stderr]    Compiling substrate-wasmtime v0.19.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `module` is never read
[INFO] [stdout]    --> src/instance.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct Instance {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     module: Module,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 51.50s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.66.0, wasmparser v0.57.0, wasmparser v0.59.0, wasmtime-debug v0.19.0, wasmtime-environ v0.19.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "9a13b95e3256474cc67fb9887856b8f567a2a434acb31f47f8475de46b872df4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a13b95e3256474cc67fb9887856b8f567a2a434acb31f47f8475de46b872df4", kill_on_drop: false }`
[INFO] [stdout] 9a13b95e3256474cc67fb9887856b8f567a2a434acb31f47f8475de46b872df4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88ce8fe01bdfd48f7e8843246f90eb10df32c073b2f6bcf90d3a0d3039368b6d
[INFO] running `Command { std: "docker" "start" "-a" "88ce8fe01bdfd48f7e8843246f90eb10df32c073b2f6bcf90d3a0d3039368b6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `module` is never read
[INFO] [stdout]    --> src/instance.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct Instance {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     module: Module,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]    Compiling substrate-wasmtime v0.19.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stdout]    --> src/lib.rs:232:23
[INFO] [stdout]     |
[INFO] [stdout] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `module` is never read
[INFO] [stdout]    --> src/instance.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct Instance {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     module: Module,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 12.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.66.0, wasmparser v0.57.0, wasmparser v0.59.0, wasmtime-debug v0.19.0, wasmtime-environ v0.19.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "88ce8fe01bdfd48f7e8843246f90eb10df32c073b2f6bcf90d3a0d3039368b6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88ce8fe01bdfd48f7e8843246f90eb10df32c073b2f6bcf90d3a0d3039368b6d", kill_on_drop: false }`
[INFO] [stdout] 88ce8fe01bdfd48f7e8843246f90eb10df32c073b2f6bcf90d3a0d3039368b6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 335fbf0c635dc1295f616d715ba2db045f9a2db5dd71e818f52245e613b374a5
[INFO] running `Command { std: "docker" "start" "-a" "335fbf0c635dc1295f616d715ba2db045f9a2db5dd71e818f52245e613b374a5", kill_on_drop: false }`
[INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead
[INFO] [stderr]    --> src/lib.rs:232:23
[INFO] [stderr]     |
[INFO] [stderr] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `module` is never read
[INFO] [stderr]    --> src/instance.rs:130:5
[INFO] [stderr]     |
[INFO] [stderr] 127 | pub struct Instance {
[INFO] [stderr]     |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 130 |     module: Module,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Instance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `substrate-wasmtime` (lib) generated 2 warnings
[INFO] [stderr] warning: `substrate-wasmtime` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.66.0, wasmparser v0.57.0, wasmparser v0.59.0, wasmtime-debug v0.19.0, wasmtime-environ v0.19.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/substrate_wasmtime-51bffbb178098395)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test externals::tests::respect_tunables ... ok
[INFO] [stdout] test func::wasm_ty_roundtrip ... ok
[INFO] [stdout] test runtime::tests::cache_accounts_for_opt_level ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests substrate-wasmtime
[INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been renamed to `rustdoc::broken_intra_doc_links`
[INFO] [stderr]    --> src/lib.rs:232:23
[INFO] [stderr]     |
[INFO] [stderr] 232 | #![deny(missing_docs, intra_doc_link_resolution_failure)]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 41 tests
[INFO] [stdout] test src/externals.rs - externals::Memory::grow (line 891) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 41) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 410) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 441) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 479) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 179) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func::wrap (line 384) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 108) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::allow_shadowing (line 99) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 153) - compile ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory::new (line 750) ... FAILED
[INFO] [stdout] test src/func.rs - func::Func (line 72) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory::ty (line 778) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::func (line 188) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::new (line 73) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::instantiate (line 557) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::instance (line 236) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_binary (line 230) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 63) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_binary (line 218) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_file (line 180) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::get_export (line 478) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::define (line 137) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory (line 637) ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::module (line 305) ... FAILED
[INFO] [stdout] test src/externals.rs - externals::Memory (line 584) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 50) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::new (line 130) - compile ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::exports (line 430) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::exports (line 418) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module (line 39) - compile ... FAILED
[INFO] [stdout] test src/linker.rs - linker::Linker::module (line 334) ... FAILED
[INFO] [stdout] test src/trap.rs - trap::Trap::new (line 51) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::imports (line 360) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::new (line 143) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::imports (line 372) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::get_export (line 490) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::name (line 325) ... FAILED
[INFO] [stdout] test src/module.rs - module::Module::from_file (line 191) - compile ... FAILED
[INFO] [stdout] test src/runtime.rs - runtime::Store::interrupt_handle (line 1083) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/externals.rs - externals::Memory::grow (line 891) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:892:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:894:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:895:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/externals.rs:896:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, "(module (memory (export \"mem\") 1 2))")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/externals.rs:897:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:24:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:28:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let store = Store::default();
[INFO] [stdout]   |                 ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:40:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]   --> src/lib.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let host_hello = Func::wrap(&store, |param: i32| {
[INFO] [stdout]    |                      ^^^^ use of undeclared type `Func`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Func;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/lib.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let instance = Instance::new(&store, &module, &[host_hello.into()])?;
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 41) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:42:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/func.rs:44:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:45:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/func.rs:46:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, r#"(module (func (export "foo")))"#)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/func.rs:47:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 410) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:411:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:413:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:414:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let add = Func::wrap(&store, |a: i32, b: i32| {
[INFO] [stdout]   |           ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]  --> src/func.rs:417:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |         None => Err(Trap::new("overflow")),
[INFO] [stdout]   |                     ^^^^ use of undeclared type `Trap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_runtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:420:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:431:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 441) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:442:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:444:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:445:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let debug = Func::wrap(&store, |a: i32, b: u32, c: f32, d: i64, e: u64, f: f64| {
[INFO] [stdout]   |             ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:454:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:469:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | let instance = Instance::new(&store, &module, &[debug.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 479) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:482:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:484:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:485:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |               ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/func.rs:485:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Extern`
[INFO] [stdout]   --> src/func.rs:487:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extern::Memory(mem)) => mem,
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Extern`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extend::Memory(mem)) => mem,
[INFO] [stdout]    |              ~~~~~~
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Extern;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:488:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |         _ => return Err(Trap::new("failed to find host memory")),
[INFO] [stdout]    |                         ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:503:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 Err(_) => return Err(Trap::new("invalid utf-8")),
[INFO] [stdout]    |                                      ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/func.rs:505:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |             None => return Err(Trap::new("pointer/length out of bounds")),
[INFO] [stdout]    |                                ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:512:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:525:16
[INFO] [stdout]    |
[INFO] [stdout] 48 | let instance = Instance::new(&store, &module, &[log_str.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 179) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:182:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:184:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/lib.rs:185:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |               ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/lib.rs:185:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | let log_str = Func::wrap(&store, |caller: Caller<'_>, ptr: i32, len: i32| {
[INFO] [stdout]   |                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Extern`
[INFO] [stdout]   --> src/lib.rs:187:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extern::Memory(mem)) => mem,
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Extern`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Some(Extend::Memory(mem)) => mem,
[INFO] [stdout]    |              ~~~~~~
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Extern;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:188:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |         _ => return Err(Trap::new("failed to find host memory")),
[INFO] [stdout]    |                         ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:203:38
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 Err(_) => return Err(Trap::new("invalid utf-8")),
[INFO] [stdout]    |                                      ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trap`
[INFO] [stdout]   --> src/lib.rs:205:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |             None => return Err(Trap::new("pointer/length out of bounds")),
[INFO] [stdout]    |                                ^^^^ use of undeclared type `Trap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_runtime::Trap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:212:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/lib.rs:225:16
[INFO] [stdout]    |
[INFO] [stdout] 48 | let instance = Instance::new(&store, &module, &[log_str.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func::wrap (line 384) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:385:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:387:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:388:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let add = Func::wrap(&store, |a: i32, b: i32| a + b);
[INFO] [stdout]   |           ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/func.rs:389:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:400:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 108) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:109:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:111:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]  --> src/func.rs:115:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | let double_type = wasmtime::FuncType::new(
[INFO] [stdout]   |                   ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::FuncType;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::FuncType;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `FuncType`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 9 - let double_type = wasmtime::FuncType::new(
[INFO] [stdout] 9 + let double_type = FuncType::new(
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]   --> src/func.rs:116:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Box::new([wasmtime::ValType::I32]),
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ValType;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ValType`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 10 -     Box::new([wasmtime::ValType::I32]),
[INFO] [stdout] 10 +     Box::new([ValType::I32]),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]   --> src/func.rs:117:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Box::new([wasmtime::ValType::I32])
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ValType;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ValType`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 11 -     Box::new([wasmtime::ValType::I32])
[INFO] [stdout] 11 +     Box::new([ValType::I32])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]   --> src/func.rs:119:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let double = Func::new(&store, double_type, |_, params, results| {
[INFO] [stdout]    |              ^^^^ use of undeclared type `Func`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Func;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:126:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:138:16
[INFO] [stdout]    |
[INFO] [stdout] 32 | let instance = Instance::new(&store, &module, &[double.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::allow_shadowing (line 99) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:100:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:102:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:103:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 153) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/lib.rs:155:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `wasmtime_wasi`
[INFO] [stdout]  --> src/lib.rs:156:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime_wasi::{Wasi, WasiCtx};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `wasmtime_wasi`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime_jit::{Wasi, WasiCtx};
[INFO] [stdout]   |     ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/lib.rs:159:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/lib.rs:160:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/lib.rs:169:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | let module = Module::from_file(store.engine(), "foo.wasm")?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory::new (line 750) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:751:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:753:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:754:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryType`
[INFO] [stdout]  --> src/externals.rs:756:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | let memory_ty = MemoryType::new(Limits::new(1, None));
[INFO] [stdout]   |                 ^^^^^^^^^^ use of undeclared type `MemoryType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::MemoryType;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::MemoryType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Limits`
[INFO] [stdout]  --> src/externals.rs:756:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | let memory_ty = MemoryType::new(Limits::new(1, None));
[INFO] [stdout]   |                                 ^^^^^^ use of undeclared type `Limits`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Limits;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Memory`
[INFO] [stdout]  --> src/externals.rs:757:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let memory = Memory::new(&store, memory_ty);
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Memory`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Memory;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::wasm::Memory;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/externals.rs:759:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | let module = Module::new(&engine, "(module (memory (import \"\" \"\") 1))")?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/externals.rs:760:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | let instance = Instance::new(&store, &module, &[memory.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/func.rs - func::Func (line 72) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/func.rs:73:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/func.rs:75:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Func`
[INFO] [stdout]  --> src/func.rs:79:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | let add = Func::wrap(&store, |a: i32, b: i32| -> i32 { a + b });
[INFO] [stdout]   |           ^^^^ use of undeclared type `Func`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Func;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/func.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/func.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 27 | let instance = Instance::new(&store, &module, &[add.into()])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory::ty (line 778) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:779:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/externals.rs:781:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/externals.rs:782:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/externals.rs:783:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, "(module (memory (export \"mem\") 1))")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]  --> src/externals.rs:784:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::Instance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::func (line 188) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:189:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:191:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:192:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope
[INFO] [stdout]  --> src/linker.rs:195:41
[INFO] [stdout]   |
[INFO] [stdout] 9 | linker.func("host", "log_str", |caller: Caller, ptr: i32, len: i32| {
[INFO] [stdout]   |                                         ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Caller;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:206:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::new (line 73) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:74:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::{Linker, Store};
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::instantiate (line 557) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:558:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:560:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:561:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:569:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::instance (line 236) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:237:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:239:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:240:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:244:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:260:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_binary (line 230) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:231:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:233:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:234:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | assert!(Module::from_binary(&engine, b"(module)").is_err());
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 63) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:64:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:66:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:68:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, &wasm_bytes)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | let module = Module::new(&engine, "(module (func))")?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_binary (line 218) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:219:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:221:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:223:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::from_binary(&engine, wasm)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_file (line 180) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:181:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:183:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:184:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "./path/to/foo.wasm")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::get_export (line 478) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:479:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:481:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:482:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::define (line 137) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:138:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:140:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:141:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalType`
[INFO] [stdout]  --> src/linker.rs:142:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |          ^^^^^^^^^^ use of undeclared type `GlobalType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::GlobalType;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::GlobalType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValType`
[INFO] [stdout]  --> src/linker.rs:142:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |                          ^^^^^^^ use of undeclared type `ValType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::ValType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability`
[INFO] [stdout]  --> src/linker.rs:142:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | let ty = GlobalType::new(ValType::I32, Mutability::Const);
[INFO] [stdout]   |                                        ^^^^^^^^^^ use of undeclared type `Mutability`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Mutability;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Global`
[INFO] [stdout]  --> src/linker.rs:143:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | let global = Global::new(&store, ty, Val::I32(0x1234))?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Global`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use std::alloc::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmparser::Global;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::wasm::Global;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Val`
[INFO] [stdout]  --> src/linker.rs:143:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | let global = Global::new(&store, ty, Val::I32(0x1234))?;
[INFO] [stdout]   |                                      ^^^ use of undeclared type `Val`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Val;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:153:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory (line 637) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:639:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use wasmtime::Memory;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::module (line 305) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:306:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:308:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:309:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:315:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:326:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/externals.rs - externals::Memory (line 584) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/externals.rs:585:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::Memory;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 50) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:51:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:53:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:55:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::from_file(&engine, "path/to/foo.wat")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::new (line 130) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:131:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:133:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:135:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = Module::new(&engine, &wasm_bytes)?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::exports (line 430) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:431:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:433:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:440:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:447:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ExternType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:454:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ExternType::Memory(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ExternType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::exports (line 418) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:419:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:421:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:422:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module (line 39) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:40:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:42:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:43:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "path/to/foo.wasm")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/linker.rs - linker::Linker::module (line 334) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/linker.rs:335:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/linker.rs:337:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let store = Store::default();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker`
[INFO] [stdout]  --> src/linker.rs:338:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut linker = Linker::new(&store);
[INFO] [stdout]   |                  ^^^^^^ use of undeclared type `Linker`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Linker;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:353:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/linker.rs:372:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | let module = Module::new(store.engine(), wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/trap.rs - trap::Trap::new (line 51) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmtime`
[INFO] [stdout]  --> src/trap.rs:52:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let trap = wasmtime::Trap::new("unexpected error");
[INFO] [stdout]   |            ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_runtime::Trap;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Trap`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let trap = wasmtime::Trap::new("unexpected error");
[INFO] [stdout] 4 + let trap = Trap::new("unexpected error");
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::imports (line 360) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:361:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:363:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:364:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::new (line 143) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:144:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:146:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:147:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module (func))")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::imports (line 372) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:373:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:375:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:381:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:387:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ExternType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::get_export (line 490) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:491:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:493:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:500:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new(&engine, wat)?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExternType`
[INFO] [stdout]   --> src/module.rs:506:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ExternType::Func(_) => { /* ... */ }
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `ExternType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::ExternType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::name (line 325) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:326:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:328:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:329:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::new(&engine, "(module $foo)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:332:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let module = Module::new(&engine, "(module)")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/module.rs:335:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | let module = Module::new_with_name(&engine, "(module)", "bar")?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/module.rs - module::Module::from_file (line 191) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/module.rs:192:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/module.rs:194:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let engine = Engine::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]  --> src/module.rs:195:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let module = Module::from_file(&engine, "./path/to/foo.wat")?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Module;
[INFO] [stdout]   |
[INFO] [stdout] 3 + use wasmtime_environ::Module;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/runtime.rs - runtime::Store::interrupt_handle (line 1083) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `wasmtime`
[INFO] [stdout]  --> src/runtime.rs:1085:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasmtime::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `wasmtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Engine`
[INFO] [stdout]  --> src/runtime.rs:1089:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | let engine = Engine::new(Config::new().interruptable(true));
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Engine;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]  --> src/runtime.rs:1089:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | let engine = Engine::new(Config::new().interruptable(true));
[INFO] [stdout]   |                          ^^^^^^ use of undeclared type `Config`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Config;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store`
[INFO] [stdout]  --> src/runtime.rs:1090:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | let store = Store::new(&engine);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Store`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use substrate_wasmtime::Store;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> src/runtime.rs:1094:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let module = Module::new(&engine, r#"
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Module;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmtime_environ::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance`
[INFO] [stdout]   --> src/runtime.rs:1097:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | let instance = Instance::new(&store, &module, &[])?;
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `Instance`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use substrate_wasmtime::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use wasmparser::Instance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/externals.rs - externals::Memory (line 584)
[INFO] [stdout]     src/externals.rs - externals::Memory (line 637)
[INFO] [stdout]     src/externals.rs - externals::Memory::grow (line 891)
[INFO] [stdout]     src/externals.rs - externals::Memory::new (line 750)
[INFO] [stdout]     src/externals.rs - externals::Memory::ty (line 778)
[INFO] [stdout]     src/func.rs - func::Func (line 108)
[INFO] [stdout]     src/func.rs - func::Func (line 41)
[INFO] [stdout]     src/func.rs - func::Func (line 72)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 384)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 410)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 441)
[INFO] [stdout]     src/func.rs - func::Func::wrap (line 479)
[INFO] [stdout]     src/lib.rs - (line 153)
[INFO] [stdout]     src/lib.rs - (line 179)
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/linker.rs - linker::Linker::allow_shadowing (line 99)
[INFO] [stdout]     src/linker.rs - linker::Linker::define (line 137)
[INFO] [stdout]     src/linker.rs - linker::Linker::func (line 188)
[INFO] [stdout]     src/linker.rs - linker::Linker::instance (line 236)
[INFO] [stdout]     src/linker.rs - linker::Linker::instantiate (line 557)
[INFO] [stdout]     src/linker.rs - linker::Linker::module (line 305)
[INFO] [stdout]     src/linker.rs - linker::Linker::module (line 334)
[INFO] [stdout]     src/linker.rs - linker::Linker::new (line 73)
[INFO] [stdout]     src/module.rs - module::Module (line 39)
[INFO] [stdout]     src/module.rs - module::Module (line 50)
[INFO] [stdout]     src/module.rs - module::Module (line 63)
[INFO] [stdout]     src/module.rs - module::Module::exports (line 418)
[INFO] [stdout]     src/module.rs - module::Module::exports (line 430)
[INFO] [stdout]     src/module.rs - module::Module::from_binary (line 218)
[INFO] [stdout]     src/module.rs - module::Module::from_binary (line 230)
[INFO] [stdout]     src/module.rs - module::Module::from_file (line 180)
[INFO] [stdout]     src/module.rs - module::Module::from_file (line 191)
[INFO] [stdout]     src/module.rs - module::Module::get_export (line 478)
[INFO] [stdout]     src/module.rs - module::Module::get_export (line 490)
[INFO] [stdout]     src/module.rs - module::Module::imports (line 360)
[INFO] [stdout]     src/module.rs - module::Module::imports (line 372)
[INFO] [stdout]     src/module.rs - module::Module::name (line 325)
[INFO] [stdout]     src/module.rs - module::Module::new (line 130)
[INFO] [stdout]     src/module.rs - module::Module::new (line 143)
[INFO] [stdout]     src/runtime.rs - runtime::Store::interrupt_handle (line 1083)
[INFO] [stdout]     src/trap.rs - trap::Trap::new (line 51)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 41 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.98s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "335fbf0c635dc1295f616d715ba2db045f9a2db5dd71e818f52245e613b374a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "335fbf0c635dc1295f616d715ba2db045f9a2db5dd71e818f52245e613b374a5", kill_on_drop: false }`
[INFO] [stdout] 335fbf0c635dc1295f616d715ba2db045f9a2db5dd71e818f52245e613b374a5
