[INFO] fetching crate wasmer-interface-types-fl 0.17.4... [INFO] checking wasmer-interface-types-fl-0.17.4 against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] extracting crate wasmer-interface-types-fl 0.17.4 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate wasmer-interface-types-fl 0.17.4 on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-interface-types-fl 0.17.4 [INFO] finished tweaking crates.io crate wasmer-interface-types-fl 0.17.4 [INFO] tweaked toml for crates.io crate wasmer-interface-types-fl 0.17.4 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2487c8db52da6ca459f782dcedcc1a05e4dfd416df0c200eff2789da13dba74c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2487c8db52da6ca459f782dcedcc1a05e4dfd416df0c200eff2789da13dba74c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2487c8db52da6ca459f782dcedcc1a05e4dfd416df0c200eff2789da13dba74c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2487c8db52da6ca459f782dcedcc1a05e4dfd416df0c200eff2789da13dba74c", kill_on_drop: false }` [INFO] [stdout] 2487c8db52da6ca459f782dcedcc1a05e4dfd416df0c200eff2789da13dba74c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2c671c61252b08f4d16258d5812c2b6cbd0b8684e6bfdcbcc6445b35e32c838 [INFO] running `Command { std: "docker" "start" "-a" "b2c671c61252b08f4d16258d5812c2b6cbd0b8684e6bfdcbcc6445b35e32c838", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking safe-transmute v0.11.0 [INFO] [stderr] Checking wast v8.0.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking wasmer-interface-types-fl v0.17.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | intra_doc_link_resolution_failure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | intra_doc_link_resolution_failure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `wit_type_by_id` is not a member of trait `wasm::structures::Instance` [INFO] [stdout] --> src/interpreter/instructions/mod.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | / fn wit_type_by_id(&self, index: u32) -> Option<&Type> { [INFO] [stdout] 531 | | self.wit_types.get(index as usize) [INFO] [stdout] 532 | | } [INFO] [stdout] | |_________^ not a member of trait `wasm::structures::Instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RecordType` in this scope [INFO] [stdout] --> src/values.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 | use crate::types::RecordType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RecordType` in this scope [INFO] [stdout] --> src/values.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 | use crate::types::RecordType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RecordType` in this scope [INFO] [stdout] --> src/values.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 | use crate::types::RecordType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `arguments` has an incompatible type for trait [INFO] [stdout] --> src/interpreter/instructions/mod.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | fn arguments(&self) -> &[InterfaceType] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `ast::FunctionArg`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/wasm/structures.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | fn arguments(&self) -> &[FunctionArg]; [INFO] [stdout] | -------------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&instructions::tests::Export) -> &[ast::FunctionArg]` [INFO] [stdout] found fn pointer `fn(&instructions::tests::Export) -> &[types::InterfaceType]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `arguments` has an incompatible type for trait [INFO] [stdout] --> src/interpreter/instructions/mod.rs:394:32 [INFO] [stdout] | [INFO] [stdout] 394 | fn arguments(&self) -> &[InterfaceType] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `ast::FunctionArg`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/wasm/structures.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn arguments(&self) -> &[FunctionArg]; [INFO] [stdout] | -------------- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&instructions::tests::LocalImport) -> &[ast::FunctionArg]` [INFO] [stdout] found fn pointer `fn(&instructions::tests::LocalImport) -> &[types::InterfaceType]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `local_or_import` has an incompatible type for trait [INFO] [stdout] --> src/interpreter/instructions/mod.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | &mut self, [INFO] [stdout] | ^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/wasm/structures.rs:77:58 [INFO] [stdout] | [INFO] [stdout] 77 | fn local_or_import(&self, index: I) -> Option<&LI>; [INFO] [stdout] | ----- type in trait [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&instructions::tests::Instance, _) -> std::option::Option<&instructions::tests::LocalImport>` [INFO] [stdout] found fn pointer `fn(&mut instructions::tests::Instance, _) -> std::option::Option<&instructions::tests::LocalImport>` [INFO] [stdout] help: consider change the type to match the mutability in trait [INFO] [stdout] | [INFO] [stdout] 520 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `wit_record_by_id`, `wit_record_by_name` [INFO] [stdout] --> src/interpreter/instructions/mod.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | impl wasm::structures::Instance for Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `wit_record_by_id`, `wit_record_by_name` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/wasm/structures.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | fn wit_record_by_id(&self, index: u32) -> Option<&RecordType>; [INFO] [stdout] | -------------------------------------------------------------- `wit_record_by_id` from trait [INFO] [stdout] 80 | fn wit_record_by_name(&self, name: &str) -> Option<&RecordType>; [INFO] [stdout] | ---------------------------------------------------------------- `wit_record_by_name` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/binary.rs:726:29 [INFO] [stdout] | [INFO] [stdout] 726 | fields: vec1![InterfaceType::S32], [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/binary.rs:725:39 [INFO] [stdout] | [INFO] [stdout] 725 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoders/binary.rs:725:39 [INFO] [stdout] | [INFO] [stdout] 725 | InterfaceType::Record(RecordType { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 726 | | fields: vec1![InterfaceType::S32], [INFO] [stdout] 727 | | }), [INFO] [stdout] | |_________________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/binary.rs:756:29 [INFO] [stdout] | [INFO] [stdout] 756 | fields: vec1![InterfaceType::String], [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/binary.rs:755:17 [INFO] [stdout] | [INFO] [stdout] 755 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/binary.rs:759:29 [INFO] [stdout] | [INFO] [stdout] 759 | fields: vec1![InterfaceType::String, InterfaceType::I32], [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/binary.rs:758:17 [INFO] [stdout] | [INFO] [stdout] 758 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/binary.rs:765:37 [INFO] [stdout] | [INFO] [stdout] 765 | ... fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/binary.rs:764:47 [INFO] [stdout] | [INFO] [stdout] 764 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoders/binary.rs:764:47 [INFO] [stdout] | [INFO] [stdout] 764 | InterfaceType::Record(RecordType { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 765 | | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] 766 | | }), [INFO] [stdout] | |_________________________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/binary.rs:762:29 [INFO] [stdout] | [INFO] [stdout] 762 | fields: vec1![ [INFO] [stdout] | _____________________________- [INFO] [stdout] 763 | | InterfaceType::String, [INFO] [stdout] 764 | | InterfaceType::Record(RecordType { [INFO] [stdout] 765 | | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] 766 | | }), [INFO] [stdout] 767 | | InterfaceType::F64, [INFO] [stdout] 768 | | ], [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/binary.rs:761:17 [INFO] [stdout] | [INFO] [stdout] 761 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/decoders/binary.rs:949:21 [INFO] [stdout] | [INFO] [stdout] 949 | inputs: vec![InterfaceType::S32, InterfaceType::S32], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/decoders/binary.rs:950:21 [INFO] [stdout] | [INFO] [stdout] 950 | outputs: vec![InterfaceType::S32], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/binary.rs:953:29 [INFO] [stdout] | [INFO] [stdout] 953 | fields: vec1![InterfaceType::S32, InterfaceType::S32], [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/binary.rs:952:30 [INFO] [stdout] | [INFO] [stdout] 952 | Type::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/decoders/binary.rs:1054:21 [INFO] [stdout] | [INFO] [stdout] 1054 | inputs: vec![InterfaceType::S8], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/decoders/binary.rs:1055:21 [INFO] [stdout] | [INFO] [stdout] 1055 | outputs: vec![InterfaceType::S16], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/wat.rs:750:25 [INFO] [stdout] | [INFO] [stdout] 750 | fields: vec1![InterfaceType::String], [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/wat.rs:749:35 [INFO] [stdout] | [INFO] [stdout] 749 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoders/wat.rs:749:35 [INFO] [stdout] | [INFO] [stdout] 749 | InterfaceType::Record(RecordType { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 750 | | fields: vec1![InterfaceType::String], [INFO] [stdout] 751 | | }), [INFO] [stdout] | |_____________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/wat.rs:773:25 [INFO] [stdout] | [INFO] [stdout] 773 | fields: vec1![InterfaceType::String], [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/wat.rs:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/wat.rs:776:25 [INFO] [stdout] | [INFO] [stdout] 776 | fields: vec1![InterfaceType::String, InterfaceType::I32], [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/wat.rs:775:13 [INFO] [stdout] | [INFO] [stdout] 775 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmer_interface_types` [INFO] [stdout] --> tests/binary.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_interface_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/wat.rs:782:33 [INFO] [stdout] | [INFO] [stdout] 782 | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/wat.rs:781:43 [INFO] [stdout] | [INFO] [stdout] 781 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/decoders/wat.rs:781:43 [INFO] [stdout] | [INFO] [stdout] 781 | InterfaceType::Record(RecordType { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 782 | | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] 783 | | }), [INFO] [stdout] | |_____________________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wasmer_interface_types::ast::*`, `wasmer_interface_types::decoders::binary::parse`, `wasmer_interface_types::encoders::binary::ToBytes`, `wasmer_interface_types::interpreter::Instruction`, `wasmer_interface_types::types::*`, `wasmer_interface_types` [INFO] [stdout] --> tests/binary.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `wasmer_interface_types` [INFO] [stdout] 2 | ast::*, decoders::binary::parse, encoders::binary::ToBytes, interpreter::Instruction, types::*, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `vec1` [INFO] [stdout] --> tests/binary.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | fields: vec1![InterfaceType::String, InterfaceType::I32], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/binary.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Type::Function { [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/binary.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Type::Function { [INFO] [stdout] | ^^^^ use of undeclared type `Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InterfaceType` [INFO] [stdout] --> tests/binary.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | inputs: vec![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `InterfaceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InterfaceType` [INFO] [stdout] --> tests/binary.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | inputs: vec![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `InterfaceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InterfaceType` [INFO] [stdout] --> tests/binary.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | outputs: vec![InterfaceType::S32], [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `InterfaceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/wat.rs:779:25 [INFO] [stdout] | [INFO] [stdout] 779 | fields: vec1![ [INFO] [stdout] | _________________________- [INFO] [stdout] 780 | | InterfaceType::String, [INFO] [stdout] 781 | | InterfaceType::Record(RecordType { [INFO] [stdout] 782 | | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] 783 | | }), [INFO] [stdout] 784 | | InterfaceType::F64, [INFO] [stdout] 785 | | ], [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/wat.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> tests/binary.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | instructions: vec![Instruction::ArgumentGet { index: 1 }], [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InputTypes` found for enum `decoders::wat::FunctionType` in the current scope [INFO] [stdout] --> src/decoders/wat.rs:899:36 [INFO] [stdout] | [INFO] [stdout] 418 | enum FunctionType { [INFO] [stdout] | ----------------- variant or associated item `InputTypes` not found here [INFO] [stdout] ... [INFO] [stdout] 899 | let output = FunctionType::InputTypes(vec![]); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `decoders::wat::FunctionType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Interfaces` in this scope [INFO] [stdout] --> tests/binary.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | let original_ast = Interfaces { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::ast::Interfaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Type` [INFO] [stdout] --> tests/binary.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Type::Record(RecordType { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 | use wast::Type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RecordType` in this scope [INFO] [stdout] --> tests/binary.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | Type::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::types::RecordType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Import` in this scope [INFO] [stdout] --> tests/binary.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | imports: vec![Import { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::ast::Import; [INFO] [stdout] | [INFO] [stdout] 1 | use wast::FuncKind::Import; [INFO] [stdout] | [INFO] [stdout] 1 | use wast::GlobalKind::Import; [INFO] [stdout] | [INFO] [stdout] 1 | use wast::Import; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Adapter` in this scope [INFO] [stdout] --> tests/binary.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | adapters: vec![Adapter { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::ast::Adapter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Export` in this scope [INFO] [stdout] --> tests/binary.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | exports: vec![Export { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::ast::Export; [INFO] [stdout] | [INFO] [stdout] 1 | use wast::Export; [INFO] [stdout] | [INFO] [stdout] 1 | use wast::ModuleField::Export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InputTypes` found for enum `decoders::wat::FunctionType` in the current scope [INFO] [stdout] --> src/decoders/wat.rs:907:36 [INFO] [stdout] | [INFO] [stdout] 418 | enum FunctionType { [INFO] [stdout] | ----------------- variant or associated item `InputTypes` not found here [INFO] [stdout] ... [INFO] [stdout] 907 | let output = FunctionType::InputTypes(vec![InterfaceType::I32, InterfaceType::String]); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `decoders::wat::FunctionType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Implementation` in this scope [INFO] [stdout] --> tests/binary.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | implementations: vec![Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::ast::Implementation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> tests/binary.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | let (remainder, ast) = parse::<()>(binary.as_slice()).expect("Failed to decode the AST."); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::decoders::binary::parse; [INFO] [stdout] | [INFO] [stdout] 1 | use wasmer_interface_types_fl::decoders::wat::parse; [INFO] [stdout] | [INFO] [stdout] 1 | use wast::parser::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/decoders/wat.rs:932:13 [INFO] [stdout] | [INFO] [stdout] 932 | inputs: vec![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/decoders/wat.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | outputs: vec![InterfaceType::I32], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-interface-types-fl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/decoders/wat.rs:943:21 [INFO] [stdout] | [INFO] [stdout] 943 | fields: vec1![InterfaceType::String, InterfaceType::I32], [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/decoders/wat.rs:942:51 [INFO] [stdout] | [INFO] [stdout] 942 | let output = Interface::Type(Type::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/decoders/wat.rs:1020:17 [INFO] [stdout] | [INFO] [stdout] 1020 | inputs: vec![InterfaceType::I32], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/decoders/wat.rs:1021:17 [INFO] [stdout] | [INFO] [stdout] 1021 | outputs: vec![InterfaceType::S8], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/binary.rs:504:25 [INFO] [stdout] | [INFO] [stdout] 504 | fields: vec1![InterfaceType::String] [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/binary.rs:503:35 [INFO] [stdout] | [INFO] [stdout] 503 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoders/binary.rs:503:35 [INFO] [stdout] | [INFO] [stdout] 503 | InterfaceType::Record(RecordType { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 504 | | fields: vec1![InterfaceType::String] [INFO] [stdout] 505 | | }), [INFO] [stdout] | |_____________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/binary.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | fields: vec1![InterfaceType::String] [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/binary.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/binary.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | fields: vec1![InterfaceType::String, InterfaceType::I32] [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/binary.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/binary.rs:536:33 [INFO] [stdout] | [INFO] [stdout] 536 | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/binary.rs:535:43 [INFO] [stdout] | [INFO] [stdout] 535 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoders/binary.rs:535:43 [INFO] [stdout] | [INFO] [stdout] 535 | InterfaceType::Record(RecordType { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 536 | | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] 537 | | }), [INFO] [stdout] | |_____________________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/binary.rs:533:25 [INFO] [stdout] | [INFO] [stdout] 533 | fields: vec1![ [INFO] [stdout] | _________________________- [INFO] [stdout] 534 | | InterfaceType::String, [INFO] [stdout] 535 | | InterfaceType::Record(RecordType { [INFO] [stdout] 536 | | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] 537 | | }), [INFO] [stdout] 538 | | InterfaceType::F64, [INFO] [stdout] 539 | | ], [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/binary.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/encoders/binary.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 583 | inputs: vec![InterfaceType::I32, InterfaceType::I64], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/encoders/binary.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | outputs: vec![InterfaceType::S32], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/binary.rs:601:25 [INFO] [stdout] | [INFO] [stdout] 601 | fields: vec1![InterfaceType::I32, InterfaceType::I64], [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/binary.rs:600:26 [INFO] [stdout] | [INFO] [stdout] 600 | Type::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/encoders/binary.rs:650:21 [INFO] [stdout] | [INFO] [stdout] 650 | inputs: vec![InterfaceType::S8], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/encoders/binary.rs:651:21 [INFO] [stdout] | [INFO] [stdout] 651 | outputs: vec![InterfaceType::S16], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `RecordLift` found for enum `instructions::Instruction` [INFO] [stdout] --> src/encoders/binary.rs:749:30 [INFO] [stdout] | [INFO] [stdout] 749 | Instruction::RecordLift { type_index: 1 }, [INFO] [stdout] | ^^^^^^^^^^ variant not found in `instructions::Instruction` [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/instructions/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Instruction { [INFO] [stdout] | -------------------- variant `RecordLift` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `RecordLower` found for enum `instructions::Instruction` [INFO] [stdout] --> src/encoders/binary.rs:750:30 [INFO] [stdout] | [INFO] [stdout] 750 | Instruction::RecordLower { type_index: 1 }, [INFO] [stdout] | ^^^^^^^^^^^ variant not found in `instructions::Instruction` [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/instructions/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Instruction { [INFO] [stdout] | -------------------- variant `RecordLower` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/wat.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | fields: vec1![InterfaceType::String], [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/wat.rs:402:37 [INFO] [stdout] | [INFO] [stdout] 402 | (&InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoders/wat.rs:402:37 [INFO] [stdout] | [INFO] [stdout] 402 | (&InterfaceType::Record(RecordType { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 403 | | fields: vec1![InterfaceType::String], [INFO] [stdout] 404 | | })) [INFO] [stdout] | |_____________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/wat.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 432 | fields: vec1![InterfaceType::String], [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/wat.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 431 | (&RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/wat.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | fields: vec1![InterfaceType::String, InterfaceType::I32], [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/wat.rs:435:15 [INFO] [stdout] | [INFO] [stdout] 435 | (&RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/wat.rs:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/wat.rs:442:43 [INFO] [stdout] | [INFO] [stdout] 442 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoders/wat.rs:442:43 [INFO] [stdout] | [INFO] [stdout] 442 | InterfaceType::Record(RecordType { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 443 | | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] 444 | | }), [INFO] [stdout] | |_____________________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/wat.rs:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | fields: vec1![ [INFO] [stdout] | _________________________- [INFO] [stdout] 441 | | InterfaceType::String, [INFO] [stdout] 442 | | InterfaceType::Record(RecordType { [INFO] [stdout] 443 | | fields: vec1![InterfaceType::I32, InterfaceType::I32], [INFO] [stdout] 444 | | }), [INFO] [stdout] 445 | | InterfaceType::F64, [INFO] [stdout] 446 | | ], [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/wat.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | (&RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/encoders/wat.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | inputs: vec![InterfaceType::I32, InterfaceType::F32], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/encoders/wat.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | outputs: vec![InterfaceType::I32], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/encoders/wat.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | inputs: vec![InterfaceType::I32], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/encoders/wat.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 559 | outputs: vec![], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/encoders/wat.rs:563:17 [INFO] [stdout] | [INFO] [stdout] 563 | inputs: vec![], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/encoders/wat.rs:564:17 [INFO] [stdout] | [INFO] [stdout] 564 | outputs: vec![InterfaceType::I32], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/encoders/wat.rs:568:17 [INFO] [stdout] | [INFO] [stdout] 568 | inputs: vec![], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/encoders/wat.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | outputs: vec![], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/encoders/wat.rs:573:25 [INFO] [stdout] | [INFO] [stdout] 573 | fields: vec1![InterfaceType::String, InterfaceType::I32], [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/encoders/wat.rs:572:28 [INFO] [stdout] | [INFO] [stdout] 572 | (&Type::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `inputs` [INFO] [stdout] --> src/encoders/wat.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | inputs: vec![InterfaceType::I32], [INFO] [stdout] | ^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ast::Type::Function` has no field named `outputs` [INFO] [stdout] --> src/encoders/wat.rs:635:17 [INFO] [stdout] | [INFO] [stdout] 635 | outputs: vec![InterfaceType::S8], [INFO] [stdout] | ^^^^^^^ `ast::Type::Function` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/instructions/mod.rs:505:37 [INFO] [stdout] | [INFO] [stdout] 505 | ... fields: vec1![InterfaceType::String, InterfaceType::F32], [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/interpreter/instructions/mod.rs:504:47 [INFO] [stdout] | [INFO] [stdout] 504 | InterfaceType::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interpreter/instructions/mod.rs:504:47 [INFO] [stdout] | [INFO] [stdout] 504 | InterfaceType::Record(RecordType { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 505 | | fields: vec1![InterfaceType::String, InterfaceType::F32], [INFO] [stdout] 506 | | }), [INFO] [stdout] | |_________________________^ expected struct `std::string::String`, found struct `types::RecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | crate::vec1::Vec1::new(vec![$($item),*]).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `types::RecordFieldType`, found enum `types::InterfaceType` [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/instructions/mod.rs:502:29 [INFO] [stdout] | [INFO] [stdout] 502 | fields: vec1![ [INFO] [stdout] | _____________________________- [INFO] [stdout] 503 | | InterfaceType::I32, [INFO] [stdout] 504 | | InterfaceType::Record(RecordType { [INFO] [stdout] 505 | | fields: vec1![InterfaceType::String, InterfaceType::F32], [INFO] [stdout] 506 | | }), [INFO] [stdout] 507 | | InterfaceType::I64, [INFO] [stdout] 508 | | ], [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec1` [INFO] [stdout] found struct `Vec1` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `name` in initializer of `types::RecordType` [INFO] [stdout] --> src/interpreter/instructions/mod.rs:501:46 [INFO] [stdout] | [INFO] [stdout] 501 | wit_types: vec![Type::Record(RecordType { [INFO] [stdout] | ^^^^^^^^^^ missing `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 168 | value_to_type!(interface_type_from_interface_value__s8, S8, 42); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 169 | value_to_type!(interface_type_from_interface_value__s16, S16, 42); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 170 | value_to_type!(interface_type_from_interface_value__s32, S32, 42); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 171 | value_to_type!(interface_type_from_interface_value__s64, S64, 42); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 172 | value_to_type!(interface_type_from_interface_value__u8, U8, 42); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 173 | value_to_type!(interface_type_from_interface_value__u16, U16, 42); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 174 | value_to_type!(interface_type_from_interface_value__u32, U32, 42); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 175 | value_to_type!(interface_type_from_interface_value__u64, U64, 42); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 176 | value_to_type!(interface_type_from_interface_value__f32, F32, 42.); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 177 | value_to_type!(interface_type_from_interface_value__f64, F64, 42.); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 178 | / value_to_type!( [INFO] [stdout] 179 | | interface_type_from_interface_value__string, [INFO] [stdout] 180 | | String, [INFO] [stdout] 181 | | "foo".to_string() [INFO] [stdout] 182 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 183 | value_to_type!(interface_type_from_interface_value__i32, I32, 42); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | InterfaceType::from(&InterfaceValue::$ty($value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] ... [INFO] [stdout] 184 | value_to_type!(interface_type_from_interface_value__i64, I64, 42); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | InterfaceType::from(&InterfaceValue::Record(vec1![ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 191 | | InterfaceValue::I32(1), [INFO] [stdout] 192 | | InterfaceValue::S8(2) [INFO] [stdout] 193 | | ])), [INFO] [stdout] | |______________^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/values.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | InterfaceType::from(&InterfaceValue::Record(vec1![ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 201 | | InterfaceValue::I32(1), [INFO] [stdout] 202 | | InterfaceValue::Record(vec1![ [INFO] [stdout] 203 | | InterfaceValue::String("a".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 206 | | InterfaceValue::S8(2) [INFO] [stdout] 207 | | ])), [INFO] [stdout] | |______________^ expected enum `types::InterfaceType`, found `&values::InterfaceValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 110 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0063, E0308, E0407, E0422, E0559, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b2c671c61252b08f4d16258d5812c2b6cbd0b8684e6bfdcbcc6445b35e32c838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c671c61252b08f4d16258d5812c2b6cbd0b8684e6bfdcbcc6445b35e32c838", kill_on_drop: false }` [INFO] [stdout] b2c671c61252b08f4d16258d5812c2b6cbd0b8684e6bfdcbcc6445b35e32c838