[INFO] fetching crate rust_to_dtr 0.16.0... [INFO] testing rust_to_dtr-0.16.0 against beta-2026-04-21 for beta-1.96-2 [INFO] extracting crate rust_to_dtr 0.16.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rust_to_dtr 0.16.0 [INFO] finished tweaking crates.io crate rust_to_dtr 0.16.0 [INFO] tweaked toml for crates.io crate rust_to_dtr 0.16.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_to_dtr 0.16.0 on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 142 packages to latest compatible versions [INFO] [stderr] Adding crypto-common v0.1.6 (available: v0.1.7) [INFO] [stderr] Adding curve25519-dalek v4.1.2 (available: v4.1.3) [INFO] [stderr] Adding darling v0.20.10 (available: v0.20.11) [INFO] [stderr] Adding darling_core v0.20.10 (available: v0.20.11) [INFO] [stderr] Adding darling_macro v0.20.10 (available: v0.20.11) [INFO] [stderr] Adding deranged v0.5.3 (available: v0.5.8) [INFO] [stderr] Adding ed25519-dalek v2.0.0 (available: v2.2.0) [INFO] [stderr] Adding ethnum v1.5.0 (available: v1.5.3) [INFO] [stderr] Adding getrandom v0.2.11 (available: v0.2.17) [INFO] [stderr] Adding indexmap v2.11.1 (available: v2.14.0) [INFO] [stderr] Adding k256 v0.13.1 (available: v0.13.4) [INFO] [stderr] Adding num-bigint v0.4.4 (available: v0.4.6) [INFO] [stderr] Adding num-derive v0.4.1 (available: v0.4.2) [INFO] [stderr] Adding num-integer v0.1.45 (available: v0.1.46) [INFO] [stderr] Adding num-traits v0.2.17 (available: v0.2.19) [INFO] [stderr] Adding ppv-lite86 v0.2.20 (available: v0.2.21) [INFO] [stderr] Adding prettyplease v0.2.15 (available: v0.2.37) [INFO] [stderr] Adding proc-macro2 v1.0.69 (available: v1.0.106) [INFO] [stderr] Adding quote v1.0.33 (available: v1.0.45) [INFO] [stderr] Adding rand v0.8.5 (available: v0.8.6) [INFO] [stderr] Adding serde v1.0.192 (available: v1.0.228) [INFO] [stderr] Adding serde_derive v1.0.192 (available: v1.0.228) [INFO] [stderr] Adding serde_json v1.0.108 (available: v1.0.149) [INFO] [stderr] Adding serde_with v3.12.0 (available: v3.18.0) [INFO] [stderr] Adding serde_with_macros v3.12.0 (available: v3.18.0) [INFO] [stderr] Adding sha2 v0.10.8 (available: v0.10.9) [INFO] [stderr] Adding sha3 v0.10.8 (available: v0.10.9) [INFO] [stderr] Adding soroban-sdk v20.5.0 (available: v25.3.1) [INFO] [stderr] Adding syn v2.0.39 (available: v2.0.117) [INFO] [stderr] Adding thiserror v1.0.55 (available: v1.0.69) [INFO] [stderr] Adding thiserror-impl v1.0.55 (available: v1.0.69) [INFO] [stderr] Adding time v0.3.44 (available: v0.3.47) [INFO] [stderr] Adding time-core v0.1.6 (available: v0.1.8) [INFO] [stderr] Adding time-macros v0.2.24 (available: v0.2.27) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d24bf98036e6592a1229eb6728bebf70dadaf2238bb1bf0db228a64d49415df [INFO] running `Command { std: "docker" "start" "-a" "9d24bf98036e6592a1229eb6728bebf70dadaf2238bb1bf0db228a64d49415df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d24bf98036e6592a1229eb6728bebf70dadaf2238bb1bf0db228a64d49415df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d24bf98036e6592a1229eb6728bebf70dadaf2238bb1bf0db228a64d49415df", kill_on_drop: false }` [INFO] [stdout] 9d24bf98036e6592a1229eb6728bebf70dadaf2238bb1bf0db228a64d49415df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b38f2b72b9619447c15eb549955c5946893fe49ea3a56f0f71aa0f590774406 [INFO] running `Command { std: "docker" "start" "-a" "7b38f2b72b9619447c15eb549955c5946893fe49ea3a56f0f71aa0f590774406", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling escape-bytes v0.1.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling platforms v3.10.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling ethnum v1.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling wasmparser-nostd v0.100.2 [INFO] [stderr] Compiling wasmi_core v0.13.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling wasmi_arena v0.4.1 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling soroban-env-host v20.3.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling k256 v0.13.1 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Compiling soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling ed25519-dalek v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling crate-git-revision v0.0.6 [INFO] [stderr] Compiling stellar-strkey v0.0.8 [INFO] [stderr] Compiling stellar-xdr v20.1.0 [INFO] [stderr] Compiling soroban-env-common v20.3.0 [INFO] [stderr] Compiling soroban-sdk-macros v20.5.0 [INFO] [stderr] Compiling soroban-spec v20.5.0 [INFO] [stderr] Compiling soroban-spec-rust v20.5.0 [INFO] [stderr] Compiling soroban-env-macros v20.3.0 [INFO] [stderr] Compiling soroban-ledger-snapshot v20.5.0 [INFO] [stderr] Compiling soroban-sdk v20.5.0 [INFO] [stderr] Compiling rust_to_dtr v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 20s [INFO] running `Command { std: "docker" "inspect" "7b38f2b72b9619447c15eb549955c5946893fe49ea3a56f0f71aa0f590774406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b38f2b72b9619447c15eb549955c5946893fe49ea3a56f0f71aa0f590774406", kill_on_drop: false }` [INFO] [stdout] 7b38f2b72b9619447c15eb549955c5946893fe49ea3a56f0f71aa0f590774406 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5864c86f19bf4dba0fb8f4d05839e9564d2a140f897b53b073ce63b6e211a4f7 [INFO] running `Command { std: "docker" "start" "-a" "5864c86f19bf4dba0fb8f4d05839e9564d2a140f897b53b073ce63b6e211a4f7", kill_on_drop: false }` [INFO] [stderr] Compiling rust_to_dtr v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] running `Command { std: "docker" "inspect" "5864c86f19bf4dba0fb8f4d05839e9564d2a140f897b53b073ce63b6e211a4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5864c86f19bf4dba0fb8f4d05839e9564d2a140f897b53b073ce63b6e211a4f7", kill_on_drop: false }` [INFO] [stdout] 5864c86f19bf4dba0fb8f4d05839e9564d2a140f897b53b073ce63b6e211a4f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e25f7d5fdcb91ccc6e8f4d92fac454c89a387b2ed3f62231d0c9208688b2b7f [INFO] running `Command { std: "docker" "start" "-a" "1e25f7d5fdcb91ccc6e8f4d92fac454c89a387b2ed3f62231d0c9208688b2b7f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_to_dtr-5b73f649edf30fdc) [INFO] [stdout] [INFO] [stdout] running 144 tests [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_does_not_change_normal_op ... ok [INFO] [stdout] test common::compilation_state::tests::test_compilation_state ... ok [INFO] [stdout] test common::compilation_state::tests::test_stack ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_does_not_propagate_after_evaluate_reassignment ... ok [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_transforms_subtract_and_assign ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_only_propagates_if_assign ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_does_not_violate_scope ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_latest_value ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_multiple_values ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_same_value_multiple_times ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_multiple_values_with_multiple_assigns ... ok [INFO] [stdout] test common::compilation_state::test_scope_nary_tree ... ok [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_transforms_add_and_assign ... ok [INFO] [stdout] test optimize::constant_propagation::tests::rewrite_field_instruction_as_assign_works ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::do_a_thing ... ok [INFO] [stdout] test common::compilation_state::tests::test_unique_number_generator ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_works_for_method_call_base_object ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_uses_value_from_lowest_scope_less_than_or_equal_to_self ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::does_not_remove_assigns_when_defined_in_other_scope_and_used_later ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_due_to_eval_after ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_removes_unused_assigns_complex ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_removes_unused_assigns_simple ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::multi_scope_unreachable_return_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::multi_scope_unreachable_goto_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_exit_with_message ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_jump_goto_and_return ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_goto_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_jump_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_jump_goto_return_and_assigns ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_return_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::test_unreachable_jump_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::conditional_jumps ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::handles_simple_for_loop ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::handles_goto ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_dead_code_after_jump ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_goto_skips_instruction ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_dead_code_after_return ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_sequential ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_count_zero_to_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_innerds_of_enums ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_log_if_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_break_statement_not_too_many_scope_jumps ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_more_complex_if_conditional ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_return_error ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_various_result_handling_tactics ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_a ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_b ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_custom_types ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_auth ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deployer_deployer ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_errors ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_events ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_eth_abi ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_hello_world ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_increment ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_alloc ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_logging ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_simple_account ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_token ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_timelock ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_a ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_a_interface ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b ... ok [INFO] [stdout] test translate::expression::array_expression::tests::test_handle_array_expression ... ok [INFO] [stdout] test translate::expression::assign_expression::tests::test_handle_assign_expression ... ok [INFO] [stdout] test translate::expression::binary_expression::tests::test_binary_expression_simple_addition ... ok [INFO] [stdout] test translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_handle_block_expression ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_parse_block_stmt ... ok [INFO] [stdout] test translate::expression::break_expression::tests::test_handle_break_expression ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_path ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_struct_init_as_input ... ok [INFO] [stdout] test translate::expression::cast_expression::tests::test_handle_cast_expression ... ok [INFO] [stdout] test translate::expression::closure_expression::tests::test_handle_closure_expression ... FAILED [INFO] [stdout] test translate::expression::field_expression::tests::test_handle_field_expression ... ok [INFO] [stdout] test translate::expression::field_expression::tests::test_handle_field_expression_index ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_for_loop_expression ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_condition_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_else_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_elseif_else_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_let_expression ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_nested_expression ... ok [INFO] [stdout] test translate::expression::index_expression::tests::test_handle_index_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_ttl ... FAILED [INFO] [stdout] test translate::expression::index_expression::tests::test_handle_index_expression_with_nested_index ... ok [INFO] [stdout] test translate::expression::let_expression::tests::let_expression::test_let_expression_simple_x_equals_1 ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_bool ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing ... FAILED [INFO] [stdout] test translate::expression::let_expression::tests::let_expression::test_let_expression_less_simple_foo_equals_bar ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_byte_str ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_char ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_byte ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_float ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_int ... ok [INFO] [stdout] test translate::expression::path_expression::tests::test_handle_path_expression ... ok [INFO] [stdout] test translate::expression::match_expression::tests::test_handle_match_expression ... FAILED [INFO] [stdout] test translate::expression::method_call_expression::tests::test_handle_method_call_expression ... ok [INFO] [stdout] test translate::expression::paren_expression::tests::test_handle_paren_expression ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_int ... ok [INFO] [stdout] test translate::expression::range_expression::test::test_handle_create_full_range ... ok [INFO] [stdout] test translate::expression::repeat_expression::tests::test_handle_repeat_expression ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_no_expr ... ok [INFO] [stdout] test translate::expression::struct_expression::tests::test_handle_struct_expression ... ok [INFO] [stdout] test translate::expression::tuple_expression::tests::test_handle_tuple ... FAILED [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_negation_expression ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_bool ... FAILED [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_enum ... ok [INFO] [stdout] test translate::type_name::tests::collections::test_figure_out_type_hash_map ... ok [INFO] [stdout] test translate::type_name::tests::collections::test_figure_out_type_vec_i32 ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_function ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_never ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_char ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_pointer ... ok [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_minus_expression ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_bool ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_f32 ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_f64 ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_i32 ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_single_offer ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_account ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [if_let_example] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] letter: Option [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 } [INFO] [stdout] { id: 9, instruction: jump, input: (8), scope: 0 } [INFO] [stdout] { id: 6, instruction: print, input: ("Matched {:?}!", i), scope: 4 } [INFO] [stdout] { id: 7, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 10, instruction: print, input: ("Didn't match a number. Let's go with a letter!"), scope: 8 } [INFO] [stdout] { id: 11, instruction: jump, input: (0), scope: 8 } [INFO] [stdout] { id: 1, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 } [INFO] [stdout] { id: 3, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 2), scope: 0 } [INFO] [stdout] { id: 6, instruction: return, input: (foobar), scope: 2 } [INFO] [stdout] { id: 7, instruction: jump, input: (0), scope: 2 } [INFO] [stdout] { id: 8, instruction: exit_with_message, input: ("This is a panic!"), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression' (61) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [if_let_example]* Inputs:{letter: Option}* Instructions:${ id: 3, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 9, instruction: jump, input: (8), scope: 0 }{ id: 6, instruction: print, input: (\"Matched {:?}!\", i), scope: 4 }{ id: 7, instruction: jump, input: (0), scope: 4 }{ id: 10, instruction: print, input: (\"Didn't match a number. Let's go with a letter!\"), scope: 8 }{ id: 11, instruction: jump, input: (0), scope: 8 }{ id: 1, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 3, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 2), scope: 0 }{ id: 6, instruction: return, input: (foobar), scope: 2 }{ id: 7, instruction: jump, input: (0), scope: 2 }{ id: 8, instruction: exit_with_message, input: (\"This is a panic!\"), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [if_let_example]* Inputs:{letter: Option}* Instructions:${ id: 3, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 9, instruction: jump, input: (8), scope: 0 }{ id: 6, instruction: print, input: (\"Matched {:?}!\", i), scope: 4 }{ id: 7, instruction: jump, input: (0), scope: 4 }{ id: 10, instruction: print, input: (\"Didn't match a number. Let's go with a letter!\"), scope: 8 }{ id: 11, instruction: jump, input: (0), scope: 8 }{ id: 15, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 16), scope: 0 }{ id: 20, instruction: return, input: (foobar), scope: 16 }{ id: 22, instruction: exit_with_message, input: (\"This is a panic!\"), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a99362850e - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression::h13045f7fb698e1db [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993628547 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression::{{closure}}::he0bc422c1e19d8ed [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362b296 - core::ops::function::FnOnce::call_once::h541f8f019841f909 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [get_count_item] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] s: &str [INFO] [stdout] } [INFO] [stdout] * Output: (Integer, &str) [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 1, instruction: evaluate, input: (s.split, ' '), assign: it, scope: 0 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_2_0, scope: 0 } [INFO] [stdout] { id: 9, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0), assign: TRY_ASSIGN_RESULT_1, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (try_assign, (Some(count_str) Some(item)), TRY_ASSIGN_RESULT_1), assign: TRY_ASSIGN_RESULT_CONDITIONAL_2, scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_2, 12), scope: 0 } [INFO] [stdout] { id: 15, instruction: jump, input: (14), scope: 0 } [INFO] [stdout] { id: 16, instruction: jump, input: (0), scope: 12 } [INFO] [stdout] { id: 17, instruction: exit_with_message, input: ("Can't segment count item pair: '{s}'"), scope: 14 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (u64::from_str, count_str), assign: TRY_ASSIGN_RESULT_19, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (try_assign, Ok(count), TRY_ASSIGN_RESULT_19), assign: TRY_ASSIGN_RESULT_CONDITIONAL_20, scope: 0 } [INFO] [stdout] { id: 28, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_20, 27), scope: 0 } [INFO] [stdout] { id: 30, instruction: jump, input: (29), scope: 0 } [INFO] [stdout] { id: 31, instruction: jump, input: (0), scope: 27 } [INFO] [stdout] { id: 32, instruction: exit_with_message, input: ("Can't parse integer: '{count_str}'"), scope: 29 } [INFO] [stdout] { id: 2, instruction: instantiate_object, input: (Tuple, count, item), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression' (64) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [get_count_item]* Inputs:{s: &str}* Output: (Integer, &str)* Instructions:${ id: 1, instruction: evaluate, input: (s.split, ' '), assign: it, scope: 0 }{ id: 5, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 8, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 9, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0), assign: TRY_ASSIGN_RESULT_1, scope: 0 }{ id: 11, instruction: evaluate, input: (try_assign, (Some(count_str) Some(item)), TRY_ASSIGN_RESULT_1), assign: TRY_ASSIGN_RESULT_CONDITIONAL_2, scope: 0 }{ id: 13, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_2, 12), scope: 0 }{ id: 15, instruction: jump, input: (14), scope: 0 }{ id: 16, instruction: jump, input: (0), scope: 12 }{ id: 17, instruction: exit_with_message, input: (\"Can't segment count item pair: '{s}'\"), scope: 14 }{ id: 25, instruction: evaluate, input: (u64::from_str, count_str), assign: TRY_ASSIGN_RESULT_19, scope: 0 }{ id: 26, instruction: evaluate, input: (try_assign, Ok(count), TRY_ASSIGN_RESULT_19), assign: TRY_ASSIGN_RESULT_CONDITIONAL_20, scope: 0 }{ id: 28, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_20, 27), scope: 0 }{ id: 30, instruction: jump, input: (29), scope: 0 }{ id: 31, instruction: jump, input: (0), scope: 27 }{ id: 32, instruction: exit_with_message, input: (\"Can't parse integer: '{count_str}'\"), scope: 29 }{ id: 2, instruction: instantiate_object, input: (Tuple, count, item), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [get_count_item]* Inputs:{s: &str}* Output: (Integer, &str)* Instructions:${ id: 4, instruction: evaluate, input: (s.split, ' '), assign: it, scope: 0 }{ id: 9, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 12, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 13, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0), assign: TRY_ASSIGN_RESULT_5, scope: 0 }{ id: 15, instruction: evaluate, input: (try_assign, (Some(count_str) Some(item)), TRY_ASSIGN_RESULT_5), assign: TRY_ASSIGN_RESULT_CONDITIONAL_6, scope: 0 }{ id: 17, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_6, 16), scope: 0 }{ id: 19, instruction: jump, input: (18), scope: 0 }{ id: 20, instruction: jump, input: (0), scope: 16 }{ id: 21, instruction: exit_with_message, input: (\"Can't segment count item pair: '{s}'\"), scope: 18 }{ id: 29, instruction: evaluate, input: (u64::from_str, count_str), assign: TRY_ASSIGN_RESULT_23, scope: 0 }{ id: 30, instruction: evaluate, input: (try_assign, Ok(count), TRY_ASSIGN_RESULT_23), assign: TRY_ASSIGN_RESULT_CONDITIONAL_24, scope: 0 }{ id: 32, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_24, 31), scope: 0 }{ id: 34, instruction: jump, input: (33), scope: 0 }{ id: 35, instruction: jump, input: (0), scope: 31 }{ id: 36, instruction: exit_with_message, input: (\"Can't parse integer: '{count_str}'\"), scope: 33 }{ id: 40, instruction: instantiate_object, input: (Tuple, count, item), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a99362884e - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression::ha99bd6c9d229a092 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993628887 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression::{{closure}}::h91bfe119be3ef15e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362ac56 - core::ops::function::FnOnce::call_once::h3459c371dd133d89 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_alloc stdout ---- [INFO] [stdout] DTR Code: [Contract]: AllocContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [sum] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] _env: Env [INFO] [stdout] count: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: instantiate_object, input: (List), assign: v1, scope: 0 } [INFO] [stdout] { id: 12, instruction: instantiate_object, input: (Range, 0, count), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (v1.push, i), assign: METHOD_CALL_ARG_1_1, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.for_each, METHOD_CALL_ARG_1_1), scope: 0 } [INFO] [stdout] { id: 14, instruction: assign, input: (0), assign: sum, scope: 0 } [INFO] [stdout] { id: 17, instruction: assign, input: (v1), assign: ITERATOR_15, scope: 0 } [INFO] [stdout] { id: 0, instruction: evaluate, input: (start, v1), assign: i, scope: 0 } [INFO] [stdout] { id: 1, instruction: end_of_iteration_check, input: (i, ITERATOR_15), assign: CHECK_CONDITION_ASSIGNMENT_16, scope: 0 } [INFO] [stdout] { id: 3, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_16, 2), scope: 0 } [INFO] [stdout] { id: 8, instruction: add, input: (sum, i), assign: sum, scope: 2 } [INFO] [stdout] { id: 9, instruction: increment, input: (i), scope: 2 } [INFO] [stdout] { id: 10, instruction: goto, input: (1), scope: 2 } [INFO] [stdout] { id: 0, instruction: return, input: (sum), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_alloc' (75) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AllocContract[Interface]:-() [sum]* Inputs:{_env: Envcount: Integer}* Output: Integer* Instructions:${ id: 0, instruction: instantiate_object, input: (List), assign: v1, scope: 0 }{ id: 12, instruction: instantiate_object, input: (Range, 0, count), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 6, instruction: evaluate, input: (v1.push, i), assign: METHOD_CALL_ARG_1_1, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.for_each, METHOD_CALL_ARG_1_1), scope: 0 }{ id: 14, instruction: assign, input: (0), assign: sum, scope: 0 }{ id: 17, instruction: assign, input: (v1), assign: ITERATOR_15, scope: 0 }{ id: 0, instruction: evaluate, input: (start, v1), assign: i, scope: 0 }{ id: 1, instruction: end_of_iteration_check, input: (i, ITERATOR_15), assign: CHECK_CONDITION_ASSIGNMENT_16, scope: 0 }{ id: 3, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_16, 2), scope: 0 }{ id: 8, instruction: add, input: (sum, i), assign: sum, scope: 2 }{ id: 9, instruction: increment, input: (i), scope: 2 }{ id: 10, instruction: goto, input: (1), scope: 2 }{ id: 0, instruction: return, input: (sum), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: AllocContract[Interface]:-() [sum]* Inputs:{_env: Envcount: Integer}* Output: Integer* Instructions:${ id: 0, instruction: instantiate_object, input: (List), assign: v1, scope: 0 }{ id: 12, instruction: instantiate_object, input: (Range, 0, count), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 6, instruction: evaluate, input: (v1.push, i), assign: METHOD_CALL_ARG_1_1, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.for_each, METHOD_CALL_ARG_1_1), scope: 0 }{ id: 14, instruction: assign, input: (0), assign: sum, scope: 0 }{ id: 17, instruction: assign, input: (v1), assign: ITERATOR_15, scope: 0 }{ id: 18, instruction: evaluate, input: (start, v1), assign: i, scope: 0 }{ id: 19, instruction: end_of_iteration_check, input: (i, ITERATOR_15), assign: CHECK_CONDITION_ASSIGNMENT_16, scope: 0 }{ id: 21, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_16, 20), scope: 0 }{ id: 26, instruction: add, input: (sum, i), assign: sum, scope: 20 }{ id: 27, instruction: increment, input: (i), scope: 20 }{ id: 28, instruction: goto, input: (19), scope: 20 }{ id: 0, instruction: return, input: (sum), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a99362766e - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_alloc::hbe010f7a664c3d77 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a9936276a7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_alloc::{{closure}}::he7f7dad1e1c639e3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362b316 - core::ops::function::FnOnce::call_once::h5499bf4c1228c03d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool' (91) panicked at src/rust_to_dtr_c/mod.rs:15:49: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Error("expected square brackets") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388eb52 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x58a99366bc29 - core::result::Result::unwrap::h6a827b5b5d7afbc4 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x58a99366bc29 - rust_to_dtr::rust_to_dtr_c::parse_to_dtr::hb95963188ad686f6 [INFO] [stdout] at /opt/rustwide/workdir/src/rust_to_dtr_c/mod.rs:15:49 [INFO] [stdout] 22: 0x58a993626f94 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:21:15 [INFO] [stdout] 23: 0x58a9936285de - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool::hce143a9f69f55642 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 24: 0x58a993628617 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool::{{closure}}::ha602dc9ca8ed56da [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 25: 0x58a99362aba6 - core::ops::function::FnOnce::call_once::h32d152237a1040da [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 32: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 37: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 38: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 43: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 45: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 46: 0x71ebd0890aa4 - [INFO] [stdout] 47: 0x71ebd091da64 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [NonTranslatable]: [INFO] [stdout] [INFO] [stdout] mod contract_a {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] mod contract_b {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] mod contract_c {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[NonTranslatable] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth' (82) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[NonTranslatable]:mod contract_a {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM}mod contract_b {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM}mod contract_c {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM}:[NonTranslatable]" [INFO] [stdout] right: "" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a993628dfe - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth::h9e7281992e2bc85d [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993628e37 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth::{{closure}}::h52affe4c6f1cd239 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362c166 - core::ops::function::FnOnce::call_once::h95cc6a663a30ab9e [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_logging stdout ---- [INFO] [stdout] DTR Code: [Contract]: Contract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [hello] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] value: String [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 11, instruction: print, input: (env, "Hello {}", value), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_logging' (92) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: Contract[Interface]:-() [hello]* Inputs:{env: Envvalue: String}* Instructions:${ id: 11, instruction: print, input: (env, \"Hello {}\", value), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: Contract[Interface]:-() [hello]* Inputs:{env: Envvalue: String}* Instructions:${ id: 0, instruction: print, input: (env, \"Hello {}\", value), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a993627c1e - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_logging::h690f89e0bd423cf2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993627c57 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_logging::{{closure}}::hb74ed06de0e0b010 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362cb06 - core::ops::function::FnOnce::call_once::hc947e81471888c21 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap stdout ---- [INFO] [stdout] DTR Code: [Contract]: AtomicMultiSwapContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [multi_swap] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] swap_contract: Address [INFO] [stdout] token_a: Address [INFO] [stdout] token_b: Address [INFO] [stdout] swaps_a: List [INFO] [stdout] swaps_b: List [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 2, instruction: evaluate, input: (atomic_swap::Client::new, env, swap_contract), assign: swap_client, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_3, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (start, ITERATOR_3), assign: acc_a, scope: 0 } [INFO] [stdout] { id: 9, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_3), assign: CHECK_CONDITION_ASSIGNMENT_4, scope: 0 } [INFO] [stdout] { id: 11, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_4, 10), scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_15, scope: 10 } [INFO] [stdout] { id: 20, instruction: instantiate_object, input: (Range, 0, RANGE_END_15), assign: ITERATOR_12, scope: 10 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (start, ITERATOR_12), assign: i, scope: 10 } [INFO] [stdout] { id: 22, instruction: end_of_iteration_check, input: (i, ITERATOR_12), assign: CHECK_CONDITION_ASSIGNMENT_13, scope: 10 } [INFO] [stdout] { id: 24, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_13, 23), scope: 10 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_25, scope: 23 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.unwrap), assign: acc_b, scope: 23 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_33, scope: 23 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_34, scope: 23 } [INFO] [stdout] { id: 57, instruction: and, input: (BINARY_EXPRESSION_LEFT_33, BINARY_EXPRESSION_RIGHT_34), assign: CONDITIONAL_JUMP_ASSIGNMENT_32, scope: 23 } [INFO] [stdout] { id: 59, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_32, 58), scope: 23 } [INFO] [stdout] { id: 98, instruction: evaluate, input: (swap_client.try_swap, acc_a.address, acc_b.address, token_a, token_b, acc_a.amount, acc_a.min_recv, acc_b.amount, acc_b.min_recv), assign: METHOD_CALL_EXPRESSION_61, scope: 58 } [INFO] [stdout] { id: 99, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_61.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_60, scope: 58 } [INFO] [stdout] { id: 101, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_60, 100), scope: 58 } [INFO] [stdout] { id: 106, instruction: evaluate, input: (swaps_b.remove, i), scope: 100 } [INFO] [stdout] { id: 107, instruction: jump, input: (0), scope: 100 } [INFO] [stdout] { id: 109, instruction: jump, input: (23), scope: 58 } [INFO] [stdout] { id: 110, instruction: increment, input: (i), scope: 23 } [INFO] [stdout] { id: 111, instruction: goto, input: (22), scope: 23 } [INFO] [stdout] { id: 112, instruction: increment, input: (acc_a), scope: 10 } [INFO] [stdout] { id: 113, instruction: goto, input: (9), scope: 10 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]:* (SwapSpec_STRUCT) [INFO] [stdout] { [INFO] [stdout] address: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] min_recv: BigInteger [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [NonTranslatable]: [INFO] [stdout] [INFO] [stdout] mod atomic_swap { [INFO] [stdout] soroban_sdk::contractimport!( [INFO] [stdout] file = "../atomic_swap/target/wasm32-unknown-unknown/release/soroban_atomic_swap_contract.wasm" [INFO] [stdout] ); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[NonTranslatable] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap' (76) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AtomicMultiSwapContract[Interface]:-() [multi_swap]* Inputs:{env: Envswap_contract: Addresstoken_a: Addresstoken_b: Addressswaps_a: Listswaps_b: List}* Instructions:${ id: 2, instruction: evaluate, input: (atomic_swap::Client::new, env, swap_contract), assign: swap_client, scope: 0 }{ id: 7, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_3, scope: 0 }{ id: 8, instruction: evaluate, input: (start, ITERATOR_3), assign: acc_a, scope: 0 }{ id: 9, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_3), assign: CHECK_CONDITION_ASSIGNMENT_4, scope: 0 }{ id: 11, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_4, 10), scope: 0 }{ id: 19, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_15, scope: 10 }{ id: 20, instruction: instantiate_object, input: (Range, 0, RANGE_END_15), assign: ITERATOR_12, scope: 10 }{ id: 21, instruction: evaluate, input: (start, ITERATOR_12), assign: i, scope: 10 }{ id: 22, instruction: end_of_iteration_check, input: (i, ITERATOR_12), assign: CHECK_CONDITION_ASSIGNMENT_13, scope: 10 }{ id: 24, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_13, 23), scope: 10 }{ id: 30, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_25, scope: 23 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.unwrap), assign: acc_b, scope: 23 }{ id: 45, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_33, scope: 23 }{ id: 56, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_34, scope: 23 }{ id: 57, instruction: and, input: (BINARY_EXPRESSION_LEFT_33, BINARY_EXPRESSION_RIGHT_34), assign: CONDITIONAL_JUMP_ASSIGNMENT_32, scope: 23 }{ id: 59, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_32, 58), scope: 23 }{ id: 98, instruction: evaluate, input: (swap_client.try_swap, acc_a.address, acc_b.address, token_a, token_b, acc_a.amount, acc_a.min_recv, acc_b.amount, acc_b.min_recv), assign: METHOD_CALL_EXPRESSION_61, scope: 58 }{ id: 99, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_61.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_60, scope: 58 }{ id: 101, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_60, 100), scope: 58 }{ id: 106, instruction: evaluate, input: (swaps_b.remove, i), scope: 100 }{ id: 107, instruction: jump, input: (0), scope: 100 }{ id: 109, instruction: jump, input: (23), scope: 58 }{ id: 110, instruction: increment, input: (i), scope: 23 }{ id: 111, instruction: goto, input: (22), scope: 23 }{ id: 112, instruction: increment, input: (acc_a), scope: 10 }{ id: 113, instruction: goto, input: (9), scope: 10 }$:[Interface][User Defined Types]:* (SwapSpec_STRUCT){address: Addressamount: BigIntegermin_recv: BigInteger}:[User Defined Types][NonTranslatable]:mod atomic_swap {soroban_sdk::contractimport!(file = \"../atomic_swap/target/wasm32-unknown-unknown/release/soroban_atomic_swap_contract.wasm\");}:[NonTranslatable]" [INFO] [stdout] right: "[Contract]: AtomicMultiSwapContract[Interface]:-() [multi_swap]* Inputs:{env: Envswap_contract: Addresstoken_a: Addresstoken_b: Addressswaps_a: Listswaps_b: List}* Instructions:${ id: 7, instruction: evaluate, input: (atomic_swap::Client::new, env, swap_contract), assign: swap_client, scope: 0 }{ id: 12, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_8, scope: 0 }{ id: 13, instruction: evaluate, input: (start, ITERATOR_8), assign: acc_a, scope: 0 }{ id: 14, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_8), assign: CHECK_CONDITION_ASSIGNMENT_9, scope: 0 }{ id: 16, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_9, 15), scope: 0 }{ id: 24, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_20, scope: 15 }{ id: 25, instruction: instantiate_object, input: (Range, 0, RANGE_END_20), assign: ITERATOR_17, scope: 15 }{ id: 26, instruction: evaluate, input: (start, ITERATOR_17), assign: i, scope: 15 }{ id: 27, instruction: end_of_iteration_check, input: (i, ITERATOR_17), assign: CHECK_CONDITION_ASSIGNMENT_18, scope: 15 }{ id: 29, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_18, 28), scope: 15 }{ id: 35, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_30, scope: 28 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.unwrap), assign: acc_b, scope: 28 }{ id: 50, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_38, scope: 28 }{ id: 61, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_39, scope: 28 }{ id: 62, instruction: and, input: (BINARY_EXPRESSION_LEFT_38, BINARY_EXPRESSION_RIGHT_39), assign: CONDITIONAL_JUMP_ASSIGNMENT_37, scope: 28 }{ id: 64, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_37, 63), scope: 28 }{ id: 103, instruction: evaluate, input: (swap_client.try_swap, acc_a.address, acc_b.address, token_a, token_b, acc_a.amount, acc_a.min_recv, acc_b.amount, acc_b.min_recv), assign: METHOD_CALL_EXPRESSION_66, scope: 63 }{ id: 104, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_66.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_65, scope: 63 }{ id: 106, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_65, 105), scope: 63 }{ id: 111, instruction: evaluate, input: (swaps_b.remove, i), scope: 105 }{ id: 112, instruction: jump, input: (0), scope: 105 }{ id: 114, instruction: jump, input: (28), scope: 63 }{ id: 115, instruction: increment, input: (i), scope: 28 }{ id: 116, instruction: goto, input: (27), scope: 28 }{ id: 117, instruction: increment, input: (acc_a), scope: 15 }{ id: 118, instruction: goto, input: (14), scope: 15 }$:[Interface][User Defined Types]:* (SwapSpec_STRUCT){address: Addressamount: BigIntegermin_recv: BigInteger}:[User Defined Types][NonTranslatable]:mod atomic_swap {soroban_sdk::contractimport!(file = \"../atomic_swap/target/wasm32-unknown-unknown/release/soroban_atomic_swap_contract.wasm\");}:[NonTranslatable]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a99362891e - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::h9d26d1dcd700a9f0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993628957 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::{{closure}}::h346421cd91bdcf94 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362a976 - core::ops::function::FnOnce::call_once::h255ffaeb2c4f1e27 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_token stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_token' (97) panicked at src/tests.rs:14:39: [INFO] [stdout] Something went wrong reading the file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388eb52 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x58a9935f8f8c - core::result::Result::expect::he189867b336fc9c7 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x58a993626cc2 - rust_to_dtr::tests::full_contract_tests::read_file_content::hda25acbf3bb08d2f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:14:39 [INFO] [stdout] 22: 0x58a993626dc8 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:18:33 [INFO] [stdout] 23: 0x58a99362773e - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_token::hea2d24fcbd975d46 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 24: 0x58a993627777 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_token::{{closure}}::hd487aad413456274 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 25: 0x58a99362ca46 - core::ops::function::FnOnce::call_once::hc66f13457f0ae91d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 32: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 37: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 38: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 43: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 45: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 46: 0x71ebd0890aa4 - [INFO] [stdout] 47: 0x71ebd091da64 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_timelock stdout ---- [INFO] [stdout] DTR Code: [Contract]: ClaimableBalanceContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [deposit] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] from: Address [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_1, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_1, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 9, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 8), scope: 0 } [INFO] [stdout] { id: 10, instruction: exit_with_message, input: ("too many claimants"), scope: 8 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 } [INFO] [stdout] { id: 19, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 18), scope: 0 } [INFO] [stdout] { id: 20, instruction: exit_with_message, input: ("contract has been already initialized"), scope: 18 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (from.require_auth), scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_33, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_27, scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.transfer, from, METHOD_CALL_ARG_2_27, amount), scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.instance), assign: METHOD_CALL_EXPRESSION_51, scope: 0 } [INFO] [stdout] { id: 49, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_44, scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.set, DataKey::Balance, METHOD_CALL_ARG_2_44), scope: 0 } [INFO] [stdout] { id: 67, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_64, scope: 0 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.instance), assign: METHOD_CALL_EXPRESSION_63, scope: 0 } [INFO] [stdout] { id: 61, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_60, scope: 0 } [INFO] [stdout] { id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_63.set, DataKey::Init, METHOD_CALL_ARG_2_60), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [claim] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] claimant: Address [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 2, instruction: evaluate, input: (claimant.require_auth), scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_15, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (!, UNARY_ARGUMENT_15), assign: CONDITIONAL_JUMP_ASSIGNMENT_14, scope: 0 } [INFO] [stdout] { id: 28, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_14, 27), scope: 0 } [INFO] [stdout] { id: 29, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 27 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_36, scope: 0 } [INFO] [stdout] { id: 42, instruction: evaluate, input: (!, UNARY_ARGUMENT_36), assign: CONDITIONAL_JUMP_ASSIGNMENT_35, scope: 0 } [INFO] [stdout] { id: 44, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_35, 43), scope: 0 } [INFO] [stdout] { id: 45, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 43 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_58, scope: 0 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_47, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_58.transfer, METHOD_CALL_ARG_1_47, claimant, claimable_balance.amount), scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_11, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_11.instance), assign: METHOD_CALL_EXPRESSION_10, scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.remove, DataKey::Balance), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Init: () [INFO] [stdout] Balance: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (TimeBoundKind_ENUM) [INFO] [stdout] { [INFO] [stdout] Before: () [INFO] [stdout] After: () [INFO] [stdout] } [INFO] [stdout] * (TimeBound_STRUCT) [INFO] [stdout] { [INFO] [stdout] kind: TimeBoundKind [INFO] [stdout] timestamp: Integer [INFO] [stdout] } [INFO] [stdout] * (ClaimableBalance_STRUCT) [INFO] [stdout] { [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [check_time_bound] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] time_bound: &TimeBound [INFO] [stdout] } [INFO] [stdout] * Output: Boolean [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 25, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_20, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.timestamp), assign: ledger_timestamp, scope: 0 } [INFO] [stdout] { id: 30, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_27, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_32, scope: 0 } [INFO] [stdout] { id: 35, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_32, 34), scope: 0 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_27, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_45, scope: 0 } [INFO] [stdout] { id: 48, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_45, 47), scope: 0 } [INFO] [stdout] { id: 43, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 34 } [INFO] [stdout] { id: 44, instruction: jump, input: (0), scope: 34 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 47 } [INFO] [stdout] { id: 57, instruction: jump, input: (0), scope: 47 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [is_initialized] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] } [INFO] [stdout] * Output: Boolean [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.instance), assign: METHOD_CALL_EXPRESSION_2, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.has, DataKey::Init), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_timelock' (96) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: ClaimableBalanceContract[Interface]:-() [deposit]* Inputs:{env: Envfrom: Addresstoken: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}* Instructions:${ id: 5, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_1, scope: 0 }{ id: 7, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_1, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 9, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 8), scope: 0 }{ id: 10, instruction: exit_with_message, input: (\"too many claimants\"), scope: 8 }{ id: 17, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 19, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 18), scope: 0 }{ id: 20, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 18 }{ id: 24, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 40, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_33, scope: 0 }{ id: 30, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_27, scope: 0 }{ id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.transfer, from, METHOD_CALL_ARG_2_27, amount), scope: 0 }{ id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.instance), assign: METHOD_CALL_EXPRESSION_51, scope: 0 }{ id: 49, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_44, scope: 0 }{ id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.set, DataKey::Balance, METHOD_CALL_ARG_2_44), scope: 0 }{ id: 67, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_64, scope: 0 }{ id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.instance), assign: METHOD_CALL_EXPRESSION_63, scope: 0 }{ id: 61, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_60, scope: 0 }{ id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_63.set, DataKey::Init, METHOD_CALL_ARG_2_60), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Address}* Instructions:${ id: 2, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 25, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_15, scope: 0 }{ id: 26, instruction: evaluate, input: (!, UNARY_ARGUMENT_15), assign: CONDITIONAL_JUMP_ASSIGNMENT_14, scope: 0 }{ id: 28, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_14, 27), scope: 0 }{ id: 29, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 27 }{ id: 41, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_36, scope: 0 }{ id: 42, instruction: evaluate, input: (!, UNARY_ARGUMENT_36), assign: CONDITIONAL_JUMP_ASSIGNMENT_35, scope: 0 }{ id: 44, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_35, 43), scope: 0 }{ id: 45, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 43 }{ id: 6, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_58, scope: 0 }{ id: 50, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_47, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_58.transfer, METHOD_CALL_ARG_1_47, claimant, claimable_balance.amount), scope: 0 }{ id: 14, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_11, scope: 0 }{ id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_11.instance), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 16, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.remove, DataKey::Balance), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Init: ()Balance: ()}* (TimeBoundKind_ENUM){Before: ()After: ()}* (TimeBound_STRUCT){kind: TimeBoundKindtimestamp: Integer}* (ClaimableBalance_STRUCT){token: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}:[User Defined Types][Helpers]:-() [check_time_bound]* Inputs:{env: &Envtime_bound: &TimeBound}* Output: Boolean* Instructions:${ id: 25, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_20, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 30, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_27, scope: 0 }{ id: 33, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_32, scope: 0 }{ id: 35, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_32, 34), scope: 0 }{ id: 46, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_27, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_45, scope: 0 }{ id: 48, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_45, 47), scope: 0 }{ id: 43, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 34 }{ id: 44, instruction: jump, input: (0), scope: 34 }{ id: 56, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 47 }{ id: 57, instruction: jump, input: (0), scope: 47 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.instance), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.has, DataKey::Init), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Contract]: ClaimableBalanceContract[Interface]:-() [deposit]* Inputs:{env: Envfrom: Addresstoken: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}* Instructions:${ id: 5, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_1, scope: 0 }{ id: 7, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_1, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 9, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 8), scope: 0 }{ id: 10, instruction: exit_with_message, input: (\"too many claimants\"), scope: 8 }{ id: 17, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 19, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 18), scope: 0 }{ id: 20, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 18 }{ id: 24, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 40, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_33, scope: 0 }{ id: 30, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_27, scope: 0 }{ id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.transfer, from, METHOD_CALL_ARG_2_27, amount), scope: 0 }{ id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.instance), assign: METHOD_CALL_EXPRESSION_51, scope: 0 }{ id: 49, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_44, scope: 0 }{ id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.set, DataKey::Balance, METHOD_CALL_ARG_2_44), scope: 0 }{ id: 67, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_64, scope: 0 }{ id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.instance), assign: METHOD_CALL_EXPRESSION_63, scope: 0 }{ id: 61, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_60, scope: 0 }{ id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_63.set, DataKey::Init, METHOD_CALL_ARG_2_60), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Address}* Instructions:${ id: 72, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 80, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_77, scope: 0 }{ id: 81, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_77.instance), assign: METHOD_CALL_EXPRESSION_76, scope: 0 }{ id: 82, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_76.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_73, scope: 0 }{ id: 83, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 95, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_85, scope: 0 }{ id: 96, instruction: evaluate, input: (!, UNARY_ARGUMENT_85), assign: CONDITIONAL_JUMP_ASSIGNMENT_84, scope: 0 }{ id: 98, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_84, 97), scope: 0 }{ id: 99, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 97 }{ id: 111, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_106, scope: 0 }{ id: 112, instruction: evaluate, input: (!, UNARY_ARGUMENT_106), assign: CONDITIONAL_JUMP_ASSIGNMENT_105, scope: 0 }{ id: 114, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_105, 113), scope: 0 }{ id: 115, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 113 }{ id: 138, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_128, scope: 0 }{ id: 120, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_117, scope: 0 }{ id: 139, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_128.transfer, METHOD_CALL_ARG_1_117, claimant, claimable_balance.amount), scope: 0 }{ id: 146, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_143, scope: 0 }{ id: 147, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_143.instance), assign: METHOD_CALL_EXPRESSION_142, scope: 0 }{ id: 148, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_142.remove, DataKey::Balance), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Init: ()Balance: ()}* (TimeBoundKind_ENUM){Before: ()After: ()}* (TimeBound_STRUCT){kind: TimeBoundKindtimestamp: Integer}* (ClaimableBalance_STRUCT){token: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}:[User Defined Types][Helpers]:-() [check_time_bound]* Inputs:{env: &Envtime_bound: &TimeBound}* Output: Boolean* Instructions:${ id: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 8, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_5, scope: 0 }{ id: 11, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, scope: 0 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_23, 25), scope: 0 }{ id: 21, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 12 }{ id: 22, instruction: jump, input: (0), scope: 12 }{ id: 34, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 25 }{ id: 35, instruction: jump, input: (0), scope: 25 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.instance), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.has, DataKey::Init), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a993627cee - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::hf6a91a48451090cf [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993627d27 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::{{closure}}::h8c75126c4e39c318 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362b056 - core::ops::function::FnOnce::call_once::h4728b86812ebb6cb [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::closure_expression::tests::test_handle_closure_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::closure_expression::tests::test_handle_closure_expression' (115) panicked at src/translate/expression/closure_expression.rs:38:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 9, name: "assign", input: ["a"], assign: "BINARY_EXPRESSION_LEFT_4", scope: 0 }, Instruction { id: 12, name: "assign", input: ["b"], assign: "BINARY_EXPRESSION_RIGHT_6", scope: 0 }, Instruction { id: 14, name: "add", input: ["BINARY_EXPRESSION_LEFT_4", "BINARY_EXPRESSION_RIGHT_6"], assign: "", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 2, name: "assign", input: ["a"], assign: "BINARY_EXPRESSION_LEFT_0", scope: 0 }, Instruction { id: 3, name: "assign", input: ["b"], assign: "BINARY_EXPRESSION_RIGHT_1", scope: 0 }, Instruction { id: 4, name: "add", input: ["BINARY_EXPRESSION_LEFT_0", "BINARY_EXPRESSION_RIGHT_1"], assign: "", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a993646f01 - core::panicking::assert_failed::h5654f21d6dd3f271 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a993623218 - rust_to_dtr::translate::expression::closure_expression::tests::test_handle_closure_expression::ha0a294e338eb4073 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/closure_expression.rs:38:9 [INFO] [stdout] 22: 0x58a993623317 - rust_to_dtr::translate::expression::closure_expression::tests::test_handle_closure_expression::{{closure}}::h119a6ffe65390929 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/closure_expression.rs:34:40 [INFO] [stdout] 23: 0x58a99362c206 - core::ops::function::FnOnce::call_once::h98d741c837fbfd72 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x71ebd0890aa4 - [INFO] [stdout] 45: 0x71ebd091da64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_let_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_let_expression' (124) panicked at src/translate/expression/if_expression.rs:475:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 5, name: "assign", input: ["Some"], assign: "CALL_EXPRESSION_FUNCTION_4", scope: 0 }, Instruction { id: 3, name: "assign", input: ["10"], assign: "CALL_EXPRESSION_ARG_1_2", scope: 0 }, Instruction { id: 6, name: "evaluate", input: ["CALL_EXPRESSION_FUNCTION_4", "CALL_EXPRESSION_ARG_1_2"], assign: "INPUT_VALUE_NAME_FOR_LET_1", scope: 0 }, Instruction { id: 7, name: "try_assign", input: ["INPUT_VALUE_NAME_FOR_LET_1", "Some(x)"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 10, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "9"], assign: "", scope: 0 }, Instruction { id: 11, name: "print", input: ["x"], assign: "", scope: 9 }, Instruction { id: 12, name: "jump", input: ["0"], assign: "", scope: 9 }] [INFO] [stdout] right: [Instruction { id: 5, name: "assign", input: ["Some"], assign: "CALL_EXPRESSION_FUNCTION_4", scope: 0 }, Instruction { id: 3, name: "assign", input: ["10"], assign: "CALL_EXPRESSION_ARG_1_2", scope: 0 }, Instruction { id: 6, name: "evaluate", input: ["CALL_EXPRESSION_FUNCTION_4", "CALL_EXPRESSION_ARG_1_2"], assign: "INPUT_VALUE_NAME_FOR_LET_1", scope: 0 }, Instruction { id: 7, name: "try_assign", input: ["INPUT_VALUE_NAME_FOR_LET_1", "Some(x)"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 9, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "8"], assign: "", scope: 0 }, Instruction { id: 10, name: "print", input: ["x"], assign: "", scope: 8 }, Instruction { id: 11, name: "jump", input: ["0"], assign: "", scope: 8 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a993646f01 - core::panicking::assert_failed::h5654f21d6dd3f271 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936355e5 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_let_expression::h66eddb3a83df4505 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:475:9 [INFO] [stdout] 22: 0x58a993635787 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_let_expression::{{closure}}::h652843255e33d07c [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:470:39 [INFO] [stdout] 23: 0x58a99362a766 - core::ops::function::FnOnce::call_once::h1e8b3b3003cad61c [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x71ebd0890aa4 - [INFO] [stdout] 45: 0x71ebd091da64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_ttl stdout ---- [INFO] [stdout] DTR Code: [Contract]: TtlContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [setup] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.persistent), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.set, DataKey::MyKey, 0), scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.set, DataKey::MyKey, 1), scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.temporary), assign: METHOD_CALL_EXPRESSION_15, scope: 0 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.set, DataKey::MyKey, 2), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [extend_persistent] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 22, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_19, scope: 0 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.persistent), assign: METHOD_CALL_EXPRESSION_18, scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_18.extend_ttl, DataKey::MyKey, 1000, 5000), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [extend_instance] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 33, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_30, scope: 0 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.instance), assign: METHOD_CALL_EXPRESSION_29, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.extend_ttl, 2000, 10000), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [extend_temporary] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_43, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.temporary), assign: METHOD_CALL_EXPRESSION_42, scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.extend_ttl, DataKey::MyKey, 3000, 7000), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] MyKey: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_ttl' (98) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: TtlContract[Interface]:-() [setup]* Inputs:{env: Env}* Instructions:${ id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.persistent), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.set, DataKey::MyKey, 0), scope: 0 }{ id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.set, DataKey::MyKey, 1), scope: 0 }{ id: 19, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.temporary), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.set, DataKey::MyKey, 2), scope: 0 }$-() [extend_persistent]* Inputs:{env: Env}* Instructions:${ id: 22, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_19, scope: 0 }{ id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.persistent), assign: METHOD_CALL_EXPRESSION_18, scope: 0 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_18.extend_ttl, DataKey::MyKey, 1000, 5000), scope: 0 }$-() [extend_instance]* Inputs:{env: Env}* Instructions:${ id: 33, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.instance), assign: METHOD_CALL_EXPRESSION_29, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.extend_ttl, 2000, 10000), scope: 0 }$-() [extend_temporary]* Inputs:{env: Env}* Instructions:${ id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_43, scope: 0 }{ id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.temporary), assign: METHOD_CALL_EXPRESSION_42, scope: 0 }{ id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.extend_ttl, DataKey::MyKey, 3000, 7000), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){MyKey: ()}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: TtlContract[Interface]:-() [setup]* Inputs:{env: Env}* Instructions:${ id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.persistent), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.set, DataKey::MyKey, 0), scope: 0 }{ id: 19, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.instance), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.set, DataKey::MyKey, 1), scope: 0 }{ id: 30, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_27, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.temporary), assign: METHOD_CALL_EXPRESSION_26, scope: 0 }{ id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.set, DataKey::MyKey, 2), scope: 0 }$-() [extend_persistent]* Inputs:{env: Env}* Instructions:${ id: 43, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 44, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.persistent), assign: METHOD_CALL_EXPRESSION_39, scope: 0 }{ id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.extend_ttl, DataKey::MyKey, 1000, 5000), scope: 0 }$-() [extend_instance]* Inputs:{env: Env}* Instructions:${ id: 54, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_51, scope: 0 }{ id: 55, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.instance), assign: METHOD_CALL_EXPRESSION_50, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_50.extend_ttl, 2000, 10000), scope: 0 }$-() [extend_temporary]* Inputs:{env: Env}* Instructions:${ id: 67, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_64, scope: 0 }{ id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.temporary), assign: METHOD_CALL_EXPRESSION_63, scope: 0 }{ id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_63.extend_ttl, DataKey::MyKey, 3000, 7000), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){MyKey: ()}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a9936274ce - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::hf53f47a492e574f3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993627507 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::{{closure}}::h9cd0136559c04a50 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362d456 - core::ops::function::FnOnce::call_once::hf154b5d59f902521 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract stdout ---- [INFO] [stdout] DTR Code: [Contract]: UpgradeableContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] admin: Address [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), Error> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_12, scope: 10 } [INFO] [stdout] { id: 18, instruction: return, input: (RETURN_VALUE_LABEL_12), scope: 10 } [INFO] [stdout] { id: 2, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.set, DataKey::Admin, admin), scope: 0 } [INFO] [stdout] { id: 8, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_7, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_7), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [version] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: return, input: (2), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [new_v2_fn] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: return, input: (1010101), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [upgrade] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] new_wasm_hash: ByteStringSmall [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (admin.require_auth), scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_17, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_17.update_current_contract_wasm, new_wasm_hash), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Admin: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (Error_ENUM) [INFO] [stdout] { [INFO] [stdout] AlreadyInitialized = 1 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract' (99) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: UpgradeableContract[Interface]:-() [init]* Inputs:{e: Envadmin: Address}* Output: Result<(), Error>* Instructions:${ id: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 }{ id: 17, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_12, scope: 10 }{ id: 18, instruction: return, input: (RETURN_VALUE_LABEL_12), scope: 10 }{ id: 2, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 3, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 5, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.set, DataKey::Admin, admin), scope: 0 }{ id: 8, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_7, scope: 0 }{ id: 15, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_7), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [version]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (2), scope: 0 }$-() [new_v2_fn]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (1010101), scope: 0 }$-() [upgrade]* Inputs:{e: Envnew_wasm_hash: ByteStringSmall}* Instructions:${ id: 8, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 }{ id: 14, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 20, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_17, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_17.update_current_contract_wasm, new_wasm_hash), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Admin: ()}* (Error_ENUM){AlreadyInitialized = 1}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: UpgradeableContract[Interface]:-() [init]* Inputs:{e: Envadmin: Address}* Output: Result<(), Error>* Instructions:${ id: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 }{ id: 17, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_12, scope: 10 }{ id: 18, instruction: return, input: (RETURN_VALUE_LABEL_12), scope: 10 }{ id: 28, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.set, DataKey::Admin, admin), scope: 0 }{ id: 32, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_31, scope: 0 }{ id: 36, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_31), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [version]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (2), scope: 0 }$-() [new_v2_fn]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (1010101), scope: 0 }$-() [upgrade]* Inputs:{e: Envnew_wasm_hash: ByteStringSmall}* Instructions:${ id: 8, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 }{ id: 14, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 20, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_17, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_17.update_current_contract_wasm, new_wasm_hash), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Admin: ()}* (Error_ENUM){AlreadyInitialized = 1}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a99362997e - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::hd7fc108f790f0821 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a9936299b7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::{{closure}}::hbe0ab25cb58da38e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362d546 - core::ops::function::FnOnce::call_once::hf72b926c0bd5f6ea [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing stdout ---- [INFO] [stdout] DTR Code: [Contract]: ClaimableBalanceContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [deposit] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] from: Address [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: evaluate, input: (claimants.is_empty), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 1, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 0), scope: 0 } [INFO] [stdout] { id: 2, instruction: exit_with_message, input: ("need more than 0 claimants"), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [claim] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] claimant: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 76, instruction: evaluate, input: (claimant.require_auth), scope: 0 } [INFO] [stdout] { id: 84, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_81, scope: 0 } [INFO] [stdout] { id: 85, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.persistent), assign: METHOD_CALL_EXPRESSION_80, scope: 0 } [INFO] [stdout] { id: 86, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_80.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_77, scope: 0 } [INFO] [stdout] { id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_77.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 99, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_89, scope: 0 } [INFO] [stdout] { id: 100, instruction: evaluate, input: (!, UNARY_ARGUMENT_89), assign: CONDITIONAL_JUMP_ASSIGNMENT_88, scope: 0 } [INFO] [stdout] { id: 102, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_88, 101), scope: 0 } [INFO] [stdout] { id: 103, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 101 } [INFO] [stdout] { id: 115, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_110, scope: 0 } [INFO] [stdout] { id: 116, instruction: evaluate, input: (!, UNARY_ARGUMENT_110), assign: CONDITIONAL_JUMP_ASSIGNMENT_109, scope: 0 } [INFO] [stdout] { id: 118, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_109, 117), scope: 0 } [INFO] [stdout] { id: 119, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 117 } [INFO] [stdout] { id: 129, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_121, scope: 0 } [INFO] [stdout] { id: 131, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_121, 130), scope: 0 } [INFO] [stdout] { id: 132, instruction: exit_with_message, input: ("claimed amount greater than balance"), scope: 130 } [INFO] [stdout] { id: 152, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_142, scope: 0 } [INFO] [stdout] { id: 137, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_134, scope: 0 } [INFO] [stdout] { id: 153, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_142.transfer, METHOD_CALL_ARG_1_134, claimant, amount), scope: 0 } [INFO] [stdout] { id: 161, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 } [INFO] [stdout] { id: 167, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_162, scope: 0 } [INFO] [stdout] { id: 169, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_162, 168), scope: 0 } [INFO] [stdout] { id: 191, instruction: jump, input: (190), scope: 0 } [INFO] [stdout] { id: 177, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 168 } [INFO] [stdout] { id: 186, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_183, scope: 168 } [INFO] [stdout] { id: 187, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_183.persistent), assign: METHOD_CALL_EXPRESSION_182, scope: 168 } [INFO] [stdout] { id: 188, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_182.set, DataKey::Balance, claimable_balance), scope: 168 } [INFO] [stdout] { id: 189, instruction: jump, input: (0), scope: 168 } [INFO] [stdout] { id: 198, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_195, scope: 190 } [INFO] [stdout] { id: 199, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_195.persistent), assign: METHOD_CALL_EXPRESSION_194, scope: 190 } [INFO] [stdout] { id: 200, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_194.remove, DataKey::Balance), scope: 190 } [INFO] [stdout] { id: 201, instruction: jump, input: (0), scope: 190 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Init: () [INFO] [stdout] Balance: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (TimeBoundKind_ENUM) [INFO] [stdout] { [INFO] [stdout] Before: () [INFO] [stdout] After: () [INFO] [stdout] } [INFO] [stdout] * (TimeBound_STRUCT) [INFO] [stdout] { [INFO] [stdout] kind: TimeBoundKind [INFO] [stdout] timestamp: Integer [INFO] [stdout] } [INFO] [stdout] * (ClaimableBalance_STRUCT) [INFO] [stdout] { [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [check_time_bound] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] time_bound: &TimeBound [INFO] [stdout] } [INFO] [stdout] * Output: Boolean [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.timestamp), assign: ledger_timestamp, scope: 0 } [INFO] [stdout] { id: 8, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_5, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, scope: 0 } [INFO] [stdout] { id: 26, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_23, 25), scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 12 } [INFO] [stdout] { id: 22, instruction: jump, input: (0), scope: 12 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 25 } [INFO] [stdout] { id: 35, instruction: jump, input: (0), scope: 25 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [is_initialized] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] } [INFO] [stdout] * Output: Boolean [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.persistent), assign: METHOD_CALL_EXPRESSION_2, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.has, DataKey::Init), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [NonTranslatable]: [INFO] [stdout] [INFO] [stdout] mod proptest { [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[NonTranslatable] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing' (88) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: ClaimableBalanceContract[Interface]:-() [deposit]* Inputs:{env: Envfrom: Addresstoken: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}* Instructions:${ id: 3, instruction: evaluate, input: (claimants.is_empty), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 1, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 0), scope: 0 }{ id: 2, instruction: exit_with_message, input: (\"need more than 0 claimants\"), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Addressamount: BigInteger}* Instructions:${ id: 76, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 84, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_81, scope: 0 }{ id: 85, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.persistent), assign: METHOD_CALL_EXPRESSION_80, scope: 0 }{ id: 86, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_80.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_77, scope: 0 }{ id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_77.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 99, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_89, scope: 0 }{ id: 100, instruction: evaluate, input: (!, UNARY_ARGUMENT_89), assign: CONDITIONAL_JUMP_ASSIGNMENT_88, scope: 0 }{ id: 102, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_88, 101), scope: 0 }{ id: 103, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 101 }{ id: 115, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_110, scope: 0 }{ id: 116, instruction: evaluate, input: (!, UNARY_ARGUMENT_110), assign: CONDITIONAL_JUMP_ASSIGNMENT_109, scope: 0 }{ id: 118, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_109, 117), scope: 0 }{ id: 119, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 117 }{ id: 129, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_121, scope: 0 }{ id: 131, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_121, 130), scope: 0 }{ id: 132, instruction: exit_with_message, input: (\"claimed amount greater than balance\"), scope: 130 }{ id: 152, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_142, scope: 0 }{ id: 137, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_134, scope: 0 }{ id: 153, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_142.transfer, METHOD_CALL_ARG_1_134, claimant, amount), scope: 0 }{ id: 161, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 }{ id: 167, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_162, scope: 0 }{ id: 169, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_162, 168), scope: 0 }{ id: 191, instruction: jump, input: (190), scope: 0 }{ id: 177, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 168 }{ id: 186, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_183, scope: 168 }{ id: 187, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_183.persistent), assign: METHOD_CALL_EXPRESSION_182, scope: 168 }{ id: 188, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_182.set, DataKey::Balance, claimable_balance), scope: 168 }{ id: 189, instruction: jump, input: (0), scope: 168 }{ id: 198, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_195, scope: 190 }{ id: 199, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_195.persistent), assign: METHOD_CALL_EXPRESSION_194, scope: 190 }{ id: 200, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_194.remove, DataKey::Balance), scope: 190 }{ id: 201, instruction: jump, input: (0), scope: 190 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Init: ()Balance: ()}* (TimeBoundKind_ENUM){Before: ()After: ()}* (TimeBound_STRUCT){kind: TimeBoundKindtimestamp: Integer}* (ClaimableBalance_STRUCT){token: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}:[User Defined Types][Helpers]:-() [check_time_bound]* Inputs:{env: &Envtime_bound: &TimeBound}* Output: Boolean* Instructions:${ id: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 8, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_5, scope: 0 }{ id: 11, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, scope: 0 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_23, 25), scope: 0 }{ id: 21, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 12 }{ id: 22, instruction: jump, input: (0), scope: 12 }{ id: 34, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 25 }{ id: 35, instruction: jump, input: (0), scope: 25 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.persistent), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.has, DataKey::Init), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers][NonTranslatable]:mod proptest {}:[NonTranslatable]" [INFO] [stdout] right: "[Contract]: ClaimableBalanceContract[Interface]:-() [deposit]* Inputs:{env: Envfrom: Addresstoken: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}* Instructions:${ id: 3, instruction: evaluate, input: (claimants.is_empty), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 6, instruction: exit_with_message, input: (\"need more than 0 claimants\"), scope: 4 }{ id: 13, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_9, scope: 0 }{ id: 15, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_9, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 16), scope: 0 }{ id: 18, instruction: exit_with_message, input: (\"too many claimants\"), scope: 16 }{ id: 25, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 }{ id: 27, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 26), scope: 0 }{ id: 28, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 26 }{ id: 32, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 48, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 38, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_35, scope: 0 }{ id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.transfer, from, METHOD_CALL_ARG_2_35, amount), scope: 0 }{ id: 63, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_60, scope: 0 }{ id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.persistent), assign: METHOD_CALL_EXPRESSION_59, scope: 0 }{ id: 57, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_52, scope: 0 }{ id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_59.set, DataKey::Balance, METHOD_CALL_ARG_2_52), scope: 0 }{ id: 75, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_72, scope: 0 }{ id: 76, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.persistent), assign: METHOD_CALL_EXPRESSION_71, scope: 0 }{ id: 69, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_68, scope: 0 }{ id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.set, DataKey::Init, METHOD_CALL_ARG_2_68), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Addressamount: BigInteger}* Instructions:${ id: 80, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 88, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_85, scope: 0 }{ id: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_85.persistent), assign: METHOD_CALL_EXPRESSION_84, scope: 0 }{ id: 90, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_84.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_81, scope: 0 }{ id: 91, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 103, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_93, scope: 0 }{ id: 104, instruction: evaluate, input: (!, UNARY_ARGUMENT_93), assign: CONDITIONAL_JUMP_ASSIGNMENT_92, scope: 0 }{ id: 106, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_92, 105), scope: 0 }{ id: 107, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 105 }{ id: 119, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_114, scope: 0 }{ id: 120, instruction: evaluate, input: (!, UNARY_ARGUMENT_114), assign: CONDITIONAL_JUMP_ASSIGNMENT_113, scope: 0 }{ id: 122, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_113, 121), scope: 0 }{ id: 123, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 121 }{ id: 133, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_125, scope: 0 }{ id: 135, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_125, 134), scope: 0 }{ id: 136, instruction: exit_with_message, input: (\"claimed amount greater than balance\"), scope: 134 }{ id: 156, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_146, scope: 0 }{ id: 141, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_138, scope: 0 }{ id: 157, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_146.transfer, METHOD_CALL_ARG_1_138, claimant, amount), scope: 0 }{ id: 165, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 }{ id: 171, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_166, scope: 0 }{ id: 173, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_166, 172), scope: 0 }{ id: 195, instruction: jump, input: (194), scope: 0 }{ id: 181, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 172 }{ id: 190, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_187, scope: 172 }{ id: 191, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_187.persistent), assign: METHOD_CALL_EXPRESSION_186, scope: 172 }{ id: 192, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_186.set, DataKey::Balance, claimable_balance), scope: 172 }{ id: 193, instruction: jump, input: (0), scope: 172 }{ id: 202, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_199, scope: 194 }{ id: 203, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_199.persistent), assign: METHOD_CALL_EXPRESSION_198, scope: 194 }{ id: 204, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_198.remove, DataKey::Balance), scope: 194 }{ id: 205, instruction: jump, input: (0), scope: 194 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Init: ()Balance: ()}* (TimeBoundKind_ENUM){Before: ()After: ()}* (TimeBound_STRUCT){kind: TimeBoundKindtimestamp: Integer}* (ClaimableBalance_STRUCT){token: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}:[User Defined Types][Helpers]:-() [check_time_bound]* Inputs:{env: &Envtime_bound: &TimeBound}* Output: Boolean* Instructions:${ id: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 8, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_5, scope: 0 }{ id: 11, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, scope: 0 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_23, 25), scope: 0 }{ id: 21, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 12 }{ id: 22, instruction: jump, input: (0), scope: 12 }{ id: 34, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 25 }{ id: 35, instruction: jump, input: (0), scope: 25 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.persistent), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.has, DataKey::Init), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers][NonTranslatable]:mod proptest {}:[NonTranslatable]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a993627b4e - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::h10d2fc72d52fe439 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993627b87 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::{{closure}}::h229cb58d0bbcb2ec [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362aa86 - core::ops::function::FnOnce::call_once::h2a0badec374173e4 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::let_expression::tests::let_expression::test_let_expression_less_simple_foo_equals_bar stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::let_expression::tests::let_expression::test_let_expression_less_simple_foo_equals_bar' (129) panicked at src/translate/expression/let_expression.rs:132:13: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok([Instruction { id: 6, name: "assign", input: ["bar"], assign: "INPUT_VALUE_NAME_FOR_LET_0", scope: 0 }, Instruction { id: 7, name: "assign", input: ["INPUT_VALUE_NAME_FOR_LET_0"], assign: "foo", scope: 0 }]) [INFO] [stdout] right: Ok([Instruction { id: 1, name: "assign", input: ["bar"], assign: "INPUT_VALUE_NAME_FOR_LET_0", scope: 0 }, Instruction { id: 2, name: "assign", input: ["INPUT_VALUE_NAME_FOR_LET_0"], assign: "foo", scope: 0 }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a993647096 - core::panicking::assert_failed::h7f280e22acde9b30 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936658db - rust_to_dtr::translate::expression::let_expression::tests::let_expression::test_let_expression_less_simple_foo_equals_bar::h02c8761a74ef1585 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/let_expression.rs:132:13 [INFO] [stdout] 22: 0x58a993665987 - rust_to_dtr::translate::expression::let_expression::tests::let_expression::test_let_expression_less_simple_foo_equals_bar::{{closure}}::h9cc33f1dfe9d94b5 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/let_expression.rs:109:60 [INFO] [stdout] 23: 0x58a99362b936 - core::ops::function::FnOnce::call_once::h73f840be2e59e592 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x71ebd0890aa4 - [INFO] [stdout] 45: 0x71ebd091da64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::match_expression::tests::test_handle_match_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::match_expression::tests::test_handle_match_expression' (137) panicked at src/translate/expression/match_expression.rs:101:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["instance_of_struct"], assign: "THING_TO_COMPARE_AGAINST_1", scope: 0 }, Instruction { id: 4, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_1", "Struct::Variant1"], assign: "CONDITIONAL_JUMP_CHECK_3", scope: 0 }, Instruction { id: 6, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_3", "5"], assign: "", scope: 0 }, Instruction { id: 10, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_1", "Struct::Variant2"], assign: "CONDITIONAL_JUMP_CHECK_9", scope: 0 }, Instruction { id: 12, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_9", "11"], assign: "", scope: 0 }, Instruction { id: 7, name: "print", input: ["\"Variant1\""], assign: "", scope: 5 }, Instruction { id: 8, name: "jump", input: ["0"], assign: "", scope: 5 }, Instruction { id: 13, name: "print", input: ["\"Variant2\""], assign: "", scope: 11 }, Instruction { id: 14, name: "jump", input: ["0"], assign: "", scope: 11 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["instance_of_struct"], assign: "THING_TO_COMPARE_AGAINST_0", scope: 0 }, Instruction { id: 3, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_0", "Struct::Variant1"], assign: "CONDITIONAL_JUMP_CHECK_2", scope: 0 }, Instruction { id: 5, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_2", "4"], assign: "", scope: 0 }, Instruction { id: 9, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_0", "Struct::Variant2"], assign: "CONDITIONAL_JUMP_CHECK_8", scope: 0 }, Instruction { id: 11, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_8", "10"], assign: "", scope: 0 }, Instruction { id: 6, name: "print", input: ["\"Variant1\""], assign: "", scope: 4 }, Instruction { id: 7, name: "jump", input: ["0"], assign: "", scope: 4 }, Instruction { id: 12, name: "print", input: ["\"Variant2\""], assign: "", scope: 10 }, Instruction { id: 13, name: "jump", input: ["0"], assign: "", scope: 10 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a993646f01 - core::panicking::assert_failed::h5654f21d6dd3f271 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9935c3e52 - rust_to_dtr::translate::expression::match_expression::tests::test_handle_match_expression::h793b8c6ae48f8974 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/match_expression.rs:101:9 [INFO] [stdout] 22: 0x58a9935c4037 - rust_to_dtr::translate::expression::match_expression::tests::test_handle_match_expression::{{closure}}::h34acab7f9f54ff8b [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/match_expression.rs:93:38 [INFO] [stdout] 23: 0x58a99362d3d6 - core::ops::function::FnOnce::call_once::hef62c1080c077676 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x71ebd0890aa4 - [INFO] [stdout] 45: 0x71ebd091da64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::tuple_expression::tests::test_handle_tuple stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::tuple_expression::tests::test_handle_tuple' (147) panicked at src/translate/expression/tuple_expression.rs:61:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 7, name: "assign", input: ["a"], assign: "TUPLE_ARG_1_0", scope: 0 }, Instruction { id: 8, name: "assign", input: ["b"], assign: "TUPLE_ARG_2_0", scope: 0 }, Instruction { id: 9, name: "instantiate_object", input: ["Tuple", "TUPLE_ARG_1_0", "TUPLE_ARG_2_0"], assign: "TUPLE_RESULT_10", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["a"], assign: "TUPLE_ARG_1_0", scope: 0 }, Instruction { id: 1, name: "assign", input: ["b"], assign: "TUPLE_ARG_2_0", scope: 0 }, Instruction { id: 2, name: "instantiate_object", input: ["Tuple", "TUPLE_ARG_1_0", "TUPLE_ARG_2_0"], assign: "TUPLE_RESULT_3", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a993646f01 - core::panicking::assert_failed::h5654f21d6dd3f271 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936433a9 - rust_to_dtr::translate::expression::tuple_expression::tests::test_handle_tuple::hbfbf74877e4a0d82 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/tuple_expression.rs:61:9 [INFO] [stdout] 22: 0x58a993643497 - rust_to_dtr::translate::expression::tuple_expression::tests::test_handle_tuple::{{closure}}::h33d0b58aac75bbdc [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/tuple_expression.rs:57:27 [INFO] [stdout] 23: 0x58a99362b3d6 - core::ops::function::FnOnce::call_once::h56f0dc6e1542f58e [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x71ebd0890aa4 - [INFO] [stdout] 45: 0x71ebd091da64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::return_expression::tests::test_return_expression_bool stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::return_expression::tests::test_return_expression_bool' (143) panicked at src/translate/expression/return_expression.rs:108:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok([Instruction { id: 4, name: "assign", input: ["true"], assign: "RETURN_VALUE_LABEL_3", scope: 0 }, Instruction { id: 5, name: "return", input: ["RETURN_VALUE_LABEL_3"], assign: "", scope: 0 }]) [INFO] [stdout] right: Ok([Instruction { id: 1, name: "assign", input: ["true"], assign: "RETURN_VALUE_LABEL_0", scope: 0 }, Instruction { id: 2, name: "return", input: ["RETURN_VALUE_LABEL_0"], assign: "", scope: 0 }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a993647096 - core::panicking::assert_failed::h7f280e22acde9b30 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a993657a28 - rust_to_dtr::translate::expression::return_expression::tests::test_return_expression_bool::hb27f989cc0c0f727 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/return_expression.rs:108:9 [INFO] [stdout] 22: 0x58a993657ad7 - rust_to_dtr::translate::expression::return_expression::tests::test_return_expression_bool::{{closure}}::h5af2e497a412a13c [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/return_expression.rs:84:37 [INFO] [stdout] 23: 0x58a99362bf66 - core::ops::function::FnOnce::call_once::h8c1f7fbb73578ab1 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x71ebd0890aa4 - [INFO] [stdout] 45: 0x71ebd091da64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_single_offer stdout ---- [INFO] [stdout] DTR Code: [Contract]: SingleOffer [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [create] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] seller: Address [INFO] [stdout] sell_token: Address [INFO] [stdout] buy_token: Address [INFO] [stdout] sell_price: Integer [INFO] [stdout] buy_price: Integer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 41, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_38, scope: 0 } [INFO] [stdout] { id: 42, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_38.instance), assign: METHOD_CALL_EXPRESSION_37, scope: 0 } [INFO] [stdout] { id: 43, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_37.has, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_34, scope: 0 } [INFO] [stdout] { id: 45, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_34, 44), scope: 0 } [INFO] [stdout] { id: 46, instruction: exit_with_message, input: ("offer is already created"), scope: 44 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_49, scope: 0 } [INFO] [stdout] { id: 60, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_50, scope: 0 } [INFO] [stdout] { id: 61, instruction: or, input: (BINARY_EXPRESSION_LEFT_49, BINARY_EXPRESSION_RIGHT_50), assign: CONDITIONAL_JUMP_ASSIGNMENT_48, scope: 0 } [INFO] [stdout] { id: 63, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_48, 62), scope: 0 } [INFO] [stdout] { id: 64, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 62 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (seller.require_auth), scope: 0 } [INFO] [stdout] { id: 77, instruction: instantiate_object, input: (UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_71, scope: 0 } [INFO] [stdout] { id: 81, instruction: evaluate, input: (write_offer, e, CALL_EXPRESSION_ARG_2_71), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [trade] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] buyer: Address [INFO] [stdout] buy_token_amount: BigInteger [INFO] [stdout] min_sell_token_amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 84, instruction: evaluate, input: (buyer.require_auth), scope: 0 } [INFO] [stdout] { id: 89, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 99, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 } [INFO] [stdout] { id: 109, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 } [INFO] [stdout] { id: 120, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_112, scope: 0 } [INFO] [stdout] { id: 121, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_112.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_110, scope: 0 } [INFO] [stdout] { id: 126, instruction: divide, input: (BINARY_EXPRESSION_LEFT_110, offer.buy_price), assign: sell_token_amount, scope: 0 } [INFO] [stdout] { id: 2, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_127, scope: 0 } [INFO] [stdout] { id: 4, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_127, 3), scope: 0 } [INFO] [stdout] { id: 5, instruction: exit_with_message, input: ("price is too low"), scope: 3 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (buy_token_client.transfer, contract, offer.seller, buy_token_amount), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [withdraw] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 66, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 72, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 91, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_84, scope: 0 } [INFO] [stdout] { id: 76, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_73, scope: 0 } [INFO] [stdout] { id: 92, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_84.transfer, METHOD_CALL_ARG_1_73, offer.seller, amount), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [updt_price] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] sell_price: Integer [INFO] [stdout] buy_price: Integer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 100, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_94, scope: 0 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_95, scope: 0 } [INFO] [stdout] { id: 106, instruction: or, input: (BINARY_EXPRESSION_LEFT_94, BINARY_EXPRESSION_RIGHT_95), assign: CONDITIONAL_JUMP_ASSIGNMENT_93, scope: 0 } [INFO] [stdout] { id: 108, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_93, 107), scope: 0 } [INFO] [stdout] { id: 109, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 107 } [INFO] [stdout] { id: 115, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 121, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 129, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 } [INFO] [stdout] { id: 137, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 } [INFO] [stdout] { id: 144, instruction: evaluate, input: (write_offer, e, offer), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [get_offer] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] } [INFO] [stdout] * Output: Offer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 510, instruction: evaluate, input: (load_offer, e), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Offer: () [INFO] [stdout] } [INFO] [stdout] * (Offer_STRUCT) [INFO] [stdout] { [INFO] [stdout] seller: Address [INFO] [stdout] sell_token: Address [INFO] [stdout] buy_token: Address [INFO] [stdout] sell_price: Integer [INFO] [stdout] buy_price: Integer [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [load_offer] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: &Env [INFO] [stdout] } [INFO] [stdout] * Output: Offer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [write_offer] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: &Env [INFO] [stdout] offer: &Offer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.set, DataKey::Offer, offer), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_single_offer' (95) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: SingleOffer[Interface]:-() [create]* Inputs:{e: Envseller: Addresssell_token: Addressbuy_token: Addresssell_price: Integerbuy_price: Integer}* Instructions:${ id: 41, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_38, scope: 0 }{ id: 42, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_38.instance), assign: METHOD_CALL_EXPRESSION_37, scope: 0 }{ id: 43, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_37.has, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_34, scope: 0 }{ id: 45, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_34, 44), scope: 0 }{ id: 46, instruction: exit_with_message, input: (\"offer is already created\"), scope: 44 }{ id: 55, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_49, scope: 0 }{ id: 60, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_50, scope: 0 }{ id: 61, instruction: or, input: (BINARY_EXPRESSION_LEFT_49, BINARY_EXPRESSION_RIGHT_50), assign: CONDITIONAL_JUMP_ASSIGNMENT_48, scope: 0 }{ id: 63, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_48, 62), scope: 0 }{ id: 64, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 62 }{ id: 68, instruction: evaluate, input: (seller.require_auth), scope: 0 }{ id: 77, instruction: instantiate_object, input: (UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_71, scope: 0 }{ id: 81, instruction: evaluate, input: (write_offer, e, CALL_EXPRESSION_ARG_2_71), scope: 0 }$-() [trade]* Inputs:{e: Envbuyer: Addressbuy_token_amount: BigIntegermin_sell_token_amount: BigInteger}* Instructions:${ id: 84, instruction: evaluate, input: (buyer.require_auth), scope: 0 }{ id: 89, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 99, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 }{ id: 109, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 }{ id: 120, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_112, scope: 0 }{ id: 121, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_112.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_110, scope: 0 }{ id: 126, instruction: divide, input: (BINARY_EXPRESSION_LEFT_110, offer.buy_price), assign: sell_token_amount, scope: 0 }{ id: 2, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_127, scope: 0 }{ id: 4, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_127, 3), scope: 0 }{ id: 5, instruction: exit_with_message, input: (\"price is too low\"), scope: 3 }{ id: 11, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 }{ id: 20, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 }{ id: 29, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 }{ id: 41, instruction: evaluate, input: (buy_token_client.transfer, contract, offer.seller, buy_token_amount), scope: 0 }$-() [withdraw]* Inputs:{e: Envtoken: Addressamount: BigInteger}* Instructions:${ id: 66, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 72, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 91, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_84, scope: 0 }{ id: 76, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_73, scope: 0 }{ id: 92, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_84.transfer, METHOD_CALL_ARG_1_73, offer.seller, amount), scope: 0 }$-() [updt_price]* Inputs:{e: Envsell_price: Integerbuy_price: Integer}* Instructions:${ id: 100, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_94, scope: 0 }{ id: 105, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_95, scope: 0 }{ id: 106, instruction: or, input: (BINARY_EXPRESSION_LEFT_94, BINARY_EXPRESSION_RIGHT_95), assign: CONDITIONAL_JUMP_ASSIGNMENT_93, scope: 0 }{ id: 108, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_93, 107), scope: 0 }{ id: 109, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 107 }{ id: 115, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 121, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 129, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 }{ id: 137, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 }{ id: 144, instruction: evaluate, input: (write_offer, e, offer), scope: 0 }$-() [get_offer]* Inputs:{e: Env}* Output: Offer* Instructions:${ id: 510, instruction: evaluate, input: (load_offer, e), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Offer: ()}* (Offer_STRUCT){seller: Addresssell_token: Addressbuy_token: Addresssell_price: Integerbuy_price: Integer}:[User Defined Types][Helpers]:-() [load_offer]* Inputs:{e: &Env}* Output: Offer* Instructions:${ id: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [write_offer]* Inputs:{e: &Envoffer: &Offer}* Instructions:${ id: 8, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.set, DataKey::Offer, offer), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Contract]: SingleOffer[Interface]:-() [create]* Inputs:{e: Envseller: Addresssell_token: Addressbuy_token: Addresssell_price: Integerbuy_price: Integer}* Instructions:${ id: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.has, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 }{ id: 12, instruction: exit_with_message, input: (\"offer is already created\"), scope: 10 }{ id: 21, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_15, scope: 0 }{ id: 26, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_16, scope: 0 }{ id: 27, instruction: or, input: (BINARY_EXPRESSION_LEFT_15, BINARY_EXPRESSION_RIGHT_16), assign: CONDITIONAL_JUMP_ASSIGNMENT_14, scope: 0 }{ id: 29, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_14, 28), scope: 0 }{ id: 30, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 28 }{ id: 34, instruction: evaluate, input: (seller.require_auth), scope: 0 }{ id: 43, instruction: instantiate_object, input: (UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_37, scope: 0 }{ id: 47, instruction: evaluate, input: (write_offer, e, CALL_EXPRESSION_ARG_2_37), scope: 0 }$-() [trade]* Inputs:{e: Envbuyer: Addressbuy_token_amount: BigIntegermin_sell_token_amount: BigInteger}* Instructions:${ id: 50, instruction: evaluate, input: (buyer.require_auth), scope: 0 }{ id: 55, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 65, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 }{ id: 75, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 }{ id: 86, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_78, scope: 0 }{ id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_78.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_76, scope: 0 }{ id: 92, instruction: divide, input: (BINARY_EXPRESSION_LEFT_76, offer.buy_price), assign: sell_token_amount, scope: 0 }{ id: 98, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_93, scope: 0 }{ id: 100, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_93, 99), scope: 0 }{ id: 101, instruction: exit_with_message, input: (\"price is too low\"), scope: 99 }{ id: 105, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 }{ id: 114, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 }{ id: 123, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 }{ id: 135, instruction: evaluate, input: (buy_token_client.transfer, contract, offer.seller, buy_token_amount), scope: 0 }$-() [withdraw]* Inputs:{e: Envtoken: Addressamount: BigInteger}* Instructions:${ id: 140, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 146, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 165, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_158, scope: 0 }{ id: 150, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_147, scope: 0 }{ id: 166, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_158.transfer, METHOD_CALL_ARG_1_147, offer.seller, amount), scope: 0 }$-() [updt_price]* Inputs:{e: Envsell_price: Integerbuy_price: Integer}* Instructions:${ id: 174, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_168, scope: 0 }{ id: 179, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_169, scope: 0 }{ id: 180, instruction: or, input: (BINARY_EXPRESSION_LEFT_168, BINARY_EXPRESSION_RIGHT_169), assign: CONDITIONAL_JUMP_ASSIGNMENT_167, scope: 0 }{ id: 182, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_167, 181), scope: 0 }{ id: 183, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 181 }{ id: 189, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 195, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 203, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 }{ id: 211, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 }{ id: 218, instruction: evaluate, input: (write_offer, e, offer), scope: 0 }$-() [get_offer]* Inputs:{e: Env}* Output: Offer* Instructions:${ id: 223, instruction: evaluate, input: (load_offer, e), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Offer: ()}* (Offer_STRUCT){seller: Addresssell_token: Addressbuy_token: Addresssell_price: Integerbuy_price: Integer}:[User Defined Types][Helpers]:-() [load_offer]* Inputs:{e: &Env}* Output: Offer* Instructions:${ id: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [write_offer]* Inputs:{e: &Envoffer: &Offer}* Instructions:${ id: 8, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.set, DataKey::Offer, offer), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a99362836e - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::h837c1244d55fb363 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a9936283a7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::{{closure}}::h769d7eae388913b1 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362ce56 - core::ops::function::FnOnce::call_once::hd8c2bf4b72f28f27 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock stdout ---- [INFO] [stdout] DTR Code: [Contract]: Contract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [set_admin] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] new_admin: Address [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_2, scope: 0 } [INFO] [stdout] { id: 12, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_2, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 } [INFO] [stdout] { id: 14, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 13), scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (admin.require_auth), scope: 13 } [INFO] [stdout] { id: 18, instruction: jump, input: (0), scope: 13 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_24, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.instance), assign: METHOD_CALL_EXPRESSION_23, scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.set, StorageKey::Admin, new_admin), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [admin] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: Address [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.instance), assign: METHOD_CALL_EXPRESSION_8, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.get, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.unwrap), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [set_minter] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] contract: Address [INFO] [stdout] minter: Address [INFO] [stdout] config: MinterConfig [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_6, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_6), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.require_auth), scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 } [INFO] [stdout] { id: 0, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.persistent), assign: METHOD_CALL_EXPRESSION_24, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_14, scope: 0 } [INFO] [stdout] { id: 1, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.set, METHOD_CALL_ARG_1_14, config), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [minter] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] contract: Address [INFO] [stdout] minter: Address [INFO] [stdout] } [INFO] [stdout] * Output: Result<(MinterConfig, Integer, MinterStats), Error> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.persistent), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 1, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_8, scope: 0 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_2, scope: 0 } [INFO] [stdout] { id: 4, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_8, CALL_EXPRESSION_ARG_2_2), assign: METHOD_CALL_ARG_1_7, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, METHOD_CALL_ARG_1_7), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_15, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.sequence), assign: BINARY_EXPRESSION_LEFT_13, scope: 0 } [INFO] [stdout] { id: 24, instruction: divide, input: (BINARY_EXPRESSION_LEFT_13, config.epoch_length), assign: epoch, scope: 0 } [INFO] [stdout] { id: 49, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_46, scope: 0 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_46.temporary), assign: METHOD_CALL_EXPRESSION_45, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_27, scope: 0 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_31, scope: 0 } [INFO] [stdout] { id: 44, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_27, CALL_EXPRESSION_ARG_2_31, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_26, scope: 0 } [INFO] [stdout] { id: 51, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_45.get, METHOD_CALL_ARG_1_26), assign: METHOD_CALL_EXPRESSION_25, scope: 0 } [INFO] [stdout] { id: 52, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.unwrap_or_default), assign: stats, scope: 0 } [INFO] [stdout] { id: 57, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_53, scope: 0 } [INFO] [stdout] { id: 61, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_53), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [mint] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] contract: Address [INFO] [stdout] minter: Address [INFO] [stdout] to: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), Error> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 309, instruction: instantiate_object, input: (Tuple, contract, to, amount), assign: METHOD_CALL_EXPRESSION_305, scope: 0 } [INFO] [stdout] { id: 311, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_305.into_val, env), assign: METHOD_CALL_ARG_1_302, scope: 0 } [INFO] [stdout] { id: 314, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_302), scope: 0 } [INFO] [stdout] { id: 320, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_315, scope: 0 } [INFO] [stdout] { id: 322, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_315, 321), scope: 0 } [INFO] [stdout] { id: 328, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_323, scope: 321 } [INFO] [stdout] { id: 329, instruction: return, input: (RETURN_VALUE_LABEL_323), scope: 321 } [INFO] [stdout] { id: 334, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_331, scope: 0 } [INFO] [stdout] { id: 337, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_331), assign: admin, scope: 0 } [INFO] [stdout] { id: 343, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_338, scope: 0 } [INFO] [stdout] { id: 345, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_338, 344), scope: 0 } [INFO] [stdout] { id: 364, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_361, scope: 344 } [INFO] [stdout] { id: 365, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_361.persistent), assign: METHOD_CALL_EXPRESSION_360, scope: 344 } [INFO] [stdout] { id: 352, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_349, scope: 344 } [INFO] [stdout] { id: 356, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_353, scope: 344 } [INFO] [stdout] { id: 359, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_349, CALL_EXPRESSION_ARG_2_353), assign: METHOD_CALL_ARG_1_348, scope: 344 } [INFO] [stdout] { id: 366, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_360.get, METHOD_CALL_ARG_1_348), assign: TRY_ASSIGN_RESULT_346, scope: 344 } [INFO] [stdout] { id: 367, instruction: evaluate, input: (try_assign, Some(config), TRY_ASSIGN_RESULT_346), assign: TRY_ASSIGN_RESULT_CONDITIONAL_347, scope: 344 } [INFO] [stdout] { id: 369, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_347, 368), scope: 344 } [INFO] [stdout] { id: 371, instruction: jump, input: (370), scope: 344 } [INFO] [stdout] { id: 372, instruction: jump, input: (344), scope: 368 } [INFO] [stdout] { id: 378, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_373, scope: 370 } [INFO] [stdout] { id: 379, instruction: return, input: (RETURN_VALUE_LABEL_373), scope: 370 } [INFO] [stdout] { id: 386, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_383, scope: 344 } [INFO] [stdout] { id: 387, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_383.sequence), assign: BINARY_EXPRESSION_LEFT_381, scope: 344 } [INFO] [stdout] { id: 392, instruction: divide, input: (BINARY_EXPRESSION_LEFT_381, config.epoch_length), assign: epoch, scope: 344 } [INFO] [stdout] { id: 396, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_393, scope: 344 } [INFO] [stdout] { id: 400, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_397, scope: 344 } [INFO] [stdout] { id: 410, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_393, CALL_EXPRESSION_ARG_2_397, config.epoch_length, epoch), assign: minter_stats_key, scope: 344 } [INFO] [stdout] { id: 418, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_415, scope: 344 } [INFO] [stdout] { id: 419, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_415.temporary), assign: METHOD_CALL_EXPRESSION_414, scope: 344 } [INFO] [stdout] { id: 420, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_414.get, minter_stats_key), assign: METHOD_CALL_EXPRESSION_411, scope: 344 } [INFO] [stdout] { id: 421, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_411.unwrap_or_default), assign: minter_stats, scope: 344 } [INFO] [stdout] { id: 429, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 344 } [INFO] [stdout] { id: 430, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 344 } [INFO] [stdout] { id: 443, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_432, scope: 344 } [INFO] [stdout] { id: 445, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_432, 444), scope: 344 } [INFO] [stdout] { id: 451, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_446, scope: 444 } [INFO] [stdout] { id: 452, instruction: return, input: (RETURN_VALUE_LABEL_446), scope: 444 } [INFO] [stdout] { id: 462, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_459, scope: 344 } [INFO] [stdout] { id: 463, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_459.temporary), assign: METHOD_CALL_EXPRESSION_458, scope: 344 } [INFO] [stdout] { id: 464, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_458.set, minter_stats_key, new_minter_stats), scope: 344 } [INFO] [stdout] { id: 482, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_479, scope: 344 } [INFO] [stdout] { id: 483, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_479.temporary), assign: METHOD_CALL_EXPRESSION_478, scope: 344 } [INFO] [stdout] { id: 477, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_469, scope: 344 } [INFO] [stdout] { id: 484, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_478.extend_ttl, minter_stats_key, 0, METHOD_CALL_ARG_3_469), assign: Thing_to_return, scope: 344 } [INFO] [stdout] { id: 485, instruction: jump, input: (0), scope: 344 } [INFO] [stdout] { id: 492, instruction: evaluate, input: (MintClient::new, env, contract), assign: client, scope: 0 } [INFO] [stdout] { id: 499, instruction: evaluate, input: (client.mint, to, amount), scope: 0 } [INFO] [stdout] { id: 501, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_500, scope: 0 } [INFO] [stdout] { id: 505, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_500), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (Error_ENUM) [INFO] [stdout] { [INFO] [stdout] NotAuthorizedMinter = 1 [INFO] [stdout] DailyLimitInsufficient = 2 [INFO] [stdout] NegativeAmount = 3 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (StorageKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Admin: () [INFO] [stdout] Minter: (Address, Address) [INFO] [stdout] MinterStats: (Address, Address, Integer, Integer) [INFO] [stdout] } [INFO] [stdout] * (MinterConfig_STRUCT) [INFO] [stdout] { [INFO] [stdout] limit: BigInteger [INFO] [stdout] epoch_length: Integer [INFO] [stdout] } [INFO] [stdout] * (MinterStats_STRUCT) [INFO] [stdout] { [INFO] [stdout] consumed_limit: BigInteger [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock' (93) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: Contract[Interface]:-() [set_admin]* Inputs:{env: Envnew_admin: Address}* Instructions:${ id: 9, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_2, scope: 0 }{ id: 12, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_2, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 14, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 13), scope: 0 }{ id: 17, instruction: evaluate, input: (admin.require_auth), scope: 13 }{ id: 18, instruction: jump, input: (0), scope: 13 }{ id: 27, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.instance), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.set, StorageKey::Admin, new_admin), scope: 0 }$-() [admin]* Inputs:{env: Env}* Output: Address* Instructions:${ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.instance), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.get, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [set_minter]* Inputs:{env: Envcontract: Addressminter: Addressconfig: MinterConfig}* Instructions:${ id: 9, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_6, scope: 0 }{ id: 12, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_6), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.require_auth), scope: 0 }{ id: 28, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 0, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.persistent), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 21, instruction: evaluate, input: (StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_14, scope: 0 }{ id: 1, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.set, METHOD_CALL_ARG_1_14, config), scope: 0 }$-() [minter]* Inputs:{env: Envcontract: Addressminter: Address}* Output: Result<(MinterConfig, Integer, MinterStats), Error>* Instructions:${ id: 9, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.persistent), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 1, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_8, scope: 0 }{ id: 5, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_2, scope: 0 }{ id: 4, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_8, CALL_EXPRESSION_ARG_2_2), assign: METHOD_CALL_ARG_1_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, METHOD_CALL_ARG_1_7), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 }{ id: 18, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.sequence), assign: BINARY_EXPRESSION_LEFT_13, scope: 0 }{ id: 24, instruction: divide, input: (BINARY_EXPRESSION_LEFT_13, config.epoch_length), assign: epoch, scope: 0 }{ id: 49, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_46, scope: 0 }{ id: 50, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_46.temporary), assign: METHOD_CALL_EXPRESSION_45, scope: 0 }{ id: 30, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_27, scope: 0 }{ id: 34, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_31, scope: 0 }{ id: 44, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_27, CALL_EXPRESSION_ARG_2_31, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_26, scope: 0 }{ id: 51, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_45.get, METHOD_CALL_ARG_1_26), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 52, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.unwrap_or_default), assign: stats, scope: 0 }{ id: 57, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_53, scope: 0 }{ id: 61, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_53), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [mint]* Inputs:{env: Envcontract: Addressminter: Addressto: Addressamount: BigInteger}* Output: Result<(), Error>* Instructions:${ id: 309, instruction: instantiate_object, input: (Tuple, contract, to, amount), assign: METHOD_CALL_EXPRESSION_305, scope: 0 }{ id: 311, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_305.into_val, env), assign: METHOD_CALL_ARG_1_302, scope: 0 }{ id: 314, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_302), scope: 0 }{ id: 320, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_315, scope: 0 }{ id: 322, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_315, 321), scope: 0 }{ id: 328, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_323, scope: 321 }{ id: 329, instruction: return, input: (RETURN_VALUE_LABEL_323), scope: 321 }{ id: 334, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_331, scope: 0 }{ id: 337, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_331), assign: admin, scope: 0 }{ id: 343, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_338, scope: 0 }{ id: 345, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_338, 344), scope: 0 }{ id: 364, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_361, scope: 344 }{ id: 365, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_361.persistent), assign: METHOD_CALL_EXPRESSION_360, scope: 344 }{ id: 352, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_349, scope: 344 }{ id: 356, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_353, scope: 344 }{ id: 359, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_349, CALL_EXPRESSION_ARG_2_353), assign: METHOD_CALL_ARG_1_348, scope: 344 }{ id: 366, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_360.get, METHOD_CALL_ARG_1_348), assign: TRY_ASSIGN_RESULT_346, scope: 344 }{ id: 367, instruction: evaluate, input: (try_assign, Some(config), TRY_ASSIGN_RESULT_346), assign: TRY_ASSIGN_RESULT_CONDITIONAL_347, scope: 344 }{ id: 369, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_347, 368), scope: 344 }{ id: 371, instruction: jump, input: (370), scope: 344 }{ id: 372, instruction: jump, input: (344), scope: 368 }{ id: 378, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_373, scope: 370 }{ id: 379, instruction: return, input: (RETURN_VALUE_LABEL_373), scope: 370 }{ id: 386, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_383, scope: 344 }{ id: 387, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_383.sequence), assign: BINARY_EXPRESSION_LEFT_381, scope: 344 }{ id: 392, instruction: divide, input: (BINARY_EXPRESSION_LEFT_381, config.epoch_length), assign: epoch, scope: 344 }{ id: 396, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_393, scope: 344 }{ id: 400, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_397, scope: 344 }{ id: 410, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_393, CALL_EXPRESSION_ARG_2_397, config.epoch_length, epoch), assign: minter_stats_key, scope: 344 }{ id: 418, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_415, scope: 344 }{ id: 419, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_415.temporary), assign: METHOD_CALL_EXPRESSION_414, scope: 344 }{ id: 420, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_414.get, minter_stats_key), assign: METHOD_CALL_EXPRESSION_411, scope: 344 }{ id: 421, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_411.unwrap_or_default), assign: minter_stats, scope: 344 }{ id: 429, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 344 }{ id: 430, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 344 }{ id: 443, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_432, scope: 344 }{ id: 445, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_432, 444), scope: 344 }{ id: 451, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_446, scope: 444 }{ id: 452, instruction: return, input: (RETURN_VALUE_LABEL_446), scope: 444 }{ id: 462, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_459, scope: 344 }{ id: 463, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_459.temporary), assign: METHOD_CALL_EXPRESSION_458, scope: 344 }{ id: 464, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_458.set, minter_stats_key, new_minter_stats), scope: 344 }{ id: 482, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_479, scope: 344 }{ id: 483, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_479.temporary), assign: METHOD_CALL_EXPRESSION_478, scope: 344 }{ id: 477, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_469, scope: 344 }{ id: 484, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_478.extend_ttl, minter_stats_key, 0, METHOD_CALL_ARG_3_469), assign: Thing_to_return, scope: 344 }{ id: 485, instruction: jump, input: (0), scope: 344 }{ id: 492, instruction: evaluate, input: (MintClient::new, env, contract), assign: client, scope: 0 }{ id: 499, instruction: evaluate, input: (client.mint, to, amount), scope: 0 }{ id: 501, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_500, scope: 0 }{ id: 505, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_500), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (Error_ENUM){NotAuthorizedMinter = 1DailyLimitInsufficient = 2NegativeAmount = 3}* (StorageKey_ENUM){Admin: ()Minter: (Address, Address)MinterStats: (Address, Address, Integer, Integer)}* (MinterConfig_STRUCT){limit: BigIntegerepoch_length: Integer}* (MinterStats_STRUCT){consumed_limit: BigInteger}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: Contract[Interface]:-() [set_admin]* Inputs:{env: Envnew_admin: Address}* Instructions:${ id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.get, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_1, scope: 0 }{ id: 11, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_1, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 }{ id: 16, instruction: evaluate, input: (admin.require_auth), scope: 12 }{ id: 17, instruction: jump, input: (0), scope: 12 }{ id: 26, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.instance), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.set, StorageKey::Admin, new_admin), scope: 0 }$-() [admin]* Inputs:{env: Env}* Output: Address* Instructions:${ id: 36, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_33, scope: 0 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.instance), assign: METHOD_CALL_EXPRESSION_32, scope: 0 }{ id: 38, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.get, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_29, scope: 0 }{ id: 39, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [set_minter]* Inputs:{env: Envcontract: Addressminter: Addressconfig: MinterConfig}* Instructions:${ id: 44, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_41, scope: 0 }{ id: 47, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_41), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.require_auth), scope: 0 }{ id: 63, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_60, scope: 0 }{ id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.persistent), assign: METHOD_CALL_EXPRESSION_59, scope: 0 }{ id: 56, instruction: evaluate, input: (StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_49, scope: 0 }{ id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_59.set, METHOD_CALL_ARG_1_49, config), scope: 0 }$-() [minter]* Inputs:{env: Envcontract: Addressminter: Address}* Output: Result<(MinterConfig, Integer, MinterStats), Error>* Instructions:${ id: 85, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_82, scope: 0 }{ id: 86, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_82.persistent), assign: METHOD_CALL_EXPRESSION_81, scope: 0 }{ id: 73, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_70, scope: 0 }{ id: 77, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_74, scope: 0 }{ id: 80, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_70, CALL_EXPRESSION_ARG_2_74), assign: METHOD_CALL_ARG_1_69, scope: 0 }{ id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.get, METHOD_CALL_ARG_1_69), assign: METHOD_CALL_EXPRESSION_68, scope: 0 }{ id: 88, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_68.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 }{ id: 94, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_91, scope: 0 }{ id: 95, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_91.sequence), assign: BINARY_EXPRESSION_LEFT_89, scope: 0 }{ id: 100, instruction: divide, input: (BINARY_EXPRESSION_LEFT_89, config.epoch_length), assign: epoch, scope: 0 }{ id: 125, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_122, scope: 0 }{ id: 126, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_122.temporary), assign: METHOD_CALL_EXPRESSION_121, scope: 0 }{ id: 106, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_103, scope: 0 }{ id: 110, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_107, scope: 0 }{ id: 120, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_103, CALL_EXPRESSION_ARG_2_107, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_102, scope: 0 }{ id: 127, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_121.get, METHOD_CALL_ARG_1_102), assign: METHOD_CALL_EXPRESSION_101, scope: 0 }{ id: 128, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_101.unwrap_or_default), assign: stats, scope: 0 }{ id: 133, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_129, scope: 0 }{ id: 137, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_129), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [mint]* Inputs:{env: Envcontract: Addressminter: Addressto: Addressamount: BigInteger}* Output: Result<(), Error>* Instructions:${ id: 145, instruction: instantiate_object, input: (Tuple, contract, to, amount), assign: METHOD_CALL_EXPRESSION_141, scope: 0 }{ id: 147, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_141.into_val, env), assign: METHOD_CALL_ARG_1_138, scope: 0 }{ id: 150, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_138), scope: 0 }{ id: 156, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_151, scope: 0 }{ id: 158, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_151, 157), scope: 0 }{ id: 164, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_159, scope: 157 }{ id: 165, instruction: return, input: (RETURN_VALUE_LABEL_159), scope: 157 }{ id: 170, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_167, scope: 0 }{ id: 173, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_167), assign: admin, scope: 0 }{ id: 179, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_174, scope: 0 }{ id: 181, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_174, 180), scope: 0 }{ id: 200, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_197, scope: 180 }{ id: 201, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_197.persistent), assign: METHOD_CALL_EXPRESSION_196, scope: 180 }{ id: 188, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_185, scope: 180 }{ id: 192, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_189, scope: 180 }{ id: 195, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_185, CALL_EXPRESSION_ARG_2_189), assign: METHOD_CALL_ARG_1_184, scope: 180 }{ id: 202, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_196.get, METHOD_CALL_ARG_1_184), assign: TRY_ASSIGN_RESULT_182, scope: 180 }{ id: 203, instruction: evaluate, input: (try_assign, Some(config), TRY_ASSIGN_RESULT_182), assign: TRY_ASSIGN_RESULT_CONDITIONAL_183, scope: 180 }{ id: 205, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_183, 204), scope: 180 }{ id: 207, instruction: jump, input: (206), scope: 180 }{ id: 208, instruction: jump, input: (180), scope: 204 }{ id: 214, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_209, scope: 206 }{ id: 215, instruction: return, input: (RETURN_VALUE_LABEL_209), scope: 206 }{ id: 222, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_219, scope: 180 }{ id: 223, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_219.sequence), assign: BINARY_EXPRESSION_LEFT_217, scope: 180 }{ id: 228, instruction: divide, input: (BINARY_EXPRESSION_LEFT_217, config.epoch_length), assign: epoch, scope: 180 }{ id: 232, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_229, scope: 180 }{ id: 236, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_233, scope: 180 }{ id: 246, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_229, CALL_EXPRESSION_ARG_2_233, config.epoch_length, epoch), assign: minter_stats_key, scope: 180 }{ id: 254, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_251, scope: 180 }{ id: 255, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_251.temporary), assign: METHOD_CALL_EXPRESSION_250, scope: 180 }{ id: 256, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_250.get, minter_stats_key), assign: METHOD_CALL_EXPRESSION_247, scope: 180 }{ id: 257, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_247.unwrap_or_default), assign: minter_stats, scope: 180 }{ id: 265, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 180 }{ id: 266, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 180 }{ id: 279, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_268, scope: 180 }{ id: 281, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_268, 280), scope: 180 }{ id: 287, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_282, scope: 280 }{ id: 288, instruction: return, input: (RETURN_VALUE_LABEL_282), scope: 280 }{ id: 298, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_295, scope: 180 }{ id: 299, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_295.temporary), assign: METHOD_CALL_EXPRESSION_294, scope: 180 }{ id: 300, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_294.set, minter_stats_key, new_minter_stats), scope: 180 }{ id: 318, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_315, scope: 180 }{ id: 319, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_315.temporary), assign: METHOD_CALL_EXPRESSION_314, scope: 180 }{ id: 313, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_305, scope: 180 }{ id: 320, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_314.extend_ttl, minter_stats_key, 0, METHOD_CALL_ARG_3_305), assign: Thing_to_return, scope: 180 }{ id: 321, instruction: jump, input: (0), scope: 180 }{ id: 328, instruction: evaluate, input: (MintClient::new, env, contract), assign: client, scope: 0 }{ id: 335, instruction: evaluate, input: (client.mint, to, amount), scope: 0 }{ id: 337, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_336, scope: 0 }{ id: 341, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_336), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (Error_ENUM){NotAuthorizedMinter = 1DailyLimitInsufficient = 2NegativeAmount = 3}* (StorageKey_ENUM){Admin: ()Minter: (Address, Address)MinterStats: (Address, Address, Integer, Integer)}* (MinterConfig_STRUCT){limit: BigIntegerepoch_length: Integer}* (MinterStats_STRUCT){consumed_limit: BigInteger}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a993627f5e - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock::h49756f99979d1fa0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a993627f97 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock::{{closure}}::h4fe4631b3ce711b0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362c026 - core::ops::function::FnOnce::call_once::h8d5048af67a65115 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_account stdout ---- [INFO] [stdout] DTR Code: [Contract]: AccountContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] signers: List [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: evaluate, input: (signers.iter), assign: ITERATOR_1, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (start, ITERATOR_1), assign: signer, scope: 0 } [INFO] [stdout] { id: 7, instruction: end_of_iteration_check, input: (signer, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 } [INFO] [stdout] { id: 9, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 8), scope: 0 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_20, scope: 8 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.instance), assign: METHOD_CALL_EXPRESSION_19, scope: 8 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 } [INFO] [stdout] { id: 17, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_16, scope: 8 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_16), scope: 8 } [INFO] [stdout] { id: 26, instruction: increment, input: (signer), scope: 8 } [INFO] [stdout] { id: 27, instruction: goto, input: (7), scope: 8 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_35, scope: 0 } [INFO] [stdout] { id: 39, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.instance), assign: METHOD_CALL_EXPRESSION_34, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (signers.len), assign: METHOD_CALL_ARG_2_30, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.set, DataKey::SignerCnt, METHOD_CALL_ARG_2_30), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [add_limit] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] token: Address [INFO] [stdout] limit: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 2, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_41, scope: 0 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.require_auth), scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_13, scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.instance), assign: METHOD_CALL_EXPRESSION_12, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_4, scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_12.set, METHOD_CALL_ARG_1_4, limit), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]:* (AccSignature_STRUCT) [INFO] [stdout] { [INFO] [stdout] public_key: ByteStringSmall [INFO] [stdout] signature: ByteStringLarge [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] SignerCnt: () [INFO] [stdout] Signer: (ByteStringSmall) [INFO] [stdout] SpendLimit: (Address) [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (AccError_ENUM) [INFO] [stdout] { [INFO] [stdout] NotEnoughSigners = 1 [INFO] [stdout] NegativeAmount = 2 [INFO] [stdout] BadSignatureOrder = 3 [INFO] [stdout] UnknownSigner = 4 [INFO] [stdout] InvalidContext = 5 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [State]: [INFO] [stdout] * [TRANSFER_FN] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "transfer" [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [authenticate] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] signature_payload: &ByteStringSmall [INFO] [stdout] signatures: &List [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), AccError> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (signatures.len), assign: RANGE_END_4, scope: 0 } [INFO] [stdout] { id: 9, instruction: instantiate_object, input: (Range, 0, RANGE_END_4), assign: ITERATOR_1, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (start, ITERATOR_1), assign: i, scope: 0 } [INFO] [stdout] { id: 11, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 12), scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (signatures.get_unchecked, i), assign: signature, scope: 12 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (greater_than, i, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 12 } [INFO] [stdout] { id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 12 } [INFO] [stdout] { id: 32, instruction: subtract, input: (i, 1), assign: METHOD_CALL_ARG_1_27, scope: 25 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (signatures.get_unchecked, METHOD_CALL_ARG_1_27), assign: prev_signature, scope: 25 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (greater_than_or_equal_to, prev_signature.public_key, signature.public_key), assign: CONDITIONAL_JUMP_ASSIGNMENT_36, scope: 25 } [INFO] [stdout] { id: 49, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_36, 48), scope: 25 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (Err, AccError::BadSignatureOrder), assign: RETURN_VALUE_LABEL_50, scope: 48 } [INFO] [stdout] { id: 56, instruction: return, input: (RETURN_VALUE_LABEL_50), scope: 48 } [INFO] [stdout] { id: 58, instruction: jump, input: (12), scope: 25 } [INFO] [stdout] { id: 76, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_73, scope: 12 } [INFO] [stdout] { id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.instance), assign: METHOD_CALL_EXPRESSION_72, scope: 12 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_62, scope: 12 } [INFO] [stdout] { id: 71, instruction: evaluate, input: (DataKey::Signer, CALL_EXPRESSION_ARG_1_62), assign: METHOD_CALL_ARG_1_61, scope: 12 } [INFO] [stdout] { id: 78, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 } [INFO] [stdout] { id: 79, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 } [INFO] [stdout] { id: 81, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 80), scope: 12 } [INFO] [stdout] { id: 1, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_82, scope: 80 } [INFO] [stdout] { id: 2, instruction: return, input: (RETURN_VALUE_LABEL_82), scope: 80 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_20, scope: 12 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_10, scope: 12 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.into), assign: METHOD_CALL_ARG_2_9, scope: 12 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.ed25519_verify, signature.public_key, METHOD_CALL_ARG_2_9, signature.signature), assign: Thing_to_return, scope: 12 } [INFO] [stdout] { id: 25, instruction: increment, input: (i), scope: 12 } [INFO] [stdout] { id: 26, instruction: goto, input: (11), scope: 12 } [INFO] [stdout] { id: 28, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_27, scope: 0 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_27), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [verify_authorization_policy] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] context: &Context [INFO] [stdout] curr_contract: &Address [INFO] [stdout] all_signed: Boolean [INFO] [stdout] spend_left_per_token: &Dictionary [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), AccError> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 1, instruction: assign, input: (context), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (equal_to, context, Context::Contract(c)), assign: CONDITIONAL_JUMP_CHECK_2, scope: 0 } [INFO] [stdout] { id: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 } [INFO] [stdout] { id: 1, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_0, scope: 0 } [INFO] [stdout] { id: 3, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_0, 2), scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (equal_to, c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 } [INFO] [stdout] { id: 16, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 15), scope: 4 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 15 } [INFO] [stdout] { id: 22, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 21), scope: 15 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_23, scope: 21 } [INFO] [stdout] { id: 29, instruction: return, input: (RETURN_VALUE_LABEL_23), scope: 21 } [INFO] [stdout] { id: 31, instruction: jump, input: (4), scope: 15 } [INFO] [stdout] { id: 33, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_4, scope: 2 } [INFO] [stdout] { id: 10, instruction: return, input: (RETURN_VALUE_LABEL_4), scope: 2 } [INFO] [stdout] { id: 22, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_13, scope: 0 } [INFO] [stdout] { id: 148, instruction: evaluate, input: (Symbol::new, env, "approve"), assign: BINARY_EXPRESSION_RIGHT_24, scope: 0 } [INFO] [stdout] { id: 149, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_24), assign: BINARY_EXPRESSION_RIGHT_14, scope: 0 } [INFO] [stdout] { id: 150, instruction: and, input: (BINARY_EXPRESSION_LEFT_13, BINARY_EXPRESSION_RIGHT_14), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 } [INFO] [stdout] { id: 152, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 151), scope: 0 } [INFO] [stdout] { id: 155, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_154, scope: 151 } [INFO] [stdout] { id: 159, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_154), assign: RETURN_VALUE_LABEL_153, scope: 151 } [INFO] [stdout] { id: 160, instruction: return, input: (RETURN_VALUE_LABEL_153), scope: 151 } [INFO] [stdout] { id: 170, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_164, scope: 0 } [INFO] [stdout] { id: 173, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_164), assign: INPUT_VALUE_NAME_FOR_LET_163, scope: 0 } [INFO] [stdout] { id: 174, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_163, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_162, scope: 0 } [INFO] [stdout] { id: 176, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_162, 175), scope: 0 } [INFO] [stdout] { id: 184, instruction: jump, input: (183), scope: 0 } [INFO] [stdout] { id: 181, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 175 } [INFO] [stdout] { id: 182, instruction: jump, input: (0), scope: 175 } [INFO] [stdout] { id: 202, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_199, scope: 183 } [INFO] [stdout] { id: 203, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_199.instance), assign: METHOD_CALL_EXPRESSION_198, scope: 183 } [INFO] [stdout] { id: 194, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_188, scope: 183 } [INFO] [stdout] { id: 197, instruction: evaluate, input: (DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_188), assign: METHOD_CALL_ARG_1_187, scope: 183 } [INFO] [stdout] { id: 204, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_198.get, METHOD_CALL_ARG_1_187), assign: INPUT_VALUE_NAME_FOR_LET_186, scope: 183 } [INFO] [stdout] { id: 205, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_186, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_185, scope: 183 } [INFO] [stdout] { id: 207, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_185, 206), scope: 183 } [INFO] [stdout] { id: 215, instruction: jump, input: (214), scope: 183 } [INFO] [stdout] { id: 212, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 206 } [INFO] [stdout] { id: 213, instruction: jump, input: (183), scope: 206 } [INFO] [stdout] { id: 216, instruction: assign, input: (None), assign: spend_left|||Option, scope: 214 } [INFO] [stdout] { id: 217, instruction: jump, input: (183), scope: 214 } [INFO] [stdout] { id: 218, instruction: jump, input: (0), scope: 183 } [INFO] [stdout] { id: 222, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_219, scope: 0 } [INFO] [stdout] { id: 224, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_219, 223), scope: 0 } [INFO] [stdout] { id: 237, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_229, scope: 223 } [INFO] [stdout] { id: 238, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_229.unwrap), assign: METHOD_CALL_EXPRESSION_228, scope: 223 } [INFO] [stdout] { id: 239, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_228.try_into_val, env), assign: METHOD_CALL_EXPRESSION_225, scope: 223 } [INFO] [stdout] { id: 240, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_225.unwrap), assign: spent|||BigInteger, scope: 223 } [INFO] [stdout] { id: 246, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_241, scope: 223 } [INFO] [stdout] { id: 248, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_241, 247), scope: 223 } [INFO] [stdout] { id: 254, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_249, scope: 247 } [INFO] [stdout] { id: 255, instruction: return, input: (RETURN_VALUE_LABEL_249), scope: 247 } [INFO] [stdout] { id: 262, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_258, scope: 223 } [INFO] [stdout] { id: 267, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_259, scope: 223 } [INFO] [stdout] { id: 268, instruction: and, input: (BINARY_EXPRESSION_LEFT_258, BINARY_EXPRESSION_RIGHT_259), assign: CONDITIONAL_JUMP_ASSIGNMENT_257, scope: 223 } [INFO] [stdout] { id: 270, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_257, 269), scope: 223 } [INFO] [stdout] { id: 276, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_271, scope: 269 } [INFO] [stdout] { id: 277, instruction: return, input: (RETURN_VALUE_LABEL_271), scope: 269 } [INFO] [stdout] { id: 285, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_279, scope: 223 } [INFO] [stdout] { id: 291, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_286, scope: 223 } [INFO] [stdout] { id: 294, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_279, METHOD_CALL_ARG_2_286), assign: Thing_to_return, scope: 223 } [INFO] [stdout] { id: 295, instruction: jump, input: (0), scope: 223 } [INFO] [stdout] { id: 297, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_296, scope: 0 } [INFO] [stdout] { id: 301, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_296), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Implementations]: [INFO] [stdout] [INFO] [stdout] -->(CustomAccountInterface)<-- [INFO] [stdout] -() [__check_auth] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] signature_payload: ByteStringSmall [INFO] [stdout] signatures: List [INFO] [stdout] auth_context: List [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), AccError> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (authenticate, env, signature_payload, signatures), scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.instance), assign: METHOD_CALL_EXPRESSION_13, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.get, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_10, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap), assign: tot_signers|||Integer, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_22, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_22), assign: all_signed, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (Map::new, env), assign: spend_left_per_token, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_36, scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (start, ITERATOR_36), assign: context, scope: 0 } [INFO] [stdout] { id: 42, instruction: end_of_iteration_check, input: (context, ITERATOR_36), assign: CHECK_CONDITION_ASSIGNMENT_37, scope: 0 } [INFO] [stdout] { id: 44, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_37, 43), scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (verify_authorization_policy, env, context, curr_contract, all_signed, spend_left_per_token), assign: Thing_to_return, scope: 43 } [INFO] [stdout] { id: 58, instruction: increment, input: (context), scope: 43 } [INFO] [stdout] { id: 59, instruction: goto, input: (42), scope: 43 } [INFO] [stdout] { id: 61, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_60, scope: 0 } [INFO] [stdout] { id: 65, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_60), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Implementations] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_account' (74) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AccountContract[Interface]:-() [init]* Inputs:{env: Envsigners: List}* Instructions:${ id: 5, instruction: evaluate, input: (signers.iter), assign: ITERATOR_1, scope: 0 }{ id: 6, instruction: evaluate, input: (start, ITERATOR_1), assign: signer, scope: 0 }{ id: 7, instruction: end_of_iteration_check, input: (signer, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 9, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 8), scope: 0 }{ id: 23, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_20, scope: 8 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.instance), assign: METHOD_CALL_EXPRESSION_19, scope: 8 }{ id: 15, instruction: evaluate, input: (DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 }{ id: 17, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_16, scope: 8 }{ id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_16), scope: 8 }{ id: 26, instruction: increment, input: (signer), scope: 8 }{ id: 27, instruction: goto, input: (7), scope: 8 }{ id: 38, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_35, scope: 0 }{ id: 39, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.instance), assign: METHOD_CALL_EXPRESSION_34, scope: 0 }{ id: 33, instruction: evaluate, input: (signers.len), assign: METHOD_CALL_ARG_2_30, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.set, DataKey::SignerCnt, METHOD_CALL_ARG_2_30), scope: 0 }$-() [add_limit]* Inputs:{env: Envtoken: Addresslimit: BigInteger}* Instructions:${ id: 2, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 3, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.require_auth), scope: 0 }{ id: 16, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_13, scope: 0 }{ id: 17, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.instance), assign: METHOD_CALL_EXPRESSION_12, scope: 0 }{ id: 9, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_4, scope: 0 }{ id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_12.set, METHOD_CALL_ARG_1_4, limit), scope: 0 }$:[Interface][User Defined Types]:* (AccSignature_STRUCT){public_key: ByteStringSmallsignature: ByteStringLarge}* (DataKey_ENUM){SignerCnt: ()Signer: (ByteStringSmall)SpendLimit: (Address)}* (AccError_ENUM){NotEnoughSigners = 1NegativeAmount = 2BadSignatureOrder = 3UnknownSigner = 4InvalidContext = 5}:[User Defined Types][State]:* [TRANSFER_FN]* Type: String* Initial Value: \"transfer\":[State][Helpers]:-() [authenticate]* Inputs:{env: &Envsignature_payload: &ByteStringSmallsignatures: &List}* Output: Result<(), AccError>* Instructions:${ id: 8, instruction: evaluate, input: (signatures.len), assign: RANGE_END_4, scope: 0 }{ id: 9, instruction: instantiate_object, input: (Range, 0, RANGE_END_4), assign: ITERATOR_1, scope: 0 }{ id: 10, instruction: evaluate, input: (start, ITERATOR_1), assign: i, scope: 0 }{ id: 11, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 13, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 12), scope: 0 }{ id: 18, instruction: evaluate, input: (signatures.get_unchecked, i), assign: signature, scope: 12 }{ id: 24, instruction: evaluate, input: (greater_than, i, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 12 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 12 }{ id: 32, instruction: subtract, input: (i, 1), assign: METHOD_CALL_ARG_1_27, scope: 25 }{ id: 35, instruction: evaluate, input: (signatures.get_unchecked, METHOD_CALL_ARG_1_27), assign: prev_signature, scope: 25 }{ id: 47, instruction: evaluate, input: (greater_than_or_equal_to, prev_signature.public_key, signature.public_key), assign: CONDITIONAL_JUMP_ASSIGNMENT_36, scope: 25 }{ id: 49, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_36, 48), scope: 25 }{ id: 55, instruction: evaluate, input: (Err, AccError::BadSignatureOrder), assign: RETURN_VALUE_LABEL_50, scope: 48 }{ id: 56, instruction: return, input: (RETURN_VALUE_LABEL_50), scope: 48 }{ id: 58, instruction: jump, input: (12), scope: 25 }{ id: 76, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_73, scope: 12 }{ id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.instance), assign: METHOD_CALL_EXPRESSION_72, scope: 12 }{ id: 68, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_62, scope: 12 }{ id: 71, instruction: evaluate, input: (DataKey::Signer, CALL_EXPRESSION_ARG_1_62), assign: METHOD_CALL_ARG_1_61, scope: 12 }{ id: 78, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 }{ id: 79, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 }{ id: 81, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 80), scope: 12 }{ id: 1, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_82, scope: 80 }{ id: 2, instruction: return, input: (RETURN_VALUE_LABEL_82), scope: 80 }{ id: 23, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_20, scope: 12 }{ id: 13, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_10, scope: 12 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.into), assign: METHOD_CALL_ARG_2_9, scope: 12 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.ed25519_verify, signature.public_key, METHOD_CALL_ARG_2_9, signature.signature), assign: Thing_to_return, scope: 12 }{ id: 25, instruction: increment, input: (i), scope: 12 }{ id: 26, instruction: goto, input: (11), scope: 12 }{ id: 28, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_27, scope: 0 }{ id: 32, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_27), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [verify_authorization_policy]* Inputs:{env: &Envcontext: &Contextcurr_contract: &Addressall_signed: Booleanspend_left_per_token: &Dictionary}* Output: Result<(), AccError>* Instructions:${ id: 1, instruction: assign, input: (context), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 }{ id: 3, instruction: evaluate, input: (equal_to, context, Context::Contract(c)), assign: CONDITIONAL_JUMP_CHECK_2, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 }{ id: 1, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_0, scope: 0 }{ id: 3, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_0, 2), scope: 0 }{ id: 14, instruction: evaluate, input: (equal_to, c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 }{ id: 16, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 15), scope: 4 }{ id: 20, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 15 }{ id: 22, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 21), scope: 15 }{ id: 28, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_23, scope: 21 }{ id: 29, instruction: return, input: (RETURN_VALUE_LABEL_23), scope: 21 }{ id: 31, instruction: jump, input: (4), scope: 15 }{ id: 33, instruction: jump, input: (0), scope: 4 }{ id: 9, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_4, scope: 2 }{ id: 10, instruction: return, input: (RETURN_VALUE_LABEL_4), scope: 2 }{ id: 22, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_13, scope: 0 }{ id: 148, instruction: evaluate, input: (Symbol::new, env, \"approve\"), assign: BINARY_EXPRESSION_RIGHT_24, scope: 0 }{ id: 149, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_24), assign: BINARY_EXPRESSION_RIGHT_14, scope: 0 }{ id: 150, instruction: and, input: (BINARY_EXPRESSION_LEFT_13, BINARY_EXPRESSION_RIGHT_14), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 152, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 151), scope: 0 }{ id: 155, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_154, scope: 151 }{ id: 159, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_154), assign: RETURN_VALUE_LABEL_153, scope: 151 }{ id: 160, instruction: return, input: (RETURN_VALUE_LABEL_153), scope: 151 }{ id: 170, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_164, scope: 0 }{ id: 173, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_164), assign: INPUT_VALUE_NAME_FOR_LET_163, scope: 0 }{ id: 174, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_163, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_162, scope: 0 }{ id: 176, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_162, 175), scope: 0 }{ id: 184, instruction: jump, input: (183), scope: 0 }{ id: 181, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 175 }{ id: 182, instruction: jump, input: (0), scope: 175 }{ id: 202, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_199, scope: 183 }{ id: 203, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_199.instance), assign: METHOD_CALL_EXPRESSION_198, scope: 183 }{ id: 194, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_188, scope: 183 }{ id: 197, instruction: evaluate, input: (DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_188), assign: METHOD_CALL_ARG_1_187, scope: 183 }{ id: 204, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_198.get, METHOD_CALL_ARG_1_187), assign: INPUT_VALUE_NAME_FOR_LET_186, scope: 183 }{ id: 205, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_186, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_185, scope: 183 }{ id: 207, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_185, 206), scope: 183 }{ id: 215, instruction: jump, input: (214), scope: 183 }{ id: 212, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 206 }{ id: 213, instruction: jump, input: (183), scope: 206 }{ id: 216, instruction: assign, input: (None), assign: spend_left|||Option, scope: 214 }{ id: 217, instruction: jump, input: (183), scope: 214 }{ id: 218, instruction: jump, input: (0), scope: 183 }{ id: 222, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_219, scope: 0 }{ id: 224, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_219, 223), scope: 0 }{ id: 237, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_229, scope: 223 }{ id: 238, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_229.unwrap), assign: METHOD_CALL_EXPRESSION_228, scope: 223 }{ id: 239, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_228.try_into_val, env), assign: METHOD_CALL_EXPRESSION_225, scope: 223 }{ id: 240, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_225.unwrap), assign: spent|||BigInteger, scope: 223 }{ id: 246, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_241, scope: 223 }{ id: 248, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_241, 247), scope: 223 }{ id: 254, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_249, scope: 247 }{ id: 255, instruction: return, input: (RETURN_VALUE_LABEL_249), scope: 247 }{ id: 262, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_258, scope: 223 }{ id: 267, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_259, scope: 223 }{ id: 268, instruction: and, input: (BINARY_EXPRESSION_LEFT_258, BINARY_EXPRESSION_RIGHT_259), assign: CONDITIONAL_JUMP_ASSIGNMENT_257, scope: 223 }{ id: 270, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_257, 269), scope: 223 }{ id: 276, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_271, scope: 269 }{ id: 277, instruction: return, input: (RETURN_VALUE_LABEL_271), scope: 269 }{ id: 285, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_279, scope: 223 }{ id: 291, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_286, scope: 223 }{ id: 294, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_279, METHOD_CALL_ARG_2_286), assign: Thing_to_return, scope: 223 }{ id: 295, instruction: jump, input: (0), scope: 223 }{ id: 297, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_296, scope: 0 }{ id: 301, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_296), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers][Implementations]:-->(CustomAccountInterface)<---() [__check_auth]* Inputs:{env: Envsignature_payload: ByteStringSmallsignatures: Listauth_context: List}* Output: Result<(), AccError>* Instructions:${ id: 9, instruction: evaluate, input: (authenticate, env, signature_payload, signatures), scope: 0 }{ id: 17, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.instance), assign: METHOD_CALL_EXPRESSION_13, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.get, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap), assign: tot_signers|||Integer, scope: 0 }{ id: 26, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_22, scope: 0 }{ id: 27, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_22), assign: all_signed, scope: 0 }{ id: 30, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 }{ id: 35, instruction: evaluate, input: (Map::new, env), assign: spend_left_per_token, scope: 0 }{ id: 40, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_36, scope: 0 }{ id: 41, instruction: evaluate, input: (start, ITERATOR_36), assign: context, scope: 0 }{ id: 42, instruction: end_of_iteration_check, input: (context, ITERATOR_36), assign: CHECK_CONDITION_ASSIGNMENT_37, scope: 0 }{ id: 44, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_37, 43), scope: 0 }{ id: 57, instruction: evaluate, input: (verify_authorization_policy, env, context, curr_contract, all_signed, spend_left_per_token), assign: Thing_to_return, scope: 43 }{ id: 58, instruction: increment, input: (context), scope: 43 }{ id: 59, instruction: goto, input: (42), scope: 43 }{ id: 61, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_60, scope: 0 }{ id: 65, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_60), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Implementations]" [INFO] [stdout] right: "[Contract]: AccountContract[Interface]:-() [init]* Inputs:{env: Envsigners: List}* Instructions:${ id: 5, instruction: evaluate, input: (signers.iter), assign: ITERATOR_1, scope: 0 }{ id: 6, instruction: evaluate, input: (start, ITERATOR_1), assign: signer, scope: 0 }{ id: 7, instruction: end_of_iteration_check, input: (signer, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 9, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 8), scope: 0 }{ id: 23, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_20, scope: 8 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.instance), assign: METHOD_CALL_EXPRESSION_19, scope: 8 }{ id: 15, instruction: evaluate, input: (DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 }{ id: 17, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_16, scope: 8 }{ id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_16), scope: 8 }{ id: 26, instruction: increment, input: (signer), scope: 8 }{ id: 27, instruction: goto, input: (7), scope: 8 }{ id: 38, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_35, scope: 0 }{ id: 39, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.instance), assign: METHOD_CALL_EXPRESSION_34, scope: 0 }{ id: 33, instruction: evaluate, input: (signers.len), assign: METHOD_CALL_ARG_2_30, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.set, DataKey::SignerCnt, METHOD_CALL_ARG_2_30), scope: 0 }$-() [add_limit]* Inputs:{env: Envtoken: Addresslimit: BigInteger}* Instructions:${ id: 44, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.require_auth), scope: 0 }{ id: 58, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_55, scope: 0 }{ id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_55.instance), assign: METHOD_CALL_EXPRESSION_54, scope: 0 }{ id: 51, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_46, scope: 0 }{ id: 60, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.set, METHOD_CALL_ARG_1_46, limit), scope: 0 }$:[Interface][User Defined Types]:* (AccSignature_STRUCT){public_key: ByteStringSmallsignature: ByteStringLarge}* (DataKey_ENUM){SignerCnt: ()Signer: (ByteStringSmall)SpendLimit: (Address)}* (AccError_ENUM){NotEnoughSigners = 1NegativeAmount = 2BadSignatureOrder = 3UnknownSigner = 4InvalidContext = 5}:[User Defined Types][State]:* [TRANSFER_FN]* Type: String* Initial Value: \"transfer\":[State][Helpers]:-() [authenticate]* Inputs:{env: &Envsignature_payload: &ByteStringSmallsignatures: &List}* Output: Result<(), AccError>* Instructions:${ id: 8, instruction: evaluate, input: (signatures.len), assign: RANGE_END_4, scope: 0 }{ id: 9, instruction: instantiate_object, input: (Range, 0, RANGE_END_4), assign: ITERATOR_1, scope: 0 }{ id: 10, instruction: evaluate, input: (start, ITERATOR_1), assign: i, scope: 0 }{ id: 11, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 13, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 12), scope: 0 }{ id: 18, instruction: evaluate, input: (signatures.get_unchecked, i), assign: signature, scope: 12 }{ id: 24, instruction: evaluate, input: (greater_than, i, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 12 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 12 }{ id: 32, instruction: subtract, input: (i, 1), assign: METHOD_CALL_ARG_1_27, scope: 25 }{ id: 35, instruction: evaluate, input: (signatures.get_unchecked, METHOD_CALL_ARG_1_27), assign: prev_signature, scope: 25 }{ id: 47, instruction: evaluate, input: (greater_than_or_equal_to, prev_signature.public_key, signature.public_key), assign: CONDITIONAL_JUMP_ASSIGNMENT_36, scope: 25 }{ id: 49, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_36, 48), scope: 25 }{ id: 55, instruction: evaluate, input: (Err, AccError::BadSignatureOrder), assign: RETURN_VALUE_LABEL_50, scope: 48 }{ id: 56, instruction: return, input: (RETURN_VALUE_LABEL_50), scope: 48 }{ id: 58, instruction: jump, input: (12), scope: 25 }{ id: 76, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_73, scope: 12 }{ id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.instance), assign: METHOD_CALL_EXPRESSION_72, scope: 12 }{ id: 68, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_62, scope: 12 }{ id: 71, instruction: evaluate, input: (DataKey::Signer, CALL_EXPRESSION_ARG_1_62), assign: METHOD_CALL_ARG_1_61, scope: 12 }{ id: 78, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 }{ id: 79, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 }{ id: 81, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 80), scope: 12 }{ id: 87, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_82, scope: 80 }{ id: 88, instruction: return, input: (RETURN_VALUE_LABEL_82), scope: 80 }{ id: 109, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_106, scope: 12 }{ id: 99, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_96, scope: 12 }{ id: 100, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_96.into), assign: METHOD_CALL_ARG_2_95, scope: 12 }{ id: 110, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_106.ed25519_verify, signature.public_key, METHOD_CALL_ARG_2_95, signature.signature), assign: Thing_to_return, scope: 12 }{ id: 111, instruction: increment, input: (i), scope: 12 }{ id: 112, instruction: goto, input: (11), scope: 12 }{ id: 114, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_113, scope: 0 }{ id: 118, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_113), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [verify_authorization_policy]* Inputs:{env: &Envcontext: &Contextcurr_contract: &Addressall_signed: Booleanspend_left_per_token: &Dictionary}* Output: Result<(), AccError>* Instructions:${ id: 1, instruction: assign, input: (context), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 }{ id: 3, instruction: evaluate, input: (equal_to, context, Context::Contract(c)), assign: CONDITIONAL_JUMP_CHECK_2, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 }{ id: 35, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_34, scope: 0 }{ id: 37, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_34, 36), scope: 0 }{ id: 14, instruction: evaluate, input: (equal_to, c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 }{ id: 16, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 15), scope: 4 }{ id: 20, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 15 }{ id: 22, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 21), scope: 15 }{ id: 28, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_23, scope: 21 }{ id: 29, instruction: return, input: (RETURN_VALUE_LABEL_23), scope: 21 }{ id: 31, instruction: jump, input: (4), scope: 15 }{ id: 33, instruction: jump, input: (0), scope: 4 }{ id: 43, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_38, scope: 36 }{ id: 44, instruction: return, input: (RETURN_VALUE_LABEL_38), scope: 36 }{ id: 56, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_47, scope: 0 }{ id: 69, instruction: evaluate, input: (Symbol::new, env, \"approve\"), assign: BINARY_EXPRESSION_RIGHT_58, scope: 0 }{ id: 70, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_58), assign: BINARY_EXPRESSION_RIGHT_48, scope: 0 }{ id: 71, instruction: and, input: (BINARY_EXPRESSION_LEFT_47, BINARY_EXPRESSION_RIGHT_48), assign: CONDITIONAL_JUMP_ASSIGNMENT_46, scope: 0 }{ id: 73, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_46, 72), scope: 0 }{ id: 76, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_75, scope: 72 }{ id: 80, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_75), assign: RETURN_VALUE_LABEL_74, scope: 72 }{ id: 81, instruction: return, input: (RETURN_VALUE_LABEL_74), scope: 72 }{ id: 91, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_85, scope: 0 }{ id: 94, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_85), assign: INPUT_VALUE_NAME_FOR_LET_84, scope: 0 }{ id: 95, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_84, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_83, scope: 0 }{ id: 97, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_83, 96), scope: 0 }{ id: 105, instruction: jump, input: (104), scope: 0 }{ id: 102, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 96 }{ id: 103, instruction: jump, input: (0), scope: 96 }{ id: 123, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_120, scope: 104 }{ id: 124, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_120.instance), assign: METHOD_CALL_EXPRESSION_119, scope: 104 }{ id: 115, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_109, scope: 104 }{ id: 118, instruction: evaluate, input: (DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_109), assign: METHOD_CALL_ARG_1_108, scope: 104 }{ id: 125, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_119.get, METHOD_CALL_ARG_1_108), assign: INPUT_VALUE_NAME_FOR_LET_107, scope: 104 }{ id: 126, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_107, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_106, scope: 104 }{ id: 128, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_106, 127), scope: 104 }{ id: 136, instruction: jump, input: (135), scope: 104 }{ id: 133, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 127 }{ id: 134, instruction: jump, input: (104), scope: 127 }{ id: 137, instruction: assign, input: (None), assign: spend_left|||Option, scope: 135 }{ id: 138, instruction: jump, input: (104), scope: 135 }{ id: 139, instruction: jump, input: (0), scope: 104 }{ id: 143, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_140, scope: 0 }{ id: 145, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_140, 144), scope: 0 }{ id: 158, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_150, scope: 144 }{ id: 159, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.unwrap), assign: METHOD_CALL_EXPRESSION_149, scope: 144 }{ id: 160, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_149.try_into_val, env), assign: METHOD_CALL_EXPRESSION_146, scope: 144 }{ id: 161, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_146.unwrap), assign: spent|||BigInteger, scope: 144 }{ id: 167, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_162, scope: 144 }{ id: 169, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_162, 168), scope: 144 }{ id: 175, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_170, scope: 168 }{ id: 176, instruction: return, input: (RETURN_VALUE_LABEL_170), scope: 168 }{ id: 183, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_179, scope: 144 }{ id: 188, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_180, scope: 144 }{ id: 189, instruction: and, input: (BINARY_EXPRESSION_LEFT_179, BINARY_EXPRESSION_RIGHT_180), assign: CONDITIONAL_JUMP_ASSIGNMENT_178, scope: 144 }{ id: 191, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_178, 190), scope: 144 }{ id: 197, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_192, scope: 190 }{ id: 198, instruction: return, input: (RETURN_VALUE_LABEL_192), scope: 190 }{ id: 206, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_200, scope: 144 }{ id: 212, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_207, scope: 144 }{ id: 215, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_200, METHOD_CALL_ARG_2_207), assign: Thing_to_return, scope: 144 }{ id: 216, instruction: jump, input: (0), scope: 144 }{ id: 218, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_217, scope: 0 }{ id: 222, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_217), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers][Implementations]:-->(CustomAccountInterface)<---() [__check_auth]* Inputs:{env: Envsignature_payload: ByteStringSmallsignatures: Listauth_context: List}* Output: Result<(), AccError>* Instructions:${ id: 9, instruction: evaluate, input: (authenticate, env, signature_payload, signatures), scope: 0 }{ id: 17, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.instance), assign: METHOD_CALL_EXPRESSION_13, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.get, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap), assign: tot_signers|||Integer, scope: 0 }{ id: 26, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_22, scope: 0 }{ id: 27, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_22), assign: all_signed, scope: 0 }{ id: 30, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 }{ id: 35, instruction: evaluate, input: (Map::new, env), assign: spend_left_per_token, scope: 0 }{ id: 40, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_36, scope: 0 }{ id: 41, instruction: evaluate, input: (start, ITERATOR_36), assign: context, scope: 0 }{ id: 42, instruction: end_of_iteration_check, input: (context, ITERATOR_36), assign: CHECK_CONDITION_ASSIGNMENT_37, scope: 0 }{ id: 44, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_37, 43), scope: 0 }{ id: 57, instruction: evaluate, input: (verify_authorization_policy, env, context, curr_contract, all_signed, spend_left_per_token), assign: Thing_to_return, scope: 43 }{ id: 58, instruction: increment, input: (context), scope: 43 }{ id: 59, instruction: goto, input: (42), scope: 43 }{ id: 61, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_60, scope: 0 }{ id: 65, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_60), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Implementations]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58a993878b6a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58a993878b6a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x58a993878b6a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x58a99388e59a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x58a99388e59a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x58a99387d432 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x58a99387d432 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x58a99385787f - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x58a99385787f - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x58a993870b59 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x58a99369c46c - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x58a99369c46c - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58a993870dd2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x58a993870dd2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x58a993857938 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x58a99384c9f9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x58a99385864d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x58a99388eddc - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x58a99388ec93 - core[6771d259883166e6]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x58a99364727c - core::panicking::assert_failed::hfdbad6eb21608a37 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x58a9936272db - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h672a7dfdd4e0a4f5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x58a9936279ae - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::h06d9d01e2091197b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x58a9936279e7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::{{closure}}::he8a9277b3c765e14 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x58a99362d646 - core::ops::function::FnOnce::call_once::hfaaceb5f0cb5416e [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x58a99369056b - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x58a99369056b - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x58a99369cf3b - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x58a99369cf3b - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x58a99369cf3b - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x58a99369cf3b - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x58a99369cf3b - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x58a993697394 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x58a993697394 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x58a99369fb42 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x58a99369fb42 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x58a99369fb42 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x58a99369fb42 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x58a99369fb42 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x58a99387810f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 44: 0x58a99387810f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x71ebd0890aa4 - [INFO] [stdout] 46: 0x71ebd091da64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_account [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_alloc [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_logging [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_single_offer [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_timelock [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_token [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_ttl [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract [INFO] [stdout] translate::expression::closure_expression::tests::test_handle_closure_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_let_expression [INFO] [stdout] translate::expression::let_expression::tests::let_expression::test_let_expression_less_simple_foo_equals_bar [INFO] [stdout] translate::expression::match_expression::tests::test_handle_match_expression [INFO] [stdout] translate::expression::return_expression::tests::test_return_expression_bool [INFO] [stdout] translate::expression::tuple_expression::tests::test_handle_tuple [INFO] [stdout] [INFO] [stdout] test result: FAILED. 123 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e25f7d5fdcb91ccc6e8f4d92fac454c89a387b2ed3f62231d0c9208688b2b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e25f7d5fdcb91ccc6e8f4d92fac454c89a387b2ed3f62231d0c9208688b2b7f", kill_on_drop: false }` [INFO] [stdout] 1e25f7d5fdcb91ccc6e8f4d92fac454c89a387b2ed3f62231d0c9208688b2b7f