capstone-rust / capstone-rs

high-level Capstone system bindings for Rust
220 stars 78 forks source link

Cargo test fails on Windows GNU toolchain on AppVeyor #66

Closed tmfink closed 5 years ago

tmfink commented 5 years ago

cargo test fails for target x86_64-pc-windows-gnu on Windows.

Example failure on AppVeyor: https://ci.appveyor.com/project/tmfink/capstone-rs/build/job/ctj6j2w4ggr6vv5w

cargo test -v
 Downloading crates ...
  Downloaded clap v2.32.0
  Downloaded macho v0.4.1
  Downloaded stderrlog v0.4.1
  Downloaded log v0.4.6
  Downloaded unicode-width v0.1.5
  Downloaded textwrap v0.10.0
  Downloaded bitflags v1.0.4
  Downloaded nom v1.2.4
  Downloaded uuid v0.3.1
  Downloaded termcolor v0.3.6
  Downloaded criterion v0.2.10
  Downloaded thread_local v0.3.6
  Downloaded cfg-if v0.1.7
  Downloaded wincolor v0.1.6
  Downloaded chrono v0.4.6
  Downloaded lazy_static v1.3.0
  Downloaded rayon v1.0.3
  Downloaded rand_xoshiro v0.1.0
  Downloaded num-traits v0.2.6
  Downloaded cast v0.2.2
  Downloaded rand_os v0.1.3
  Downloaded walkdir v2.2.7
  Downloaded tinytemplate v1.0.1
  Downloaded atty v0.2.11
  Downloaded serde_derive v1.0.90
  Downloaded rand_core v0.3.1
  Downloaded itertools v0.8.0
  Downloaded serde v1.0.90
  Downloaded serde_json v1.0.39
  Downloaded csv v1.0.5
  Downloaded winapi v0.3.7
  Downloaded either v1.5.2
  Downloaded crossbeam-deque v0.2.0
  Downloaded syn v0.15.30
  Downloaded proc-macro2 v0.4.27
  Downloaded byteorder v1.3.1
  Downloaded rand_core v0.4.0
  Downloaded time v0.1.42
  Downloaded quote v0.6.11
  Downloaded same-file v1.0.4
  Downloaded num-integer v0.1.39
  Downloaded winapi-util v0.1.2
  Downloaded rayon-core v1.4.1
  Downloaded ryu v0.2.7
  Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
  Downloaded crossbeam-epoch v0.3.1
  Downloaded csv-core v0.1.5
  Downloaded crossbeam-utils v0.2.2
  Downloaded itoa v0.4.3
  Downloaded libc v0.2.51
  Downloaded criterion-plot v0.3.0
  Downloaded unicode-xid v0.1.0
  Downloaded memoffset v0.2.1
  Downloaded scopeguard v0.3.3
  Downloaded arrayvec v0.4.10
  Downloaded nodrop v0.1.13
  Downloaded num_cpus v1.10.0
  Downloaded memchr v2.2.0
   Compiling winapi-x86_64-pc-windows-gnu v0.4.0
   Compiling arrayvec v0.4.10
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\arrayvec-0.4.10\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=adaeb219cc332c17 -C extra-filename=-adaeb219cc332c17 --out-dir C:\projects\capstone-rs\target\debug\build\arrayvec-adaeb219cc332c17 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=f0bd9acbca4deed1 -C extra-filename=-f0bd9acbca4deed1 --out-dir C:\projects\capstone-rs\target\debug\build\winapi-x86_64-pc-windows-gnu-f0bd9acbca4deed1 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling winapi v0.3.7
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-0.3.7\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"consoleapi\"" --cfg "feature=\"errhandlingapi\"" --cfg "feature=\"fileapi\"" --cfg "feature=\"minwinbase\"" --cfg "feature=\"minwindef\"" --cfg "feature=\"ntdef\"" --cfg "feature=\"ntsecapi\"" --cfg "feature=\"processenv\"" --cfg "feature=\"profileapi\"" --cfg "feature=\"std\"" --cfg "feature=\"sysinfoapi\"" --cfg "feature=\"timezoneapi\"" --cfg "feature=\"winbase\"" --cfg "feature=\"wincon\"" --cfg "feature=\"winerror\"" --cfg "feature=\"winnt\"" -C metadata=4b95a87e261c9293 -C extra-filename=-4b95a87e261c9293 --out-dir C:\projects\capstone-rs\target\debug\build\winapi-4b95a87e261c9293 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling nodrop v0.1.13
     Running `rustc --crate-name nodrop C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\nodrop-0.1.13\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ad51fa014d319da1 -C extra-filename=-ad51fa014d319da1 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling libc v0.2.51
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.2.51\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"use_std\"" -C metadata=011da416c7fdb5f1 -C extra-filename=-011da416c7fdb5f1 --out-dir C:\projects\capstone-rs\target\debug\build\libc-011da416c7fdb5f1 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling proc-macro2 v0.4.27
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.27\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=d2a701cd7359ab1a -C extra-filename=-d2a701cd7359ab1a --out-dir C:\projects\capstone-rs\target\debug\build\proc-macro2-d2a701cd7359ab1a -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling cfg-if v0.1.7
     Running `rustc --crate-name cfg_if C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\cfg-if-0.1.7\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=1860056f3c805a89 -C extra-filename=-1860056f3c805a89 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling unicode-xid v0.1.0
     Running `rustc --crate-name unicode_xid C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\unicode-xid-0.1.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=8a4e45343e817b25 -C extra-filename=-8a4e45343e817b25 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling lazy_static v1.3.0
     Running `rustc --crate-name lazy_static C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\lazy_static-1.3.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=4629084c3a51927a -C extra-filename=-4629084c3a51927a --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling ryu v0.2.7
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-0.2.7\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=289a34373ce52a51 -C extra-filename=-289a34373ce52a51 --out-dir C:\projects\capstone-rs\target\debug\build\ryu-289a34373ce52a51 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling scopeguard v0.3.3
     Running `rustc --crate-name scopeguard C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\scopeguard-0.3.3\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=9a34a50ca876dc3f -C extra-filename=-9a34a50ca876dc3f --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling serde v1.0.90
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\serde-1.0.90\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=92742d656a0dec5f -C extra-filename=-92742d656a0dec5f --out-dir C:\projects\capstone-rs\target\debug\build\serde-92742d656a0dec5f -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling memchr v2.2.0
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\memchr-2.2.0\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"libc\"" -C metadata=ef93002d37dc146d -C extra-filename=-ef93002d37dc146d --out-dir C:\projects\capstone-rs\target\debug\build\memchr-ef93002d37dc146d -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling memoffset v0.2.1
     Running `rustc --crate-name memoffset C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\memoffset-0.2.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2dbd28371aa2183a -C extra-filename=-2dbd28371aa2183a --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling num-traits v0.2.6
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\num-traits-0.2.6\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=4632f5a4bcb987e4 -C extra-filename=-4632f5a4bcb987e4 --out-dir C:\projects\capstone-rs\target\debug\build\num-traits-4632f5a4bcb987e4 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling num-integer v0.1.39
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\num-integer-0.1.39\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=c3b91ded4164b0dc -C extra-filename=-c3b91ded4164b0dc --out-dir C:\projects\capstone-rs\target\debug\build\num-integer-c3b91ded4164b0dc -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
       Fresh cc v1.0.34
   Compiling rayon-core v1.4.1
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\rayon-core-1.4.1\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=d276ffdc4c0fc7c1 -C extra-filename=-d276ffdc4c0fc7c1 --out-dir C:\projects\capstone-rs\target\debug\build\rayon-core-d276ffdc4c0fc7c1 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling syn v0.15.30
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-0.15.30\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"clone-impls\"" --cfg "feature=\"default\"" --cfg "feature=\"derive\"" --cfg "feature=\"parsing\"" --cfg "feature=\"printing\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"proc-macro2\"" --cfg "feature=\"quote\"" --cfg "feature=\"visit\"" -C metadata=27cd4abcb49f3907 -C extra-filename=-27cd4abcb49f3907 --out-dir C:\projects\capstone-rs\target\debug\build\syn-27cd4abcb49f3907 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling byteorder v1.3.1
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\byteorder-1.3.1\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=ebbf1325d3dfca6a -C extra-filename=-ebbf1325d3dfca6a --out-dir C:\projects\capstone-rs\target\debug\build\byteorder-ebbf1325d3dfca6a -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling either v1.5.2
     Running `rustc --crate-name either C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\either-1.5.2\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=f9d105f5c3dbe38c -C extra-filename=-f9d105f5c3dbe38c --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling itoa v0.4.3
     Running `rustc --crate-name itoa C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\itoa-0.4.3\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=99cae94a92bdcb9c -C extra-filename=-99cae94a92bdcb9c --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling rand_core v0.4.0
     Running `rustc --crate-name rand_core C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\rand_core-0.4.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"alloc\"" --cfg "feature=\"std\"" -C metadata=0892a0de3bad1d93 -C extra-filename=-0892a0de3bad1d93 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling unicode-width v0.1.5
     Running `rustc --crate-name unicode_width C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\unicode-width-0.1.5\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=c9d5aaa72d741875 -C extra-filename=-c9d5aaa72d741875 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling rayon v1.0.3
     Running `rustc --crate-name build_script_build C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\rayon-1.0.3\build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=adb540c86fd463a6 -C extra-filename=-adb540c86fd463a6 --out-dir C:\projects\capstone-rs\target\debug\build\rayon-adb540c86fd463a6 -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling bitflags v1.0.4
     Running `rustc --crate-name bitflags C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\bitflags-1.0.4\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=0045ee2c94ba17d2 -C extra-filename=-0045ee2c94ba17d2 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling cast v0.2.2
     Running `rustc --crate-name cast C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\cast-0.2.2\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=58336001a21f3cbf -C extra-filename=-58336001a21f3cbf --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling nom v1.2.4
     Running `rustc --crate-name nom C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\nom-1.2.4\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"stream\"" -C metadata=8ec7b5cb1e2a2b61 -C extra-filename=-8ec7b5cb1e2a2b61 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
   Compiling uuid v0.3.1
     Running `rustc --crate-name uuid C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\uuid-0.3.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=4bc659ebcd381a4f -C extra-filename=-4bc659ebcd381a4f --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow`
     Running `C:\projects\capstone-rs\target\debug\build\winapi-x86_64-pc-windows-gnu-f0bd9acbca4deed1\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\arrayvec-adaeb219cc332c17\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\libc-011da416c7fdb5f1\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\winapi-4b95a87e261c9293\build-script-build`
   Compiling crossbeam-utils v0.2.2
     Running `rustc --crate-name crossbeam_utils C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-utils-0.2.2\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"use_std\"" -C metadata=6c7be11c744fe5a1 -C extra-filename=-6c7be11c744fe5a1 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern cfg_if=C:\projects\capstone-rs\target\debug\deps\libcfg_if-1860056f3c805a89.rlib --cap-lints allow`
   Compiling log v0.4.6
     Running `rustc --crate-name log C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\log-0.4.6\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"std\"" -C metadata=0146b8f32fbc052c -C extra-filename=-0146b8f32fbc052c --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern cfg_if=C:\projects\capstone-rs\target\debug\deps\libcfg_if-1860056f3c805a89.rlib --cap-lints allow`
   Compiling thread_local v0.3.6
     Running `rustc --crate-name thread_local C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\thread_local-0.3.6\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=4576d4a05dd22db4 -C extra-filename=-4576d4a05dd22db4 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern lazy_static=C:\projects\capstone-rs\target\debug\deps\liblazy_static-4629084c3a51927a.rlib --cap-lints allow`
     Running `C:\projects\capstone-rs\target\debug\build\proc-macro2-d2a701cd7359ab1a\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\ryu-289a34373ce52a51\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\serde-92742d656a0dec5f\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\num-traits-4632f5a4bcb987e4\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\memchr-ef93002d37dc146d\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\rayon-core-d276ffdc4c0fc7c1\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\num-integer-c3b91ded4164b0dc\build-script-build`
     Running `C:\projects\capstone-rs\target\debug\build\syn-27cd4abcb49f3907\build-script-build`
   Compiling itertools v0.8.0
     Running `rustc --crate-name itertools C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\itertools-0.8.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"use_std\"" -C metadata=e959963496db82f1 -C extra-filename=-e959963496db82f1 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern either=C:\projects\capstone-rs\target\debug\deps\libeither-f9d105f5c3dbe38c.rlib --cap-lints allow`
     Running `C:\projects\capstone-rs\target\debug\build\byteorder-ebbf1325d3dfca6a\build-script-build`
   Compiling textwrap v0.10.0
     Running `rustc --crate-name textwrap C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\textwrap-0.10.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=3625c6b5b4b54dbb -C extra-filename=-3625c6b5b4b54dbb --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern unicode_width=C:\projects\capstone-rs\target\debug\deps\libunicode_width-c9d5aaa72d741875.rlib --cap-lints allow`
   Compiling rand_core v0.3.1
     Running `rustc --crate-name rand_core C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\rand_core-0.3.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=659ed1596b02ded4 -C extra-filename=-659ed1596b02ded4 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern rand_core=C:\projects\capstone-rs\target\debug\deps\librand_core-0892a0de3bad1d93.rlib --cap-lints allow`
     Running `rustc --crate-name winapi_x86_64_pc_windows_gnu C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=abf3d674a7052661 -C extra-filename=-abf3d674a7052661 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
     Running `rustc --crate-name arrayvec C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\arrayvec-0.4.10\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=4b566833aba48c79 -C extra-filename=-4b566833aba48c79 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern nodrop=C:\projects\capstone-rs\target\debug\deps\libnodrop-ad51fa014d319da1.rlib --cap-lints allow`
     Running `rustc --crate-name libc C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.2.51\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"use_std\"" -C metadata=4a9afa7e2511f5c8 -C extra-filename=-4a9afa7e2511f5c8 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_core_cvoid --cfg libc_packedN`
   Compiling macho v0.4.1
     Running `rustc --crate-name macho C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\macho-0.4.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=dfdc36610f4159f8 -C extra-filename=-dfdc36610f4159f8 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern nom=C:\projects\capstone-rs\target\debug\deps\libnom-8ec7b5cb1e2a2b61.rlib --extern uuid=C:\projects\capstone-rs\target\debug\deps\libuuid-4bc659ebcd381a4f.rlib --cap-lints allow`
     Running `rustc --crate-name proc_macro2 C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-0.4.27\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=d382c26c52c2ded2 -C extra-filename=-d382c26c52c2ded2 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern unicode_xid=C:\projects\capstone-rs\target\debug\deps\libunicode_xid-8a4e45343e817b25.rlib --cap-lints allow --cfg u128 --cfg use_proc_macro --cfg wrap_proc_macro`
     Running `rustc --crate-name ryu C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\ryu-0.2.7\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=9505c268c489e13b -C extra-filename=-9505c268c489e13b --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow --cfg integer128 --cfg must_use_return`
     Running `rustc --crate-name serde C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\serde-1.0.90\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=3d7f48b81ddd2f1e -C extra-filename=-3d7f48b81ddd2f1e --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow --cfg ops_bound --cfg core_reverse --cfg de_boxed_c_str --cfg de_rc_dst --cfg core_duration --cfg integer128 --cfg range_inclusive --cfg num_nonzero`
     Running `C:\projects\capstone-rs\target\debug\build\rayon-adb540c86fd463a6\build-script-build`
     Running `rustc --crate-name num_traits C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\num-traits-0.2.6\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=12f7e01fc345d130 -C extra-filename=-12f7e01fc345d130 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow --cfg has_i128`
     Running `rustc --crate-name byteorder C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\byteorder-1.3.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=9bac56ab0577b6fd -C extra-filename=-9bac56ab0577b6fd --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --cap-lints allow --cfg byteorder_i128`
   Compiling clap v2.32.0
     Running `rustc --crate-name clap C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\clap-2.32.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=23d64d5edca6f4a2 -C extra-filename=-23d64d5edca6f4a2 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern bitflags=C:\projects\capstone-rs\target\debug\deps\libbitflags-0045ee2c94ba17d2.rlib --extern textwrap=C:\projects\capstone-rs\target\debug\deps\libtextwrap-3625c6b5b4b54dbb.rlib --extern unicode_width=C:\projects\capstone-rs\target\debug\deps\libunicode_width-c9d5aaa72d741875.rlib --cap-lints allow`
     Running `rustc --crate-name winapi C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-0.3.7\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"consoleapi\"" --cfg "feature=\"errhandlingapi\"" --cfg "feature=\"fileapi\"" --cfg "feature=\"minwinbase\"" --cfg "feature=\"minwindef\"" --cfg "feature=\"ntdef\"" --cfg "feature=\"ntsecapi\"" --cfg "feature=\"processenv\"" --cfg "feature=\"profileapi\"" --cfg "feature=\"std\"" --cfg "feature=\"sysinfoapi\"" --cfg "feature=\"timezoneapi\"" --cfg "feature=\"winbase\"" --cfg "feature=\"wincon\"" --cfg "feature=\"winerror\"" --cfg "feature=\"winnt\"" -C metadata=835dc5382778bcfc -C extra-filename=-835dc5382778bcfc --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern winapi_x86_64_pc_windows_gnu=C:\projects\capstone-rs\target\debug\deps\libwinapi_x86_64_pc_windows_gnu-abf3d674a7052661.rlib --cap-lints allow --cfg "feature=\"vadefs\"" --cfg "feature=\"rpcndr\"" --cfg "feature=\"excpt\"" --cfg "feature=\"basetsd\"" --cfg "feature=\"wincred\"" --cfg "feature=\"devpropdef\"" --cfg "feature=\"processthreadsapi\"" --cfg "feature=\"ktmtypes\"" --cfg "feature=\"windef\"" --cfg "feature=\"wingdi\"" --cfg "feature=\"sspi\"" --cfg "feature=\"wtypesbase\"" --cfg "feature=\"lsalookup\"" --cfg "feature=\"wincontypes\"" --cfg "feature=\"cfgmgr32\"" --cfg "feature=\"libloaderapi\"" --cfg "feature=\"vcruntime\"" --cfg "feature=\"ntstatus\"" --cfg "feature=\"subauth\"" --cfg "feature=\"cfg\"" --cfg "feature=\"winreg\"" --cfg "feature=\"guiddef\"" -l dylib=winapi_advapi32 -l dylib=winapi_cfgmgr32 -l dylib=winapi_credui -l dylib=winapi_gdi32 -l dylib=winapi_kernel32 -l dylib=winapi_msimg32 -l dylib=winapi_opengl32 -l dylib=winapi_secur32 -l dylib=winapi_user32 -l dylib=winapi_winspool -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling crossbeam-epoch v0.3.1
     Running `rustc --crate-name crossbeam_epoch C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-epoch-0.3.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"crossbeam-utils\"" --cfg "feature=\"default\"" --cfg "feature=\"lazy_static\"" --cfg "feature=\"use_std\"" -C metadata=17c2fe1a85527fc1 -C extra-filename=-17c2fe1a85527fc1 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern arrayvec=C:\projects\capstone-rs\target\debug\deps\libarrayvec-4b566833aba48c79.rlib --extern cfg_if=C:\projects\capstone-rs\target\debug\deps\libcfg_if-1860056f3c805a89.rlib --extern crossbeam_utils=C:\projects\capstone-rs\target\debug\deps\libcrossbeam_utils-6c7be11c744fe5a1.rlib --extern lazy_static=C:\projects\capstone-rs\target\debug\deps\liblazy_static-4629084c3a51927a.rlib --extern memoffset=C:\projects\capstone-rs\target\debug\deps\libmemoffset-2dbd28371aa2183a.rlib --extern nodrop=C:\projects\capstone-rs\target\debug\deps\libnodrop-ad51fa014d319da1.rlib --extern scopeguard=C:\projects\capstone-rs\target\debug\deps\libscopeguard-9a34a50ca876dc3f.rlib --cap-lints allow`
   Compiling num_cpus v1.10.0
     Running `rustc --crate-name num_cpus C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\num_cpus-1.10.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=cceab27126c8f403 -C extra-filename=-cceab27126c8f403 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern libc=C:\projects\capstone-rs\target\debug\deps\liblibc-4a9afa7e2511f5c8.rlib --cap-lints allow`
     Running `rustc --crate-name memchr C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\memchr-2.2.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"libc\"" -C metadata=f85abeed53cd49a4 -C extra-filename=-f85abeed53cd49a4 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern libc=C:\projects\capstone-rs\target\debug\deps\liblibc-4a9afa7e2511f5c8.rlib --cap-lints allow --cfg memchr_runtime_simd --cfg memchr_runtime_sse2 --cfg memchr_runtime_sse42 --cfg memchr_runtime_avx --cfg memchr_libc`
   Compiling quote v0.6.11
     Running `rustc --crate-name quote C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\quote-0.6.11\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"proc-macro2\"" -C metadata=32e34828527615be -C extra-filename=-32e34828527615be --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern proc_macro2=C:\projects\capstone-rs\target\debug\deps\libproc_macro2-d382c26c52c2ded2.rlib --cap-lints allow`
       Fresh capstone-sys v0.9.1 (C:\projects\capstone-rs\capstone-sys)
     Running `rustc --crate-name num_integer C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\num-integer-0.1.39\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5963083ebf7c4393 -C extra-filename=-5963083ebf7c4393 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern num_traits=C:\projects\capstone-rs\target\debug\deps\libnum_traits-12f7e01fc345d130.rlib --cap-lints allow --cfg has_i128`
   Compiling criterion-plot v0.3.0
     Running `rustc --crate-name criterion_plot C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\criterion-plot-0.3.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=f7c8c4cdc619099a -C extra-filename=-f7c8c4cdc619099a --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern byteorder=C:\projects\capstone-rs\target\debug\deps\libbyteorder-9bac56ab0577b6fd.rlib --extern cast=C:\projects\capstone-rs\target\debug\deps\libcast-58336001a21f3cbf.rlib --extern itertools=C:\projects\capstone-rs\target\debug\deps\libitertools-e959963496db82f1.rlib --cap-lints allow`
   Compiling rand_xoshiro v0.1.0
     Running `rustc --crate-name rand_xoshiro C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\rand_xoshiro-0.1.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=9c54a8b6ed9f05b0 -C extra-filename=-9c54a8b6ed9f05b0 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern byteorder=C:\projects\capstone-rs\target\debug\deps\libbyteorder-9bac56ab0577b6fd.rlib --extern rand_core=C:\projects\capstone-rs\target\debug\deps\librand_core-659ed1596b02ded4.rlib --cap-lints allow`
   Compiling serde_json v1.0.39
     Running `rustc --crate-name serde_json C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\serde_json-1.0.39\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=9a14d18f9ee6acc5 -C extra-filename=-9a14d18f9ee6acc5 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern itoa=C:\projects\capstone-rs\target\debug\deps\libitoa-99cae94a92bdcb9c.rlib --extern ryu=C:\projects\capstone-rs\target\debug\deps\libryu-9505c268c489e13b.rlib --extern serde=C:\projects\capstone-rs\target\debug\deps\libserde-3d7f48b81ddd2f1e.rlib --cap-lints allow`
   Compiling winapi-util v0.1.2
     Running `rustc --crate-name winapi_util C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-util-0.1.2\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=80d2c9f6de3bd9ef -C extra-filename=-80d2c9f6de3bd9ef --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern winapi=C:\projects\capstone-rs\target\debug\deps\libwinapi-835dc5382778bcfc.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling wincolor v0.1.6
     Running `rustc --crate-name wincolor C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\wincolor-0.1.6\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=f49a22d84f297ac0 -C extra-filename=-f49a22d84f297ac0 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern winapi=C:\projects\capstone-rs\target\debug\deps\libwinapi-835dc5382778bcfc.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling time v0.1.42
     Running `rustc --crate-name time C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\time-0.1.42\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=a924d73e75bb1e06 -C extra-filename=-a924d73e75bb1e06 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern libc=C:\projects\capstone-rs\target\debug\deps\liblibc-4a9afa7e2511f5c8.rlib --extern winapi=C:\projects\capstone-rs\target\debug\deps\libwinapi-835dc5382778bcfc.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling rand_os v0.1.3
     Running `rustc --crate-name rand_os C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\rand_os-0.1.3\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=88ba980bdb9b9eb9 -C extra-filename=-88ba980bdb9b9eb9 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern rand_core=C:\projects\capstone-rs\target\debug\deps\librand_core-0892a0de3bad1d93.rlib --extern winapi=C:\projects\capstone-rs\target\debug\deps\libwinapi-835dc5382778bcfc.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling atty v0.2.11
     Running `rustc --crate-name atty C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\atty-0.2.11\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2901294e4afed702 -C extra-filename=-2901294e4afed702 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern winapi=C:\projects\capstone-rs\target\debug\deps\libwinapi-835dc5382778bcfc.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling crossbeam-deque v0.2.0
     Running `rustc --crate-name crossbeam_deque C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\crossbeam-deque-0.2.0\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=736f6bfb83454d96 -C extra-filename=-736f6bfb83454d96 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern crossbeam_epoch=C:\projects\capstone-rs\target\debug\deps\libcrossbeam_epoch-17c2fe1a85527fc1.rlib --extern crossbeam_utils=C:\projects\capstone-rs\target\debug\deps\libcrossbeam_utils-6c7be11c744fe5a1.rlib --cap-lints allow`
   Compiling csv-core v0.1.5
     Running `rustc --crate-name csv_core C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\csv-core-0.1.5\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"libc\"" --cfg "feature=\"memchr\"" -C metadata=7e1f648c5cc10836 -C extra-filename=-7e1f648c5cc10836 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern memchr=C:\projects\capstone-rs\target\debug\deps\libmemchr-f85abeed53cd49a4.rlib --cap-lints allow`
     Running `rustc --crate-name syn C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-0.15.30\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"clone-impls\"" --cfg "feature=\"default\"" --cfg "feature=\"derive\"" --cfg "feature=\"parsing\"" --cfg "feature=\"printing\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"proc-macro2\"" --cfg "feature=\"quote\"" --cfg "feature=\"visit\"" -C metadata=e0d0e285e207afaa -C extra-filename=-e0d0e285e207afaa --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern proc_macro2=C:\projects\capstone-rs\target\debug\deps\libproc_macro2-d382c26c52c2ded2.rlib --extern quote=C:\projects\capstone-rs\target\debug\deps\libquote-32e34828527615be.rlib --extern unicode_xid=C:\projects\capstone-rs\target\debug\deps\libunicode_xid-8a4e45343e817b25.rlib --cap-lints allow --cfg syn_can_use_thread_id --cfg syn_can_call_macro_by_path --cfg syn_disable_nightly_tests`
   Compiling same-file v1.0.4
     Running `rustc --crate-name same_file C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\same-file-1.0.4\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=73fa4783e4b7bf5d -C extra-filename=-73fa4783e4b7bf5d --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern winapi_util=C:\projects\capstone-rs\target\debug\deps\libwinapi_util-80d2c9f6de3bd9ef.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling termcolor v0.3.6
     Running `rustc --crate-name termcolor C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\termcolor-0.3.6\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=d81c8ad02ec9a2ac -C extra-filename=-d81c8ad02ec9a2ac --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern wincolor=C:\projects\capstone-rs\target\debug\deps\libwincolor-f49a22d84f297ac0.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling chrono v0.4.6
     Running `rustc --crate-name chrono C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\chrono-0.4.6\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"clock\"" --cfg "feature=\"default\"" --cfg "feature=\"time\"" -C metadata=d195007ff0713691 -C extra-filename=-d195007ff0713691 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern num_integer=C:\projects\capstone-rs\target\debug\deps\libnum_integer-5963083ebf7c4393.rlib --extern num_traits=C:\projects\capstone-rs\target\debug\deps\libnum_traits-12f7e01fc345d130.rlib --extern time=C:\projects\capstone-rs\target\debug\deps\libtime-a924d73e75bb1e06.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling tinytemplate v1.0.1
     Running `rustc --crate-name tinytemplate C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\tinytemplate-1.0.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0613a065a97f3e67 -C extra-filename=-0613a065a97f3e67 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern serde=C:\projects\capstone-rs\target\debug\deps\libserde-3d7f48b81ddd2f1e.rlib --extern serde_json=C:\projects\capstone-rs\target\debug\deps\libserde_json-9a14d18f9ee6acc5.rlib --cap-lints allow`
     Running `rustc --crate-name rayon_core C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\rayon-core-1.4.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=f96617cf5d2794aa -C extra-filename=-f96617cf5d2794aa --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern crossbeam_deque=C:\projects\capstone-rs\target\debug\deps\libcrossbeam_deque-736f6bfb83454d96.rlib --extern lazy_static=C:\projects\capstone-rs\target\debug\deps\liblazy_static-4629084c3a51927a.rlib --extern libc=C:\projects\capstone-rs\target\debug\deps\liblibc-4a9afa7e2511f5c8.rlib --extern num_cpus=C:\projects\capstone-rs\target\debug\deps\libnum_cpus-cceab27126c8f403.rlib --cap-lints allow`
   Compiling csv v1.0.5
     Running `rustc --crate-name csv C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\csv-1.0.5\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=260fbe1fa6232266 -C extra-filename=-260fbe1fa6232266 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern csv_core=C:\projects\capstone-rs\target\debug\deps\libcsv_core-7e1f648c5cc10836.rlib --extern serde=C:\projects\capstone-rs\target\debug\deps\libserde-3d7f48b81ddd2f1e.rlib --cap-lints allow`
   Compiling walkdir v2.2.7
     Running `rustc --crate-name walkdir C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\walkdir-2.2.7\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ad04de6dc62ad981 -C extra-filename=-ad04de6dc62ad981 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern same_file=C:\projects\capstone-rs\target\debug\deps\libsame_file-73fa4783e4b7bf5d.rlib --extern winapi=C:\projects\capstone-rs\target\debug\deps\libwinapi-835dc5382778bcfc.rlib --extern winapi_util=C:\projects\capstone-rs\target\debug\deps\libwinapi_util-80d2c9f6de3bd9ef.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling stderrlog v0.4.1
     Running `rustc --crate-name stderrlog C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\stderrlog-0.4.1\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e6948239df255622 -C extra-filename=-e6948239df255622 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern chrono=C:\projects\capstone-rs\target\debug\deps\libchrono-d195007ff0713691.rlib --extern log=C:\projects\capstone-rs\target\debug\deps\liblog-0146b8f32fbc052c.rlib --extern termcolor=C:\projects\capstone-rs\target\debug\deps\libtermcolor-d81c8ad02ec9a2ac.rlib --extern thread_local=C:\projects\capstone-rs\target\debug\deps\libthread_local-4576d4a05dd22db4.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling serde_derive v1.0.90
     Running `rustc --crate-name serde_derive C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\serde_derive-1.0.90\src\lib.rs --color never --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=823fee0f4bb80735 -C extra-filename=-823fee0f4bb80735 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern proc_macro2=C:\projects\capstone-rs\target\debug\deps\libproc_macro2-d382c26c52c2ded2.rlib --extern quote=C:\projects\capstone-rs\target\debug\deps\libquote-32e34828527615be.rlib --extern syn=C:\projects\capstone-rs\target\debug\deps\libsyn-e0d0e285e207afaa.rlib --cap-lints allow`
     Running `rustc --crate-name rayon C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\rayon-1.0.3\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=f055f3e52ae8a587 -C extra-filename=-f055f3e52ae8a587 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern crossbeam_deque=C:\projects\capstone-rs\target\debug\deps\libcrossbeam_deque-736f6bfb83454d96.rlib --extern either=C:\projects\capstone-rs\target\debug\deps\libeither-f9d105f5c3dbe38c.rlib --extern rayon_core=C:\projects\capstone-rs\target\debug\deps\librayon_core-f96617cf5d2794aa.rlib --cap-lints allow --cfg has_i128`
   Compiling criterion v0.2.10
     Running `rustc --crate-name criterion C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\criterion-0.2.10\src\lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"criterion-plot\"" --cfg "feature=\"default\"" --cfg "feature=\"html_reports\"" --cfg "feature=\"tinytemplate\"" -C metadata=8f9b262f23c3a2d9 -C extra-filename=-8f9b262f23c3a2d9 --out-dir C:\projects\capstone-rs\target\debug\deps -L dependency=C:\projects\capstone-rs\target\debug\deps --extern atty=C:\projects\capstone-rs\target\debug\deps\libatty-2901294e4afed702.rlib --extern cast=C:\projects\capstone-rs\target\debug\deps\libcast-58336001a21f3cbf.rlib --extern clap=C:\projects\capstone-rs\target\debug\deps\libclap-23d64d5edca6f4a2.rlib --extern criterion_plot=C:\projects\capstone-rs\target\debug\deps\libcriterion_plot-f7c8c4cdc619099a.rlib --extern csv=C:\projects\capstone-rs\target\debug\deps\libcsv-260fbe1fa6232266.rlib --extern itertools=C:\projects\capstone-rs\target\debug\deps\libitertools-e959963496db82f1.rlib --extern lazy_static=C:\projects\capstone-rs\target\debug\deps\liblazy_static-4629084c3a51927a.rlib --extern num_traits=C:\projects\capstone-rs\target\debug\deps\libnum_traits-12f7e01fc345d130.rlib --extern rand_core=C:\projects\capstone-rs\target\debug\deps\librand_core-659ed1596b02ded4.rlib --extern rand_os=C:\projects\capstone-rs\target\debug\deps\librand_os-88ba980bdb9b9eb9.rlib --extern rand_xoshiro=C:\projects\capstone-rs\target\debug\deps\librand_xoshiro-9c54a8b6ed9f05b0.rlib --extern rayon=C:\projects\capstone-rs\target\debug\deps\librayon-f055f3e52ae8a587.rlib --extern serde=C:\projects\capstone-rs\target\debug\deps\libserde-3d7f48b81ddd2f1e.rlib --extern serde_derive=C:\projects\capstone-rs\target\debug\deps\serde_derive-823fee0f4bb80735.dll --extern serde_json=C:\projects\capstone-rs\target\debug\deps\libserde_json-9a14d18f9ee6acc5.rlib --extern tinytemplate=C:\projects\capstone-rs\target\debug\deps\libtinytemplate-0613a065a97f3e67.rlib --extern walkdir=C:\projects\capstone-rs\target\debug\deps\libwalkdir-ad04de6dc62ad981.rlib --cap-lints allow -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
   Compiling capstone v0.5.0 (C:\projects\capstone-rs\capstone-rs)
     Running `rustc --crate-name objdump capstone-rs\examples\objdump.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=3cdd48598c09c304 -C extra-filename=-3cdd48598c09c304 --out-dir C:\projects\capstone-rs\target\debug\examples -C incremental=C:\projects\capstone-rs\target\debug\incremental -L dependency=C:\projects\capstone-rs\target\debug\deps --extern capstone=C:\projects\capstone-rs\target\debug\deps\libcapstone-7e4728c882cf7948.rlib --extern capstone_sys=C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib --extern clap=C:\projects\capstone-rs\target\debug\deps\libclap-23d64d5edca6f4a2.rlib --extern criterion=C:\projects\capstone-rs\target\debug\deps\libcriterion-8f9b262f23c3a2d9.rlib --extern log=C:\projects\capstone-rs\target\debug\deps\liblog-0146b8f32fbc052c.rlib --extern macho=C:\projects\capstone-rs\target\debug\deps\libmacho-dfdc36610f4159f8.rlib --extern stderrlog=C:\projects\capstone-rs\target\debug\deps\libstderrlog-e6948239df255622.rlib -L native=C:\projects\capstone-rs\target\debug\build\capstone-sys-5c18601a55346b2f\out -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
     Running `rustc --crate-name capstone capstone-rs\src\lib.rs --color never --emit=dep-info,link -C debuginfo=2 --test --cfg "feature=\"default\"" -C metadata=5985e6b2d5a5dbb0 -C extra-filename=-5985e6b2d5a5dbb0 --out-dir C:\projects\capstone-rs\target\debug\deps -C incremental=C:\projects\capstone-rs\target\debug\incremental -L dependency=C:\projects\capstone-rs\target\debug\deps --extern capstone_sys=C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib --extern clap=C:\projects\capstone-rs\target\debug\deps\libclap-23d64d5edca6f4a2.rlib --extern criterion=C:\projects\capstone-rs\target\debug\deps\libcriterion-8f9b262f23c3a2d9.rlib --extern log=C:\projects\capstone-rs\target\debug\deps\liblog-0146b8f32fbc052c.rlib --extern macho=C:\projects\capstone-rs\target\debug\deps\libmacho-dfdc36610f4159f8.rlib --extern stderrlog=C:\projects\capstone-rs\target\debug\deps\libstderrlog-e6948239df255622.rlib -L native=C:\projects\capstone-rs\target\debug\build\capstone-sys-5c18601a55346b2f\out -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib`
