[INFO] fetching crate wasmtime-internal-component-macro 36.0.2... [INFO] testing wasmtime-internal-component-macro-36.0.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate wasmtime-internal-component-macro 36.0.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate wasmtime-internal-component-macro 36.0.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasmtime-internal-component-macro 36.0.2 [INFO] tweaked toml for crates.io crate wasmtime-internal-component-macro 36.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmtime-internal-component-macro 36.0.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wasmtime-internal-component-macro 36.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ded20990cfbceb44cce3caa5c3f639f20cdf70115461c8eadb5251898e01fb64 [INFO] running `Command { std: "docker" "start" "-a" "ded20990cfbceb44cce3caa5c3f639f20cdf70115461c8eadb5251898e01fb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ded20990cfbceb44cce3caa5c3f639f20cdf70115461c8eadb5251898e01fb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ded20990cfbceb44cce3caa5c3f639f20cdf70115461c8eadb5251898e01fb64", kill_on_drop: false }` [INFO] [stdout] ded20990cfbceb44cce3caa5c3f639f20cdf70115461c8eadb5251898e01fb64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a864f742d1f388ea05e455f5bef21ddc6bec3446dad8687b4900cd5efde1d4ed [INFO] running `Command { std: "docker" "start" "-a" "a864f742d1f388ea05e455f5bef21ddc6bec3446dad8687b4900cd5efde1d4ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling wasmparser v0.236.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling wasmtime-internal-component-macro v36.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasmtime-internal-component-util v36.0.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling wit-parser v0.236.0 [INFO] [stderr] Compiling wasmtime-internal-wit-bindgen v36.0.2 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.18s [INFO] running `Command { std: "docker" "inspect" "a864f742d1f388ea05e455f5bef21ddc6bec3446dad8687b4900cd5efde1d4ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a864f742d1f388ea05e455f5bef21ddc6bec3446dad8687b4900cd5efde1d4ed", kill_on_drop: false }` [INFO] [stdout] a864f742d1f388ea05e455f5bef21ddc6bec3446dad8687b4900cd5efde1d4ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7834aa298071f261881323ed2c216394b6a2b1794ee66f01bf94e5d9266658b [INFO] running `Command { std: "docker" "start" "-a" "d7834aa298071f261881323ed2c216394b6a2b1794ee66f01bf94e5d9266658b", 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 bitflags v2.6.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling wasmparser v0.236.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling wasmtime-internal-component-util v36.0.2 [INFO] [stderr] Compiling similar v2.2.0 [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] Compiling tracing v0.1.37 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling wit-parser v0.236.0 [INFO] [stderr] Compiling wasmtime-internal-wit-bindgen v36.0.2 [INFO] [stderr] Compiling wasmtime-internal-component-macro v36.0.2 (/opt/rustwide/workdir) [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 `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 `component_macro_test_helpers` [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]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | 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:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | 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:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | 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] 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] 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] 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-internal-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 `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:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | 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:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | 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:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | 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:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | 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:540:5 [INFO] [stdout] | [INFO] [stdout] 540 | 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:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | 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:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | 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:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | 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:668:9 [INFO] [stdout] | [INFO] [stdout] 668 | 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:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | 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:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | 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:713:9 [INFO] [stdout] | [INFO] [stdout] 713 | 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 `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:468:14 [INFO] [stdout] | [INFO] [stdout] 468 | 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:475:14 [INFO] [stdout] | [INFO] [stdout] 475 | 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:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | 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:520:14 [INFO] [stdout] | [INFO] [stdout] 520 | 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:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | 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:385:14 [INFO] [stdout] | [INFO] [stdout] 385 | 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:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | 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:454:14 [INFO] [stdout] | [INFO] [stdout] 454 | 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]: 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:386:34 [INFO] [stdout] | [INFO] [stdout] 386 | 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:407:34 [INFO] [stdout] | [INFO] [stdout] 407 | 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:455:34 [INFO] [stdout] | [INFO] [stdout] 455 | 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:461:14 [INFO] [stdout] | [INFO] [stdout] 461 | 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:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | 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:469:34 [INFO] [stdout] | [INFO] [stdout] 469 | 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:481:51 [INFO] [stdout] | [INFO] [stdout] 481 | 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:521:34 [INFO] [stdout] | [INFO] [stdout] 521 | 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:524:50 [INFO] [stdout] | [INFO] [stdout] 524 | 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:527:34 [INFO] [stdout] | [INFO] [stdout] 527 | 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:530:51 [INFO] [stdout] | [INFO] [stdout] 530 | 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-internal-component-macro` (test "codegen") due to 60 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d7834aa298071f261881323ed2c216394b6a2b1794ee66f01bf94e5d9266658b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7834aa298071f261881323ed2c216394b6a2b1794ee66f01bf94e5d9266658b", kill_on_drop: false }` [INFO] [stdout] d7834aa298071f261881323ed2c216394b6a2b1794ee66f01bf94e5d9266658b