[INFO] fetching crate linera-wit-bindgen-gen-host-wasmer-rust 0.2.0... [INFO] testing linera-wit-bindgen-gen-host-wasmer-rust-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate linera-wit-bindgen-gen-host-wasmer-rust 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate linera-wit-bindgen-gen-host-wasmer-rust 0.2.0 [INFO] finished tweaking crates.io crate linera-wit-bindgen-gen-host-wasmer-rust 0.2.0 [INFO] tweaked toml for crates.io crate linera-wit-bindgen-gen-host-wasmer-rust 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linera-wit-bindgen-gen-host-wasmer-rust 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 198 packages to latest compatible versions [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding wasmer v3.1.1 (available: v3.3.0) [INFO] [stderr] Adding wasmer-compiler v3.1.1 (available: v3.3.0) [INFO] [stderr] Adding wasmer-compiler-cranelift v3.1.1 (available: v3.3.0) [INFO] [stderr] Adding wasmer-derive v3.1.1 (available: v3.3.0) [INFO] [stderr] Adding wasmer-types v3.1.1 (available: v3.3.0) [INFO] [stderr] Adding wasmer-vm v3.1.1 (available: v3.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 278534acff26cb2a83cb78b1e24e0deac47374f531c9710c95d46dac56cc364e [INFO] running `Command { std: "docker" "start" "-a" "278534acff26cb2a83cb78b1e24e0deac47374f531c9710c95d46dac56cc364e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "278534acff26cb2a83cb78b1e24e0deac47374f531c9710c95d46dac56cc364e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "278534acff26cb2a83cb78b1e24e0deac47374f531c9710c95d46dac56cc364e", kill_on_drop: false }` [INFO] [stdout] 278534acff26cb2a83cb78b1e24e0deac47374f531c9710c95d46dac56cc364e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1728b84173c2e3fc6c252c6e968bf0f68d8d4550b8c9bb7336cf034fc6cce9c [INFO] running `Command { std: "docker" "start" "-a" "c1728b84173c2e3fc6c252c6e968bf0f68d8d4550b8c9bb7336cf034fc6cce9c", kill_on_drop: false }` [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling linera-wit-bindgen-gen-host-wasmer-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling linera-wit-parser v0.2.0 [INFO] [stderr] Compiling linera-wit-bindgen-core v0.2.0 [INFO] [stderr] Compiling linera-wit-bindgen-gen-rust-lib v0.2.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.52s [INFO] running `Command { std: "docker" "inspect" "c1728b84173c2e3fc6c252c6e968bf0f68d8d4550b8c9bb7336cf034fc6cce9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1728b84173c2e3fc6c252c6e968bf0f68d8d4550b8c9bb7336cf034fc6cce9c", kill_on_drop: false }` [INFO] [stdout] c1728b84173c2e3fc6c252c6e968bf0f68d8d4550b8c9bb7336cf034fc6cce9c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d189555e762b70f4344488c675f0464d6e93fb6082fb0b6183e13c7b886196c3 [INFO] running `Command { std: "docker" "start" "-a" "d189555e762b70f4344488c675f0464d6e93fb6082fb0b6183e13c7b886196c3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling cranelift-isle v0.86.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling cranelift-codegen-shared v0.86.1 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cranelift-codegen-meta v0.86.1 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling wasmer-wit-parser v0.1.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cranelift-entity v0.86.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling wasmer-wit-bindgen-gen-core v0.1.1 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling regalloc2 v0.3.2 [INFO] [stderr] Compiling cranelift-bforest v0.86.1 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling wasmer-wit-bindgen-gen-rust-wasm v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling wasmer-wit-bindgen-gen-rust v0.1.1 [INFO] [stderr] Compiling cranelift-codegen v0.86.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling wasmparser v0.83.0 [INFO] [stderr] Compiling wasmer-compiler-cranelift v3.1.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling wast v239.0.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling wasmer-vfs v3.1.1 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Compiling wasmer-derive v3.1.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling wasmer-vnet v3.1.1 [INFO] [stderr] Compiling enumset v1.1.10 [INFO] [stderr] Compiling wasmer-wasi-local-networking v3.1.1 [INFO] [stderr] Compiling wasmer-wit-bindgen-rust-impl v0.1.1 [INFO] [stderr] Compiling wasmer-vbus v3.1.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling wasmer-wit-bindgen-rust v0.1.1 [INFO] [stderr] Compiling wasmer-types v3.1.1 [INFO] [stderr] Compiling wasmer-vm v3.1.1 [INFO] [stderr] Compiling wat v1.239.0 [INFO] [stderr] Compiling wasmer-compiler v3.1.1 [INFO] [stderr] Compiling cranelift-frontend v0.86.1 [INFO] [stderr] Compiling wasmer v3.1.1 [INFO] [stderr] Compiling wasmer-wasi-types v3.1.1 [INFO] [stderr] Compiling wasmer-wasi v3.1.1 [INFO] [stderr] Compiling linera-wit-bindgen-gen-host-wasmer-rust v0.2.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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | test_helpers::codegen_wasmer_export!( [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 `test_helpers` [INFO] [stdout] --> tests/codegen.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | test_helpers::codegen_wasmer_import!( [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_host_wasmer_rust` [INFO] [stdout] --> tests/codegen.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | wit_bindgen_host_wasmer_rust::export!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wit_bindgen_host_wasmer_rust` [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: use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] --> tests/runtime.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | test_helpers::runtime_tests_wasmer!(); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linera-wit-bindgen-gen-host-wasmer-rust` (test "codegen") due to 3 previous errors [INFO] [stdout] error[E0277]: the trait bound `&mut Store: AsEngineRef` is not satisfied [INFO] [stdout] --> tests/runtime.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | let module = Module::from_file(&store, wasm)?; [INFO] [stdout] | ----------------- ^^^^^^ the trait `AsEngineRef` is not implemented for `&mut Store` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `AsEngineRef` is implemented for `&Store`, but not for `&mut Store` [INFO] [stdout] note: required by a bound in `wasmer::Module::from_file` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmer-3.1.1/src/sys/module.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn from_file( [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 187 | engine: &impl AsEngineRef, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Module::from_file` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 16 - let module = Module::from_file(&store, wasm)?; [INFO] [stdout] 16 + let module = Module::from_file(store, wasm)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `linera-wit-bindgen-gen-host-wasmer-rust` (test "runtime") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d189555e762b70f4344488c675f0464d6e93fb6082fb0b6183e13c7b886196c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d189555e762b70f4344488c675f0464d6e93fb6082fb0b6183e13c7b886196c3", kill_on_drop: false }` [INFO] [stdout] d189555e762b70f4344488c675f0464d6e93fb6082fb0b6183e13c7b886196c3