error: linking with `gcc` failed: exit code: 1
  |
  = note: "gcc" "-Wl,--enable-long-section-names" "-fno-use-linker-plugin" "-Wl,--nxcompat" "-nostdlib" "-m64" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\crt2.o" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "-L" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.12qpdyt9dghggprs.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.14q6u7zcbppwn60.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.15t2xg0llmqdi6lv.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.1aagc7kvqamclbxd.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.1lmxtyjb7hi7r3br.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.1m5lrvu1cu1wrpaz.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.1vt9eu6hxdys0wlk.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.1vz0x3bp4dlfc9eu.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.1w45yzdmskb2ddxw.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.1z3g6mnbxgkbtd6.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.24129ofo1i0qx8f.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.26tu5hne3wey8vda.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.28a65r5rm5igu4p0.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.2g7nfmi0jv8whb3h.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.2rp5vcvlgckchnqf.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.2yu3y6h24ghhv1m2.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.32yo68g82sbu0e8g.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.3fm4daxohmir5bnl.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.3mv9a32i2vyalt30.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.41v07woy1ornvtk9.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.4fh0gg634dym7ypf.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.4ll8v3queul54q1n.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.4on9xd67p5pujqec.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.4s0xsasc95bpjf45.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.4twfijrgb8ttbydp.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.4vuz3yvewuexcuwt.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.54bg8hayl41y8ncj.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.58kytyg73o2b47bt.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.59zovjzyjp044xv8.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.hpl7vk8kc7broo4.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.rdi1d9gxxuccrqt.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.vnca2dvv5pc5r8s.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.yrns3mngm8lq07a.rcgu.o" "-o" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.exe" "C:\\projects\\capstone-rs\\target\\debug\\examples\\objdump-3cdd48598c09c304.42fs0pwo41wlx2y4.rcgu.o" "-Wl,--gc-sections" "-nodefaultlibs" "-L" "C:\\projects\\capstone-rs\\target\\debug\\deps" "-L" "C:\\projects\\capstone-rs\\target\\debug\\build\\capstone-sys-5c18601a55346b2f\\out" "-L" "C:\\Users\\appveyor\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\winapi-x86_64-pc-windows-gnu-0.4.0\\lib" "-L" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "C:\\projects\\capstone-rs\\target\\debug\\deps\\libmacho-dfdc36610f4159f8.rlib" "C:\\projects\\capstone-rs\\target\\debug\\deps\\libuuid-4bc659ebcd381a4f.rlib" "C:\\projects\\capstone-rs\\target\\debug\\deps\\libnom-8ec7b5cb1e2a2b61.rlib" "C:\\projects\\capstone-rs\\target\\debug\\deps\\libcapstone-7e4728c882cf7948.rlib" "C:\\projects\\capstone-rs\\target\\debug\\deps\\libcapstone_sys-52d7a60460abee11.rlib" "-Wl,--start-group" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-624c5a317be2754d.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-cab2e64bb1dacbdf.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libbacktrace_sys-16efdfe4a3a4c43f.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-fa4a670bf7824abe.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-9fb06781b2f8a3d7.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-f8f2aea50b6fa56a.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-88a6ccb33111ec37.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-cb7def351bf84716.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-5681d6b94d2658b2.rlib" "-Wl,--end-group" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-1659f45b0ae5d2dc.rlib" "-Wl,-Bdynamic" "-ladvapi32" "-lws2_32" "-luserenv" "-Wl,-Bstatic" "-lgcc_eh" "-lpthread" "-Wl,-Bdynamic" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmsvcrt" "-luser32" "-lkernel32" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `is_sufficient_code_size':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:927: undefined reference to `__imp___acrt_iob_func'
          C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `reg_bits_hdlr':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:1108: undefined reference to `__imp___acrt_iob_func'
          C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `immediate_hdlr':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:1554: undefined reference to `__imp___acrt_iob_func'
          C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `loop_hdlr':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:1760: undefined reference to `__imp___acrt_iob_func'
          C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `m680x_setup_internals':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:2139: undefined reference to `__imp___acrt_iob_func'

