[INFO] cloning repository https://github.com/flyaruu/wit-bindgen-issue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flyaruu/wit-bindgen-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyaruu%2Fwit-bindgen-issue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyaruu%2Fwit-bindgen-issue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1afca5cc0c618122313c25a7d468f80a12f3379 [INFO] checking flyaruu/wit-bindgen-issue against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyaruu%2Fwit-bindgen-issue" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/flyaruu/wit-bindgen-issue [INFO] finished tweaking git repo https://github.com/flyaruu/wit-bindgen-issue [INFO] tweaked toml for git repo https://github.com/flyaruu/wit-bindgen-issue written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flyaruu/wit-bindgen-issue on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/flyaruu/wit-bindgen-issue 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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leb128fmt v0.1.0 [INFO] [stderr] Downloaded wit-bindgen-rust-macro v0.41.0 [INFO] [stderr] Downloaded wit-bindgen v0.41.0 [INFO] [stderr] Downloaded wasm-metadata v0.227.1 [INFO] [stderr] Downloaded wit-bindgen-rt v0.41.0 [INFO] [stderr] Downloaded topological-sort v0.2.2 [INFO] [stderr] Downloaded wit-bindgen-rust v0.41.0 [INFO] [stderr] Downloaded wit-bindgen-core v0.41.0 [INFO] [stderr] Downloaded wasm-encoder v0.227.1 [INFO] [stderr] Downloaded auditable-serde v0.8.0 [INFO] [stderr] Downloaded wasmparser v0.227.1 [INFO] [stderr] Downloaded wit-parser v0.227.1 [INFO] [stderr] Downloaded wit-component v0.227.1 [INFO] [stderr] Downloaded spdx v0.10.8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8226007a1fc423bb39c56ff02d29b5a25ad762e812a03ff8b6310ba3961b0135 [INFO] running `Command { std: "docker" "start" "-a" "8226007a1fc423bb39c56ff02d29b5a25ad762e812a03ff8b6310ba3961b0135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8226007a1fc423bb39c56ff02d29b5a25ad762e812a03ff8b6310ba3961b0135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8226007a1fc423bb39c56ff02d29b5a25ad762e812a03ff8b6310ba3961b0135", kill_on_drop: false }` [INFO] [stdout] 8226007a1fc423bb39c56ff02d29b5a25ad762e812a03ff8b6310ba3961b0135 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a4534204dff0811545a82ad92fd58532ff5d55e2a67acdbec1379cfc9ee7458 [INFO] running `Command { std: "docker" "start" "-a" "5a4534204dff0811545a82ad92fd58532ff5d55e2a67acdbec1379cfc9ee7458", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling wasmparser v0.227.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling wasm-encoder v0.227.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling spdx v0.10.8 [INFO] [stderr] Compiling wit-bindgen-rust v0.41.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling wit-bindgen-rt v0.41.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.41.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [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 indexmap v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling auditable-serde v0.8.0 [INFO] [stderr] Compiling icu_normalizer v1.5.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.1 [INFO] [stderr] Compiling wasm-metadata v0.227.1 [INFO] [stderr] Compiling wit-bindgen-core v0.41.0 [INFO] [stderr] Compiling wit-component v0.227.1 [INFO] [stderr] Checking wit-bindgen v0.41.0 [INFO] [stderr] Checking bindings v0.1.0 (/opt/rustwide/workdir/bundles/bindings) [INFO] [stderr] Checking library v0.1.0 (/opt/rustwide/workdir/bundles/library) [INFO] [stdout] error[E0433]: failed to resolve: could not find `export` in the crate root [INFO] [stdout] --> bundles/library/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | bindings::api::export!(MyComponent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `export` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bindings::api::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> bundles/library/src/lib.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | fn handle(request:IncomingRequest,response_out:ResponseOutparam,) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response_out` [INFO] [stdout] --> bundles/library/src/lib.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | fn handle(request:IncomingRequest,response_out:ResponseOutparam,) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `export` in the crate root [INFO] [stdout] --> bundles/library/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | bindings::api::export!(MyComponent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `export` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bindings::api::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> bundles/library/src/lib.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | fn handle(request:IncomingRequest,response_out:ResponseOutparam,) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response_out` [INFO] [stdout] --> bundles/library/src/lib.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | fn handle(request:IncomingRequest,response_out:ResponseOutparam,) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `library` (lib test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `library` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a4534204dff0811545a82ad92fd58532ff5d55e2a67acdbec1379cfc9ee7458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4534204dff0811545a82ad92fd58532ff5d55e2a67acdbec1379cfc9ee7458", kill_on_drop: false }` [INFO] [stdout] 5a4534204dff0811545a82ad92fd58532ff5d55e2a67acdbec1379cfc9ee7458