[INFO] fetching crate wasmtime-component-macro 33.0.2... [INFO] checking wasmtime-component-macro-33.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate wasmtime-component-macro 33.0.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate wasmtime-component-macro 33.0.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasmtime-component-macro 33.0.2 [INFO] tweaked toml for crates.io crate wasmtime-component-macro 33.0.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmtime-component-macro 33.0.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wasmtime-component-macro 33.0.2 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6f561b901054561dfc89a9b456d2140c972fe64c7013f3217b08818adbdc9ab [INFO] running `Command { std: "docker" "start" "-a" "a6f561b901054561dfc89a9b456d2140c972fe64c7013f3217b08818adbdc9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6f561b901054561dfc89a9b456d2140c972fe64c7013f3217b08818adbdc9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f561b901054561dfc89a9b456d2140c972fe64c7013f3217b08818adbdc9ab", kill_on_drop: false }` [INFO] [stdout] a6f561b901054561dfc89a9b456d2140c972fe64c7013f3217b08818adbdc9ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 681f7b69ce973993c4b7b776e45afb072ca5cae7dec776817561aa9571104053 [INFO] running `Command { std: "docker" "start" "-a" "681f7b69ce973993c4b7b776e45afb072ca5cae7dec776817561aa9571104053", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling wasmparser v0.229.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Checking unicode-xid v0.2.3 [INFO] [stderr] Compiling wasmtime-component-macro v33.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking wasmtime-component-util v33.0.2 [INFO] [stderr] Checking similar v2.2.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking wit-parser v0.229.0 [INFO] [stderr] Checking wasmtime-wit-bindgen v33.0.2 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `component_macro_test_helpers` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `component_macro_test_helpers` [INFO] [stdout] --> tests/expanded.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | 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] [stderr] error: could not compile `wasmtime-component-macro` (test "codegen_no_std") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `my` [INFO] [stdout] --> tests/codegen.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | 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]: failed to resolve: use of unresolved module or unlinked crate `component_macro_test_helpers` [INFO] [stdout] --> tests/codegen.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 665 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:693:9 [INFO] [stdout] | [INFO] [stdout] 693 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `demo` [INFO] [stdout] --> tests/codegen.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | 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]: failed to resolve: use of unresolved module or unlinked crate `demo` [INFO] [stdout] --> tests/codegen.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | 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]: failed to resolve: use of unresolved module or unlinked crate `demo` [INFO] [stdout] --> tests/codegen.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | 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]: failed to resolve: could not find `foo` in `bindings` [INFO] [stdout] --> tests/codegen.rs:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | 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]: failed to resolve: could not find `foo` in `bindings` [INFO] [stdout] --> tests/codegen.rs:307:49 [INFO] [stdout] | [INFO] [stdout] 307 | 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]: failed to resolve: could not find `foo` in `bindings` [INFO] [stdout] --> tests/codegen.rs:347:49 [INFO] [stdout] | [INFO] [stdout] 347 | 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]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 472 | 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] [stderr] error: could not compile `wasmtime-component-macro` (test "expanded") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:515:14 [INFO] [stdout] | [INFO] [stdout] 515 | 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]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | 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:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | 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:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | 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:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | 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:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | 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:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | 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:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | 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:368:14 [INFO] [stdout] | [INFO] [stdout] 368 | 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:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | 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:407:14 [INFO] [stdout] | [INFO] [stdout] 407 | 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:451:14 [INFO] [stdout] | [INFO] [stdout] 451 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | 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]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | 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]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:387:34 [INFO] [stdout] | [INFO] [stdout] 387 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:408:34 [INFO] [stdout] | [INFO] [stdout] 408 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:452:34 [INFO] [stdout] | [INFO] [stdout] 452 | 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]: failed to resolve: use of unresolved module or unlinked crate `i` [INFO] [stdout] --> tests/codegen.rs:458:14 [INFO] [stdout] | [INFO] [stdout] 458 | impl i::Host for X { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `i` [INFO] [stdout] | help: a struct with a similar name exists: `R` [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] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:459:34 [INFO] [stdout] | [INFO] [stdout] 459 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:466:34 [INFO] [stdout] | [INFO] [stdout] 466 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:478:51 [INFO] [stdout] | [INFO] [stdout] 478 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:518:34 [INFO] [stdout] | [INFO] [stdout] 518 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:521:50 [INFO] [stdout] | [INFO] [stdout] 521 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:524:34 [INFO] [stdout] | [INFO] [stdout] 524 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:527:51 [INFO] [stdout] | [INFO] [stdout] 527 | 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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-component-macro` (test "codegen") due to 60 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "681f7b69ce973993c4b7b776e45afb072ca5cae7dec776817561aa9571104053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681f7b69ce973993c4b7b776e45afb072ca5cae7dec776817561aa9571104053", kill_on_drop: false }` [INFO] [stdout] 681f7b69ce973993c4b7b776e45afb072ca5cae7dec776817561aa9571104053