error: aborting due to previous error
error: Could not compile `capstone`.
Caused by:
  process didn't exit successfully: `rustc --crate-name objdump capstone-rs\examples\objdump.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=3cdd48598c09c304 -C extra-filename=-3cdd48598c09c304 --out-dir C:\projects\capstone-rs\target\debug\examples -C incremental=C:\projects\capstone-rs\target\debug\incremental -L dependency=C:\projects\capstone-rs\target\debug\deps --extern capstone=C:\projects\capstone-rs\target\debug\deps\libcapstone-7e4728c882cf7948.rlib --extern capstone_sys=C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib --extern clap=C:\projects\capstone-rs\target\debug\deps\libclap-23d64d5edca6f4a2.rlib --extern criterion=C:\projects\capstone-rs\target\debug\deps\libcriterion-8f9b262f23c3a2d9.rlib --extern log=C:\projects\capstone-rs\target\debug\deps\liblog-0146b8f32fbc052c.rlib --extern macho=C:\projects\capstone-rs\target\debug\deps\libmacho-dfdc36610f4159f8.rlib --extern stderrlog=C:\projects\capstone-rs\target\debug\deps\libstderrlog-e6948239df255622.rlib -L native=C:\projects\capstone-rs\target\debug\build\capstone-sys-5c18601a55346b2f\out -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib` (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: linking with `gcc` failed: exit code: 1
  |
  = note: "gcc" "-Wl,--enable-long-section-names" "-fno-use-linker-plugin" "-Wl,--nxcompat" "-nostdlib" "-m64" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\crt2.o" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "-L" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.10m3i72mqjstcx3b.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.10p2yx0bdsehib8m.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.11fv8eda5pqcguaw.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.14q3ulruqezxzy7d.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.18166wsaw34zl82k.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.184skmt9gk8oqhl7.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.18l40dydoudxz0pj.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.18ux94asrmmnblqj.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.19jjnr2loafdn1ho.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1ani0vtud8kj2wyn.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1ftbd8wvvc62f03j.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1get298icdvwcr55.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1i44fem4byrzmj9d.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1ig866792c5cyxph.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1jy4qn97qdk7yzn4.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1lfoyizeat4af0k0.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1n2b3tvq5shenzpj.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1r7fwbtom3wyp40y.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1s7f6ss9500ivmai.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1sa2f4ivopmg6vux.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1ulxagv440k6uanx.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1v550ih1ke7cymxs.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1w0b3cocb9yl0zxf.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1w20dnd2mfwxr5hd.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1xdrau3rno2sytqo.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.1xtr05pr719aof37.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.201rip75y3kkadmu.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.21bs2ksofor5ld7q.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.21i1pr6ci5jf5lmx.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.21n4m3v74gl649gf.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.27p3bji86fcilevf.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.29dg01lrmmo2u40s.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2a99p4mufhrdiiub.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2ahs9u2qpb1eenhy.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2ak9zb71fwuo8b11.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2cuiua9ygrukqvx5.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2efujtxdhsaykuxb.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2elewyp9n1xd6x03.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2f9nexmcmy3jicdg.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2fw5up3p9sq3jl8x.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2gtlu3l79k99o8lt.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2i2uwkfhrcfw8y36.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2izag1983jddr9w3.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2jcqqp136vq7s4yq.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2jnmnoc4uk4fpvfc.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2lthbwu6ioxsh40g.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2muaj07psracwc8e.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2niiopsj0nqmmgz9.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2pr72ve168ytz4jp.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2pvzdvvd2a41riiq.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2pzlyyomur2hx6tu.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2s18c9cals7fc073.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2s2ik7gq8hr45x6a.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2s6iiby1zdpogc25.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2tzy94cbqkmoiczc.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2un6j49453viesv2.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2vnptmheo8faa6xn.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2xfemtossveplqie.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2yfj3gm8bt6qvwbg.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2yl6fclj0yaje1wq.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.2z3q2by2yvwguwjq.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.30bawwbtvhq5xim6.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.311q64zmdt87mfdm.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.31ipajfntawchbcj.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3343h4dl6kn2elew.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3575so3nukdy2ygj.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.38vnpe96l5p0j6ui.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.397xqh3o9kqh9ghq.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.39pua88b3g7nreuk.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.39zttb52mz324bqu.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3agh1u1momak0aw6.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3b4roatfvo4nxb84.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3dowdo2qfx0yo1fx.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3ffmj8xipsqcfpbh.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3ioicy46u4nzadh6.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3lksd1q5jt8el70t.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3psg4q13g22zf1s3.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3q3g91mbm8rw7gl3.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3uabesog0em1yjpm.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3uoix57jtbavofh8.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3v580oogb02p8g0q.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3v7kr9f73e1opa1c.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3wcro4gdh04laqhg.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3z9lsh77k6eypf1y.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.3zyf7a24f18pg6lx.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4032c53skwr73c56.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.41xsrgfrszziin3n.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.42zraiw2ln57vfqc.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.43bppo5ocnwe69y2.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.44uwm6bodsdejr7v.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.44waqrndlp9flbal.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.45ww3f8f2u0bay63.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.46bp1he2editefg.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.47qxy79nvvtk9nam.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.480s8dsj9kjpn6e5.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.483748d5sswu6jkg.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.48pe0y9ks5s2xjqs.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4a8hshjywop2quua.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4bhgl1f036fvmbzr.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4dh9wuuaumn6bbds.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4eq5oroqanrcfpos.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4gwv5zbpbs0jz5gs.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4lt15ky31o029czr.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4m5m0ce0p8h5u0z9.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4nn9gw9lg8lzpige.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4o4siynnabmfya82.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4o5vqpb5scrqb5su.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4ot8rw0bfpngoepp.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4rpbw8sozyizbfc6.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4t7a9n6944gcfmhd.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4tnbfaphsc4nqzbf.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4umrv65g8c3xco4k.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.4ythrfqkc1nx2omb.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.50nf5sdactmfmvtw.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.51rzdcd5m62gxo76.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.52hftruotqo6a5sk.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.55jsiu785fpoao63.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.56igbr6vf4dy9yp7.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.58r60dt0it5c2y93.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.59819soszuhenpkp.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.5bktqyzcyar2rscl.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.5dvs7h1rr9s2cifp.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.5fkcdi8bkh0psa2q.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.5izyr5s8gnw2rfw.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.6fixdw4mfv8tfly.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.7m9o7k48z9dir7w.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.890nxabah5pbmli.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.8edso1nymxpxrte.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.927cfho6psnikq.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.bewslm10yonqyh9.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.cace2f21unumudk.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.drwtk5vil5r42rt.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.dtks3bk4oowrqyn.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.dxpm1k7247l0s3t.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.ge9xeom9pctk640.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.hapcwixuy54yxc.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.hwhjziulpgas8p6.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.j6hxgom5udv25x1.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.jews8bgqov9pzvq.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.jwhofhywlcmikbc.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.l3k8x3hoqbsxzrc.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.lpdl904yt1ukv12.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.luej5p95bb8n9bu.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.pl4n7dkrtfjtdtg.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.t0cp0p87z7abc3q.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.tcnjuiwj23jxo1m.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.uot6olmpbkwod4c.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.wyc208je3uqy9gw.rcgu.o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.yh8hiw6ptjfe8ry.rcgu.o" "-o" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.exe" "C:\\projects\\capstone-rs\\target\\debug\\deps\\capstone-5985e6b2d5a5dbb0.zbewydi67kjaglz.rcgu.o" "-Wl,--gc-sections" "-nodefaultlibs" "-L" "C:\\projects\\capstone-rs\\target\\debug\\deps" "-L" "C:\\projects\\capstone-rs\\target\\debug\\build\\capstone-sys-5c18601a55346b2f\\out" "-L" "C:\\Users\\appveyor\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\winapi-x86_64-pc-windows-gnu-0.4.0\\lib" "-L" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libtest-ab6caf711a6622dc.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libterm-5b29bc88df0d5c60.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgetopts-990f4e3f0e48b047.rlib" "C:\\projects\\capstone-rs\\target\\debug\\deps\\libcapstone_sys-52d7a60460abee11.rlib" "-Wl,--start-group" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-624c5a317be2754d.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-cab2e64bb1dacbdf.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libbacktrace_sys-16efdfe4a3a4c43f.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-fa4a670bf7824abe.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-9fb06781b2f8a3d7.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-f8f2aea50b6fa56a.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-88a6ccb33111ec37.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-cb7def351bf84716.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-5681d6b94d2658b2.rlib" "-Wl,--end-group" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-1659f45b0ae5d2dc.rlib" "-Wl,-Bdynamic" "-lkernel32" "-ladvapi32" "-lws2_32" "-luserenv" "-Wl,-Bstatic" "-lgcc_eh" "-lpthread" "-Wl,-Bdynamic" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmsvcrt" "-luser32" "-lkernel32" "C:\\Users\\appveyor\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `is_sufficient_code_size':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:927: undefined reference to `__imp___acrt_iob_func'
          C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `reg_bits_hdlr':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:1108: undefined reference to `__imp___acrt_iob_func'
          C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `immediate_hdlr':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:1554: undefined reference to `__imp___acrt_iob_func'
          C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `loop_hdlr':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:1760: undefined reference to `__imp___acrt_iob_func'
          C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib(M680XDisassembler.o): In function `m680x_setup_internals':
          C:\projects\capstone-rs\capstone-sys/capstone/arch/M680X/M680XDisassembler.c:2139: undefined reference to `__imp___acrt_iob_func'

