[INFO] fetching crate wit-bindgen-gen-guest-rust 0.3.0... [INFO] checking wit-bindgen-gen-guest-rust-0.3.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate wit-bindgen-gen-guest-rust 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate wit-bindgen-gen-guest-rust 0.3.0 [INFO] finished tweaking crates.io crate wit-bindgen-gen-guest-rust 0.3.0 [INFO] tweaked toml for crates.io crate wit-bindgen-gen-guest-rust 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wit-bindgen-gen-guest-rust 0.3.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding wit-bindgen-core v0.3.0 (available: v0.45.0) [INFO] [stderr] Adding wit-component v0.6.0 (available: v0.238.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wit-parser v0.6.4 [INFO] [stderr] Downloaded wit-bindgen-core v0.3.0 [INFO] [stderr] Downloaded wasm-metadata v0.1.2 [INFO] [stderr] Downloaded wasm-encoder v0.23.0 [INFO] [stderr] Downloaded wit-component v0.6.0 [INFO] [stderr] Downloaded wit-bindgen-gen-rust-lib v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e02be7bff04ee9e169f88b2b9251939d0a7047a71af0d4b170d0db720ec19eb [INFO] running `Command { std: "docker" "start" "-a" "5e02be7bff04ee9e169f88b2b9251939d0a7047a71af0d4b170d0db720ec19eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e02be7bff04ee9e169f88b2b9251939d0a7047a71af0d4b170d0db720ec19eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e02be7bff04ee9e169f88b2b9251939d0a7047a71af0d4b170d0db720ec19eb", kill_on_drop: false }` [INFO] [stdout] 5e02be7bff04ee9e169f88b2b9251939d0a7047a71af0d4b170d0db720ec19eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33af2a5fc443c8693e490a027ca960d36b2b9a37236fd65f7cf48a5e05a1d66a [INFO] running `Command { std: "docker" "start" "-a" "33af2a5fc443c8693e490a027ca960d36b2b9a37236fd65f7cf48a5e05a1d66a", kill_on_drop: false }` [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Compiling wit-bindgen-gen-guest-rust v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking wasm-encoder v0.23.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking wasmparser v0.100.0 [INFO] [stderr] Checking wit-parser v0.6.4 [INFO] [stderr] Checking wasm-metadata v0.1.2 [INFO] [stderr] Checking wit-component v0.6.0 [INFO] [stderr] Checking wit-bindgen-core v0.3.0 [INFO] [stderr] Checking wit-bindgen-gen-rust-lib v0.3.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:835:17 [INFO] [stdout] | [INFO] [stdout] 835 | fn rust_gen(&self) -> &dyn RustGenerator { [INFO] [stdout] | ^^^^^ ------------------ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 835 | fn rust_gen(&self) -> &dyn RustGenerator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:835:17 [INFO] [stdout] | [INFO] [stdout] 835 | fn rust_gen(&self) -> &dyn RustGenerator { [INFO] [stdout] | ^^^^^ ------------------ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 835 | fn rust_gen(&self) -> &dyn RustGenerator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `export_baz` [INFO] [stdout] --> tests/codegen_no_std.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | pub(crate) use export_baz; [INFO] [stdout] | ^^^^^^^^^^ no external crate `export_baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] --> tests/codegen_no_std.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | test_helpers::codegen_tests!("*.wit"); [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` [INFO] [stdout] --> tests/codegen_no_std.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] --> tests/codegen_no_std.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] --> tests/codegen_no_std.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] --> tests/codegen_no_std.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] --> tests/codegen_no_std.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `export_baz` [INFO] [stdout] --> tests/codegen.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) use export_baz; [INFO] [stdout] | ^^^^^^^^^^ no external crate `export_baz` [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:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | test_helpers::codegen_tests!("*.wit"); [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` [INFO] [stdout] --> tests/codegen.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] --> tests/codegen.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] --> tests/codegen.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] --> tests/codegen.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] --> tests/codegen.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | wit_bindgen::generate!({ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jam` in this scope [INFO] [stdout] --> tests/codegen_no_std.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | jam!(Component); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `export_baz` in this scope [INFO] [stdout] --> tests/codegen_no_std.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | export_baz!(Component); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `jam` in this scope [INFO] [stdout] --> tests/codegen.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | jam!(Component); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `export_baz` in this scope [INFO] [stdout] --> tests/codegen.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | export_baz!(Component); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `exports1` in `bindings` [INFO] [stdout] --> tests/codegen_no_std.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | impl bindings::exports1::Exports1 for Component { [INFO] [stdout] | ^^^^^^^^ could not find `exports1` in `bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `exports1` in `bindings` [INFO] [stdout] --> tests/codegen.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | impl bindings::exports1::Exports1 for Component { [INFO] [stdout] | ^^^^^^^^ could not find `exports1` in `bindings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cat` [INFO] [stdout] --> tests/codegen_no_std.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | cat::foo("hello"); [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_no_std.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | let _t: String = cat::bar(); [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_no_std.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | cat::foo(b"hello"); [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_no_std.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let _t: Vec = cat::bar(); [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 `exports2` [INFO] [stdout] --> tests/codegen_no_std.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | impl exports2::Exports2 for Component { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `exports2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports2`, use `cargo add exports2` 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_no_std.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | impl exports::Exports 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wit-bindgen-gen-guest-rust` (test "codegen_no_std") due to 16 previous errors [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 `cat` [INFO] [stdout] --> tests/codegen.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | cat::foo("hello"); [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:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let _t: String = cat::bar(); [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:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | cat::foo(b"hello"); [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:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let _t: Vec = cat::bar(); [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 `exports2` [INFO] [stdout] --> tests/codegen.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | impl exports2::Exports2 for Component { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `exports2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `exports2`, use `cargo add exports2` 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:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | impl exports::Exports 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wit-bindgen-gen-guest-rust` (test "codegen") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "33af2a5fc443c8693e490a027ca960d36b2b9a37236fd65f7cf48a5e05a1d66a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33af2a5fc443c8693e490a027ca960d36b2b9a37236fd65f7cf48a5e05a1d66a", kill_on_drop: false }` [INFO] [stdout] 33af2a5fc443c8693e490a027ca960d36b2b9a37236fd65f7cf48a5e05a1d66a