[INFO] fetching crate wit-bindgen-go 0.40.0... [INFO] testing wit-bindgen-go-0.40.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate wit-bindgen-go 0.40.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wit-bindgen-go 0.40.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wit-bindgen-go 0.40.0 [INFO] tweaked toml for crates.io crate wit-bindgen-go 0.40.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wit-bindgen-go 0.40.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-go 0.40.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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] df7778af4bfdf7cfb067d527a0ed87e180992f9a5c45b041864f3f73cc74aa9a [INFO] running `Command { std: "docker" "start" "-a" "df7778af4bfdf7cfb067d527a0ed87e180992f9a5c45b041864f3f73cc74aa9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df7778af4bfdf7cfb067d527a0ed87e180992f9a5c45b041864f3f73cc74aa9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7778af4bfdf7cfb067d527a0ed87e180992f9a5c45b041864f3f73cc74aa9a", kill_on_drop: false }` [INFO] [stdout] df7778af4bfdf7cfb067d527a0ed87e180992f9a5c45b041864f3f73cc74aa9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ccadb35ff5e1479764217ad1ace1df39f69905062925ef1d047b6594c4c34784 [INFO] running `Command { std: "docker" "start" "-a" "ccadb35ff5e1479764217ad1ace1df39f69905062925ef1d047b6594c4c34784", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling wasmparser v0.227.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling wasm-encoder v0.227.0 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling spdx v0.10.8 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling auditable-serde v0.8.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling wit-parser v0.227.0 [INFO] [stderr] Compiling wasm-metadata v0.227.0 [INFO] [stderr] Compiling wit-bindgen-core v0.40.0 [INFO] [stderr] Compiling wit-component v0.227.0 [INFO] [stderr] Compiling wit-bindgen-c v0.40.0 [INFO] [stderr] Compiling wit-bindgen-go v0.40.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "ccadb35ff5e1479764217ad1ace1df39f69905062925ef1d047b6594c4c34784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccadb35ff5e1479764217ad1ace1df39f69905062925ef1d047b6594c4c34784", kill_on_drop: false }` [INFO] [stdout] ccadb35ff5e1479764217ad1ace1df39f69905062925ef1d047b6594c4c34784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ec8ef175690b6c9a8ced0cf790f74921be6c6a3b9d4dd8c56db3315077c55d8b [INFO] running `Command { std: "docker" "start" "-a" "ec8ef175690b6c9a8ced0cf790f74921be6c6a3b9d4dd8c56db3315077c55d8b", kill_on_drop: false }` [INFO] [stderr] Compiling wit-bindgen-go v0.40.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] --> tests/codegen.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | test_helpers::codegen_tests!(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `codegen_test` [INFO] [stdout] --> tests/codegen.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | macro_rules! codegen_test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] --> tests/codegen.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | test_helpers::run_command(&mut cmd); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_helpers`, use `cargo add test_helpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wit-bindgen-go` (test "codegen") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ec8ef175690b6c9a8ced0cf790f74921be6c6a3b9d4dd8c56db3315077c55d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8ef175690b6c9a8ced0cf790f74921be6c6a3b9d4dd8c56db3315077c55d8b", kill_on_drop: false }` [INFO] [stdout] ec8ef175690b6c9a8ced0cf790f74921be6c6a3b9d4dd8c56db3315077c55d8b