[INFO] fetching crate wasmtime-internal-component-macro 43.0.0... [INFO] testing wasmtime-internal-component-macro-43.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate wasmtime-internal-component-macro 43.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate wasmtime-internal-component-macro 43.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasmtime-internal-component-macro 43.0.0 [INFO] tweaked toml for crates.io crate wasmtime-internal-component-macro 43.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmtime-internal-component-macro 43.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wasmtime-internal-component-macro 43.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmtime-internal-component-util v43.0.0 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded ryu v1.0.9 [INFO] [stderr] Downloaded prettyplease v0.2.31 [INFO] [stderr] Downloaded wasmtime-internal-wit-bindgen v43.0.0 [INFO] [stderr] Downloaded wasmparser v0.245.0 [INFO] [stderr] Downloaded wit-parser v0.245.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68748af06a46e299b16747b78279400ec0d03073cd399cc59df3efcb227f4e4f [INFO] running `Command { std: "docker" "start" "-a" "68748af06a46e299b16747b78279400ec0d03073cd399cc59df3efcb227f4e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68748af06a46e299b16747b78279400ec0d03073cd399cc59df3efcb227f4e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68748af06a46e299b16747b78279400ec0d03073cd399cc59df3efcb227f4e4f", kill_on_drop: false }` [INFO] [stdout] 68748af06a46e299b16747b78279400ec0d03073cd399cc59df3efcb227f4e4f [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38f5a9ece8dda1ddb9c3b1349825b39cbf68360e5aac4eaa2bec6b547403e710 [INFO] running `Command { std: "docker" "start" "-a" "38f5a9ece8dda1ddb9c3b1349825b39cbf68360e5aac4eaa2bec6b547403e710", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling wasmparser v0.245.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling id-arena v2.3.0 [INFO] [stderr] Compiling wasmtime-internal-component-macro v43.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasmtime-internal-component-util v43.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling wit-parser v0.245.0 [INFO] [stderr] Compiling wasmtime-internal-wit-bindgen v43.0.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.23s [INFO] running `Command { std: "docker" "inspect" "38f5a9ece8dda1ddb9c3b1349825b39cbf68360e5aac4eaa2bec6b547403e710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f5a9ece8dda1ddb9c3b1349825b39cbf68360e5aac4eaa2bec6b547403e710", kill_on_drop: false }` [INFO] [stdout] 38f5a9ece8dda1ddb9c3b1349825b39cbf68360e5aac4eaa2bec6b547403e710 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40223d826e630ced1a9594a15177006ab8289afd6a8c10ff0d6318507c429ac1 [INFO] running `Command { std: "docker" "start" "-a" "40223d826e630ced1a9594a15177006ab8289afd6a8c10ff0d6318507c429ac1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling id-arena v2.3.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling wasmparser v0.245.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling wasmtime-internal-component-util v43.0.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling wit-parser v0.245.0 [INFO] [stderr] Compiling wasmtime-internal-wit-bindgen v43.0.0 [INFO] [stderr] Compiling wasmtime-internal-component-macro v43.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `component_macro_test_helpers` in this scope [INFO] [stdout] --> tests/codegen_no_std.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | component_macro_test_helpers::foreach!(gentest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `component_macro_test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `gentest` [INFO] [stdout] --> tests/codegen_no_std.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! gentest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-internal-component-macro` (test "codegen_no_std") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use wasmtime::component::Resource; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/expanded.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::{Result, bail, error::Context}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> tests/expanded.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasmtime::{Result, bail, error::Context}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `component_macro_test_helpers` in this scope [INFO] [stdout] --> tests/expanded.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | component_macro_test_helpers::foreach!(genexpand); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `component_macro_test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | use wasmtime::component::Resource; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | use wasmtime::component::Resource; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `my` in this scope [INFO] [stdout] --> tests/codegen.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | use my::inline::blah::{Abc, Foo, Host}; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `my` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `my`, use `cargo add my` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `test` in this scope [INFO] [stdout] --> tests/codegen.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | use test::async_import::blah::Host; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test`, use `cargo add test` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> tests/codegen.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use wasmtime::Result; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `component_macro_test_helpers` in this scope [INFO] [stdout] --> tests/codegen.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | component_macro_test_helpers::foreach!(gentest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `component_macro_test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `genexpand` [INFO] [stdout] --> tests/expanded.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! genexpand { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:742:9 [INFO] [stdout] | [INFO] [stdout] 742 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 797 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_context` found for enum `Result` in the current scope [INFO] [stdout] --> tests/expanded.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | Err(err) => return Err(err).with_context(|| { [INFO] [stdout] | ---------^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:628:8 [INFO] [stdout] | [INFO] [stdout] 628 | fn with_context(self, f: F) -> Result [INFO] [stdout] | ------------ the method is available for `Result<_, std::io::Error>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Context` which provides `with_context` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use anyhow::Context; [INFO] [stdout] | [INFO] [stdout] help: there is a method `context` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 - Err(err) => return Err(err).with_context(|| { [INFO] [stdout] 64 + Err(err) => return Err(err).context(|| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-internal-component-macro` (test "expanded") due to 4 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `demo` in this scope [INFO] [stdout] --> tests/codegen.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | impl demo::pkg::bar::Host for MyComponent {} [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `demo`, use `cargo add demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `demo` in this scope [INFO] [stdout] --> tests/codegen.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | impl demo::pkg::bar::HostA for MyComponent { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `demo`, use `cargo add demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `demo` in this scope [INFO] [stdout] --> tests/codegen.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | impl demo::pkg::bar::HostB for MyComponent { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `demo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `demo`, use `cargo add demo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `foo` in `bindings` [INFO] [stdout] --> tests/codegen.rs:280:49 [INFO] [stdout] | [INFO] [stdout] 280 | fn x(&mut self) -> super::bindings::foo::foo::a::T { [INFO] [stdout] | ^^^ could not find `foo` in `bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `foo` in `bindings` [INFO] [stdout] --> tests/codegen.rs:320:49 [INFO] [stdout] | [INFO] [stdout] 320 | fn x(&mut self) -> super::bindings::foo::foo::a::T { [INFO] [stdout] | ^^^ could not find `foo` in `bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `foo` in `bindings` [INFO] [stdout] --> tests/codegen.rs:360:49 [INFO] [stdout] | [INFO] [stdout] 360 | fn x(&mut self) -> super::bindings::foo::foo::a::T { [INFO] [stdout] | ^^^ could not find `foo` in `bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope [INFO] [stdout] --> tests/codegen.rs:481:14 [INFO] [stdout] | [INFO] [stdout] 481 | impl foo::foo::a::Host for X { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope [INFO] [stdout] --> tests/codegen.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | impl foo::foo::a::HostR for X { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope [INFO] [stdout] --> tests/codegen.rs:531:14 [INFO] [stdout] | [INFO] [stdout] 531 | impl foo::foo::a::Host for X {} [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope [INFO] [stdout] --> tests/codegen.rs:533:14 [INFO] [stdout] | [INFO] [stdout] 533 | impl foo::foo::a::HostR for X { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooImports` in this scope [INFO] [stdout] --> tests/codegen.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | impl FooImports for MyComponent {} [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HostA` in this scope [INFO] [stdout] --> tests/codegen.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | impl HostA for MyComponent { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `HostB` in this scope [INFO] [stdout] --> tests/codegen.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | impl HostB for MyComponent { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooImports` in this scope [INFO] [stdout] --> tests/codegen.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | impl FooImports for X { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooImports` in this scope [INFO] [stdout] --> tests/codegen.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 319 | impl FooImports for X { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooImports` in this scope [INFO] [stdout] --> tests/codegen.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | impl FooImports for X { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooImports` in this scope [INFO] [stdout] --> tests/codegen.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | impl FooImports for X { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooImports` in this scope [INFO] [stdout] --> tests/codegen.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | impl FooImports for X { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooImports` in this scope [INFO] [stdout] --> tests/codegen.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 419 | impl FooImports for X { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FooImports` in this scope [INFO] [stdout] --> tests/codegen.rs:467:14 [INFO] [stdout] | [INFO] [stdout] 467 | impl FooImports for X { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `gentest` [INFO] [stdout] --> tests/codegen.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! gentest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope [INFO] [stdout] --> tests/codegen.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | impl foo::Host for MyComponent {} [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope [INFO] [stdout] --> tests/codegen.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | impl foo::HostA for MyComponent { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `foo` in this scope [INFO] [stdout] --> tests/codegen.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | impl foo::HostB for MyComponent { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `foo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `foo`, use `cargo add foo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:399:34 [INFO] [stdout] | [INFO] [stdout] 399 | fn foo(&mut self) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:420:34 [INFO] [stdout] | [INFO] [stdout] 420 | fn foo(&mut self) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:468:34 [INFO] [stdout] | [INFO] [stdout] 468 | fn foo(&mut self) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `i` in this scope [INFO] [stdout] --> tests/codegen.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | impl i::Host for X { [INFO] [stdout] | ^ use of unresolved module or unlinked crate `i` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `i`, use `cargo add i` to add it to your `Cargo.toml` [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 474 - impl i::Host for X { [INFO] [stdout] 474 + impl R::Host for X { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:475:34 [INFO] [stdout] | [INFO] [stdout] 475 | fn foo(&mut self) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:482:34 [INFO] [stdout] | [INFO] [stdout] 482 | fn foo(&mut self) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:494:51 [INFO] [stdout] | [INFO] [stdout] 494 | fn drop(&mut self, _: Resource) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:534:34 [INFO] [stdout] | [INFO] [stdout] 534 | fn new(&mut self) -> wasmtime::Result> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:537:50 [INFO] [stdout] | [INFO] [stdout] 537 | fn foo(&mut self, _: Resource) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:540:34 [INFO] [stdout] | [INFO] [stdout] 540 | fn bar(&mut self) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasmtime` in this scope [INFO] [stdout] --> tests/codegen.rs:543:51 [INFO] [stdout] | [INFO] [stdout] 543 | fn drop(&mut self, _: Resource) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-internal-component-macro` (test "codegen") due to 65 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "40223d826e630ced1a9594a15177006ab8289afd6a8c10ff0d6318507c429ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40223d826e630ced1a9594a15177006ab8289afd6a8c10ff0d6318507c429ac1", kill_on_drop: false }` [INFO] [stdout] 40223d826e630ced1a9594a15177006ab8289afd6a8c10ff0d6318507c429ac1