[INFO] fetching crate rust_swig 0.5.1... [INFO] testing rust_swig-0.5.1 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate rust_swig 0.5.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rust_swig 0.5.1 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust_swig 0.5.1 [INFO] finished tweaking crates.io crate rust_swig 0.5.1 [INFO] tweaked toml for crates.io crate rust_swig 0.5.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d4546a10e5eba1094956b63c7cc8c5930a7d402c146cd87de600e92fd75a4fa [INFO] running `Command { std: "docker" "start" "-a" "1d4546a10e5eba1094956b63c7cc8c5930a7d402c146cd87de600e92fd75a4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d4546a10e5eba1094956b63c7cc8c5930a7d402c146cd87de600e92fd75a4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4546a10e5eba1094956b63c7cc8c5930a7d402c146cd87de600e92fd75a4fa", kill_on_drop: false }` [INFO] [stdout] 1d4546a10e5eba1094956b63c7cc8c5930a7d402c146cd87de600e92fd75a4fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f02272e3347804dffaf0a9d2768b970f13581dba8da79cee59ced5a0994827d [INFO] running `Command { std: "docker" "start" "-a" "6f02272e3347804dffaf0a9d2768b970f13581dba8da79cee59ced5a0994827d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling smol_str v0.1.18 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rust_swig v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.92s [INFO] running `Command { std: "docker" "inspect" "6f02272e3347804dffaf0a9d2768b970f13581dba8da79cee59ced5a0994827d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f02272e3347804dffaf0a9d2768b970f13581dba8da79cee59ced5a0994827d", kill_on_drop: false }` [INFO] [stdout] 6f02272e3347804dffaf0a9d2768b970f13581dba8da79cee59ced5a0994827d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01559f4619530c86da21d530c23c8626a0390384a2e993c1ada6ceccab1ae237 [INFO] running `Command { std: "docker" "start" "-a" "01559f4619530c86da21d530c23c8626a0390384a2e993c1ada6ceccab1ae237", kill_on_drop: false }` [INFO] [stderr] Compiling pulldown-cmark v0.7.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rust_swig v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.75s [INFO] running `Command { std: "docker" "inspect" "01559f4619530c86da21d530c23c8626a0390384a2e993c1ada6ceccab1ae237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01559f4619530c86da21d530c23c8626a0390384a2e993c1ada6ceccab1ae237", kill_on_drop: false }` [INFO] [stdout] 01559f4619530c86da21d530c23c8626a0390384a2e993c1ada6ceccab1ae237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4596c8a47111a6a3fea2abf016193e7296342131d43bafe2b5ff518e0cb49900 [INFO] running `Command { std: "docker" "start" "-a" "4596c8a47111a6a3fea2abf016193e7296342131d43bafe2b5ff518e0cb49900", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_swig-3a8a80a54eda4f84) [INFO] [stdout] [INFO] [stdout] running 52 tests [INFO] [stdout] test code_parse::tests::test_parse_foreign_enum ... ok [INFO] [stdout] test typemap::ast::tests::test_is_second_subst_of_first_char_pointer ... ok [INFO] [stdout] test typemap::ast::tests::test_get_trait_bounds ... ok [INFO] [stdout] test code_parse::tests::test_parse_foreign_callback_simple ... ok [INFO] [stdout] test code_parse::tests::test_parse_foreign_class_with_copy_derive ... ok [INFO] [stdout] test typemap::ast::tests::test_is_second_subst_of_first_impl_fnonce_no_ret ... ok [INFO] [stdout] test code_parse::tests::test_parse_foreign_callback_multi_traits ... ok [INFO] [stdout] test code_parse::tests::test_parse_foreign_callback_path ... ok [INFO] [stdout] test typemap::ast::tests::test_is_second_subst_of_first_pointer ... ok [INFO] [stdout] test typemap::ast::tests::test_is_second_subst_of_first_impl_fnonce_with_ret ... ok [INFO] [stdout] test typemap::ast::tests::test_is_second_subst_of_first_span ... ok [INFO] [stdout] test typemap::ast::tests::test_is_second_subst_of_first_extern_c_fn_ptr ... ok [INFO] [stdout] test code_parse::tests::test_do_parse_foreigner_class ... ok [INFO] [stdout] test typemap::ast::tests::test_list_lifetimes ... ok [INFO] [stdout] test typemap::ast::tests::test_work_with_option ... ok [INFO] [stdout] test typemap::ast::tests::test_parse_type_spanned_macro ... ok [INFO] [stdout] test typemap::parse::tests::test_double_map_err ... ok [INFO] [stdout] test typemap::ast::tests::test_work_with_result ... ok [INFO] [stdout] test typemap::ast::tests::test_replace_all_types_with ... ok [INFO] [stdout] test typemap::ast::tests::test_jlong_to_option_wrong_conv ... ok [INFO] [stdout] test typemap::parse::tests::test_my_syn_attrs_to_hashmap ... ok [INFO] [stdout] test typemap::parse::tests::test_get_foreigner_hint_for_generic ... ok [INFO] [stdout] test typemap::parse::tests::test_parse_foreign_types_map_mod ... ok [INFO] [stdout] test typemap::ast::tests::test_work_with_rc ... ok [INFO] [stdout] test typemap::parse::tests::test_parse_cfg_target_width ... ok [INFO] [stdout] test typemap::parse::tests::test_extract_trait_param_type ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_simple_typemap ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_simple_generic ... ok [INFO] [stdout] test typemap::parse::tests::test_parsing_only_types_map_mod ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_qdatetime ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_jboolean ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_cpp_str ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_bare_fn ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_qstring ... ok [INFO] [stdout] test typemap::parse::tests::test_parse_deref ... ok [INFO] [stdout] test typemap::ast::tests::generic_type_conv_find ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_cpp_ruststring ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_java_datetime ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_callback_to_future ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_unique_prefix ... ok [INFO] [stdout] test typemap::merge::tests::test_merge ... ok [INFO] [stdout] test typemap::parse::tests::test_parse_trait_with_code ... ok [INFO] [stdout] test typemap::parse::tests::test_parse_macros_conv ... ok [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_cpp_pair_expand ... ok [INFO] [stdout] test typemap::parse::tests::test_parse_conv_impl_with_type_params ... ok [INFO] [stdout] test typemap::ast::tests::test_normalize_ty ... FAILED [INFO] [stdout] test typemap::parse::tests::test_unpack_first_associated_type ... FAILED [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_cpp_bool ... FAILED [INFO] [stdout] test typemap::typemap_macro::tests::test_expand_generic_type_with_ptr ... FAILED [INFO] [stdout] test typemap::typemap_macro::tests::test_foreign_typemap_cpp_pair_syntax ... FAILED [INFO] [stdout] test typemap::tests::test_try_build_path ... ok [INFO] [stdout] test typemap::parse::tests::test_parse_main_lang_typemaps ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- typemap::ast::tests::test_normalize_ty stdout ---- [INFO] [stdout] thread 'typemap::ast::tests::test_normalize_ty' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `"()"`, [INFO] [stdout] right: `"( )"`', src/typemap/ast/tests.rs:12:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557405519b8c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557405519b8c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557405519b8c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557405519b8c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55740553ee7c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x5574055166f5 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55740551ba90 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55740551ba90 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55740551ba90 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55740551b682 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55740551c169 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:628:17 [INFO] [stdout] 11: 0x55740551bc20 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x55740551a054 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55740551bb89 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x557404eb7d41 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x55740553d0e8 - core::panicking::assert_failed_inner::h62e8cb2847a6e7ec [INFO] [stdout] 16: 0x5574050a9c5a - core::panicking::assert_failed::hebcf9d49288b667c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:140:5 [INFO] [stdout] 17: 0x557404f74c8b - rust_swig::typemap::ast::tests::test_normalize_ty::h69df586582aebc2a [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/ast/tests.rs:12:5 [INFO] [stdout] 18: 0x557404f7476a - rust_swig::typemap::ast::tests::test_normalize_ty::{{closure}}::h60c76e0baeb147c2 [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/ast/tests.rs:8:1 [INFO] [stdout] 19: 0x557404f68dfe - core::ops::function::FnOnce::call_once::h7c12f566bd0ea76f [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5574052dd203 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5574052dd203 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x5574052dbc88 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 23: 0x5574052dbc88 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5574052dbc88 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x5574052dbc88 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x5574052dbc88 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 27: 0x5574052dbc88 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x5574052dbc88 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x5574052a97de - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x5574052a97de - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x5574052ae078 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5574052ae078 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x5574052ae078 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x5574052ae078 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 36: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x5574052ae078 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x557405520f53 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f8f64cfc609 - start_thread [INFO] [stdout] 42: 0x7f8f64ace293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- typemap::parse::tests::test_unpack_first_associated_type stdout ---- [INFO] [stdout] thread 'typemap::parse::tests::test_unpack_first_associated_type' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `"[ T ]"`, [INFO] [stdout] right: `"[T]"`', src/typemap/parse.rs:1074:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557405519b8c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557405519b8c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557405519b8c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557405519b8c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55740553ee7c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x5574055166f5 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55740551ba90 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55740551ba90 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55740551ba90 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55740551b682 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55740551c169 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:628:17 [INFO] [stdout] 11: 0x55740551bc20 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x55740551a054 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55740551bb89 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x557404eb7d41 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x55740553d0e8 - core::panicking::assert_failed_inner::h62e8cb2847a6e7ec [INFO] [stdout] 16: 0x5574050a9b9e - core::panicking::assert_failed::he52f9117f9c8abb3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:140:5 [INFO] [stdout] 17: 0x557405066534 - rust_swig::typemap::parse::tests::test_unpack_first_associated_type::hdc7bc1fa1ce3df6d [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/parse.rs:1074:9 [INFO] [stdout] 18: 0x557405065dda - rust_swig::typemap::parse::tests::test_unpack_first_associated_type::{{closure}}::h10c1a38297cc79c9 [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/parse.rs:1064:5 [INFO] [stdout] 19: 0x557404f6991e - core::ops::function::FnOnce::call_once::heb8c81f2b5e656a7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5574052dd203 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5574052dd203 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x5574052dbc88 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 23: 0x5574052dbc88 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5574052dbc88 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x5574052dbc88 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x5574052dbc88 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 27: 0x5574052dbc88 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x5574052dbc88 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x5574052a97de - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x5574052a97de - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x5574052ae078 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5574052ae078 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x5574052ae078 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x5574052ae078 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 36: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x5574052ae078 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x557405520f53 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f8f64cfc609 - start_thread [INFO] [stdout] 42: 0x7f8f64ace293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- typemap::typemap_macro::tests::test_foreign_typemap_cpp_bool stdout ---- [INFO] [stdout] rule TypeMapConvRuleInfo { src_id: SourceId(None), span: bytes(91..97), rtype_generics: None, rtype_left_to_right: Some(RTypeConvRule { left_ty: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: bool, span: bytes(99..103) }, arguments: None }] } }), right_ty: Some(Path(TypePath { qself: None, path: Path { leading_colon: Some(Colon2), segments: [PathSegment { ident: Ident { sym: std, span: bytes(110..113) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: os, span: bytes(117..119) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: raw, span: bytes(123..126) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: c_char, span: bytes(130..136) }, arguments: None }] } })), code: Some(TypeConvCode { span: (SourceId(None), bytes(139..174)), code: "let mut {to_var}: {to_var_type} = if {from_var} { 1 } else { 0 } ;", params: ["{to_var}", "{from_var}"] }) }), rtype_right_to_left: Some(RTypeConvRule { left_ty: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: bool, span: bytes(247..251) }, arguments: None }] } }), right_ty: Some(Path(TypePath { qself: None, path: Path { leading_colon: Some(Colon2), segments: [PathSegment { ident: Ident { sym: std, span: bytes(258..261) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: os, span: bytes(265..267) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: raw, span: bytes(271..274) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: c_char, span: bytes(278..284) }, arguments: None }] } })), code: Some(TypeConvCode { span: (SourceId(None), bytes(287..309)), code: "let mut {to_var}: {to_var_type} = ({from_var} != 0) ;", params: ["{to_var}", "{from_var}"] }) }), ftype_left_to_right: [FTypeConvRule { req_modules: [], cfg_option: None, left_right_ty: OnlyRight(FTypeName { name: "bool", sp: bytes(199..205) }), input_to_output: false, unique_prefix: None, code: Some(TypeConvCode { span: (SourceId(None), bytes(206..227)), code: "{to_var_type} = ({from_var} != 0);", params: ["{from_var}", "{to_var_type}"] }) }], ftype_right_to_left: [FTypeConvRule { req_modules: [], cfg_option: None, left_right_ty: OnlyRight(FTypeName { name: "bool", sp: bytes(334..340) }), input_to_output: false, unique_prefix: None, code: Some(TypeConvCode { span: (SourceId(None), bytes(341..363)), code: "{to_var_type} = {from_var} ? 1 : 0;", params: ["{from_var}", "{to_var_type}"] }) }], c_types: None, generic_c_types: None, f_code: [], generic_aliases: [] } [INFO] [stdout] thread 'typemap::typemap_macro::tests::test_foreign_typemap_cpp_bool' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `RTypeConvRule { left_ty: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: bool }, arguments: None }] } }), right_ty: Some(Path(TypePath { qself: None, path: Path { leading_colon: Some(Colon2), segments: [PathSegment { ident: Ident { sym: std }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: os }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: raw }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: c_char }, arguments: None }] } })), code: Some(TypeConvCode { span: (SourceId(None), bytes(0..0)), code: "let mut {to_var}: {to_var_type} = ( {from_var} != 0 ) ;", params: ["{to_var}", "{from_var}"] }) }`, [INFO] [stdout] right: `RTypeConvRule { left_ty: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: bool, span: bytes(247..251) }, arguments: None }] } }), right_ty: Some(Path(TypePath { qself: None, path: Path { leading_colon: Some(Colon2), segments: [PathSegment { ident: Ident { sym: std, span: bytes(258..261) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: os, span: bytes(265..267) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: raw, span: bytes(271..274) }, arguments: None }, Colon2, PathSegment { ident: Ident { sym: c_char, span: bytes(278..284) }, arguments: None }] } })), code: Some(TypeConvCode { span: (SourceId(None), bytes(287..309)), code: "let mut {to_var}: {to_var_type} = ({from_var} != 0) ;", params: ["{to_var}", "{from_var}"] }) }`', src/typemap/typemap_macro/tests.rs:77:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557405519b8c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557405519b8c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557405519b8c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557405519b8c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55740553ee7c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x5574055166f5 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55740551ba90 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55740551ba90 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55740551ba90 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55740551b682 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55740551c169 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:628:17 [INFO] [stdout] 11: 0x55740551bc20 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x55740551a054 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55740551bb89 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x557404eb7d41 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x55740553d0e8 - core::panicking::assert_failed_inner::h62e8cb2847a6e7ec [INFO] [stdout] 16: 0x5574050a95fa - core::panicking::assert_failed::h54d475c837406453 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:140:5 [INFO] [stdout] 17: 0x557404f3aa76 - rust_swig::typemap::typemap_macro::tests::test_foreign_typemap_cpp_bool::h7f9f0c05dadcc47e [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/typemap_macro/tests.rs:77:5 [INFO] [stdout] 18: 0x557404f3908a - rust_swig::typemap::typemap_macro::tests::test_foreign_typemap_cpp_bool::{{closure}}::h670fc8faeb974b7b [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/typemap_macro/tests.rs:47:1 [INFO] [stdout] 19: 0x557404f6898e - core::ops::function::FnOnce::call_once::h69151a19b7979095 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5574052dd203 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5574052dd203 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x5574052dbc88 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 23: 0x5574052dbc88 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5574052dbc88 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x5574052dbc88 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x5574052dbc88 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 27: 0x5574052dbc88 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x5574052dbc88 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x5574052a97de - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x5574052a97de - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x5574052ae078 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5574052ae078 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x5574052ae078 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x5574052ae078 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 36: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x5574052ae078 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x557405520f53 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f8f64cfc609 - start_thread [INFO] [stdout] 42: 0x7f8f64ace293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- typemap::typemap_macro::tests::test_expand_generic_type_with_ptr stdout ---- [INFO] [stdout] rule TypeMapConvRuleInfo { src_id: SourceId(None), span: bytes(169..175), rtype_generics: Some(Generics { lt_token: Some(Lt), params: [Type(TypeParam { attrs: [], ident: Ident { sym: T, span: bytes(179..180) }, colon_token: None, bounds: [], eq_token: None, default: None })], gt_token: Some(Gt), where_clause: None }), rtype_left_to_right: None, rtype_right_to_left: Some(RTypeConvRule { left_ty: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: Option, span: bytes(183..189) }, arguments: AngleBracketed(AngleBracketedGenericArguments { colon2_token: None, lt_token: Lt, args: [Type(Reference(TypeReference { and_token: And, lifetime: None, mutability: None, elem: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T, span: bytes(194..195) }, arguments: None }] } }) }))], gt_token: Gt }) }] } }), right_ty: Some(Ptr(TypePtr { star_token: Star, const_token: Some(Const), mutability: None, elem: Macro(TypeMacro { mac: Macro { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: swig_i_type, span: bytes(209..220) }, arguments: None }] }, bang_token: Bang, delimiter: Paren(Paren), tokens: TokenStream [Ident { sym: T, span: bytes(224..225) }] } }) })), code: Some(TypeConvCode { span: (SourceId(None), bytes(229..287)), code: "let mut {to_var}: {to_var_type} = if ! {from_var} . is_null () { Some (o) } else { None } ;", params: ["{to_var}", "{from_var}"] }) }), ftype_left_to_right: [], ftype_right_to_left: [FTypeConvRule { req_modules: [], cfg_option: None, left_right_ty: OnlyRight(FTypeName { name: "/*opt ref*/const swig_f_type!(T) *", sp: bytes(342..378) }), input_to_output: false, unique_prefix: Some(SpannedSmolStr { sp: bytes(324..337), value: "/*opt ref*/" }), code: Some(TypeConvCode { span: (SourceId(None), bytes(379..480)), code: "\n {to_var_type} = ({from_var} != nullptr) ? static_cast(* {from_var}) : nullptr;\n", params: ["{from_var}", "{to_var_type}"] }) }], c_types: None, generic_c_types: None, f_code: [], generic_aliases: [] } [INFO] [stdout] thread 'typemap::typemap_macro::tests::test_expand_generic_type_with_ptr' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `RTypeConvRule { left_ty: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: Option }, arguments: AngleBracketed(AngleBracketedGenericArguments { colon2_token: None, lt_token: Lt, args: [Type(Reference(TypeReference { and_token: And, lifetime: None, mutability: None, elem: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: u32 }, arguments: None }] } }) }))], gt_token: Gt }) }] } }), right_ty: Some(Ptr(TypePtr { star_token: Star, const_token: Some(Const), mutability: None, elem: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: u32 }, arguments: None }] } }) })), code: Some(TypeConvCode { span: (SourceId(None), bytes(0..0)), code: "let mut {to_var}: {to_var_type} = if ! {from_var} . is_null ( ) { Some ( o ) } else { None } ;", params: ["{to_var}", "{from_var}"] }) }`, [INFO] [stdout] right: `RTypeConvRule { left_ty: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: Option, span: bytes(183..189) }, arguments: AngleBracketed(AngleBracketedGenericArguments { colon2_token: None, lt_token: Lt, args: [Type(Reference(TypeReference { and_token: And, lifetime: None, mutability: None, elem: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: u32 }, arguments: None }] } }) }))], gt_token: Gt }) }] } }), right_ty: Some(Ptr(TypePtr { star_token: Star, const_token: Some(Const), mutability: None, elem: Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: u32 }, arguments: None }] } }) })), code: Some(TypeConvCode { span: (SourceId(None), bytes(229..287)), code: "let mut {to_var}: {to_var_type} = if ! {from_var} . is_null () { Some (o) } else { None } ;", params: ["{to_var}", "{from_var}"] }) }`', src/typemap/typemap_macro/tests.rs:534:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557405519b8c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557405519b8c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557405519b8c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557405519b8c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55740553ee7c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x5574055166f5 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55740551ba90 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55740551ba90 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55740551ba90 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55740551b682 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55740551c169 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:628:17 [INFO] [stdout] 11: 0x55740551bc20 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x55740551a054 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55740551bb89 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x557404eb7d41 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x55740553d0e8 - core::panicking::assert_failed_inner::h62e8cb2847a6e7ec [INFO] [stdout] 16: 0x5574050a95fa - core::panicking::assert_failed::h54d475c837406453 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:140:5 [INFO] [stdout] 17: 0x557404f49526 - rust_swig::typemap::typemap_macro::tests::test_expand_generic_type_with_ptr::h55e8d5c999ab3ee1 [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/typemap_macro/tests.rs:534:5 [INFO] [stdout] 18: 0x557404f47e5a - rust_swig::typemap::typemap_macro::tests::test_expand_generic_type_with_ptr::{{closure}}::hcc303b861ea7721e [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/typemap_macro/tests.rs:503:1 [INFO] [stdout] 19: 0x557404f683ce - core::ops::function::FnOnce::call_once::h3ff50f4fca33308b [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5574052dd203 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5574052dd203 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x5574052dbc88 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 23: 0x5574052dbc88 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5574052dbc88 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x5574052dbc88 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x5574052dbc88 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 27: 0x5574052dbc88 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x5574052dbc88 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x5574052a97de - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x5574052a97de - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x5574052ae078 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5574052ae078 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x5574052ae078 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x5574052ae078 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 36: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x5574052ae078 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x557405520f53 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f8f64cfc609 - start_thread [INFO] [stdout] 42: 0x7f8f64ace293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- typemap::typemap_macro::tests::test_foreign_typemap_cpp_pair_syntax stdout ---- [INFO] [stdout] rule!!!: TypeMapConvRuleInfo { src_id: SourceId(None), span: bytes(395..499), rtype_generics: Some(Generics { lt_token: Some(Lt), params: [Type(TypeParam { attrs: [], ident: Ident { sym: T1, span: bytes(667..669) }, colon_token: None, bounds: [], eq_token: None, default: None }), Comma, Type(TypeParam { attrs: [], ident: Ident { sym: T2, span: bytes(672..674) }, colon_token: None, bounds: [], eq_token: None, default: None })], gt_token: Some(Gt), where_clause: None }), rtype_left_to_right: Some(RTypeConvRule { left_ty: Tuple(TypeTuple { paren_token: Paren, elems: [Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T1, span: bytes(678..680) }, arguments: None }] } }), Comma, Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T2, span: bytes(683..685) }, arguments: None }] } })] }), right_ty: Some(Macro(TypeMacro { mac: Macro { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: CRustPair, span: bytes(690..699) }, arguments: None }] }, bang_token: Bang, delimiter: Paren(Paren), tokens: TokenStream [] } })), code: Some(TypeConvCode { span: (SourceId(None), bytes(707..860)), code: "swig_from_rust_to_i_type ! (T1 , {from_var} . 0 , p0) ; swig_from_rust_to_i_type ! (T2 , {from_var} . 1 , p1) ; let mut {to_var}: {to_var_type} = CRustPair ! () { first : p0 , second : p1 , } ;", params: ["{to_var}", "{from_var}"] }) }), rtype_right_to_left: Some(RTypeConvRule { left_ty: Tuple(TypeTuple { paren_token: Paren, elems: [Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T1, span: bytes(893..895) }, arguments: None }] } }), Comma, Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T2, span: bytes(898..900) }, arguments: None }] } })] }), right_ty: Some(Macro(TypeMacro { mac: Macro { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: CRustPair, span: bytes(905..914) }, arguments: None }] }, bang_token: Bang, delimiter: Paren(Paren), tokens: TokenStream [] } })), code: Some(TypeConvCode { span: (SourceId(None), bytes(922..1048)), code: "swig_from_i_type_to_rust ! (T1 , {from_var} . first , p0) ; swig_from_i_type_to_rust ! (T2 , {from_var} . second , p1) ; let mut {to_var}: {to_var_type} = (p0 , p1) ;", params: ["{to_var}", "{from_var}"] }) }), ftype_left_to_right: [FTypeConvRule { req_modules: [ModuleName { name: "\"rust_tuple.h\"", sp: bytes(1084..1102) }, ModuleName { name: "", sp: bytes(1105..1116) }], cfg_option: None, left_right_ty: OnlyRight(FTypeName { name: "std::pair", sp: bytes(1122..1169) }), input_to_output: false, unique_prefix: None, code: Some(TypeConvCode { span: (SourceId(None), bytes(1170..1269)), code: "std::make_pair(swig_foreign_from_i_type!(T1, {from_var}.first), swig_foreign_from_i_type!(T2, {from_var}.second))", params: ["{from_var}"] }) }], ftype_right_to_left: [FTypeConvRule { req_modules: [ModuleName { name: "\"rust_tuple.h\"", sp: bytes(1303..1321) }, ModuleName { name: "", sp: bytes(1324..1335) }], cfg_option: None, left_right_ty: OnlyRight(FTypeName { name: "std::pair", sp: bytes(1341..1388) }), input_to_output: false, unique_prefix: None, code: Some(TypeConvCode { span: (SourceId(None), bytes(1389..1485)), code: "CRustPair!() { swig_foreign_to_i_type!(T1, {from_var}.first), swig_foreign_to_i_type!(T2, {from_var}.second) }", params: ["{from_var}"] }) }], c_types: None, generic_c_types: Some(GenericCItems { header_name: ModuleName { name: "rust_tuple.h", sp: bytes(528..542) }, types: TokenStream [Punct { char: '#', spacing: Alone, span: bytes(545..546) }, Group { delimiter: Bracket, stream: TokenStream [Ident { sym: repr, span: bytes(548..552) }, Group { delimiter: Parenthesis, stream: TokenStream [Ident { sym: C, span: bytes(554..555) }], span: bytes(553..556) }], span: bytes(547..557) }, Ident { sym: pub, span: bytes(558..561) }, Ident { sym: struct, span: bytes(562..568) }, Ident { sym: CRustPair, span: bytes(569..578) }, Punct { char: '!', spacing: Alone, span: bytes(579..580) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: bytes(581..583) }, Group { delimiter: Brace, stream: TokenStream [Ident { sym: first, span: bytes(586..591) }, Punct { char: ':', spacing: Alone, span: bytes(592..593) }, Ident { sym: swig_i_type, span: bytes(594..605) }, Punct { char: '!', spacing: Alone, span: bytes(606..607) }, Group { delimiter: Parenthesis, stream: TokenStream [Ident { sym: T1, span: bytes(609..611) }], span: bytes(608..612) }, Punct { char: ',', spacing: Alone, span: bytes(613..614) }, Ident { sym: second, span: bytes(615..621) }, Punct { char: ':', spacing: Alone, span: bytes(622..623) }, Ident { sym: swig_i_type, span: bytes(624..635) }, Punct { char: '!', spacing: Alone, span: bytes(636..637) }, Group { delimiter: Parenthesis, stream: TokenStream [Ident { sym: T2, span: bytes(639..641) }], span: bytes(638..642) }, Punct { char: ',', spacing: Alone, span: bytes(643..644) }], span: bytes(584..646) }] }), f_code: [], generic_aliases: [GenericAlias { alias: Ident { sym: CRustPair, span: bytes(412..421) }, value: TokenStream [Ident { sym: swig_concat_idents, span: bytes(424..442) }, Punct { char: '!', spacing: Alone, span: bytes(443..444) }, Group { delimiter: Parenthesis, stream: TokenStream [Ident { sym: CRustPair, span: bytes(446..455) }, Punct { char: ',', spacing: Alone, span: bytes(456..457) }, Ident { sym: swig_i_type, span: bytes(458..469) }, Punct { char: '!', spacing: Alone, span: bytes(470..471) }, Group { delimiter: Parenthesis, stream: TokenStream [Ident { sym: T1, span: bytes(473..475) }], span: bytes(472..476) }, Punct { char: ',', spacing: Alone, span: bytes(477..478) }, Ident { sym: swig_i_type, span: bytes(479..490) }, Punct { char: '!', spacing: Alone, span: bytes(491..492) }, Group { delimiter: Parenthesis, stream: TokenStream [Ident { sym: T2, span: bytes(494..496) }], span: bytes(493..497) }], span: bytes(445..498) }] }] } [INFO] [stdout] thread 'typemap::typemap_macro::tests::test_foreign_typemap_cpp_pair_syntax' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `RTypeConvRule { left_ty: Tuple(TypeTuple { paren_token: Paren, elems: [Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T1 }, arguments: None }] } }), Comma, Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T2 }, arguments: None }] } })] }), right_ty: Some(Macro(TypeMacro { mac: Macro { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: CRustPair }, arguments: None }] }, bang_token: Bang, delimiter: Paren(Paren), tokens: TokenStream [] } })), code: Some(TypeConvCode { span: (SourceId(None), bytes(0..0)), code: "swig_from_rust_to_i_type ! ( T1 , {from_var} . 0 , p0 ) ; swig_from_rust_to_i_type ! ( T2 , {from_var} . 1 , p1 ) ; let mut {to_var}: {to_var_type} = CRustPair ! ( ) { first : p0 , second : p1 , } ;", params: ["{to_var}", "{from_var}"] }) }`, [INFO] [stdout] right: `RTypeConvRule { left_ty: Tuple(TypeTuple { paren_token: Paren, elems: [Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T1, span: bytes(678..680) }, arguments: None }] } }), Comma, Path(TypePath { qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: T2, span: bytes(683..685) }, arguments: None }] } })] }), right_ty: Some(Macro(TypeMacro { mac: Macro { path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { sym: CRustPair, span: bytes(690..699) }, arguments: None }] }, bang_token: Bang, delimiter: Paren(Paren), tokens: TokenStream [] } })), code: Some(TypeConvCode { span: (SourceId(None), bytes(707..860)), code: "swig_from_rust_to_i_type ! (T1 , {from_var} . 0 , p0) ; swig_from_rust_to_i_type ! (T2 , {from_var} . 1 , p1) ; let mut {to_var}: {to_var_type} = CRustPair ! () { first : p0 , second : p1 , } ;", params: ["{to_var}", "{from_var}"] }) }`', src/typemap/typemap_macro/tests.rs:429:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557405519b8c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557405519b8c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557405519b8c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557405519b8c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55740553ee7c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x5574055166f5 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55740551ba90 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55740551ba90 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55740551ba90 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55740551b682 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55740551c169 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:628:17 [INFO] [stdout] 11: 0x55740551bc20 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x55740551a054 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55740551bb89 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x557404eb7d41 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x55740553d0e8 - core::panicking::assert_failed_inner::h62e8cb2847a6e7ec [INFO] [stdout] 16: 0x5574050a95fa - core::panicking::assert_failed::h54d475c837406453 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:140:5 [INFO] [stdout] 17: 0x557404f4609e - rust_swig::typemap::typemap_macro::tests::test_foreign_typemap_cpp_pair_syntax::hf6ae5bb79136428d [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/typemap_macro/tests.rs:429:5 [INFO] [stdout] 18: 0x557404f4535a - rust_swig::typemap::typemap_macro::tests::test_foreign_typemap_cpp_pair_syntax::{{closure}}::h038fcc4ae4213480 [INFO] [stdout] at /opt/rustwide/workdir/src/typemap/typemap_macro/tests.rs:413:1 [INFO] [stdout] 19: 0x557404f67e9e - core::ops::function::FnOnce::call_once::h1ec81f29f9eeb0ef [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5574052dd203 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5574052dd203 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x5574052dbc88 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 23: 0x5574052dbc88 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5574052dbc88 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x5574052dbc88 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x5574052dbc88 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 27: 0x5574052dbc88 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x5574052dbc88 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x5574052a97de - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x5574052a97de - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x5574052ae078 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5574052ae078 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x5574052ae078 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x5574052ae078 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 36: 0x5574052ae078 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x5574052ae078 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: 0x557405520f53 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x557405520f53 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f8f64cfc609 - start_thread [INFO] [stdout] 42: 0x7f8f64ace293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] typemap::ast::tests::test_normalize_ty [INFO] [stdout] typemap::parse::tests::test_unpack_first_associated_type [INFO] [stdout] typemap::typemap_macro::tests::test_expand_generic_type_with_ptr [INFO] [stdout] typemap::typemap_macro::tests::test_foreign_typemap_cpp_bool [INFO] [stdout] typemap::typemap_macro::tests::test_foreign_typemap_cpp_pair_syntax [INFO] [stdout] [INFO] [stdout] test result: FAILED. 47 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "4596c8a47111a6a3fea2abf016193e7296342131d43bafe2b5ff518e0cb49900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4596c8a47111a6a3fea2abf016193e7296342131d43bafe2b5ff518e0cb49900", kill_on_drop: false }` [INFO] [stdout] 4596c8a47111a6a3fea2abf016193e7296342131d43bafe2b5ff518e0cb49900