[INFO] fetching crate js-component-bindgen 1.16.5... [INFO] testing js-component-bindgen-1.16.5 against try#bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b for pr-154756 [INFO] extracting crate js-component-bindgen 1.16.5 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate js-component-bindgen 1.16.5 [INFO] finished tweaking crates.io crate js-component-bindgen 1.16.5 [INFO] tweaked toml for crates.io crate js-component-bindgen 1.16.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate js-component-bindgen 1.16.5 on toolchain bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate js-component-bindgen 1.16.5 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" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cbd087efea671cd28faa7e17ab2949f4c7436b742b33cb43193f890d8907bfd [INFO] running `Command { std: "docker" "start" "-a" "5cbd087efea671cd28faa7e17ab2949f4c7436b742b33cb43193f890d8907bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cbd087efea671cd28faa7e17ab2949f4c7436b742b33cb43193f890d8907bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbd087efea671cd28faa7e17ab2949f4c7436b742b33cb43193f890d8907bfd", kill_on_drop: false }` [INFO] [stdout] 5cbd087efea671cd28faa7e17ab2949f4c7436b742b33cb43193f890d8907bfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b6659f5d977eeb01d8d2947b14b4eef353c6df8611bfd8bfa4f93207f77af0 [INFO] running `Command { std: "docker" "start" "-a" "a1b6659f5d977eeb01d8d2947b14b4eef353c6df8611bfd8bfa4f93207f77af0", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling wasmtime-internal-core v42.0.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling id-arena v2.3.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling wasm-encoder v0.244.0 [INFO] [stderr] Compiling wasmtime-internal-component-util v42.0.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling wasmparser v0.245.1 [INFO] [stderr] Compiling gimli v0.33.0 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling cranelift-bitset v0.129.0 [INFO] [stderr] Compiling wasmparser v0.244.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling cranelift-entity v0.129.0 [INFO] [stderr] Compiling wasm-encoder v0.245.1 [INFO] [stderr] Compiling wit-parser v0.245.1 [INFO] [stderr] Compiling wast v245.0.1 [INFO] [stderr] Compiling wasm-metadata v0.245.1 [INFO] [stderr] Compiling wasmprinter v0.244.0 [INFO] [stderr] Compiling wit-bindgen-core v0.53.1 [INFO] [stderr] Compiling wasmtime-environ v42.0.0 [INFO] [stderr] Compiling wat v1.245.1 [INFO] [stderr] Compiling wit-component v0.245.1 [INFO] [stderr] Compiling js-component-bindgen v1.16.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "a1b6659f5d977eeb01d8d2947b14b4eef353c6df8611bfd8bfa4f93207f77af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b6659f5d977eeb01d8d2947b14b4eef353c6df8611bfd8bfa4f93207f77af0", kill_on_drop: false }` [INFO] [stdout] a1b6659f5d977eeb01d8d2947b14b4eef353c6df8611bfd8bfa4f93207f77af0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 643efae0590ebad390ae2f8b82f34a8e38a1f5d40fa6253b9d4f4fbb8ab71e89 [INFO] running `Command { std: "docker" "start" "-a" "643efae0590ebad390ae2f8b82f34a8e38a1f5d40fa6253b9d4f4fbb8ab71e89", kill_on_drop: false }` [INFO] [stderr] Compiling js-component-bindgen v1.16.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.92s [INFO] running `Command { std: "docker" "inspect" "643efae0590ebad390ae2f8b82f34a8e38a1f5d40fa6253b9d4f4fbb8ab71e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "643efae0590ebad390ae2f8b82f34a8e38a1f5d40fa6253b9d4f4fbb8ab71e89", kill_on_drop: false }` [INFO] [stdout] 643efae0590ebad390ae2f8b82f34a8e38a1f5d40fa6253b9d4f4fbb8ab71e89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c6734b3ca6e0f1290cc00db0ecc3ff210ca5c6c0d12148d2805f4dd96132d1d [INFO] running `Command { std: "docker" "start" "-a" "4c6734b3ca6e0f1290cc00db0ecc3ff210ca5c6c0d12148d2805f4dd96132d1d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/js_component_bindgen-24d30b6ab11e1862) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test source::tests::if_else ... ok [INFO] [stdout] test source::tests::trim_ws ... ok [INFO] [stdout] test source::tests::newline_remap ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_no_map ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_no_map_unversioned ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_no_match_prerelease ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_sans_version_match ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_semver_exact_key ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_semver_lower_import_version ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_semver_major_version ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_semver_no_cross_major ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_semver_no_cross_minor ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_semver_prefers_highest ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_semver_wildcard_key ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_wildcard_sans_version ... ok [INFO] [stdout] test source::tests::simple_append ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_no_match_zero_zero ... ok [INFO] [stdout] test transpile_bindgen::tests::test_map_import_exact_match ... ok [INFO] [stdout] test transpile_bindgen::tests::test_parse_mapping_leading_hash ... ok [INFO] [stdout] test transpile_bindgen::tests::test_parse_mapping_with_hash ... ok [INFO] [stdout] test transpile_bindgen::tests::test_parse_mapping_without_hash ... ok [INFO] [stdout] test transpile_bindgen::tests::test_semver_compat_key ... ok [INFO] [stdout] test transpile_bindgen::tests::test_semver_compat_key_returns_parsed_version ... ok [INFO] [stderr] Doc-tests js_component_bindgen [INFO] [stdout] test transpile_bindgen::tests::test_parse_mapping_empty ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/esm_bindgen.rs - esm_bindgen::EsmBindgen::render_imports (line 263) ... FAILED [INFO] [stdout] test src/function_bindgen.rs - function_bindgen::FunctionBindgen<'_>::generate_result_assignment_lhs (line 259) ... FAILED [INFO] [stdout] test src/transpile_bindgen.rs - transpile_bindgen::gen_flat_lift_fn_js_expr (line 4497) ... FAILED [INFO] [stdout] test src/transpile_bindgen.rs - transpile_bindgen::gen_flat_lower_fn_js_expr (line 4971) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/esm_bindgen.rs - esm_bindgen::EsmBindgen::render_imports (line 263) stdout ---- [INFO] [stdout] error: prefix `iface` is unknown [INFO] [stdout] --> src/esm_bindgen.rs:264:36 [INFO] [stdout] | [INFO] [stdout] 264 | const { someFn } = imports['ns:pkg/iface']; [INFO] [stdout] | ^^^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 264 - const { someFn } = imports['ns:pkg/iface']; [INFO] [stdout] 264 + const { someFn } = imports["ns:pkg/iface"]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0762]: unterminated character literal [INFO] [stdout] --> src/esm_bindgen.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | const { someFn } = imports['ns:pkg/iface']; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 264 - const { someFn } = imports['ns:pkg/iface']; [INFO] [stdout] 264 + const { someFn } = imports["ns:pkg/iface"]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0762`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/function_bindgen.rs - function_bindgen::FunctionBindgen<'_>::generate_result_assignment_lhs (line 259) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `[` [INFO] [stdout] --> src/function_bindgen.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | var [ ret0, ret1, ret2 ] = [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transpile_bindgen.rs - transpile_bindgen::gen_flat_lift_fn_js_expr (line 4497) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `_liftFlatBool` in this scope [INFO] [stdout] --> src/transpile_bindgen.rs:4498:1 [INFO] [stdout] | [INFO] [stdout] 4498 | _liftFlatBool [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transpile_bindgen.rs - transpile_bindgen::gen_flat_lower_fn_js_expr (line 4971) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `_lowerFlatBool` in this scope [INFO] [stdout] --> src/transpile_bindgen.rs:4972:1 [INFO] [stdout] | [INFO] [stdout] 4972 | _lowerFlatBool [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/esm_bindgen.rs - esm_bindgen::EsmBindgen::render_imports (line 263) [INFO] [stdout] src/function_bindgen.rs - function_bindgen::FunctionBindgen<'_>::generate_result_assignment_lhs (line 259) [INFO] [stdout] src/transpile_bindgen.rs - transpile_bindgen::gen_flat_lift_fn_js_expr (line 4497) [INFO] [stdout] src/transpile_bindgen.rs - transpile_bindgen::gen_flat_lower_fn_js_expr (line 4971) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.47s; merged doctests compilation took 0.20s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4c6734b3ca6e0f1290cc00db0ecc3ff210ca5c6c0d12148d2805f4dd96132d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6734b3ca6e0f1290cc00db0ecc3ff210ca5c6c0d12148d2805f4dd96132d1d", kill_on_drop: false }` [INFO] [stdout] 4c6734b3ca6e0f1290cc00db0ecc3ff210ca5c6c0d12148d2805f4dd96132d1d