[INFO] fetching crate wasmtime-component-macro 34.0.1... [INFO] checking wasmtime-component-macro-34.0.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate wasmtime-component-macro 34.0.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate wasmtime-component-macro 34.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasmtime-component-macro 34.0.1 [INFO] tweaked toml for crates.io crate wasmtime-component-macro 34.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmtime-component-macro 34.0.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wasmtime-component-macro 34.0.1 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded similar v2.2.0 [INFO] [stderr] Downloaded wasmtime-component-util v34.0.1 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v34.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61e469dc2b41029545bd6a3c7a7aaac75b9f3e1ec25999a86af13f81c5cf022b [INFO] running `Command { std: "docker" "start" "-a" "61e469dc2b41029545bd6a3c7a7aaac75b9f3e1ec25999a86af13f81c5cf022b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61e469dc2b41029545bd6a3c7a7aaac75b9f3e1ec25999a86af13f81c5cf022b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e469dc2b41029545bd6a3c7a7aaac75b9f3e1ec25999a86af13f81c5cf022b", kill_on_drop: false }` [INFO] [stdout] 61e469dc2b41029545bd6a3c7a7aaac75b9f3e1ec25999a86af13f81c5cf022b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af5b6484c34874e7322b2ae48902fe3b4f3282495e3ee03d7f599a709160a569 [INFO] running `Command { std: "docker" "start" "-a" "af5b6484c34874e7322b2ae48902fe3b4f3282495e3ee03d7f599a709160a569", 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 serde_json v1.0.140 [INFO] [stderr] Compiling wasmparser v0.233.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking unicode-xid v0.2.3 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling wasmtime-component-macro v34.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking wasmtime-component-util v34.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking similar v2.2.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling 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] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling wit-parser v0.233.0 [INFO] [stderr] Checking wasmtime-wit-bindgen v34.0.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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 `component_macro_test_helpers` [INFO] [stdout] --> tests/expanded.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | 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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | 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:486:13 [INFO] [stdout] | [INFO] [stdout] 486 | 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 `my` [INFO] [stdout] --> tests/codegen.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | 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:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | 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:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 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:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | 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:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | 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:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | 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:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | 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:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | 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:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | 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:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | 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:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | 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:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | 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:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | 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 `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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | 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:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | 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:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | 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:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | 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:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | 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:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | 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:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | 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:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | 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:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | 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:711:9 [INFO] [stdout] | [INFO] [stdout] 711 | wasmtime::component::bindgen!({ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [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] 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-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] For more information about this error, try `rustc --explain E0433`. [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 `demo` [INFO] [stdout] --> tests/codegen.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | 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:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | 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:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | 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:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | 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:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | 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:348:49 [INFO] [stdout] | [INFO] [stdout] 348 | 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:466:14 [INFO] [stdout] | [INFO] [stdout] 466 | 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:473:14 [INFO] [stdout] | [INFO] [stdout] 473 | 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]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:516:14 [INFO] [stdout] | [INFO] [stdout] 516 | 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:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | 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:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | 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:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | 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:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | 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:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | 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:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | 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:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | 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:369:14 [INFO] [stdout] | [INFO] [stdout] 369 | 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:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | 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:408:14 [INFO] [stdout] | [INFO] [stdout] 408 | 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:452:14 [INFO] [stdout] | [INFO] [stdout] 452 | 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:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | 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] [stderr] error: could not compile `wasmtime-component-macro` (test "codegen") due to 60 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `foo` [INFO] [stdout] --> tests/codegen.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | 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:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | 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:388:34 [INFO] [stdout] | [INFO] [stdout] 388 | 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:409:34 [INFO] [stdout] | [INFO] [stdout] 409 | 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:453:34 [INFO] [stdout] | [INFO] [stdout] 453 | 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:459:14 [INFO] [stdout] | [INFO] [stdout] 459 | 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:460:34 [INFO] [stdout] | [INFO] [stdout] 460 | 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:467:34 [INFO] [stdout] | [INFO] [stdout] 467 | 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:479:51 [INFO] [stdout] | [INFO] [stdout] 479 | 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:519:34 [INFO] [stdout] | [INFO] [stdout] 519 | 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:522:50 [INFO] [stdout] | [INFO] [stdout] 522 | 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:525:34 [INFO] [stdout] | [INFO] [stdout] 525 | 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:528:51 [INFO] [stdout] | [INFO] [stdout] 528 | 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] running `Command { std: "docker" "inspect" "af5b6484c34874e7322b2ae48902fe3b4f3282495e3ee03d7f599a709160a569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af5b6484c34874e7322b2ae48902fe3b4f3282495e3ee03d7f599a709160a569", kill_on_drop: false }` [INFO] [stdout] af5b6484c34874e7322b2ae48902fe3b4f3282495e3ee03d7f599a709160a569