[INFO] fetching crate wasmtime-internal-component-macro 37.0.1... [INFO] testing wasmtime-internal-component-macro-37.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate wasmtime-internal-component-macro 37.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate wasmtime-internal-component-macro 37.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasmtime-internal-component-macro 37.0.1 [INFO] tweaked toml for crates.io crate wasmtime-internal-component-macro 37.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmtime-internal-component-macro 37.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wasmtime-internal-component-macro 37.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.26 [INFO] [stderr] Downloaded prettyplease v0.2.31 [INFO] [stderr] Downloaded similar v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92c387a850e718ca6a73d2d2fb0000faa40f7ecb948b91aefe03d366a2f7672e [INFO] running `Command { std: "docker" "start" "-a" "92c387a850e718ca6a73d2d2fb0000faa40f7ecb948b91aefe03d366a2f7672e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92c387a850e718ca6a73d2d2fb0000faa40f7ecb948b91aefe03d366a2f7672e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c387a850e718ca6a73d2d2fb0000faa40f7ecb948b91aefe03d366a2f7672e", kill_on_drop: false }` [INFO] [stdout] 92c387a850e718ca6a73d2d2fb0000faa40f7ecb948b91aefe03d366a2f7672e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae7d5378cb1879f2181251d70e141ac44ab59f90867c057f3cd6388d6ef30741 [INFO] running `Command { std: "docker" "start" "-a" "ae7d5378cb1879f2181251d70e141ac44ab59f90867c057f3cd6388d6ef30741", kill_on_drop: false }` [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.239.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [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 proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling wasmtime-internal-component-macro v37.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasmtime-internal-component-util v37.0.1 [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_derive v1.0.215 [INFO] [stderr] Compiling wit-parser v0.239.0 [INFO] [stderr] Compiling wasmtime-internal-wit-bindgen v37.0.1 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.56s [INFO] running `Command { std: "docker" "inspect" "ae7d5378cb1879f2181251d70e141ac44ab59f90867c057f3cd6388d6ef30741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7d5378cb1879f2181251d70e141ac44ab59f90867c057f3cd6388d6ef30741", kill_on_drop: false }` [INFO] [stdout] ae7d5378cb1879f2181251d70e141ac44ab59f90867c057f3cd6388d6ef30741 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb294e2d0558a7a0bf5cece9620834998f8b20a0a4b3fb943564d87d25e9f495 [INFO] running `Command { std: "docker" "start" "-a" "cb294e2d0558a7a0bf5cece9620834998f8b20a0a4b3fb943564d87d25e9f495", 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 log v0.4.27 [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.239.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling wasmtime-internal-component-util v37.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling similar v2.2.0 [INFO] [stderr] Compiling 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] 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.239.0 [INFO] [stderr] Compiling wasmtime-internal-wit-bindgen v37.0.1 [INFO] [stderr] Compiling wasmtime-internal-component-macro v37.0.1 (/opt/rustwide/workdir) [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:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | 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:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | 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:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | 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:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | 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:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | 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:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | 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:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | 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:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | 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:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | 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:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | 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:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | 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:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | 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:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | 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:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | 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:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | 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:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | 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:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | 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:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | 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:546:5 [INFO] [stdout] | [INFO] [stdout] 546 | 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:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | 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:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | 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:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | 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:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | 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:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | 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:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | 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:719:9 [INFO] [stdout] | [INFO] [stdout] 719 | 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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-internal-component-macro` (test "codegen_no_std") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: 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] 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-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 `demo` [INFO] [stdout] --> tests/codegen.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | 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:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | 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:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | 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:273:49 [INFO] [stdout] | [INFO] [stdout] 273 | 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:313:49 [INFO] [stdout] | [INFO] [stdout] 313 | 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:353:49 [INFO] [stdout] | [INFO] [stdout] 353 | 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:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | 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:481:14 [INFO] [stdout] | [INFO] [stdout] 481 | 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:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | 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:526:14 [INFO] [stdout] | [INFO] [stdout] 526 | 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:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | 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:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | 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:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | 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:272:14 [INFO] [stdout] | [INFO] [stdout] 272 | 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:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | 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:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | 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:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | 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:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | 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:412:14 [INFO] [stdout] | [INFO] [stdout] 412 | 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:460:14 [INFO] [stdout] | [INFO] [stdout] 460 | 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] [stderr] error: could not compile `wasmtime-internal-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:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | 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:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | 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:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | 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:392:34 [INFO] [stdout] | [INFO] [stdout] 392 | 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:413:34 [INFO] [stdout] | [INFO] [stdout] 413 | 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:461:34 [INFO] [stdout] | [INFO] [stdout] 461 | 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:467:14 [INFO] [stdout] | [INFO] [stdout] 467 | 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:468:34 [INFO] [stdout] | [INFO] [stdout] 468 | fn foo(&mut self) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:475:34 [INFO] [stdout] | [INFO] [stdout] 475 | fn foo(&mut self) -> wasmtime::Result<()> { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasmtime`, use `cargo add wasmtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasmtime` [INFO] [stdout] --> tests/codegen.rs:487:51 [INFO] [stdout] | [INFO] [stdout] 487 | 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:527:34 [INFO] [stdout] | [INFO] [stdout] 527 | 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:530:50 [INFO] [stdout] | [INFO] [stdout] 530 | 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:533:34 [INFO] [stdout] | [INFO] [stdout] 533 | 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:536:51 [INFO] [stdout] | [INFO] [stdout] 536 | 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" "cb294e2d0558a7a0bf5cece9620834998f8b20a0a4b3fb943564d87d25e9f495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb294e2d0558a7a0bf5cece9620834998f8b20a0a4b3fb943564d87d25e9f495", kill_on_drop: false }` [INFO] [stdout] cb294e2d0558a7a0bf5cece9620834998f8b20a0a4b3fb943564d87d25e9f495