[INFO] fetching crate miden-base-macros 0.7.0... [INFO] testing miden-base-macros-0.7.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate miden-base-macros 0.7.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate miden-base-macros 0.7.0 [INFO] finished tweaking crates.io crate miden-base-macros 0.7.0 [INFO] tweaked toml for crates.io crate miden-base-macros 0.7.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate miden-base-macros 0.7.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate miden-base-macros 0.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b6037df9327f23f2a89ffbaabb13392afeca6503acc76dab50167dbb55d9275 [INFO] running `Command { std: "docker" "start" "-a" "2b6037df9327f23f2a89ffbaabb13392afeca6503acc76dab50167dbb55d9275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b6037df9327f23f2a89ffbaabb13392afeca6503acc76dab50167dbb55d9275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b6037df9327f23f2a89ffbaabb13392afeca6503acc76dab50167dbb55d9275", kill_on_drop: false }` [INFO] [stdout] 2b6037df9327f23f2a89ffbaabb13392afeca6503acc76dab50167dbb55d9275 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b9511733bb9ac62fe613049ddd3aa0d5030d0dcdccbd8f9f6bcbe4ed70dce20 [INFO] running `Command { std: "docker" "start" "-a" "7b9511733bb9ac62fe613049ddd3aa0d5030d0dcdccbd8f9f6bcbe4ed70dce20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling winter-utils v0.13.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling winter-math v0.13.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling miden-crypto v0.15.9 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling miden-formatting v0.1.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling winter-crypto v0.13.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling miden-utils-sync v0.17.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling term v1.2.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling lalrpop-util v0.22.2 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling winter-fri v0.13.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling winter-air v0.13.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling winter-verifier v0.13.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling miden-miette-derive v8.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling winter-maybe-async v0.13.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling miden-miette v8.0.0 [INFO] [stderr] Compiling winter-prover v0.13.1 [INFO] [stderr] Compiling lalrpop v0.22.2 [INFO] [stderr] Compiling midenc-hir-type v0.1.5 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling miden-debug-types v0.17.1 [INFO] [stderr] Compiling miden-core v0.17.1 [INFO] [stderr] Compiling miden-utils-diagnostics v0.17.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling miden-air v0.17.1 [INFO] [stderr] Compiling miden-verifier v0.17.1 [INFO] [stderr] Compiling miden-processor v0.17.1 [INFO] [stderr] Compiling miden-assembly-syntax v0.17.1 [INFO] [stderr] Compiling miden-mast-package v0.17.1 [INFO] [stderr] Compiling miden-assembly v0.17.1 [INFO] [stderr] Compiling miden-objects v0.11.2 [INFO] [stderr] Compiling miden-base-macros v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "7b9511733bb9ac62fe613049ddd3aa0d5030d0dcdccbd8f9f6bcbe4ed70dce20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9511733bb9ac62fe613049ddd3aa0d5030d0dcdccbd8f9f6bcbe4ed70dce20", kill_on_drop: false }` [INFO] [stdout] 7b9511733bb9ac62fe613049ddd3aa0d5030d0dcdccbd8f9f6bcbe4ed70dce20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 547288b854e996289282ac319dcd6911c7e74b0ed78f6b8c08198b8cb603813f [INFO] running `Command { std: "docker" "start" "-a" "547288b854e996289282ac319dcd6911c7e74b0ed78f6b8c08198b8cb603813f", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling winter-utils v0.13.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling winter-math v0.13.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling miden-formatting v0.1.1 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling miden-utils-sync v0.17.1 [INFO] [stderr] Compiling lalrpop v0.22.2 [INFO] [stderr] Compiling midenc-hir-type v0.1.5 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling miden-crypto v0.15.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling winter-crypto v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling winter-fri v0.13.1 [INFO] [stderr] Compiling winter-air v0.13.1 [INFO] [stderr] Compiling winter-prover v0.13.1 [INFO] [stderr] Compiling winter-verifier v0.13.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miden-miette v8.0.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling miden-debug-types v0.17.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling miden-core v0.17.1 [INFO] [stderr] Compiling miden-utils-diagnostics v0.17.1 [INFO] [stderr] Compiling miden-air v0.17.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling miden-processor v0.17.1 [INFO] [stderr] Compiling miden-verifier v0.17.1 [INFO] [stderr] Compiling miden-assembly-syntax v0.17.1 [INFO] [stderr] Compiling miden-mast-package v0.17.1 [INFO] [stderr] Compiling miden-assembly v0.17.1 [INFO] [stderr] Compiling miden-objects v0.11.2 [INFO] [stderr] Compiling miden-base-macros v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "547288b854e996289282ac319dcd6911c7e74b0ed78f6b8c08198b8cb603813f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "547288b854e996289282ac319dcd6911c7e74b0ed78f6b8c08198b8cb603813f", kill_on_drop: false }` [INFO] [stdout] 547288b854e996289282ac319dcd6911c7e74b0ed78f6b8c08198b8cb603813f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb5f185195044dc4daa984679a9d3f08c658d50fef418ea4382ad6c4862990b1 [INFO] running `Command { std: "docker" "start" "-a" "eb5f185195044dc4daa984679a9d3f08c658d50fef418ea4382ad6c4862990b1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/miden_base_macros-f2dfc4d0e7ec3770) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test types::tests::allows_sdk_type_without_export_attribute ... ok [INFO] [stdout] test component_macro::tests::build_custom_with_entries_prefers_custom_paths ... ok [INFO] [stdout] test types::tests::emits_hint_for_missing_export_type ... ok [INFO] [stdout] test component_macro::tests::record_type_path_defaults_to_crate_root ... ok [INFO] [stdout] test component_macro::tests::build_path_tokens_generates_absolute_path ... ok [INFO] [stdout] test component_macro::tests::record_type_path_resolves_super_segments ... ok [INFO] [stdout] test types::tests::struct_field_missing_export_type_hint ... ok [INFO] [stdout] test types::tests::enum_payload_missing_export_type_hint ... ok [INFO] [stdout] test types::tests::forward_reference_between_export_types_is_allowed ... ok [INFO] [stdout] test component_macro::tests::record_type_path_applies_module_prefix ... ok [INFO] [stdout] test component_macro::tests::build_path_tokens_defaults_to_crate_root_for_single_segment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests miden_base_macros [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - generate (line 210) ... FAILED [INFO] [stdout] test src/lib.rs - generate (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - generate (line 210) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `miden` [INFO] [stdout] --> src/lib.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | use miden::generate; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `miden` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miden`, use `cargo add miden` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - generate (line 173) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `miden` [INFO] [stdout] --> src/lib.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | use miden::generate; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `miden` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `miden`, use `cargo add miden` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `export` in this scope [INFO] [stdout] --> src/lib.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | export!(MyComponent); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Guest` in this scope [INFO] [stdout] --> src/lib.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 189 | impl Guest for MyComponent { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error: expected identifier, found `(` [INFO] [stdout] --> src/lib.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl MyAccount { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 28 | pub fn (&self, a: StructA) -> StructB { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] ... [INFO] [stdout] 31 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 10 + use miden_base_macros::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/lib.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 10 + use miden_base_macros::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_type` in this scope [INFO] [stdout] --> src/lib.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[export_type] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 17 - #[export_type] [INFO] [stdout] 17 + #[export_name] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 10 + use miden_base_macros::export_type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_type` in this scope [INFO] [stdout] --> src/lib.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[export_type] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 - #[export_type] [INFO] [stdout] 11 + #[export_name] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 10 + use miden_base_macros::export_type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub foo: Word, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use miden_objects::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Asset` in this scope [INFO] [stdout] --> src/lib.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub asset: Asset, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use miden_objects::asset::Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Felt` in this scope [INFO] [stdout] --> src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub bar: Felt, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use miden_objects::Felt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Felt` in this scope [INFO] [stdout] --> src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub baz: Felt, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use miden_objects::Felt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] src/lib.rs - generate (line 173) [INFO] [stdout] src/lib.rs - generate (line 210) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eb5f185195044dc4daa984679a9d3f08c658d50fef418ea4382ad6c4862990b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5f185195044dc4daa984679a9d3f08c658d50fef418ea4382ad6c4862990b1", kill_on_drop: false }` [INFO] [stdout] eb5f185195044dc4daa984679a9d3f08c658d50fef418ea4382ad6c4862990b1