error: aborting due to previous error
error: Could not compile `capstone`.
Caused by:
  process didn't exit successfully: `rustc --crate-name capstone capstone-rs\src\lib.rs --color never --emit=dep-info,link -C debuginfo=2 --test --cfg "feature=\"default\"" -C metadata=5985e6b2d5a5dbb0 -C extra-filename=-5985e6b2d5a5dbb0 --out-dir C:\projects\capstone-rs\target\debug\deps -C incremental=C:\projects\capstone-rs\target\debug\incremental -L dependency=C:\projects\capstone-rs\target\debug\deps --extern capstone_sys=C:\projects\capstone-rs\target\debug\deps\libcapstone_sys-52d7a60460abee11.rlib --extern clap=C:\projects\capstone-rs\target\debug\deps\libclap-23d64d5edca6f4a2.rlib --extern criterion=C:\projects\capstone-rs\target\debug\deps\libcriterion-8f9b262f23c3a2d9.rlib --extern log=C:\projects\capstone-rs\target\debug\deps\liblog-0146b8f32fbc052c.rlib --extern macho=C:\projects\capstone-rs\target\debug\deps\libmacho-dfdc36610f4159f8.rlib --extern stderrlog=C:\projects\capstone-rs\target\debug\deps\libstderrlog-e6948239df255622.rlib -L native=C:\projects\capstone-rs\target\debug\build\capstone-sys-5c18601a55346b2f\out -L native=C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-x86_64-pc-windows-gnu-0.4.0\lib` (exit code: 1)
Command exited with code 101

However, I have been able to cross-compile for x86_64-pc-windows-gnu from an Ubuntu 18.04 host:

  1. Installing toolchain/wine: apt-get install g++-mingw-w64-x86-64 wine
  2. Setting ~/.cargo/config:
    [target.x86_64-pc-windows-gnu]
    linker = "x86_64-w64-mingw32-gcc"
    ar = "x86_64-w64-mingw32-gcc-ar"
  3. Build test binaries:
    cargo test --target=x86_64-pc-windows-gnu
        Finished dev [unoptimized + debuginfo] target(s) in 0.12s
         Running target/x86_64-pc-windows-gnu/debug/deps/capstone-e3abe0e98ae3c2a7.exe
    run-detectors: unable to find an interpreter for target/x86_64-pc-windows-gnu/debug/deps/capstone-e3abe0e98ae3c2a7.exe
    error: test failed, to rerun pass '-p capstone --lib'
  4. Run with wine:
    wine target/x86_64-pc-windows-gnu/debug/deps/capstone-e3abe0e98ae3c2a7.exe
tmfink commented 5 years ago

Related upstream rust issue: https://github.com/rust-lang/rust/issues/47048