[INFO] fetching crate wit-bindgen-wrpc-rust 0.10.0... [INFO] testing wit-bindgen-wrpc-rust-0.10.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate wit-bindgen-wrpc-rust 0.10.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate wit-bindgen-wrpc-rust 0.10.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wit-bindgen-wrpc-rust 0.10.0 [INFO] tweaked toml for crates.io crate wit-bindgen-wrpc-rust 0.10.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wit-bindgen-wrpc-rust 0.10.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wit-bindgen-wrpc-rust 0.10.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f2f388cca68af2acf83d6b421052ba53ca457905173bd08d2318a7aaee7f37 [INFO] running `Command { std: "docker" "start" "-a" "e3f2f388cca68af2acf83d6b421052ba53ca457905173bd08d2318a7aaee7f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f2f388cca68af2acf83d6b421052ba53ca457905173bd08d2318a7aaee7f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f2f388cca68af2acf83d6b421052ba53ca457905173bd08d2318a7aaee7f37", kill_on_drop: false }` [INFO] [stdout] e3f2f388cca68af2acf83d6b421052ba53ca457905173bd08d2318a7aaee7f37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdeb7e7fc19085038b4443723d5ef15fe46af1495ffdda01d70b55de8625ba6c [INFO] running `Command { std: "docker" "start" "-a" "cdeb7e7fc19085038b4443723d5ef15fe46af1495ffdda01d70b55de8625ba6c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling wit-bindgen-wrpc-rust v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling wasmparser v0.220.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling wit-parser v0.220.1 [INFO] [stderr] Compiling wrpc-introspect v0.7.0 [INFO] [stderr] Compiling wit-bindgen-core v0.36.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.22s [INFO] running `Command { std: "docker" "inspect" "cdeb7e7fc19085038b4443723d5ef15fe46af1495ffdda01d70b55de8625ba6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdeb7e7fc19085038b4443723d5ef15fe46af1495ffdda01d70b55de8625ba6c", kill_on_drop: false }` [INFO] [stdout] cdeb7e7fc19085038b4443723d5ef15fe46af1495ffdda01d70b55de8625ba6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70dda0e8fc6ea45d51b7545f6befcb34b2f5e9705aa9a1dd0b43244d55d7e146 [INFO] running `Command { std: "docker" "start" "-a" "70dda0e8fc6ea45d51b7545f6befcb34b2f5e9705aa9a1dd0b43244d55d7e146", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling send-future v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling leb128-tokio v0.1.6 [INFO] [stderr] Compiling utf8-tokio v0.2.1 [INFO] [stderr] Compiling wasm-tokio v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling wit-parser v0.220.1 [INFO] [stderr] Compiling wrpc-transport v0.28.4 [INFO] [stderr] Compiling wit-bindgen-core v0.36.0 [INFO] [stderr] Compiling wrpc-introspect v0.7.0 [INFO] [stderr] Compiling wit-bindgen-wrpc-rust v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 103 - use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] 103 + use wit_bindgen_core::futures::stream::TryStreamExt as _; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 174 - use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] 174 + use wit_bindgen_core::futures::stream::TryStreamExt as _; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 209 - use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] 209 + use wit_bindgen_core::futures::stream::TryStreamExt as _; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use exports::my::inline::foo::Bar; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | use wit_bindgen_wrpc::bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 230 - use wit_bindgen_wrpc::bytes::Bytes; [INFO] [stdout] 230 + use wit_bindgen_core::bytes::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 275 - use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] 275 + use wit_bindgen_core::futures::stream::TryStreamExt as _; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | use exports::my::inline::foo::Bar; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | use wit_bindgen_wrpc::bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 290 - use wit_bindgen_wrpc::bytes::Bytes; [INFO] [stdout] 290 + use wit_bindgen_core::bytes::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 323 - use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] 323 + use wit_bindgen_core::futures::stream::TryStreamExt as _; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | use exports::my::inline::blah::Foo; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 383 - use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] 383 + use wit_bindgen_core::futures::stream::TryStreamExt as _; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | use exports::foo::bar::component::UnusedEnum; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `exports` [INFO] [stdout] --> tests/codegen.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | use exports::foo::bar::component::UnusedRecord; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `exports` [INFO] [stdout] --> tests/codegen.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | use exports::foo::bar::component::UnusedVariant; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 639 - use wit_bindgen_wrpc::futures::stream::TryStreamExt as _; [INFO] [stdout] 639 + use wit_bindgen_core::futures::stream::TryStreamExt as _; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | use exports::my::test::logging::{Handler, HandlerLogger, Level, Logger}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) use wit_bindgen_wrpc::bitflags as my_bitflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 203 - pub(crate) use wit_bindgen_wrpc::bitflags as my_bitflags; [INFO] [stdout] 203 + pub(crate) use wit_bindgen_core::bitflags as my_bitflags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] --> tests/codegen.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | test_helpers::codegen_tests!(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:528:5 [INFO] [stdout] | [INFO] [stdout] 528 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:595:5 [INFO] [stdout] | [INFO] [stdout] 595 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 659 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 770 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:839:5 [INFO] [stdout] | [INFO] [stdout] 839 | wit_bindgen_wrpc::generate!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | wrpc: &impl wit_bindgen_wrpc::wrpc_transport::Invoke, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 66 - wrpc: &impl wit_bindgen_wrpc::wrpc_transport::Invoke, [INFO] [stdout] 66 + wrpc: &impl wit_bindgen_core::wrpc_transport::Invoke, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | impl exports::exports::Handler for Component { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 108 - wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] 108 + wit_bindgen_core::tokio::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | impl exports::my::inline::foo1::Handler for Component { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `exports` [INFO] [stdout] --> tests/codegen.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | impl exports::my::inline::foo2::Handler for Component { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `exports` [INFO] [stdout] --> tests/codegen.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | impl exports::my::inline::bar1::Handler for Component { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `exports` [INFO] [stdout] --> tests/codegen.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | impl exports::my::inline::bar2::Handler for Component { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 179 - wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] 179 + wit_bindgen_core::tokio::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 214 - wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] 214 + wit_bindgen_core::tokio::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | impl exports::my::inline::foo::HandlerBar for Component { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `exports` [INFO] [stdout] --> tests/codegen.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | impl exports::my::inline::foo::Handler for Component {} [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 280 - wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] 280 + wit_bindgen_core::tokio::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | impl exports::my::inline::foo::HandlerBar for Component { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `exports` [INFO] [stdout] --> tests/codegen.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | impl exports::my::inline::foo::Handler for Component {} [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 328 - wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] 328 + wit_bindgen_core::tokio::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | impl exports::my::inline::blah::Handler for Component { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 388 - wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] 388 + wit_bindgen_core::tokio::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | wrpc: &impl wit_bindgen_wrpc::wrpc_transport::Invoke, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 443 - wrpc: &impl wit_bindgen_wrpc::wrpc_transport::Invoke, [INFO] [stdout] 443 + wrpc: &impl wit_bindgen_core::wrpc_transport::Invoke, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `my` in `other` [INFO] [stdout] --> tests/codegen.rs:445:26 [INFO] [stdout] | [INFO] [stdout] 445 | let msg = other::my::inline::foo::Msg { [INFO] [stdout] | ^^ could not find `my` in `other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `my` [INFO] [stdout] --> tests/codegen.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | my::inline::bar::bar(wrpc, (), &msg).await?; [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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:544:25 [INFO] [stdout] | [INFO] [stdout] 544 | fn _foo(wrpc: &impl wit_bindgen_wrpc::wrpc_transport::Invoke) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 544 - fn _foo(wrpc: &impl wit_bindgen_wrpc::wrpc_transport::Invoke) { [INFO] [stdout] 544 + fn _foo(wrpc: &impl wit_bindgen_core::wrpc_transport::Invoke) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `exports` [INFO] [stdout] --> tests/codegen.rs:632:21 [INFO] [stdout] | [INFO] [stdout] 632 | impl exports::b::Handler for MyComponent { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports`, use `cargo add exports` 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 `wit_bindgen_wrpc` [INFO] [stdout] --> tests/codegen.rs:644:13 [INFO] [stdout] | [INFO] [stdout] 644 | wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_wrpc` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 644 - wit_bindgen_wrpc::tokio::spawn(async move { [INFO] [stdout] 644 + wit_bindgen_core::tokio::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> tests/codegen.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | impl Handler for Component { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bar` in this scope [INFO] [stdout] --> tests/codegen.rs:222:61 [INFO] [stdout] | [INFO] [stdout] 222 | async fn get_flag(&self, cx: Ctx) -> anyhow::Result { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 221 | impl Handler for Component { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Celsius` in this scope [INFO] [stdout] --> tests/codegen.rs:862:25 [INFO] [stdout] | [INFO] [stdout] 862 | let in_celsius: Celsius = convert_to_celsius(wrpc, (), ¤t_temp).await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cat` [INFO] [stdout] --> tests/codegen.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | cat::foo(wrpc, (), "hello").await?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `cat` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cat`, use `cargo add cat` 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 `cat` [INFO] [stdout] --> tests/codegen.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let _t: String = cat::bar(wrpc, ()).await?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `cat` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cat`, use `cargo add cat` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bar` [INFO] [stdout] --> tests/codegen.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | Ok(Bar::BAZ) [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> tests/codegen.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | let invocations = serve(wrpc, Component).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> tests/codegen.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | let invocations = serve(wrpc, Component).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> tests/codegen.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let invocations = serve(wrpc, Component).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> tests/codegen.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | let invocations = serve(wrpc, Component).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> tests/codegen.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let invocations = serve(wrpc, Component).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> tests/codegen.rs:385:27 [INFO] [stdout] | [INFO] [stdout] 385 | let invocations = serve(wrpc, Component).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `y` in this scope [INFO] [stdout] --> tests/codegen.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | y(wrpc, ()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `z` in this scope [INFO] [stdout] --> tests/codegen.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | z(wrpc, ()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> tests/codegen.rs:641:27 [INFO] [stdout] | [INFO] [stdout] 641 | let invocations = serve(wrpc, MyComponent).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serve` in this scope [INFO] [stdout] --> tests/codegen.rs:757:27 [INFO] [stdout] | [INFO] [stdout] 757 | let invocations = serve(wrpc, MyComponent::default()).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wit-bindgen-wrpc-rust` (test "codegen") due to 80 previous errors [INFO] [stdout] error[E0425]: cannot find function `what_temperature_is_it` in this scope [INFO] [stdout] --> tests/codegen.rs:860:28 [INFO] [stdout] | [INFO] [stdout] 860 | let current_temp = what_temperature_is_it(wrpc, ()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `convert_to_celsius` in this scope [INFO] [stdout] --> tests/codegen.rs:862:35 [INFO] [stdout] | [INFO] [stdout] 862 | let in_celsius: Celsius = convert_to_celsius(wrpc, (), ¤t_temp).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "70dda0e8fc6ea45d51b7545f6befcb34b2f5e9705aa9a1dd0b43244d55d7e146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70dda0e8fc6ea45d51b7545f6befcb34b2f5e9705aa9a1dd0b43244d55d7e146", kill_on_drop: false }` [INFO] [stdout] 70dda0e8fc6ea45d51b7545f6befcb34b2f5e9705aa9a1dd0b43244d55d7e146