[INFO] fetching crate rust_to_dtr 0.16.0... [INFO] testing rust_to_dtr-0.16.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate rust_to_dtr 0.16.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_to_dtr 0.16.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 143 packages to latest compatible versions [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.4) [INFO] [stderr] Adding ed25519-dalek v2.0.0 (available: v2.2.0) [INFO] [stderr] Adding ethnum v1.5.0 (available: v1.5.2) [INFO] [stderr] Adding getrandom v0.2.11 (available: v0.2.16) [INFO] [stderr] Adding indexmap v2.11.1 (available: v2.11.4) [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.101) [INFO] [stderr] Adding quote v1.0.33 (available: v1.0.41) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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.145) [INFO] [stderr] Adding serde_with v3.12.0 (available: v3.14.1) [INFO] [stderr] Adding serde_with_macros v3.12.0 (available: v3.14.1) [INFO] [stderr] Adding sha2 v0.10.8 (available: v0.10.9) [INFO] [stderr] Adding soroban-sdk v20.5.0 (available: v23.0.2) [INFO] [stderr] Adding syn v2.0.39 (available: v2.0.106) [INFO] [stderr] Adding thiserror v1.0.55 (available: v1.0.69) [INFO] [stderr] Adding thiserror-impl v1.0.55 (available: v1.0.69) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.55 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded soroban-spec v20.5.0 [INFO] [stderr] Downloaded stellar-strkey v0.0.8 [INFO] [stderr] Downloaded crate-git-revision v0.0.6 [INFO] [stderr] Downloaded thiserror v1.0.55 [INFO] [stderr] Downloaded crypto-bigint v0.5.5 [INFO] [stderr] Downloaded base64ct v1.8.0 [INFO] [stderr] Downloaded bytes-lit v0.0.5 [INFO] [stderr] Downloaded num-integer v0.1.45 [INFO] [stderr] Downloaded ecdsa v0.16.9 [INFO] [stderr] Downloaded elliptic-curve v0.13.8 [INFO] [stderr] Downloaded k256 v0.13.1 [INFO] [stderr] Downloaded ed25519-dalek v2.0.0 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Downloaded serde_with v3.12.0 [INFO] [stderr] Downloaded indexmap v2.11.1 [INFO] [stderr] Downloaded der v0.7.10 [INFO] [stderr] Downloaded soroban-env-host v20.3.0 [INFO] [stderr] Downloaded wasmparser v0.88.0 [INFO] [stderr] Downloaded ethnum v1.5.0 [INFO] [stderr] Downloaded soroban-env-common v20.3.0 [INFO] [stderr] Downloaded prettyplease v0.2.15 [INFO] [stderr] Downloaded const-oid v0.9.6 [INFO] [stderr] Downloaded wasmi_core v0.13.0 [INFO] [stderr] Downloaded curve25519-dalek v4.1.2 [INFO] [stderr] Downloaded time-core v0.1.6 [INFO] [stderr] Downloaded soroban-env-guest v20.3.0 [INFO] [stderr] Downloaded stellar-xdr v20.1.0 [INFO] [stderr] Downloaded platforms v3.6.0 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded rfc6979 v0.4.0 [INFO] [stderr] Downloaded ff v0.13.1 [INFO] [stderr] Downloaded sec1 v0.7.3 [INFO] [stderr] Downloaded soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Downloaded wasmi_arena v0.4.1 [INFO] [stderr] Downloaded soroban-spec-rust v20.5.0 [INFO] [stderr] Downloaded escape-bytes v0.1.1 [INFO] [stderr] Downloaded serde_with_macros v3.12.0 [INFO] [stderr] Downloaded deranged v0.5.3 [INFO] [stderr] Downloaded time-macros v0.2.24 [INFO] [stderr] Downloaded soroban-sdk-macros v20.5.0 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded pkcs8 v0.10.2 [INFO] [stderr] Downloaded soroban-ledger-snapshot v20.5.0 [INFO] [stderr] Downloaded soroban-env-macros v20.3.0 [INFO] [stderr] Downloaded time v0.3.44 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded serde_json v1.0.108 [INFO] [stderr] Downloaded soroban-sdk v20.5.0 [INFO] [stderr] Downloaded group v0.13.0 [INFO] [stderr] Downloaded base16ct v0.2.0 [INFO] [stderr] Downloaded spki v0.7.3 [INFO] [stderr] Downloaded getrandom v0.2.11 [INFO] [stderr] Downloaded num-derive v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d3ace36bf4cec0b9f8d421bd0019f5e73b706b627aa07b55ca857af427645db [INFO] running `Command { std: "docker" "start" "-a" "4d3ace36bf4cec0b9f8d421bd0019f5e73b706b627aa07b55ca857af427645db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d3ace36bf4cec0b9f8d421bd0019f5e73b706b627aa07b55ca857af427645db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3ace36bf4cec0b9f8d421bd0019f5e73b706b627aa07b55ca857af427645db", kill_on_drop: false }` [INFO] [stdout] 4d3ace36bf4cec0b9f8d421bd0019f5e73b706b627aa07b55ca857af427645db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abd92f04951a3ef418fe0e3f2798f2103810caafe499fdf8f6239b811cd48e84 [INFO] running `Command { std: "docker" "start" "-a" "abd92f04951a3ef418fe0e3f2798f2103810caafe499fdf8f6239b811cd48e84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.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 semver v1.0.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling escape-bytes v0.1.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling platforms v3.6.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling ethnum v1.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling wasmparser-nostd v0.100.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wasmi_core v0.13.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling spin v0.9.8 [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 once_cell v1.21.3 [INFO] [stderr] Compiling soroban-env-host v20.3.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling k256 v0.13.1 [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 darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [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 ed25519-dalek v2.0.0 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 28s [INFO] running `Command { std: "docker" "inspect" "abd92f04951a3ef418fe0e3f2798f2103810caafe499fdf8f6239b811cd48e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abd92f04951a3ef418fe0e3f2798f2103810caafe499fdf8f6239b811cd48e84", kill_on_drop: false }` [INFO] [stdout] abd92f04951a3ef418fe0e3f2798f2103810caafe499fdf8f6239b811cd48e84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 032a9270ebffc2bffe709805b9a889ba59ef6b7328033f30525da620ef5d9212 [INFO] running `Command { std: "docker" "start" "-a" "032a9270ebffc2bffe709805b9a889ba59ef6b7328033f30525da620ef5d9212", 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 3.75s [INFO] running `Command { std: "docker" "inspect" "032a9270ebffc2bffe709805b9a889ba59ef6b7328033f30525da620ef5d9212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "032a9270ebffc2bffe709805b9a889ba59ef6b7328033f30525da620ef5d9212", kill_on_drop: false }` [INFO] [stdout] 032a9270ebffc2bffe709805b9a889ba59ef6b7328033f30525da620ef5d9212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 20251861a687014ff8094bce7c0a41884536cb35431f7aeb7717f5b66ce1da03 [INFO] running `Command { std: "docker" "start" "-a" "20251861a687014ff8094bce7c0a41884536cb35431f7aeb7717f5b66ce1da03", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_to_dtr-6c7d997457763ea1) [INFO] [stdout] [INFO] [stdout] running 144 tests [INFO] [stdout] test common::compilation_state::tests::test_unique_number_generator ... 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::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_transforms_add_and_assign ... 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_does_not_change_normal_op ... 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_multiple_values_with_multiple_assigns ... 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_uses_value_from_lowest_scope_less_than_or_equal_to_self ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_works_for_method_call_base_object ... ok [INFO] [stdout] test optimize::constant_propagation::tests::rewrite_field_instruction_as_assign_works ... 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_jump_goto_return_and_assigns ... 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_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::dead_code_elimination::tests::does_not_remove_assigns_when_defined_in_other_scope_and_used_later ... 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_dead_code_after_return ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_goto_skips_instruction ... 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_count_zero_to_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 common::compilation_state::test_scope_nary_tree ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::do_a_thing ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_sequential ... 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_increment_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression ... 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_more_complex_if_conditional ... 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_non_range_for_loop ... 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_return_error ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_latest_value ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_multiple_values ... 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_stellar_official_repo_examples_alloc ... 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_cross_contract_a ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping ... 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_contract ... 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_errors ... 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_eth_abi ... 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_atomic_swap ... 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_stellar_official_repo_examples_logging ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none ... 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_atomic_multiswap ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_custom_types ... 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_account ... 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_fuzzing ... 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_ttl ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_a_interface ... 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 tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_handle_block_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract ... FAILED [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_parse_block_stmt ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_token ... FAILED [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_path ... ok [INFO] [stdout] test translate::expression::closure_expression::tests::test_handle_closure_expression ... ok [INFO] [stdout] test translate::expression::cast_expression::tests::test_handle_cast_expression ... ok [INFO] [stdout] test translate::expression::field_expression::tests::test_handle_field_expression ... ok [INFO] [stdout] test translate::expression::break_expression::tests::test_handle_break_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 ... FAILED [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_struct_init_as_input ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_condition_expression ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_let_expression ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_nested_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_else_expression ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_timelock ... FAILED [INFO] [stdout] test translate::expression::index_expression::tests::test_handle_index_expression ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_elseif_else_expression ... 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_less_simple_foo_equals_bar ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_bool ... 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_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_int ... ok [INFO] [stdout] test translate::expression::match_expression::tests::test_handle_match_expression ... ok [INFO] [stdout] test translate::expression::paren_expression::tests::test_handle_paren_expression ... ok [INFO] [stdout] test translate::expression::repeat_expression::tests::test_handle_repeat_expression ... ok [INFO] [stdout] test translate::expression::range_expression::test::test_handle_create_full_range ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_bool ... 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_float ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_int ... ok [INFO] [stdout] test translate::expression::method_call_expression::tests::test_handle_method_call_expression ... FAILED [INFO] [stdout] test translate::expression::path_expression::tests::test_handle_path_expression ... FAILED [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_no_expr ... ok [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_negation_expression ... FAILED [INFO] [stdout] test translate::expression::tuple_expression::tests::test_handle_tuple ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_enum ... ok [INFO] [stdout] test translate::expression::struct_expression::tests::test_handle_struct_expression ... FAILED [INFO] [stdout] test translate::type_name::tests::collections::test_figure_out_type_hash_map ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_function ... 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_pointer ... 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_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 translate::type_name::tests::test_figure_out_type_never ... ok [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_minus_expression ... ok [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_single_offer ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [return_some_or_none] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] x: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Option [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: try_assign, input: (spend_left_per_token, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 } [INFO] [stdout] { id: 2, instruction: jump, input: (1), scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 4 } [INFO] [stdout] { id: 0, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (env.storage), assign: INPUT_VALUE_NAME_FOR_LET_4, scope: 1 } [INFO] [stdout] { id: 8, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_4, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_3, scope: 1 } [INFO] [stdout] { id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_3, 9), scope: 1 } [INFO] [stdout] { id: 18, instruction: jump, input: (17), scope: 1 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 9 } [INFO] [stdout] { id: 16, instruction: jump, input: (1), scope: 9 } [INFO] [stdout] { id: 19, instruction: assign, input: (None), assign: spend_left|||Option, scope: 17 } [INFO] [stdout] { id: 20, instruction: jump, input: (1), scope: 17 } [INFO] [stdout] { id: 21, instruction: jump, input: (0), scope: 1 } [INFO] [stdout] { id: 0, instruction: return, input: (spend_left), 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_else_let_return_some_or_none' panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [return_some_or_none]* Inputs:{x: Integer}* Output: Option* Instructions:${ id: 3, instruction: try_assign, input: (spend_left_per_token, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 2, instruction: jump, input: (1), scope: 0 }{ id: 10, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 4 }{ id: 0, instruction: jump, input: (0), scope: 4 }{ id: 7, instruction: evaluate, input: (env.storage), assign: INPUT_VALUE_NAME_FOR_LET_4, scope: 1 }{ id: 8, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_4, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_3, scope: 1 }{ id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_3, 9), scope: 1 }{ id: 18, instruction: jump, input: (17), scope: 1 }{ id: 15, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 9 }{ id: 16, instruction: jump, input: (1), scope: 9 }{ id: 19, instruction: assign, input: (None), assign: spend_left|||Option, scope: 17 }{ id: 20, instruction: jump, input: (1), scope: 17 }{ id: 21, instruction: jump, input: (0), scope: 1 }{ id: 0, instruction: return, input: (spend_left), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [return_some_or_none]* Inputs:{x: Integer}* Output: Option* Instructions:${ id: 3, instruction: try_assign, input: (spend_left_per_token, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 13, instruction: jump, input: (12), scope: 0 }{ id: 10, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 4 }{ id: 11, instruction: jump, input: (0), scope: 4 }{ id: 18, instruction: evaluate, input: (env.storage), assign: INPUT_VALUE_NAME_FOR_LET_15, scope: 12 }{ id: 19, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_15, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_14, scope: 12 }{ id: 21, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_14, 20), scope: 12 }{ id: 29, instruction: jump, input: (28), scope: 12 }{ id: 26, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 20 }{ id: 27, instruction: jump, input: (12), scope: 20 }{ id: 30, instruction: assign, input: (None), assign: spend_left|||Option, scope: 28 }{ id: 31, instruction: jump, input: (12), scope: 28 }{ id: 32, instruction: jump, input: (0), scope: 12 }{ id: 0, instruction: return, input: (spend_left), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06312ff5 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none::h6bf8d9807b276af9 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e06312f47 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none::{{closure}}::hdc313f28bbd3e633 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e063289b6 - core::ops::function::FnOnce::call_once::h331cfb6c24d5a792 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - clone [INFO] [stdout] 47: 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' 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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06313a45 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth::h33c93d0cf63c5d4c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e06313997 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth::{{closure}}::hed42ddbf2480d840 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e06328fe6 - core::ops::function::FnOnce::call_once::h587feeb05e67d27a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - 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: 1, instruction: evaluate, input: (atomic_swap::Client::new, env, swap_contract), assign: swap_client, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_2, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (start, ITERATOR_2), assign: acc_a, scope: 0 } [INFO] [stdout] { id: 8, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_2), assign: CHECK_CONDITION_ASSIGNMENT_3, scope: 0 } [INFO] [stdout] { id: 10, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_3, 9), scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_14, scope: 9 } [INFO] [stdout] { id: 19, instruction: instantiate_object, input: (Range, 0, RANGE_END_14), assign: ITERATOR_11, scope: 9 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (start, ITERATOR_11), assign: i, scope: 9 } [INFO] [stdout] { id: 21, instruction: end_of_iteration_check, input: (i, ITERATOR_11), assign: CHECK_CONDITION_ASSIGNMENT_12, scope: 9 } [INFO] [stdout] { id: 23, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_12, 22), scope: 9 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_24, scope: 22 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.unwrap), assign: acc_b, scope: 22 } [INFO] [stdout] { id: 44, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_32, scope: 22 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_33, scope: 22 } [INFO] [stdout] { id: 56, instruction: and, input: (BINARY_EXPRESSION_LEFT_32, BINARY_EXPRESSION_RIGHT_33), assign: CONDITIONAL_JUMP_ASSIGNMENT_31, scope: 22 } [INFO] [stdout] { id: 58, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_31, 57), scope: 22 } [INFO] [stdout] { id: 97, 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_60, scope: 57 } [INFO] [stdout] { id: 98, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 57 } [INFO] [stdout] { id: 100, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 99), scope: 57 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (swaps_b.remove, i), scope: 99 } [INFO] [stdout] { id: 106, instruction: jump, input: (0), scope: 99 } [INFO] [stdout] { id: 108, instruction: jump, input: (22), scope: 57 } [INFO] [stdout] { id: 109, instruction: increment, input: (i), scope: 22 } [INFO] [stdout] { id: 110, instruction: goto, input: (21), scope: 22 } [INFO] [stdout] { id: 111, instruction: increment, input: (acc_a), scope: 9 } [INFO] [stdout] { id: 112, instruction: goto, input: (8), scope: 9 } [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' 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: 1, instruction: evaluate, input: (atomic_swap::Client::new, env, swap_contract), assign: swap_client, scope: 0 }{ id: 6, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_2, scope: 0 }{ id: 7, instruction: evaluate, input: (start, ITERATOR_2), assign: acc_a, scope: 0 }{ id: 8, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_2), assign: CHECK_CONDITION_ASSIGNMENT_3, scope: 0 }{ id: 10, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_3, 9), scope: 0 }{ id: 18, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_14, scope: 9 }{ id: 19, instruction: instantiate_object, input: (Range, 0, RANGE_END_14), assign: ITERATOR_11, scope: 9 }{ id: 20, instruction: evaluate, input: (start, ITERATOR_11), assign: i, scope: 9 }{ id: 21, instruction: end_of_iteration_check, input: (i, ITERATOR_11), assign: CHECK_CONDITION_ASSIGNMENT_12, scope: 9 }{ id: 23, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_12, 22), scope: 9 }{ id: 29, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_24, scope: 22 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.unwrap), assign: acc_b, scope: 22 }{ id: 44, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_32, scope: 22 }{ id: 55, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_33, scope: 22 }{ id: 56, instruction: and, input: (BINARY_EXPRESSION_LEFT_32, BINARY_EXPRESSION_RIGHT_33), assign: CONDITIONAL_JUMP_ASSIGNMENT_31, scope: 22 }{ id: 58, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_31, 57), scope: 22 }{ id: 97, 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_60, scope: 57 }{ id: 98, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 57 }{ id: 100, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 99), scope: 57 }{ id: 105, instruction: evaluate, input: (swaps_b.remove, i), scope: 99 }{ id: 106, instruction: jump, input: (0), scope: 99 }{ id: 108, instruction: jump, input: (22), scope: 57 }{ id: 109, instruction: increment, input: (i), scope: 22 }{ id: 110, instruction: goto, input: (21), scope: 22 }{ id: 111, instruction: increment, input: (acc_a), scope: 9 }{ id: 112, instruction: goto, input: (8), scope: 9 }$:[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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e063134a5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::h81cb5507474e33ff [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e063133f7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::{{closure}}::had90d9a65205776b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e06328286 - core::ops::function::FnOnce::call_once::h114ac43762bb81f1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_custom_types stdout ---- [INFO] [stdout] DTR Code: [Contract]: IncrementContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [increment] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] incr: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (get_state, CALL_EXPRESSION_ARG_1_0), assign: state, scope: 0 } [INFO] [stdout] { id: 14, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 } [INFO] [stdout] { id: 22, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_28, scope: 0 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.instance), assign: METHOD_CALL_EXPRESSION_27, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.set, STATE, state), scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (state.count), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [get_state] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: State [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, STATE), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 3, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.unwrap_or, METHOD_CALL_ARG_1_0), 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]:* (State_STRUCT) [INFO] [stdout] { [INFO] [stdout] count: Integer [INFO] [stdout] last_incr: Integer [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [State]: [INFO] [stdout] * [STATE] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "STATE" [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_custom_types' panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Envincr: Integer}* Output: Integer* Instructions:${ id: 3, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_0, scope: 0 }{ id: 6, instruction: evaluate, input: (get_state, CALL_EXPRESSION_ARG_1_0), assign: state, scope: 0 }{ id: 14, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 }{ id: 22, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 }{ id: 31, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_28, scope: 0 }{ id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.instance), assign: METHOD_CALL_EXPRESSION_27, scope: 0 }{ id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.set, STATE, state), scope: 0 }{ id: 0, instruction: return, input: (state.count), scope: 0 }$-() [get_state]* Inputs:{env: Env}* Output: State* 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, STATE), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 3, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_0, scope: 0 }{ id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.unwrap_or, METHOD_CALL_ARG_1_0), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (State_STRUCT){count: Integerlast_incr: Integer}:[User Defined Types][State]:* [STATE]* Type: String* Initial Value: \"STATE\":[State]" [INFO] [stdout] right: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Envincr: Integer}* Output: Integer* Instructions:${ id: 3, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_0, scope: 0 }{ id: 6, instruction: evaluate, input: (get_state, CALL_EXPRESSION_ARG_1_0), assign: state, scope: 0 }{ id: 14, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 }{ id: 22, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 }{ id: 31, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_28, scope: 0 }{ id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.instance), assign: METHOD_CALL_EXPRESSION_27, scope: 0 }{ id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.set, STATE, state), scope: 0 }{ id: 0, instruction: return, input: (state.count), scope: 0 }$-() [get_state]* Inputs:{env: Env}* Output: State* Instructions:${ id: 50, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_47, scope: 0 }{ id: 51, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_47.instance), assign: METHOD_CALL_EXPRESSION_46, scope: 0 }{ id: 52, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_46.get, STATE), assign: METHOD_CALL_EXPRESSION_43, scope: 0 }{ id: 41, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_38, scope: 0 }{ id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.unwrap_or, METHOD_CALL_ARG_1_38), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (State_STRUCT){count: Integerlast_incr: Integer}:[User Defined Types][State]:* [STATE]* Type: String* Initial Value: \"STATE\":[State]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06313955 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_custom_types::h079970d596bbed06 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e063138a7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_custom_types::{{closure}}::h4a45a9bfa762860f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e06328c86 - core::ops::function::FnOnce::call_once::h412f3fc6f1b913d1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - 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: 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: 5, instruction: evaluate, input: (signers.len), assign: METHOD_CALL_ARG_2_2, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.set, DataKey::SignerCnt, METHOD_CALL_ARG_2_2), 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: 3, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.require_auth), 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: 10, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_5, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.set, METHOD_CALL_ARG_1_5, 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: 87, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_82, scope: 80 } [INFO] [stdout] { id: 88, instruction: return, input: (RETURN_VALUE_LABEL_82), scope: 80 } [INFO] [stdout] { id: 109, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_106, scope: 12 } [INFO] [stdout] { id: 99, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_96, scope: 12 } [INFO] [stdout] { id: 100, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_96.into), assign: METHOD_CALL_ARG_2_95, scope: 12 } [INFO] [stdout] { 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 } [INFO] [stdout] { id: 111, instruction: increment, input: (i), scope: 12 } [INFO] [stdout] { id: 112, instruction: goto, input: (11), scope: 12 } [INFO] [stdout] { id: 114, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_113, scope: 0 } [INFO] [stdout] { id: 118, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_113), 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: 35, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_34, scope: 0 } [INFO] [stdout] { id: 37, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_34, 36), 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: 43, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_38, scope: 36 } [INFO] [stdout] { id: 44, instruction: return, input: (RETURN_VALUE_LABEL_38), scope: 36 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_47, scope: 0 } [INFO] [stdout] { id: 69, instruction: evaluate, input: (Symbol::new, env, "approve"), assign: BINARY_EXPRESSION_RIGHT_58, scope: 0 } [INFO] [stdout] { id: 70, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_58), assign: BINARY_EXPRESSION_RIGHT_48, scope: 0 } [INFO] [stdout] { id: 71, instruction: and, input: (BINARY_EXPRESSION_LEFT_47, BINARY_EXPRESSION_RIGHT_48), assign: CONDITIONAL_JUMP_ASSIGNMENT_46, scope: 0 } [INFO] [stdout] { id: 73, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_46, 72), scope: 0 } [INFO] [stdout] { id: 76, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_75, scope: 72 } [INFO] [stdout] { id: 80, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_75), assign: RETURN_VALUE_LABEL_74, scope: 72 } [INFO] [stdout] { id: 81, instruction: return, input: (RETURN_VALUE_LABEL_74), scope: 72 } [INFO] [stdout] { id: 91, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_85, scope: 0 } [INFO] [stdout] { id: 94, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_85), assign: INPUT_VALUE_NAME_FOR_LET_84, scope: 0 } [INFO] [stdout] { id: 95, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_84, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_83, scope: 0 } [INFO] [stdout] { id: 97, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_83, 96), scope: 0 } [INFO] [stdout] { id: 105, instruction: jump, input: (104), scope: 0 } [INFO] [stdout] { id: 102, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 96 } [INFO] [stdout] { id: 103, instruction: jump, input: (0), scope: 96 } [INFO] [stdout] { id: 123, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_120, scope: 104 } [INFO] [stdout] { id: 124, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_120.instance), assign: METHOD_CALL_EXPRESSION_119, scope: 104 } [INFO] [stdout] { id: 115, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_109, scope: 104 } [INFO] [stdout] { id: 118, instruction: evaluate, input: (DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_109), assign: METHOD_CALL_ARG_1_108, scope: 104 } [INFO] [stdout] { id: 125, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_119.get, METHOD_CALL_ARG_1_108), assign: INPUT_VALUE_NAME_FOR_LET_107, scope: 104 } [INFO] [stdout] { id: 126, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_107, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_106, scope: 104 } [INFO] [stdout] { id: 128, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_106, 127), scope: 104 } [INFO] [stdout] { id: 136, instruction: jump, input: (135), scope: 104 } [INFO] [stdout] { id: 133, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 127 } [INFO] [stdout] { id: 134, instruction: jump, input: (104), scope: 127 } [INFO] [stdout] { id: 137, instruction: assign, input: (None), assign: spend_left|||Option, scope: 135 } [INFO] [stdout] { id: 138, instruction: jump, input: (104), scope: 135 } [INFO] [stdout] { id: 139, instruction: jump, input: (0), scope: 104 } [INFO] [stdout] { id: 143, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_140, scope: 0 } [INFO] [stdout] { id: 145, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_140, 144), scope: 0 } [INFO] [stdout] { id: 158, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_150, scope: 144 } [INFO] [stdout] { id: 159, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.unwrap), assign: METHOD_CALL_EXPRESSION_149, scope: 144 } [INFO] [stdout] { id: 160, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_149.try_into_val, env), assign: METHOD_CALL_EXPRESSION_146, scope: 144 } [INFO] [stdout] { id: 161, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_146.unwrap), assign: spent|||BigInteger, scope: 144 } [INFO] [stdout] { id: 167, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_162, scope: 144 } [INFO] [stdout] { id: 169, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_162, 168), scope: 144 } [INFO] [stdout] { id: 175, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_170, scope: 168 } [INFO] [stdout] { id: 176, instruction: return, input: (RETURN_VALUE_LABEL_170), scope: 168 } [INFO] [stdout] { id: 183, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_179, scope: 144 } [INFO] [stdout] { id: 188, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_180, scope: 144 } [INFO] [stdout] { id: 189, instruction: and, input: (BINARY_EXPRESSION_LEFT_179, BINARY_EXPRESSION_RIGHT_180), assign: CONDITIONAL_JUMP_ASSIGNMENT_178, scope: 144 } [INFO] [stdout] { id: 191, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_178, 190), scope: 144 } [INFO] [stdout] { id: 197, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_192, scope: 190 } [INFO] [stdout] { id: 198, instruction: return, input: (RETURN_VALUE_LABEL_192), scope: 190 } [INFO] [stdout] { id: 206, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_200, scope: 144 } [INFO] [stdout] { id: 212, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_207, scope: 144 } [INFO] [stdout] { 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 } [INFO] [stdout] { id: 216, instruction: jump, input: (0), scope: 144 } [INFO] [stdout] { id: 218, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_217, scope: 0 } [INFO] [stdout] { id: 222, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_217), 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' 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: 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: 5, instruction: evaluate, input: (signers.len), assign: METHOD_CALL_ARG_2_2, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.set, DataKey::SignerCnt, METHOD_CALL_ARG_2_2), scope: 0 }$-() [add_limit]* Inputs:{env: Envtoken: Addresslimit: BigInteger}* Instructions:${ id: 3, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.require_auth), 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: 10, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_5, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.set, METHOD_CALL_ARG_1_5, 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] 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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e063132c5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::h870b7658b6ce9cb2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e06313217 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::{{closure}}::he944eca8229ef2ad [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e063289f6 - core::ops::function::FnOnce::call_once::h34c0057c61ff1439 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - 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' 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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655be06 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 20: 0x604e062c2bb9 - core::result::Result::unwrap::h0ab83a1dbf1950b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x604e062c2bb9 - rust_to_dtr::rust_to_dtr_c::parse_to_dtr::ha5135bbf4f41faad [INFO] [stdout] at /opt/rustwide/workdir/src/rust_to_dtr_c/mod.rs:15:49 [INFO] [stdout] 22: 0x604e06311b6b - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:21:15 [INFO] [stdout] 23: 0x604e063142b5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool::h274ada146a2a20c3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 24: 0x604e06314207 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool::{{closure}}::h471ce97926786155 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 25: 0x604e06329066 - core::ops::function::FnOnce::call_once::h58e7373fcbfdf16d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 28: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 29: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 31: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 32: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 34: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 35: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 36: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 40: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 41: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 45: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 46: 0x7df20cb62aa4 - [INFO] [stdout] 47: 0x7df20cbefa34 - clone [INFO] [stdout] 48: 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: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 } [INFO] [stdout] { id: 6, instruction: exit_with_message, input: ("need more than 0 claimants"), scope: 4 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_9, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_9, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 0 } [INFO] [stdout] { id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 16), scope: 0 } [INFO] [stdout] { id: 18, instruction: exit_with_message, input: ("too many claimants"), scope: 16 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 } [INFO] [stdout] { id: 27, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 26), scope: 0 } [INFO] [stdout] { id: 28, instruction: exit_with_message, input: ("contract has been already initialized"), scope: 26 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (from.require_auth), scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_41, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_35, scope: 0 } [INFO] [stdout] { id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.transfer, from, METHOD_CALL_ARG_2_35, amount), scope: 0 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_60, scope: 0 } [INFO] [stdout] { id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.persistent), assign: METHOD_CALL_EXPRESSION_59, scope: 0 } [INFO] [stdout] { id: 57, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_52, scope: 0 } [INFO] [stdout] { id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_59.set, DataKey::Balance, METHOD_CALL_ARG_2_52), scope: 0 } [INFO] [stdout] { id: 75, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_72, scope: 0 } [INFO] [stdout] { id: 76, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.persistent), assign: METHOD_CALL_EXPRESSION_71, scope: 0 } [INFO] [stdout] { id: 69, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_68, scope: 0 } [INFO] [stdout] { id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.set, DataKey::Init, METHOD_CALL_ARG_2_68), 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: 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.persistent), 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: 55, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_47, scope: 0 } [INFO] [stdout] { id: 57, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_47, 56), scope: 0 } [INFO] [stdout] { id: 58, instruction: exit_with_message, input: ("claimed amount greater than balance"), scope: 56 } [INFO] [stdout] { id: 78, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_68, scope: 0 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_60, scope: 0 } [INFO] [stdout] { id: 79, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_68.transfer, METHOD_CALL_ARG_1_60, claimant, amount), scope: 0 } [INFO] [stdout] { id: 87, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 } [INFO] [stdout] { id: 93, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_88, scope: 0 } [INFO] [stdout] { id: 95, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_88, 94), scope: 0 } [INFO] [stdout] { id: 117, instruction: jump, input: (116), scope: 0 } [INFO] [stdout] { id: 103, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 94 } [INFO] [stdout] { id: 112, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_109, scope: 94 } [INFO] [stdout] { id: 113, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_109.persistent), assign: METHOD_CALL_EXPRESSION_108, scope: 94 } [INFO] [stdout] { id: 114, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_108.set, DataKey::Balance, claimable_balance), scope: 94 } [INFO] [stdout] { id: 115, instruction: jump, input: (0), scope: 94 } [INFO] [stdout] { id: 124, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_121, scope: 116 } [INFO] [stdout] { id: 125, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_121.persistent), assign: METHOD_CALL_EXPRESSION_120, scope: 116 } [INFO] [stdout] { id: 126, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_120.remove, DataKey::Balance), scope: 116 } [INFO] [stdout] { id: 127, instruction: jump, input: (0), scope: 116 } [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' 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: 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: 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.persistent), 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: 55, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_47, scope: 0 }{ id: 57, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_47, 56), scope: 0 }{ id: 58, instruction: exit_with_message, input: (\"claimed amount greater than balance\"), scope: 56 }{ id: 78, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_68, scope: 0 }{ id: 63, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_60, scope: 0 }{ id: 79, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_68.transfer, METHOD_CALL_ARG_1_60, claimant, amount), scope: 0 }{ id: 87, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 }{ id: 93, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_88, scope: 0 }{ id: 95, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_88, 94), scope: 0 }{ id: 117, instruction: jump, input: (116), scope: 0 }{ id: 103, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 94 }{ id: 112, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_109, scope: 94 }{ id: 113, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_109.persistent), assign: METHOD_CALL_EXPRESSION_108, scope: 94 }{ id: 114, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_108.set, DataKey::Balance, claimable_balance), scope: 94 }{ id: 115, instruction: jump, input: (0), scope: 94 }{ id: 124, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_121, scope: 116 }{ id: 125, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_121.persistent), assign: METHOD_CALL_EXPRESSION_120, scope: 116 }{ id: 126, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_120.remove, DataKey::Balance), scope: 116 }{ id: 127, instruction: jump, input: (0), scope: 116 }$:[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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06313fe5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::h65eb2601f2933ff7 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e06313f37 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::{{closure}}::he3541c5d0b263ea0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e063288f6 - core::ops::function::FnOnce::call_once::h300ed2cbe20d62a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - clone [INFO] [stdout] 47: 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: 19, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.instance), assign: METHOD_CALL_EXPRESSION_15, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.set, DataKey::MyKey, 1), scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_27, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.temporary), assign: METHOD_CALL_EXPRESSION_26, scope: 0 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.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: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.persistent), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.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: 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.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: 58, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_55, scope: 0 } [INFO] [stdout] { id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_55.temporary), assign: METHOD_CALL_EXPRESSION_54, scope: 0 } [INFO] [stdout] { id: 60, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.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' 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: 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: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.persistent), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.extend_ttl, DataKey::MyKey, 1000, 5000), scope: 0 }$-() [extend_instance]* 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.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.extend_ttl, 2000, 10000), scope: 0 }$-() [extend_temporary]* Inputs:{env: Env}* Instructions:${ id: 58, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_55, scope: 0 }{ id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_55.temporary), assign: METHOD_CALL_EXPRESSION_54, scope: 0 }{ id: 60, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06314945 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::h2f85e63830f90d85 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e06314897 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::{{closure}}::h796b4617875f0215 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e06328eb6 - core::ops::function::FnOnce::call_once::h503430924346ee8e [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b stdout ---- [INFO] [stdout] DTR Code: [Contract]: ContractB [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [add_with] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] contract: Address [INFO] [stdout] x: Integer [INFO] [stdout] y: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 6, instruction: evaluate, input: (ContractAClient::new, env, contract), assign: client, scope: 0 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (client.add, x, y), 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] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b' panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: ContractB[Interface]:-() [add_with]* Inputs:{env: Envcontract: Addressx: Integery: Integer}* Output: Integer* Instructions:${ id: 6, instruction: evaluate, input: (ContractAClient::new, env, contract), assign: client, scope: 0 }{ id: 5, instruction: evaluate, input: (client.add, x, y), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: ContractB[Interface]:-() [add_with]* Inputs:{env: Envcontract: Addressx: Integery: Integer}* Output: Integer* Instructions:${ id: 6, instruction: evaluate, input: (ContractAClient::new, env, contract), assign: client, scope: 0 }{ id: 13, instruction: evaluate, input: (client.add, x, y), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06314df5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b::h95ccb096970cac6f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e06314d47 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b::{{closure}}::h6fa49b2cec4a0b1b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e0632aa26 - core::ops::function::FnOnce::call_once::hcfec9b2af5d6477f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - 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: 18, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_15, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.instance), assign: METHOD_CALL_EXPRESSION_14, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, scope: 0 } [INFO] [stdout] { id: 22, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_11, 21), scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_23, scope: 21 } [INFO] [stdout] { id: 29, instruction: return, input: (RETURN_VALUE_LABEL_23), scope: 21 } [INFO] [stdout] { id: 39, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_36, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.instance), assign: METHOD_CALL_EXPRESSION_35, scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.set, DataKey::Admin, admin), scope: 0 } [INFO] [stdout] { id: 43, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_42, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_42), 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' 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: 18, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.instance), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, scope: 0 }{ id: 22, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_11, 21), scope: 0 }{ id: 28, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_23, scope: 21 }{ id: 29, instruction: return, input: (RETURN_VALUE_LABEL_23), scope: 21 }{ id: 39, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_36, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.instance), assign: METHOD_CALL_EXPRESSION_35, scope: 0 }{ id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.set, DataKey::Admin, admin), scope: 0 }{ id: 43, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_42, scope: 0 }{ id: 47, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_42), 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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06314a35 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::he84591d994709163 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e06314987 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::{{closure}}::h4eb66cba5a5ac40a [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e06328d46 - core::ops::function::FnOnce::call_once::h498b25ddcc90b9c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - 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' 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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655be06 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 20: 0x604e0634d4cc - core::result::Result::expect::hdfd3dc3e787562cd [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1119:23 [INFO] [stdout] 21: 0x604e063118c2 - rust_to_dtr::tests::full_contract_tests::read_file_content::h6bcc96c0c32162e9 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:14:39 [INFO] [stdout] 22: 0x604e063119c9 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:18:33 [INFO] [stdout] 23: 0x604e06314855 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_token::h340dfd8e37ee9729 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 24: 0x604e063147a7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_token::{{closure}}::h85bce975a5bc4e6e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 25: 0x604e06328806 - core::ops::function::FnOnce::call_once::h2c3a19f97491c06e [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 28: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 29: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 31: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 32: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 34: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 35: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 36: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 40: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 41: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 45: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 46: 0x7df20cb62aa4 - [INFO] [stdout] 47: 0x7df20cbefa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression' panicked at src/translate/expression/for_loop_expression.rs:242:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 17, name: "assign", input: ["xs"], assign: "METHOD_CALL_EXPRESSION_10", scope: 0 }, Instruction { id: 19, name: "evaluate", input: ["METHOD_CALL_EXPRESSION_10.iter"], assign: "ITERATOR_0", scope: 0 }, Instruction { id: 21, name: "evaluate", input: ["start", "ITERATOR_0"], assign: "x", scope: 0 }, Instruction { id: 23, name: "end_of_iteration_check", input: ["x", "ITERATOR_0"], assign: "CHECK_CONDITION_ASSIGNMENT_4", scope: 0 }, Instruction { id: 26, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_4", "24"], assign: "", scope: 0 }, Instruction { id: 28, name: "print", input: ["\"{}\"", "x"], assign: "", scope: 24 }, Instruction { id: 35, name: "increment", input: ["x"], assign: "", scope: 24 }, Instruction { id: 38, name: "goto", input: ["23"], assign: "", scope: 24 }] [INFO] [stdout] right: [Instruction { id: 3, name: "assign", input: ["xs"], assign: "METHOD_CALL_EXPRESSION_2", scope: 0 }, Instruction { id: 4, name: "evaluate", input: ["METHOD_CALL_EXPRESSION_2.iter"], assign: "ITERATOR_0", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["start", "ITERATOR_0"], assign: "x", scope: 0 }, Instruction { id: 6, name: "end_of_iteration_check", input: ["x", "ITERATOR_0"], assign: "CHECK_CONDITION_ASSIGNMENT_1", scope: 0 }, Instruction { id: 8, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_1", "7"], assign: "", scope: 0 }, Instruction { id: 9, name: "print", input: ["\"{}\"", "x"], assign: "", scope: 7 }, Instruction { id: 10, name: "increment", input: ["x"], assign: "", scope: 7 }, Instruction { id: 11, name: "goto", input: ["6"], assign: "", scope: 7 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e063006b6 - rust_to_dtr::translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression::hb00a1db9284091f5 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/for_loop_expression.rs:242:9 [INFO] [stdout] 22: 0x604e062feab7 - rust_to_dtr::translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression::{{closure}}::h45015976f2d741c9 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/for_loop_expression.rs:232:60 [INFO] [stdout] 23: 0x604e063287c6 - core::ops::function::FnOnce::call_once::h2b60a68f0a4ae765 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_condition_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_condition_expression' panicked at src/translate/expression/if_expression.rs:218:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 7, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_4", scope: 0 }, Instruction { id: 9, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_5", scope: 0 }, Instruction { id: 11, name: "evaluate", input: ["less_than", "BINARY_EXPRESSION_LEFT_4", "BINARY_EXPRESSION_RIGHT_5"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_1", scope: 0 }, Instruction { id: 16, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_1", "13"], assign: "", scope: 0 }, Instruction { id: 18, name: "jump", input: ["0"], assign: "", scope: 13 }] [INFO] [stdout] right: [Instruction { id: 3, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_1", scope: 0 }, Instruction { id: 4, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_2", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["less_than", "BINARY_EXPRESSION_LEFT_1", "BINARY_EXPRESSION_RIGHT_2"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 7, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "6"], assign: "", scope: 0 }, Instruction { id: 8, name: "jump", input: ["0"], assign: "", scope: 6 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e0631c6c4 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_condition_expression::hb971bcd2a57d0cee [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:218:9 [INFO] [stdout] 22: 0x604e0631b4c7 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_condition_expression::{{closure}}::h350df11ba8366616 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:213:45 [INFO] [stdout] 23: 0x604e06328bd6 - core::ops::function::FnOnce::call_once::h3e7561a1b56ed3c5 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression' panicked at src/translate/expression/for_loop_expression.rs:319:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 4, name: "assign", input: ["0"], assign: "RANGE_START_2", scope: 0 }, Instruction { id: 5, name: "assign", input: ["10"], assign: "RANGE_END_3", scope: 0 }, Instruction { id: 6, name: "instantiate_object", input: ["Range", "RANGE_START_2", "RANGE_END_3"], assign: "ITERATOR_0", scope: 0 }, Instruction { id: 0, name: "evaluate", input: ["start", "ITERATOR_0"], assign: "i", scope: 0 }, Instruction { id: 1, name: "end_of_iteration_check", input: ["i", "ITERATOR_0"], assign: "CHECK_CONDITION_ASSIGNMENT_1", scope: 0 }, Instruction { id: 3, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_1", "2"], assign: "", scope: 0 }, Instruction { id: 8, name: "assign", input: ["1"], assign: "RANGE_START_6", scope: 2 }, Instruction { id: 9, name: "assign", input: ["5"], assign: "RANGE_END_7", scope: 2 }, Instruction { id: 10, name: "instantiate_object", input: ["Range", "RANGE_START_6", "RANGE_END_7"], assign: "ITERATOR_4", scope: 2 }, Instruction { id: 11, name: "evaluate", input: ["start", "ITERATOR_4"], assign: "j", scope: 2 }, Instruction { id: 12, name: "end_of_iteration_check", input: ["j", "ITERATOR_4"], assign: "CHECK_CONDITION_ASSIGNMENT_5", scope: 2 }, Instruction { id: 14, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_5", "13"], assign: "", scope: 2 }, Instruction { id: 15, name: "print", input: ["\"{} {}\"", "i", "j"], assign: "", scope: 13 }, Instruction { id: 16, name: "increment", input: ["j"], assign: "", scope: 13 }, Instruction { id: 17, name: "goto", input: ["12"], assign: "", scope: 13 }, Instruction { id: 18, name: "print", input: ["\"{}\"", "i"], assign: "", scope: 2 }, Instruction { id: 19, name: "increment", input: ["i"], assign: "", scope: 2 }, Instruction { id: 20, name: "goto", input: ["1"], assign: "", scope: 2 }] [INFO] [stdout] right: [Instruction { id: 4, name: "assign", input: ["0"], assign: "RANGE_START_2", scope: 0 }, Instruction { id: 5, name: "assign", input: ["10"], assign: "RANGE_END_3", scope: 0 }, Instruction { id: 6, name: "instantiate_object", input: ["Range", "RANGE_START_2", "RANGE_END_3"], assign: "ITERATOR_0", scope: 0 }, Instruction { id: 7, name: "evaluate", input: ["start", "ITERATOR_0"], assign: "i", scope: 0 }, Instruction { id: 8, name: "end_of_iteration_check", input: ["i", "ITERATOR_0"], assign: "CHECK_CONDITION_ASSIGNMENT_1", scope: 0 }, Instruction { id: 10, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_1", "9"], assign: "", scope: 0 }, Instruction { id: 15, name: "assign", input: ["1"], assign: "RANGE_START_13", scope: 9 }, Instruction { id: 16, name: "assign", input: ["5"], assign: "RANGE_END_14", scope: 9 }, Instruction { id: 17, name: "instantiate_object", input: ["Range", "RANGE_START_13", "RANGE_END_14"], assign: "ITERATOR_11", scope: 9 }, Instruction { id: 18, name: "evaluate", input: ["start", "ITERATOR_11"], assign: "j", scope: 9 }, Instruction { id: 19, name: "end_of_iteration_check", input: ["j", "ITERATOR_11"], assign: "CHECK_CONDITION_ASSIGNMENT_12", scope: 9 }, Instruction { id: 21, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_12", "20"], assign: "", scope: 9 }, Instruction { id: 22, name: "print", input: ["\"{} {}\"", "i", "j"], assign: "", scope: 20 }, Instruction { id: 23, name: "increment", input: ["j"], assign: "", scope: 20 }, Instruction { id: 24, name: "goto", input: ["19"], assign: "", scope: 20 }, Instruction { id: 25, name: "print", input: ["\"{}\"", "i"], assign: "", scope: 9 }, Instruction { id: 26, name: "increment", input: ["i"], assign: "", scope: 9 }, Instruction { id: 27, name: "goto", input: ["8"], assign: "", scope: 9 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e063044b2 - rust_to_dtr::translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression::h548a5d8e73bb0d74 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/for_loop_expression.rs:319:9 [INFO] [stdout] 22: 0x604e06300897 - rust_to_dtr::translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression::{{closure}}::h220f014b70650e61 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/for_loop_expression.rs:306:48 [INFO] [stdout] 23: 0x604e0632a4b6 - core::ops::function::FnOnce::call_once::hb2c125a9184fcb2d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_else_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_else_expression' panicked at src/translate/expression/if_expression.rs:270:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 1, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 4, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "3"], assign: "", scope: 0 }, Instruction { id: 9, name: "jump", input: ["8"], assign: "", scope: 0 }, Instruction { id: 5, name: "print", input: ["\"if\""], assign: "", scope: 3 }, Instruction { id: 7, name: "jump", input: ["0"], assign: "", scope: 3 }, Instruction { id: 11, name: "print", input: ["\"else\""], assign: "", scope: 8 }, Instruction { id: 12, name: "jump", input: ["0"], assign: "", scope: 8 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 3, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "2"], assign: "", scope: 0 }, Instruction { id: 7, name: "jump", input: ["6"], assign: "", scope: 0 }, Instruction { id: 4, name: "print", input: ["\"if\""], assign: "", scope: 2 }, Instruction { id: 5, name: "jump", input: ["0"], assign: "", scope: 2 }, Instruction { id: 8, name: "print", input: ["\"else\""], assign: "", scope: 6 }, Instruction { id: 9, name: "jump", input: ["0"], assign: "", scope: 6 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e0631e0eb - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_else_expression::h3e2fcb40131ccab6 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:270:9 [INFO] [stdout] 22: 0x604e0631c837 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_else_expression::{{closure}}::hd553e3cbdf0289b4 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:265:40 [INFO] [stdout] 23: 0x604e06328716 - core::ops::function::FnOnce::call_once::h29db4825dcb0153b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 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: 6, instruction: evaluate, input: (claimant.require_auth), 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.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_19, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (!, UNARY_ARGUMENT_19), assign: CONDITIONAL_JUMP_ASSIGNMENT_18, scope: 0 } [INFO] [stdout] { id: 32, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_18, 31), scope: 0 } [INFO] [stdout] { id: 33, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 31 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_40, scope: 0 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (!, UNARY_ARGUMENT_40), assign: CONDITIONAL_JUMP_ASSIGNMENT_39, scope: 0 } [INFO] [stdout] { id: 48, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_39, 47), scope: 0 } [INFO] [stdout] { id: 49, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 47 } [INFO] [stdout] { id: 72, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_62, scope: 0 } [INFO] [stdout] { id: 54, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_51, scope: 0 } [INFO] [stdout] { id: 73, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_62.transfer, METHOD_CALL_ARG_1_51, claimant, claimable_balance.amount), scope: 0 } [INFO] [stdout] { id: 80, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_77, scope: 0 } [INFO] [stdout] { id: 81, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_77.instance), assign: METHOD_CALL_EXPRESSION_76, scope: 0 } [INFO] [stdout] { id: 82, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_76.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: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_11, scope: 0 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_11.timestamp), assign: ledger_timestamp, scope: 0 } [INFO] [stdout] { id: 15, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_6, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_29, scope: 0 } [INFO] [stdout] { id: 32, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_29, 31), scope: 0 } [INFO] [stdout] { id: 58, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_6, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_57, scope: 0 } [INFO] [stdout] { id: 61, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_57, 60), scope: 0 } [INFO] [stdout] { id: 52, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 31 } [INFO] [stdout] { id: 55, instruction: jump, input: (0), scope: 31 } [INFO] [stdout] { id: 88, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 60 } [INFO] [stdout] { id: 90, instruction: jump, input: (0), scope: 60 } [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' 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: 6, instruction: evaluate, input: (claimant.require_auth), 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.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 17, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 29, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_19, scope: 0 }{ id: 30, instruction: evaluate, input: (!, UNARY_ARGUMENT_19), assign: CONDITIONAL_JUMP_ASSIGNMENT_18, scope: 0 }{ id: 32, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_18, 31), scope: 0 }{ id: 33, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 31 }{ id: 45, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_40, scope: 0 }{ id: 46, instruction: evaluate, input: (!, UNARY_ARGUMENT_40), assign: CONDITIONAL_JUMP_ASSIGNMENT_39, scope: 0 }{ id: 48, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_39, 47), scope: 0 }{ id: 49, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 47 }{ id: 72, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_62, scope: 0 }{ id: 54, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_51, scope: 0 }{ id: 73, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_62.transfer, METHOD_CALL_ARG_1_51, claimant, claimable_balance.amount), 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.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_11, scope: 0 }{ id: 5, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_11.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 15, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_6, scope: 0 }{ id: 30, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_29, scope: 0 }{ id: 32, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_29, 31), scope: 0 }{ id: 58, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_6, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_57, scope: 0 }{ id: 61, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_57, 60), scope: 0 }{ id: 52, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 31 }{ id: 55, instruction: jump, input: (0), scope: 31 }{ id: 88, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 60 }{ id: 90, instruction: jump, input: (0), scope: 60 }{ 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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06314765 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::hb7e0f2294c380c13 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e063146b7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::{{closure}}::h0b0d65046b4be8d9 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e06329e36 - core::ops::function::FnOnce::call_once::h9487642393e76c1c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::index_expression::tests::test_handle_index_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::index_expression::tests::test_handle_index_expression' panicked at src/translate/expression/index_expression.rs:58:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 7, name: "assign", input: ["a"], assign: "THING_BEING_INDEXED_1", scope: 0 }, Instruction { id: 12, name: "assign", input: ["1"], assign: "INDEX_NAME_8", scope: 0 }, Instruction { id: 13, name: "evaluate", input: ["index", "THING_BEING_INDEXED_1", "INDEX_NAME_8"], assign: "", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["a"], assign: "THING_BEING_INDEXED_0", scope: 0 }, Instruction { id: 3, name: "assign", input: ["1"], assign: "INDEX_NAME_2", scope: 0 }, Instruction { id: 4, name: "evaluate", input: ["index", "THING_BEING_INDEXED_0", "INDEX_NAME_2"], assign: "", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06323fa3 - rust_to_dtr::translate::expression::index_expression::tests::test_handle_index_expression::h4f7427bbd32e71ae [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/index_expression.rs:58:9 [INFO] [stdout] 22: 0x604e06323217 - rust_to_dtr::translate::expression::index_expression::tests::test_handle_index_expression::{{closure}}::h8da39ad0103b3c3d [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/index_expression.rs:54:38 [INFO] [stdout] 23: 0x604e06328e06 - core::ops::function::FnOnce::call_once::h4e684fa8651be3ff [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_elseif_else_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_elseif_else_expression' panicked at src/translate/expression/if_expression.rs:332:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 3, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_1", scope: 0 }, Instruction { id: 4, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_2", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["less_than", "BINARY_EXPRESSION_LEFT_1", "BINARY_EXPRESSION_RIGHT_2"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 7, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "6"], assign: "", scope: 0 }, Instruction { id: 11, name: "jump", input: ["10"], assign: "", scope: 0 }, Instruction { id: 8, name: "print", input: ["\"if\""], assign: "", scope: 6 }, Instruction { id: 9, name: "jump", input: ["0"], assign: "", scope: 6 }, Instruction { id: 0, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_13", scope: 10 }, Instruction { id: 2, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_14", scope: 10 }, Instruction { id: 3, name: "evaluate", input: ["equal_to", "BINARY_EXPRESSION_LEFT_13", "BINARY_EXPRESSION_RIGHT_14"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_12", scope: 10 }, Instruction { id: 5, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_12", "4"], assign: "", scope: 10 }, Instruction { id: 11, name: "jump", input: ["10"], assign: "", scope: 10 }, Instruction { id: 6, name: "print", input: ["\"else if\""], assign: "", scope: 4 }, Instruction { id: 9, name: "jump", input: ["10"], assign: "", scope: 4 }, Instruction { id: 14, name: "print", input: ["\"else\""], assign: "", scope: 10 }, Instruction { id: 15, name: "jump", input: ["0"], assign: "", scope: 10 }] [INFO] [stdout] right: [Instruction { id: 3, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_1", scope: 0 }, Instruction { id: 4, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_2", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["less_than", "BINARY_EXPRESSION_LEFT_1", "BINARY_EXPRESSION_RIGHT_2"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 7, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "6"], assign: "", scope: 0 }, Instruction { id: 11, name: "jump", input: ["10"], assign: "", scope: 0 }, Instruction { id: 8, name: "print", input: ["\"if\""], assign: "", scope: 6 }, Instruction { id: 9, name: "jump", input: ["0"], assign: "", scope: 6 }, Instruction { id: 15, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_13", scope: 10 }, Instruction { id: 16, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_14", scope: 10 }, Instruction { id: 17, name: "evaluate", input: ["equal_to", "BINARY_EXPRESSION_LEFT_13", "BINARY_EXPRESSION_RIGHT_14"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_12", scope: 10 }, Instruction { id: 19, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_12", "18"], assign: "", scope: 10 }, Instruction { id: 23, name: "jump", input: ["22"], assign: "", scope: 10 }, Instruction { id: 20, name: "print", input: ["\"else if\""], assign: "", scope: 18 }, Instruction { id: 21, name: "jump", input: ["10"], assign: "", scope: 18 }, Instruction { id: 24, name: "print", input: ["\"else\""], assign: "", scope: 22 }, Instruction { id: 25, name: "jump", input: ["10"], assign: "", scope: 22 }, Instruction { id: 26, name: "jump", input: ["0"], assign: "", scope: 10 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06321577 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_elseif_else_expression::h83ba976ff28bd132 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:332:9 [INFO] [stdout] 22: 0x604e0631e2a7 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_elseif_else_expression::{{closure}}::hf989be089c52708d [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:327:47 [INFO] [stdout] 23: 0x604e0632a606 - core::ops::function::FnOnce::call_once::hb98136658129a81f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::method_call_expression::tests::test_handle_method_call_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::method_call_expression::tests::test_handle_method_call_expression' panicked at src/translate/expression/method_call_expression.rs:92:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Instruction { id: 7, name: "assign", input: ["\"hello\""], assign: "METHOD_CALL_EXPRESSION_5", scope: 0 } [INFO] [stdout] right: Instruction { id: 6, name: "assign", input: ["\"hello\""], assign: "METHOD_CALL_EXPRESSION_5", scope: 0 } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea179 - core::panicking::assert_failed::hce0e6d1af05aaadb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06326031 - rust_to_dtr::translate::expression::method_call_expression::tests::test_handle_method_call_expression::hae156b133c57e800 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/method_call_expression.rs:92:9 [INFO] [stdout] 22: 0x604e063257a7 - rust_to_dtr::translate::expression::method_call_expression::tests::test_handle_method_call_expression::{{closure}}::h078fc988b6c5c8cf [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/method_call_expression.rs:80:44 [INFO] [stdout] 23: 0x604e06329f56 - core::ops::function::FnOnce::call_once::h98455b6f92c65c4e [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::path_expression::tests::test_handle_path_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::path_expression::tests::test_handle_path_expression' panicked at src/translate/expression/path_expression.rs:43:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 6, name: "assign", input: ["Struct"], assign: "SomeAssignment", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["Struct"], assign: "SomeAssignment", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06304ea5 - rust_to_dtr::translate::expression::path_expression::tests::test_handle_path_expression::h1d3389796c4218f9 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/path_expression.rs:43:9 [INFO] [stdout] 22: 0x604e06304857 - rust_to_dtr::translate::expression::path_expression::tests::test_handle_path_expression::{{closure}}::h39a9eeac4ac7da61 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/path_expression.rs:35:37 [INFO] [stdout] 23: 0x604e063288b6 - core::ops::function::FnOnce::call_once::h2cfc540eb9130cb1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::unary_expression::tests::test_handle_unary_negation_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::unary_expression::tests::test_handle_unary_negation_expression' panicked at src/translate/expression/unary_expression.rs:53:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 1, name: "assign", input: ["a"], assign: "UNARY_ARGUMENT_0", scope: 0 }, Instruction { id: 0, name: "evaluate", input: ["!", "UNARY_ARGUMENT_0"], assign: "", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["a"], assign: "UNARY_ARGUMENT_0", scope: 0 }, Instruction { id: 2, name: "evaluate", input: ["!", "UNARY_ARGUMENT_0"], assign: "", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e063065bf - rust_to_dtr::translate::expression::unary_expression::tests::test_handle_unary_negation_expression::haf7d09c525081756 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/unary_expression.rs:53:9 [INFO] [stdout] 22: 0x604e06305cd7 - rust_to_dtr::translate::expression::unary_expression::tests::test_handle_unary_negation_expression::{{closure}}::h03b105a76d5c6be6 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/unary_expression.rs:49:47 [INFO] [stdout] 23: 0x604e06328516 - core::ops::function::FnOnce::call_once::h1d8c7227ef976fd4 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::struct_expression::tests::test_handle_struct_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::struct_expression::tests::test_handle_struct_expression' panicked at src/translate/expression/struct_expression.rs:68:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 1, name: "assign", input: ["1"], assign: "a", scope: 0 }, Instruction { id: 2, name: "assign", input: ["2"], assign: "b", scope: 0 }, Instruction { id: 3, name: "instantiate_object", input: ["UDT", "Struct", "a", "b"], assign: "STRUCT_EXPRESSION_RESULT_4", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["1"], assign: "a", scope: 0 }, Instruction { id: 1, name: "assign", input: ["2"], assign: "b", scope: 0 }, Instruction { id: 2, name: "instantiate_object", input: ["UDT", "Struct", "a", "b"], assign: "STRUCT_EXPRESSION_RESULT_3", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062e9f03 - core::panicking::assert_failed::h429da9e029ee3684 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e062cf264 - rust_to_dtr::translate::expression::struct_expression::tests::test_handle_struct_expression::hb3cd0bd7e721fdc7 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/struct_expression.rs:68:9 [INFO] [stdout] 22: 0x604e062ce507 - rust_to_dtr::translate::expression::struct_expression::tests::test_handle_struct_expression::{{closure}}::hbc528a59b5b054ab [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/struct_expression.rs:64:39 [INFO] [stdout] 23: 0x604e06328346 - core::ops::function::FnOnce::call_once::h1533edee16d55f4c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7df20cb62aa4 - [INFO] [stdout] 45: 0x7df20cbefa34 - clone [INFO] [stdout] 46: 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: 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.get, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_1, scope: 0 } [INFO] [stdout] { id: 11, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_1, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (admin.require_auth), scope: 12 } [INFO] [stdout] { id: 17, instruction: jump, input: (0), scope: 12 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_23, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.instance), assign: METHOD_CALL_EXPRESSION_22, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.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: 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: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_12.get, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_9, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.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: 24, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_21, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_21), assign: METHOD_CALL_EXPRESSION_20, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.require_auth), scope: 0 } [INFO] [stdout] { id: 43, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_40, scope: 0 } [INFO] [stdout] { id: 44, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.persistent), assign: METHOD_CALL_EXPRESSION_39, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_29, scope: 0 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.set, METHOD_CALL_ARG_1_29, 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: 65, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_62, scope: 0 } [INFO] [stdout] { id: 66, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_62.persistent), assign: METHOD_CALL_EXPRESSION_61, scope: 0 } [INFO] [stdout] { id: 53, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_50, scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_54, scope: 0 } [INFO] [stdout] { id: 60, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_50, CALL_EXPRESSION_ARG_2_54), assign: METHOD_CALL_ARG_1_49, scope: 0 } [INFO] [stdout] { id: 67, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_61.get, METHOD_CALL_ARG_1_49), assign: METHOD_CALL_EXPRESSION_48, scope: 0 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_48.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 } [INFO] [stdout] { id: 74, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_71, scope: 0 } [INFO] [stdout] { id: 75, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.sequence), assign: BINARY_EXPRESSION_LEFT_69, scope: 0 } [INFO] [stdout] { id: 80, instruction: divide, input: (BINARY_EXPRESSION_LEFT_69, config.epoch_length), assign: epoch, scope: 0 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_102, scope: 0 } [INFO] [stdout] { id: 106, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_102.temporary), assign: METHOD_CALL_EXPRESSION_101, scope: 0 } [INFO] [stdout] { id: 86, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_83, scope: 0 } [INFO] [stdout] { id: 90, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_87, scope: 0 } [INFO] [stdout] { id: 100, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_83, CALL_EXPRESSION_ARG_2_87, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_82, scope: 0 } [INFO] [stdout] { id: 107, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_101.get, METHOD_CALL_ARG_1_82), assign: METHOD_CALL_EXPRESSION_81, scope: 0 } [INFO] [stdout] { id: 108, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.unwrap_or_default), assign: stats, scope: 0 } [INFO] [stdout] { id: 113, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_109, scope: 0 } [INFO] [stdout] { id: 117, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_109), 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: 11, instruction: instantiate_object, input: (Tuple, contract, to, amount), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.into_val, env), assign: METHOD_CALL_ARG_1_4, scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_4), scope: 0 } [INFO] [stdout] { id: 22, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 0 } [INFO] [stdout] { id: 1, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 0), scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_2, scope: 0 } [INFO] [stdout] { id: 8, instruction: return, input: (RETURN_VALUE_LABEL_2), scope: 0 } [INFO] [stdout] { id: 22, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, 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' 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: 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: 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: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_12.get, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.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: 24, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_21, scope: 0 }{ id: 27, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_21), assign: METHOD_CALL_EXPRESSION_20, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.require_auth), scope: 0 }{ 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: 36, instruction: evaluate, input: (StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_29, scope: 0 }{ id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.set, METHOD_CALL_ARG_1_29, config), scope: 0 }$-() [minter]* Inputs:{env: Envcontract: Addressminter: Address}* Output: Result<(MinterConfig, Integer, MinterStats), Error>* Instructions:${ id: 65, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_62, scope: 0 }{ id: 66, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_62.persistent), assign: METHOD_CALL_EXPRESSION_61, scope: 0 }{ id: 53, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_50, scope: 0 }{ id: 57, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_54, scope: 0 }{ id: 60, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_50, CALL_EXPRESSION_ARG_2_54), assign: METHOD_CALL_ARG_1_49, scope: 0 }{ id: 67, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_61.get, METHOD_CALL_ARG_1_49), assign: METHOD_CALL_EXPRESSION_48, scope: 0 }{ id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_48.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 }{ id: 74, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_71, scope: 0 }{ id: 75, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.sequence), assign: BINARY_EXPRESSION_LEFT_69, scope: 0 }{ id: 80, instruction: divide, input: (BINARY_EXPRESSION_LEFT_69, config.epoch_length), assign: epoch, scope: 0 }{ id: 105, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_102, scope: 0 }{ id: 106, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_102.temporary), assign: METHOD_CALL_EXPRESSION_101, scope: 0 }{ id: 86, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_83, scope: 0 }{ id: 90, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_87, scope: 0 }{ id: 100, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_83, CALL_EXPRESSION_ARG_2_87, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_82, scope: 0 }{ id: 107, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_101.get, METHOD_CALL_ARG_1_82), assign: METHOD_CALL_EXPRESSION_81, scope: 0 }{ id: 108, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.unwrap_or_default), assign: stats, scope: 0 }{ id: 113, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_109, scope: 0 }{ id: 117, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_109), 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: 11, instruction: instantiate_object, input: (Tuple, contract, to, amount), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.into_val, env), assign: METHOD_CALL_ARG_1_4, scope: 0 }{ id: 16, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_4), scope: 0 }{ id: 22, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 0 }{ id: 1, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 0), scope: 0 }{ id: 7, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_2, scope: 0 }{ id: 8, instruction: return, input: (RETURN_VALUE_LABEL_2), scope: 0 }{ id: 22, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, 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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06314495 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock::h069f0c25fd033df8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e063143e7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock::{{closure}}::hc23997f8d8942939 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e063294d6 - core::ops::function::FnOnce::call_once::h6e0e94b35d653f4b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - clone [INFO] [stdout] 47: 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: 28, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.has, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_21, scope: 0 } [INFO] [stdout] { id: 32, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_21, 31), scope: 0 } [INFO] [stdout] { id: 33, instruction: exit_with_message, input: ("offer is already created"), scope: 31 } [INFO] [stdout] { id: 42, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_36, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_37, scope: 0 } [INFO] [stdout] { id: 48, instruction: or, input: (BINARY_EXPRESSION_LEFT_36, BINARY_EXPRESSION_RIGHT_37), assign: CONDITIONAL_JUMP_ASSIGNMENT_35, scope: 0 } [INFO] [stdout] { id: 50, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_35, 49), scope: 0 } [INFO] [stdout] { id: 51, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 49 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (seller.require_auth), scope: 0 } [INFO] [stdout] { id: 15, instruction: instantiate_object, input: (UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_58, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (write_offer, e, CALL_EXPRESSION_ARG_2_58), 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: 14, instruction: evaluate, input: (buyer.require_auth), scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_18, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_18.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_16, scope: 0 } [INFO] [stdout] { id: 32, instruction: divide, input: (BINARY_EXPRESSION_LEFT_16, offer.buy_price), assign: sell_token_amount, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_33, scope: 0 } [INFO] [stdout] { id: 40, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_33, 39), scope: 0 } [INFO] [stdout] { id: 41, instruction: exit_with_message, input: ("price is too low"), scope: 39 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 } [INFO] [stdout] { id: 54, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 } [INFO] [stdout] { id: 75, 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: 80, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 86, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_98, scope: 0 } [INFO] [stdout] { id: 90, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_87, scope: 0 } [INFO] [stdout] { id: 106, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_98.transfer, METHOD_CALL_ARG_1_87, 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: 10, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_4, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_5, scope: 0 } [INFO] [stdout] { id: 16, instruction: or, input: (BINARY_EXPRESSION_LEFT_4, BINARY_EXPRESSION_RIGHT_5), assign: CONDITIONAL_JUMP_ASSIGNMENT_3, scope: 0 } [INFO] [stdout] { id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_3, 17), scope: 0 } [INFO] [stdout] { id: 19, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 17 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 39, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 } [INFO] [stdout] { id: 47, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 } [INFO] [stdout] { id: 54, 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: 59, 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' 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: 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.has, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_21, scope: 0 }{ id: 32, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_21, 31), scope: 0 }{ id: 33, instruction: exit_with_message, input: (\"offer is already created\"), scope: 31 }{ id: 42, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_36, scope: 0 }{ id: 47, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_37, scope: 0 }{ id: 48, instruction: or, input: (BINARY_EXPRESSION_LEFT_36, BINARY_EXPRESSION_RIGHT_37), assign: CONDITIONAL_JUMP_ASSIGNMENT_35, scope: 0 }{ id: 50, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_35, 49), scope: 0 }{ id: 51, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 49 }{ id: 55, instruction: evaluate, input: (seller.require_auth), scope: 0 }{ id: 15, instruction: instantiate_object, input: (UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_58, scope: 0 }{ id: 19, instruction: evaluate, input: (write_offer, e, CALL_EXPRESSION_ARG_2_58), scope: 0 }$-() [trade]* Inputs:{e: Envbuyer: Addressbuy_token_amount: BigIntegermin_sell_token_amount: BigInteger}* Instructions:${ id: 14, instruction: evaluate, input: (buyer.require_auth), scope: 0 }{ id: 19, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 5, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 }{ id: 15, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 }{ id: 26, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_18, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_18.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_16, scope: 0 }{ id: 32, instruction: divide, input: (BINARY_EXPRESSION_LEFT_16, offer.buy_price), assign: sell_token_amount, scope: 0 }{ id: 38, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_33, scope: 0 }{ id: 40, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_33, 39), scope: 0 }{ id: 41, instruction: exit_with_message, input: (\"price is too low\"), scope: 39 }{ id: 45, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 }{ id: 54, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 }{ id: 63, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 }{ id: 75, instruction: evaluate, input: (buy_token_client.transfer, contract, offer.seller, buy_token_amount), scope: 0 }$-() [withdraw]* Inputs:{e: Envtoken: Addressamount: BigInteger}* Instructions:${ id: 80, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 86, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 105, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_98, scope: 0 }{ id: 90, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_87, scope: 0 }{ id: 106, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_98.transfer, METHOD_CALL_ARG_1_87, offer.seller, amount), scope: 0 }$-() [updt_price]* Inputs:{e: Envsell_price: Integerbuy_price: Integer}* Instructions:${ id: 10, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_4, scope: 0 }{ id: 15, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_5, scope: 0 }{ id: 16, instruction: or, input: (BINARY_EXPRESSION_LEFT_4, BINARY_EXPRESSION_RIGHT_5), assign: CONDITIONAL_JUMP_ASSIGNMENT_3, scope: 0 }{ id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_3, 17), scope: 0 }{ id: 19, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 17 }{ id: 25, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 31, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 39, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 }{ id: 47, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 }{ id: 54, instruction: evaluate, input: (write_offer, e, offer), scope: 0 }$-() [get_offer]* Inputs:{e: Env}* Output: Offer* Instructions:${ id: 59, 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: 0x604e06536852 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x604e06536852 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x604e06536852 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x604e06536852 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x604e0655d7e3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x604e0655d7e3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x604e065337c3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x604e065337c3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x604e065366a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x604e06537dc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x604e06537bfe - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x604e06390934 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x604e06390934 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x604e0653879e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x604e0653879e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x604e0653856a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x604e06536d49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x604e065381fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x604e0655b9a0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x604e0655bcf3 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x604e062ea13a - core::panicking::assert_failed::hcb82cd6f8017ada2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x604e06311eb0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hc8ed8476044aca6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x604e06314675 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::hf7ed9800da33bf2d [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x604e063145c7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::{{closure}}::h86acae4ed167fe72 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x604e0632b336 - core::ops::function::FnOnce::call_once::hfc13436b821e8465 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x604e0639619b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x604e0639619b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x604e063952d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x604e063952d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x604e063952d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x604e063952d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x604e063952d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x604e063952d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x604e063952d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x604e06358ed4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x604e06358ed4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x604e0635c8aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x604e0635c8aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x604e0635c8aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x604e0635c8aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x604e0635c8aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x604e0635c8aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x604e0653b81f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x604e0653b81f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7df20cb62aa4 - [INFO] [stdout] 46: 0x7df20cbefa34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_account [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_custom_types [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_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] tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b [INFO] [stdout] translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression [INFO] [stdout] translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_condition_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_else_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_elseif_else_expression [INFO] [stdout] translate::expression::index_expression::tests::test_handle_index_expression [INFO] [stdout] translate::expression::method_call_expression::tests::test_handle_method_call_expression [INFO] [stdout] translate::expression::path_expression::tests::test_handle_path_expression [INFO] [stdout] translate::expression::struct_expression::tests::test_handle_struct_expression [INFO] [stdout] translate::expression::unary_expression::tests::test_handle_unary_negation_expression [INFO] [stdout] [INFO] [stdout] test result: FAILED. 120 passed; 24 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20251861a687014ff8094bce7c0a41884536cb35431f7aeb7717f5b66ce1da03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20251861a687014ff8094bce7c0a41884536cb35431f7aeb7717f5b66ce1da03", kill_on_drop: false }` [INFO] [stdout] 20251861a687014ff8094bce7c0a41884536cb35431f7aeb7717f5b66ce1da03