infinyon / node-bindgen

Easy way to write Node.js module using Rust
Apache License 2.0
529 stars 44 forks source link

linking with `link.exe` failed: exit code: 1120 #149

Closed DmitryAstafyev closed 3 years ago

DmitryAstafyev commented 3 years ago

Some build issues with windows 10

$ nj-cli build
warning: unused variable: `matched_lines`
...cut...
warning: unused variable: `out_file_path`
...cut...
warning: unused variable: `sink`
...cut...
warning: variable does not need to be mutable
...cut...
warning: function is never used: `identify_start_slot`
...cut...
warning: 5 warnings emitted

   Compiling node-bindings v0.1.0 (C:\Users\winuser\project)
warning: unused import: `Grabber`
...cut...
warning: unused import: `anyhow::Result`
...cut...
warning: unused import: `LevelFilter`
...cut...
warning: unused imports: `fs`, `io::prelude::*`
...cut...
warning: unused variable: `shutdown_tx`
...cut...
warning: type alias is never used: `AsyncOneshotChannel`
...cut...
warning: struct is never constructed: `SessionState`
...cut...
warning: field is never read: `callback`
...cut...
warning: field is never read: `search_metadata_channel`
...cut...
warning: enum is never used: `GrabberKind`
...cut...
warning: function is never used: `compute`
...cut...
error: linking with `link.exe` failed: exit code: 1120
  |
  = note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.118uzisgxtkhcmq.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.12v4i7868p2zmx6b.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.14ix8nrh9nj7yqg2.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.16mf8x8xpahuz50i.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.18r90t3rrg2ugkju.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.19qj8bsq5b6ns13n.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1aqcb2euevrd85ct.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1bknt0a115keqabb.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1blwk38awwilkeae.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1civ0k2zc2gxelrb.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1cxy27kcqm6l5w7b.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1dpfrajo8npqvvgq.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1jep8530lu4h9x98.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1kxuiu5ehw6tl1rj.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1mfungfhf2xtnqsg.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1mxp1j22r58y2rs1.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1pmi9cdwzlc7qlry.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1pmw9grh2gbf5pav.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1rcfoa5vmlsziahq.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1vp4puy7ft1gte78.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1zwbbvr22qz1r9hy.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.1zxx1u3mees3acyu.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.213n80brwcvwu9xc.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.23hz09u2kjs7x4qr.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.23jir5gh0f1kdt37.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.293sgz13jq7ozloy.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.29c6lx4a03fmhkwy.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2cc6zimvq7qmx7tj.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2dfmvy5d9hxgtypg.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2dxz6bsg826klu0v.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2ei5cmzw6oqsqjcq.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2el9kwk4optzrw2m.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2fy1jjc3jw94wo4s.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2h57w35n9of4pjnz.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2id7grinus1ijwvu.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2j5u88zjbysmrasa.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2kgf14kfv7stlpru.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2kn5hgnpa322c64b.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2laf2zdnuicxw1ei.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2nobyryipm3ww79a.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2nps9l86hfi1gbzo.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2p5kk4wwh7tbvc4u.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2qhwyfaigu6ebdr.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2rkyhdmsddvq4oza.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2trbrm37pfy78v30.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2ud3whh1s8l2uxvp.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2wsi32uqrz264wcb.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.2xvfsctpm7ojgend.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.30xd1nbu4puv19lj.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.310tokcnfxkxf2mq.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.33wdops87905e7hw.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.34fzr2s4ocq8z0nt.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.358mzo228e9v6pej.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.364hsv6a6awz1ukl.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.396zoglqvq0slgp7.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.39hu2ml4a86fg8q0.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3a3iqx246405hnti.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3a4s9rgpa522qzuz.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3ctgfdgn1sivj8qb.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3e86fvmtbspuntx0.rcgu.o" 
"C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3etfdokfzwtgtbi.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3l2jvdtth488evzc.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3mnnjbahdw0llgc4.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3n8mlzt2qmva7xc.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3q34p6fjf3oq6sfp.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3rr0tsweqljide1r.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3s3gs77awu1jnw3t.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3s4ro1asbfkbf05y.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3skpe5w1lw335o1k.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3v00sa7htuczmmsy.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.3wvjxo85mjay4ehm.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.46cdti67iolzptl9.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.46rh8hszodgz55f8.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.47pii5z44omx07od.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.47ttxs57kvswtqpy.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.47v8em2apb4xdzit.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4871ayg74rhz68v.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4c0g9rzt4cpsst0n.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4cia99pqm7vydlq2.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4cxopjwrrui1zn45.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4d2bdro3cztfqmuo.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4ezwfpthjg8w6ti4.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4f0auor0apnjzekj.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4g0ari2pj2690843.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4h0mez9xivhg3e5h.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4h8psbioa2kr9rc6.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4jrk15wkkumyjfva.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4nslqa8x4y1oegm4.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4oo2c5k6bpv0mjty.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4pm54ykd2mq3gl28.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4tka87j9ys5kfyq2.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4vhmij94lzimzts2.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4wbgu4ul91btcm0a.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4xdmmjypsa9veqrd.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4xgm0j79lh9xpjli.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4xhipgax8aok0828.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4xwl5qo3fd88rjnz.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4z1ixgb861q726z0.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.4zn184fdacczsq33.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.50t1jggo6ho231oe.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.5262ohz1pvrtdsdc.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.53a1ihk761fsy6aq.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.567udgphcmqlrqw1.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.58yflld4vd2jmk0h.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.59s2jleawnuhdzj4.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.5cz4zibdykmn7a39.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.5dbpwsqu3hkgpt92.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.5fo4qpbzbas9mfzx.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.bg1jmlp8mtygwp4.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.bgwf4t6mujiux9g.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.hfiei51z5f7qdbe.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.if4s5bte3fe63v2.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.jqvqhnvdww3lqta.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.k1phwjua8vmxjvs.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.k52ya8z8rtmvsv3.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.lakss0np8zuwf18.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.llrx1bn5y0dn8px.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.lttehsfw6a20fgk.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.mgflgr5helk6pxx.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.nf3j2qpabcax5lk.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.ntb7hjshlu8vje2.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.p4iyfj12ldcbbkt.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.roh9o1gtvm1z3n2.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.shh1hrkcks6zbks.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.wq412sezayns2i4.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.yr34wzhxou4lvv7.rcgu.o" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.zckgx6i8g18d765.rcgu.o" "/OUT:C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.dll" "/DEF:C:\\Users\\winuser\\AppData\\Local\\Temp\\rustc1symGa\\lib.def" "C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.218l19t4eeltdse7.rcgu.o" "/OPT:REF,NOICF" "/DLL" "/IMPLIB:C:\\Users\\winuser\\project\\target\\debug\\deps\\node_bindings.dll.lib" "/DEBUG" "/NATVIS:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:C:\\Users\\winuser\\project\\target\\debug\\deps" "/LIBPATH:C:\\Users\\winuser\\AppData\\Local\\Temp\\" "/LIBPATH:C:\\Users\\winuser\\project\\target\\debug\\build\\wepoll-sys-1b49fda8b3b9c1d8\\out\\wepoll-build" "/LIBPATH:C:\\Users\\winuser\\project\\target\\debug\\build\\wepoll-sys-1b49fda8b3b9c1d8\\out\\wepoll-build" "/LIBPATH:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "node-v12.14.0.lib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libprocessor-fd7fb8fa4a58553b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbincode-6684ae9927f18494.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libitertools-a2d102ffda62effd.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libeither-00921ea79704f0ac.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libgrep_regex-bafb980c0b9c6ac6.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libgrep_printer-f57579af4a50e8fd.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtermcolor-8796fdf3d593ed5e.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libwinapi_util-b2f23951fcc3ced4.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libgrep_searcher-407a8cf393d98054.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmemmap-c5e5443dacbb26db.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbytecount-f789a9497fee5298.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libgrep_matcher-4bed5d29bddcd892.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbstr-7bc846b8b8573ac6.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbase64-b562966fdf3622a9.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libencoding_rs_io-30d6efb6f089de1b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libdlt-ef2eb4fdc768023a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libhumantime-8f6ef65b423c5b48.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libquick_xml-359bfc43d50b3654.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libpcap_parser-31f949d5b1461854.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libcircular-c468b5dff746bb53.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librusticata_macros-2d71bdd0de4e1f19.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libetherparse-febde1ae430a4a87.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnom-e58cc923d1f0fc09.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\liblexical_core-b3e52e6291b7d5b2.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libarrayvec-b7b993cbc3d6a76a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libstatic_assertions-2aa8d67692f752cf.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtokio_util-48d76bd858ef609d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtokio_stream-3607ea74481b3374.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libproptest-09ba5bb0dc75cde1.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librand_xorshift-b1774a1107202278.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librand-a0ff2f411e56968d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librand_chacha-74a3b93c17fd9de7.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librand_core-b967fe6300e1f3c6.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libgetrandom-959ab84cada10ef0.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librusty_fork-7141d620a60e28f0.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libwait_timeout-20a494258a3a8cb4.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtempfile-4b1e486d65a777ab.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librand-69d5421ac804f93b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librand_chacha-bbae5b7271b4e384.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libppv_lite86-97b51cd32a044631.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librand_core-8e45b28b50cce0cb.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libremove_dir_all-09156f7d9a2b13f4.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libquick_error-3440b3f4d537447f.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbit_set-484fa3f61078a5de.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbit_vec-880d18db0c53c907.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbitflags-146e8a1cc02eed3d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libdirs-942c02b648202d6b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libdirs_sys-df1768e85093228c.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbuf_redux-994f665323cf4598.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libslice_deque-94e908a390c64a84.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libsafemem-c5927d849575a9df.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnode_bindgen-c0e98e8d2453398f.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnj_build-8c93e062d8b82ff8.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libreqwest-31d38633fa44747a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libhyper_tls-e16b67fcf92d4dfd.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libwinreg-cc38e7f3d4fe152f.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libipnet-6676a8ab8bbb4952.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtokio_tls-45846dcda03336a7.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libserde_urlencoded-fc6e685a025dc1a1.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libencoding_rs-793b6ba96293a87a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbase64-003af79048a81aef.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmime_guess-5880aa2434e1039b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libunicase-3abf73ac0d12ea23.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmime-cd83f6a2624f88da.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnative_tls-bca59fb364e36e9e.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libschannel-0ff00458d74a5bd0.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libhyper-3ca4beffce309a06.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libhttparse-b9d82835f9ba427d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libwant-e2d5c760936a6480.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtry_lock-cb127b00c9744615.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libh2-9b2d17bc35f9422a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtracing_futures-313575350e837921.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libpin_project-b2b76b942a04c3d7.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libindexmap-2fb340dd8df7238f.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libhashbrown-21ef59edbddc9933.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtokio_util-a5d674ec402c879a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libhttpdate-1eb49082d92aaf76.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtower_service-bbcbaf0006f7e90d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtokio-59c431f927f39faf.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmio-f8bbef937f1e51c5.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmiow-f7b0c2b220a18eb7.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libws2_32-c5e490487b7a70c1.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libkernel32-0d0abb1e41602f67.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libwinapi-a35ff63e844fa5ff.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libiovec-2fd0cace9be1e854.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnet2-23086efa53c8b8fa.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libpin_project_lite-d4cb0988e9852307.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libhttp_body-464c2ff8a011f642.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbytes-c166c72d0ce8117d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfutures_util-3988ccb214214240.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libslab-3a8d67ecc412796e.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfutures_channel-04ab38d00b967ed1.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfutures_sink-c1d16ee8fb53322b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfutures_task-5482a062ba40da76.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\liburl-89dc6b9eea3e62ee.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libidna-6edfe251a0ac5098.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libunicode_normalization-35e0c239409c6995.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtinyvec-fd45277695e8f123.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtinyvec_macros-6110a075a952a66c.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libunicode_bidi-533d37360d61cf1a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libform_urlencoded-d10af0eb4dc0f481.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libpercent_encoding-ea45986c3d235661.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmatches-09e31b197a8697b4.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libhttp-8d7bd8fa23cd210b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfnv-c9f5ea0546108f4c.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libcc-b85bd492437aa454.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnj_core-137f848be01017d1.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libpin_utils-a81641621cd25b13.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnum_bigint-51c48e1e7e20058d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libinventory-09feeae9216396fe.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfluvio_future-b3e16b4e507ebdaf.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtracing_subscriber-2de6b1b98f3729f8.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libchrono-99bcd20d1056ca66.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnum_integer-e9156e0353e6b55a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnum_traits-03a3b69b7beeddc2.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtime-783bb4e70728d9c4.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libsharded_slab-86c87dd2368353d4.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtracing_serde-5bd6aa6c36f0f51e.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtracing_log-e26985bfc18ed4d3.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libansi_term-7d024fd07dc37787.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtracing-9eff33bd40543c8c.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmatchers-8ac11f8567364775.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libregex_automata-4c9cd2b1974555a4.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbyteorder-869b57f186f3583a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libregex-cd9ef96f46c7b5c0.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libthread_local-02b7ed31f74e6ddf.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libregex_syntax-7abe1185545bbf04.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libaho_corasick-41acda8c05f4a61a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtracing_core-34c0c2ca4a61bbf3.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libpin_project-efbc98b2dacd51c4.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libasync_std-8336270b6b9991ba.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libasync_global_executor-7dbc21cbaef2f774.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libblocking-4da2f0229da04e1d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libatomic_waker-1517af38b7acb6a5.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libasync_mutex-78950907cf1a4340.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libasync_executor-96a8e3e4a540ffde.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libasync_task-3c2831e5abc79413.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libasync_io-dfc3ed41719cd2c5.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnb_connect-d5053983053e6c5f.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libvec_arena-45aa4d45ce6c9924.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libpolling-7ae00b957b9b2d90.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libwepoll_sys-754b7243aba1b39d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libcfg_if-ba1270ecc2a1ac35.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libasync_channel-cee789d626544a0d.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libconcurrent_queue-56e53ca1dbc084f2.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libcache_padded-b04286912de0e499.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libasync_lock-b222725f2bc8e279.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libevent_listener-5938eb334a76d4f2.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libkv_log_macro-9e0499f01308f775.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfutures_lite-90d93fa6091bbe3f.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfastrand-1951d5125838d7b9.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfutures_io-e979fe2c456aed3a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libfutures_core-558838fb4ca9eeb0.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libwaker_fn-3df311b24281a31b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libparking-9cacdf3c7d05da10.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnj_sys-134edf51604e8a9f.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\liblibc-d7815cc8cc5bac5c.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libuuid-0d917921ec8a14dd.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libgetrandom-ea3eb9c824acb28c.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libtokio-d517970864cd93f6.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libnum_cpus-3376505bc6f00b02.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmemchr-94b837f3a6bd5711.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libonce_cell-791e2d21721e42ae.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libbytes-fbd7af1b035efdc5.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmio-638baa935c90f70a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libmiow-ad9e1f26fae76d10.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libsocket2-b92109382aedfdc9.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libntapi-005a371fed906baf.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libpin_project_lite-e3d1eda9decedaec.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libparking_lot-da0ac4005cf6881e.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libparking_lot_core-635c14ade254a941.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libwinapi-0d732e370e687fc0.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libsmallvec-c75284af7a9842a5.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\liblock_api-70563ba460acd036.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libscopeguard-189d2fb69761c2d2.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libinstant-11ee398c4cd30ddc.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libthiserror-2a799c41df6e83e5.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libindexer_base-fe28d13582e29629.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libserde_json-ed21c5c1e78c4a8c.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libryu-2f8ee480d447e5ad.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libitoa-2b762db6570df53a.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\librustc_hash-b9a54b7d7090de55.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libserde-97718f0b3909ac8c.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libanyhow-7006a5f59fa3dd6b.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\liblog-99ddb3ec4041e640.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libvalue_bag-615082bda18c2f48.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libcrossbeam_channel-f571eea540c0a54e.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libcrossbeam_utils-94e9c9317b819eac.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\liblazy_static-d8f2cce8f9c0e45e.rlib" "C:\\Users\\winuser\\project\\target\\debug\\deps\\libcfg_if-d8338c77c5c396c1.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-1feb4ba9912f83e4.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-10caf631bf17818d.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-5f5b841e7dcb5069.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-886e42042440a542.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-fc3dfd2deda68757.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-4765baa3d9fc6a1b.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-2af04b7075550e2b.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-9f4eae3434a19b51.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-14b08c3097e998dc.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-9c0450bb353ef0cc.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-4856f32e5e48bded.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-0f66c8d6b2ebbbc4.rlib" "advapi32.lib" "ws2_32.lib" "kernel32.lib" "advapi32.lib" "ole32.lib" "oleaut32.lib" "bcrypt.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" 
"ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "ntdll.lib" "advapi32.lib" "bcrypt.lib" "cfgmgr32.lib" "credui.lib" "crypt32.lib" "cryptnet.lib" "fwpuclnt.lib" "gdi32.lib" "kernel32.lib" "msimg32.lib" "mswsock.lib" "ncrypt.lib" "ntdll.lib" "ole32.lib" "opengl32.lib" "secur32.lib" "shell32.lib" "synchronization.lib" "user32.lib" "winspool.lib" "ws2_32.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib" "/DELAYLOAD:node.exe" "/INCLUDE:__pfnDliNotifyHook2" "delayimp.lib"
  = note:    Creating library C:\Users\winuser\project\target\debug\deps\node_bindings.dll.lib and object C:\Users\winuser\project\target\debug\deps\node_bindings.dll.exp
          libnj_core-137f848be01017d1.rlib(nj_core-137f848be01017d1.nj_core.cllfqk7q-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol napi_detach_arraybuffer referenced in function _ZN7nj_core5basic5JsEnv18detach_arraybuffer17hb5a032d1d0835ccbE
          libnj_core-137f848be01017d1.rlib(nj_core-137f848be01017d1.nj_core.cllfqk7q-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol napi_is_detached_arraybuffer referenced in function _ZN7nj_core5basic5JsEnv23is_detached_arraybuffer17hac0b8773685e1505E
          C:\Users\winuser\project\target\debug\deps\node_bindings.dll : fatal error LNK1120: 2 unresolved externals

error: aborting due to previous error; 11 warnings emitted

error: could not compile `node-bindings`.

To learn more, run the command again with --verbose.
thread 'main' panicked at 'copy failed of "C:\\Users\\winuser\\project\\target\\debug\\node_bindings.dll": Os { code: 2, kind: NotFound, message: "The system 
cannot find the file specified." }', C:\Users\winuser\.cargo\registry\src\github.com-1ecc6299db9ec823\nj-cli-0.4.0\src\main.rs:144:41
stack backtrace:
   0:     0x7ff6d4edbd79 - <unknown>
   1:     0x7ff6d4ef757b - <unknown>
   2:     0x7ff6d4ed7614 - <unknown>
   3:     0x7ff6d4edec7b - <unknown>
   4:     0x7ff6d4ede8b9 - <unknown>
   5:     0x7ff6d4edf45f - <unknown>
   6:     0x7ff6d4edefc5 - <unknown>
   7:     0x7ff6d4edc62f - <unknown>
   8:     0x7ff6d4edef79 - <unknown>
   9:     0x7ff6d4ef5d60 - <unknown>
  10:     0x7ff6d4ef5b93 - <unknown>
  11:     0x7ff6d4e2141a - <unknown>
  12:     0x7ff6d4e17836 - <unknown>
  13:     0x7ff6d4e1784c - <unknown>
  14:     0x7ff6d4edf666 - <unknown>
  15:     0x7ff6d4e228b7 - <unknown>
  16:     0x7ff6d4efe084 - <unknown>
  17:     0x7ffc319e7c24 - BaseThreadInitThunk
  18:     0x7ffc3304d721 - RtlUserThreadStart

Versions

$ nj-cli --version
node-bindgen cli 0.4.0

$ rustc --version
rustc 1.51.0 (2fd73fabe 2021-03-23)

$ node --version
v12.14.0

$ npm --version
6.13.4

Platform

OS Name:                   Microsoft Windows 10 Home
OS Version:                10.0.18363 N/A Build 18363

Latest 64-bit runtime Visual C++ Redistributable for Visual Studio has been installed as well

nicholastmosher commented 3 years ago

Hi @DmitryAstafyev, thanks for the report! Is this reproducible with any of the examples in this repository, or do you have an example project that you can link to where this may be reproduced? I'll have to switch over to Windows on Bootcamp later to test this out and it'd be helpful to have a case to try out :) I'll report back when I have a chance to look at this, hopefully in the next few days

DmitryAstafyev commented 3 years ago

Hello @nicholastmosher . Thanks for your response. Issue can be reproduced with some of your examples (or all, didn't check).

winuser@win-pc ~/projects/node-bindgen (master)
$ cd examples/

winuser@win-pc ~/projects/node-bindgen/examples (master)
$ cd class-async/

winuser@win-pc ~/projects/node-bindgen/examples/class-async (master)
$ nj-cli build
    Updating crates.io index
  Downloaded async-channel v1.6.1
  Downloaded byteorder v1.4.3
  Downloaded futures-core v0.3.13
  Downloaded nb-connect v1.0.3
  Downloaded pin-project-internal v1.0.5
  Downloaded crossbeam-utils v0.8.3
  Downloaded thiserror-impl v1.0.24
  Downloaded async-trait v0.1.48
  Downloaded regex-syntax v0.6.23
  Downloaded tracing-subscriber v0.2.16
  Downloaded http_req v0.7.2
  Downloaded regex v1.4.4
  Downloaded once_cell v1.7.2
  Downloaded tracing-attributes v0.1.14
  Downloaded futures-io v0.3.13
  Downloaded syn v1.0.63
  Downloaded serde v1.0.124
  Downloaded ctor v0.1.19
  Downloaded tracing v0.1.25
  Downloaded fluvio-future v0.2.0
  Downloaded num-bigint v0.4.0
  Downloaded pin-project-lite v0.2.6
  Downloaded thiserror v1.0.24
  Downloaded cc v1.0.67
  Downloaded pin-project v1.0.5
  Downloaded thread_local v1.1.3
  Downloaded tracing-log v0.1.2
  Downloaded libc v0.2.88
  Downloaded 28 crates (2.1 MB) in 5.51s
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.63
   Compiling winapi v0.3.9
   Compiling autocfg v1.0.1
   Compiling lazy_static v1.4.0
   Compiling memchr v2.3.4
   Compiling value-bag v1.0.0-alpha.6
   Compiling cfg-if v1.0.0
   Compiling log v0.4.14
   Compiling cc v1.0.67
   Compiling pin-project-lite v0.2.6
   Compiling futures-core v0.3.13
   Compiling libc v0.2.88
   Compiling cache-padded v1.1.1
   Compiling once_cell v1.7.2
   Compiling regex-syntax v0.6.23
   Compiling parking v2.0.0
   Compiling futures-io v0.3.13
   Compiling event-listener v2.5.1
   Compiling fastrand v1.4.0
   Compiling waker-fn v1.1.0
   Compiling serde v1.0.124
   Compiling ryu v1.0.5
   Compiling cfg-if v0.1.10
   Compiling vec-arena v1.0.0
   Compiling async-task v4.0.3
   Compiling serde_json v1.0.64
   Compiling atomic-waker v1.0.0
   Compiling byteorder v1.4.3
   Compiling version_check v0.9.3
   Compiling native-tls v0.2.7
   Compiling itoa v0.4.7
   Compiling pin-utils v0.1.0
   Compiling inventory v0.1.10
   Compiling async-trait v0.1.48
   Compiling slab v0.4.2
   Compiling smallvec v1.6.1
   Compiling nj-sys v3.0.0 (C:\Users\winuser\projects\node-bindgen\nj-sys)
   Compiling tracing-core v0.1.17
   Compiling sharded-slab v0.1.1
   Compiling concurrent-queue v1.2.2
   Compiling thread_local v1.1.3
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.44
   Compiling crossbeam-utils v0.8.3
   Compiling num-bigint v0.4.0
   Compiling async-mutex v1.4.0
   Compiling async-lock v2.3.0
   Compiling unicase v2.6.0
   Compiling async-channel v1.6.1
   Compiling regex-automata v0.1.9
   Compiling wepoll-sys v3.0.1
   Compiling futures-lite v1.11.3
   Compiling aho-corasick v0.7.15
   Compiling num_cpus v1.13.0
   Compiling quote v1.0.9
   Compiling matchers v0.0.1
   Compiling async-executor v1.4.0
   Compiling blocking v1.0.2
   Compiling regex v1.4.4
   Compiling tracing-serde v0.1.2
   Compiling socket2 v0.3.19
   Compiling schannel v0.1.19
   Compiling ansi_term v0.12.1
   Compiling chrono v0.4.19
   Compiling Inflector v0.11.4
   Compiling nb-connect v1.0.3
   Compiling http_req v0.7.2
   Compiling nj-build v0.2.3 (C:\Users\winuser\projects\node-bindgen\nj-build)
   Compiling ctor v0.1.19
   Compiling tracing-attributes v0.1.14
   Compiling thiserror-impl v1.0.24
   Compiling pin-project-internal v1.0.5
   Compiling ghost v0.1.2
   Compiling inventory-impl v0.1.10
   Compiling nj-derive v3.2.0 (C:\Users\winuser\projects\node-bindgen\nj-derive)
   Compiling polling v2.0.2
   Compiling kv-log-macro v1.0.7
   Compiling tracing-log v0.1.2
   Compiling thiserror v1.0.24
   Compiling async-io v1.3.1
   Compiling tracing v0.1.25
   Compiling pin-project v1.0.5
   Compiling tracing-subscriber v0.2.16
   Compiling async-global-executor v2.0.2
   Compiling async-std v1.9.0
   Compiling fluvio-future v0.2.0
   Compiling nj-core v4.3.0 (C:\Users\winuser\projects\node-bindgen\nj-core)
   Compiling node-bindgen v4.3.0 (C:\Users\winuser\projects\node-bindgen)
   Compiling nj-example-class-async v0.1.0 (C:\Users\winuser\projects\node-bindgen\examples\class-async)
error: linking with `link.exe` failed: exit code: 1120
  |
  = note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.28.29910\\bin\\HostX64\\x64\\link.
exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-win
dows-msvc\\lib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.10e764kn82iza22x.rcgu
.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.111rby2q8vb9nhxg.rcgu.o" "C:\\Use
rs\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.13i3hdq2y8kub1y7.rcgu.o" "C:\\Users\\winuser\\
projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.14i1ojcwpn0jnb4v.rcgu.o" "C:\\Users\\winuser\\projects\\no
de-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.164ddlpx93reiuo8.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\
examples\\target\\debug\\deps\\nj_example_class_async.17lero0xwu8u027u.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\ta
rget\\debug\\deps\\nj_example_class_async.1awgar9p6zfrwyc6.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\
\deps\\nj_example_class_async.1d6re1vlrk6wh3zs.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_ex
ample_class_async.1d93bu3mrkd22dgq.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_
async.1m6i2hpf58tt8igt.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.1mdamp
1lql1nk29f.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.1q4qekycq0m39l6p.r
cgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.1qm3k48d95oijcmf.rcgu.o" "C:\\
Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.1tas837nyfs7u2br.rcgu.o" "C:\\Users\\dmitr
y\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.1xtkyfstvxf5r63.rcgu.o" "C:\\Users\\winuser\\projects\\
node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.1zshokswoz17t2o4.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen
\\examples\\target\\debug\\deps\\nj_example_class_async.22mzk3njjcuat2ss.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\
target\\debug\\deps\\nj_example_class_async.26eau4dgf7qlkvz7.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debu
g\\deps\\nj_example_class_async.2dg7c7f42ocwjcoc.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_
example_class_async.2ifx0uorv23ks9uq.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_clas
s_async.2soo2o5v84y05qsv.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.2u7b
9ara2ml77tsy.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.2yjv3mofmohvytww
.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.328nz5v3t6klpgzz.rcgu.o" "C:
\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.36c203v9n6hoi13f.rcgu.o" "C:\\Users\\dmi
try\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.37ypw6gts31w9rey.rcgu.o" "C:\\Users\\winuser\\project
s\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.3b48qks5bdczhw2j.rcgu.o" "C:\\Users\\winuser\\projects\\node-bind
gen\\examples\\target\\debug\\deps\\nj_example_class_async.3bhjmjbtai9an66r.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\example
s\\target\\debug\\deps\\nj_example_class_async.3goil3rxe41350x.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\de
bug\\deps\\nj_example_class_async.3ktunynd31sa3xow.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\n
j_example_class_async.3tv60g9856aagc53.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_cl
ass_async.3ukwdjkvf9kcmdmp.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.3w
aglp2q6tkdsy0d.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.3wbixmaqjds29j
3s.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.3zdj9lrvrndd4x2m.rcgu.o" "
C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.45u5hbluklgbnlmi.rcgu.o" "C:\\Users\\d
mitry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.4e693i5sh5el3nq9.rcgu.o" "C:\\Users\\winuser\\proje
cts\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.4htl1n8qg1y2jitk.rcgu.o" "C:\\Users\\winuser\\projects\\node-bi
ndgen\\examples\\target\\debug\\deps\\nj_example_class_async.4i3znhysd321a10a.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examp
les\\target\\debug\\deps\\nj_example_class_async.4jurtcwuor3hnkgb.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\
\debug\\deps\\nj_example_class_async.4jw2nbdtaxa9jonp.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps
\\nj_example_class_async.4p9vo570sce1qtv.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_
class_async.4tua5c9g4wxy484a.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.
4zyq94ccnxn4n7dl.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.52xpt8xi2a67
0sdq.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.55mkrn9kuwmwnns2.rcgu.o"
 "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.5680z0izwy36x5v9.rcgu.o" "C:\\Users\
\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.577r1vo6387ofhvv.rcgu.o" "C:\\Users\\winuser\\pro
jects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.5b7wneb1zzdqxcv9.rcgu.o" "C:\\Users\\winuser\\projects\\node-
bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.5bj9zlolzz5y5x90.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\exa
mples\\target\\debug\\deps\\nj_example_class_async.5dkuiobrbrc197pt.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\targe
t\\debug\\deps\\nj_example_class_async.5dppijwo3ie6ytqy.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\de
ps\\nj_example_class_async.5fg5l3ynosa4y65e.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_examp
le_class_async.5gnj6g1ea9admewy.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_asy
nc.dxw410hmehdu5oo.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.ejc057d0n1
r71iv.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.o6jcoljqnds7g2s.rcgu.o"
 "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.tlvlgpk05dg3tv5.rcgu.o" "C:\\Users\\
winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.xkktmdzshkih7qz.rcgu.o" "/OUT:C:\\Users\\winuser\\
projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.dll" "/DEF:C:\\Users\\winuser\\AppData\\Local\\Temp\\rustc
ghCGal\\lib.def" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.3yaux56mu0qau3wn.rcg
u.o" "/OPT:REF,NOICF" "/DLL" "/IMPLIB:C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.
dll.lib" "/DEBUG" "/NATVIS:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis"
"/NATVIS:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\
\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\winuser\\.rustup\\to
olchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:C:\\Users\\winuser\\projects\\node-bindgen\\example
s\\target\\debug\\deps" "/LIBPATH:C:\\Users\\winuser\\AppData\\Local\\Temp\\" "/LIBPATH:C:\\Users\\winuser\\projects\\node-bindgen\\examp
les\\target\\debug\\build\\wepoll-sys-e6e3462ec406f968\\out\\wepoll-build" "/LIBPATH:C:\\Users\\winuser\\projects\\node-bindgen\\example
s\\target\\debug\\build\\wepoll-sys-e6e3462ec406f968\\out\\wepoll-build" "/LIBPATH:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_6
4-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "node-v12.14.0.lib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\
\target\\debug\\deps\\libnode_bindgen-dcf13c9805ca36ca.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\
\libnj_build-4bcc58aa0be1d4fb.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libcc-309ea2f9482d7b00.r
lib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libhttp_req-209e50288cbbd1aa.rlib" "C:\\Users\\winuser\\
projects\\node-bindgen\\examples\\target\\debug\\deps\\libnative_tls-f143831e6990332c.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\
\examples\\target\\debug\\deps\\libschannel-beda5841431de0dc.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\
\deps\\libunicase-195689ea0095205f.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnj_core-2e654fb8
33113035.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libpin_utils-2852e48dd4e08ed1.rlib" "C:\\User
s\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnum_bigint-b04abe88f53e9401.rlib" "C:\\Users\\winuser\\projects\\no
de-bindgen\\examples\\target\\debug\\deps\\libinventory-a04c7057c44ac073.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\ta
rget\\debug\\deps\\libnj_sys-a255a575767a5a45.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libfluvi
o_future-e0d67891e15168ef.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libtracing_subscriber-ee8493
8a28bf3643.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libchrono-0b587c781b80a451.rlib" "C:\\Users
\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnum_integer-5e33a5c46e664fb5.rlib" "C:\\Users\\winuser\\projects\\no
de-bindgen\\examples\\target\\debug\\deps\\libnum_traits-edd198896b22992e.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\t
arget\\debug\\deps\\liblibc-99dab437a812c84a.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libsmallv
ec-8fda565b6f464d11.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libthread_local-a7f89b9acccd6f03.r
lib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libsharded_slab-d9a325b0587a95d5.rlib" "C:\\Users\\dmit
ry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libtracing_serde-e8b18f138a426a05.rlib" "C:\\Users\\winuser\\projects\\node-b
indgen\\examples\\target\\debug\\deps\\libserde_json-4d1e9894b51f21b6.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\targe
t\\debug\\deps\\libryu-d752a4e5fbe7c45a.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libitoa-804dd8
eafbf321aa.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libserde-896627813a2253b1.rlib" "C:\\Users\
\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libtracing_log-0ff46e282b7e915a.rlib" "C:\\Users\\winuser\\projects\\nod
e-bindgen\\examples\\target\\debug\\deps\\libansi_term-27a18f1a539545f4.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\tar
get\\debug\\deps\\libtracing-8c491d79856ce264.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libmatch
ers-04ea25d793141908.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libregex_automata-6b20d24f4dd46b7
9.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libbyteorder-a818af9efef7d9c0.rlib" "C:\\Users\\dmit
ry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libregex-8a45dba547433981.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\
examples\\target\\debug\\deps\\libregex_syntax-a74cf75e52e6844a.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\deb
ug\\deps\\libaho_corasick-143fae207def395a.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libtracing_
core-839bc6369cb801c6.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\liblazy_static-20fad5c2d7ce1ac9.
rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libpin_project-9d9cb7e989289936.rlib" "C:\\Users\\dmit
ry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libasync_std-ba5b763187e3bc2d.rlib" "C:\\Users\\winuser\\projects\\node-bindg
en\\examples\\target\\debug\\deps\\libasync_global_executor-3a5c9e57f5f9316f.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples
\\target\\debug\\deps\\libblocking-81e0fbd2dfd0cff7.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\li
batomic_waker-897c3f5628b7f945.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnum_cpus-ebaffa72d60
4db6e.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libasync_mutex-719d86bc94ab39d0.rlib" "C:\\Users
\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libasync_executor-cee61aedffda6422.rlib" "C:\\Users\\winuser\\projects\
\node-bindgen\\examples\\target\\debug\\deps\\libasync_task-11e136b4eda23975.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples
\\target\\debug\\deps\\libasync_io-25359309756fa0e0.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\li
bnb_connect-895e2dd2f30b70e1.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libsocket2-cc8b15cf8bae96
f3.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libvec_arena-f9aa8c1ccf1392fb.rlib" "C:\\Users\\dmi
try\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libpolling-a4bb603d5edb8337.rlib" "C:\\Users\\winuser\\projects\\node-bindge
n\\examples\\target\\debug\\deps\\libwinapi-a2fb3abb01982a31.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\
\deps\\libwepoll_sys-d002819a802db25e.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libcfg_if-431372
ca34311c9a.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libonce_cell-8d49d94eb606a00e.rlib" "C:\\Us
ers\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libfutures_lite-ff372f698bae8366.rlib" "C:\\Users\\winuser\\projects
\\node-bindgen\\examples\\target\\debug\\deps\\libmemchr-f2a7052fae695c86.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\t
arget\\debug\\deps\\libfastrand-d9798a25e35868e6.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libwa
ker_fn-39b4d13a6d0ab63e.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libparking-0f56ae995043b126.rl
ib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libfutures_io-e41cf01a3e2aff96.rlib" "C:\\Users\\winuser\
\projects\\node-bindgen\\examples\\target\\debug\\deps\\libasync_channel-b5a33487feca82cc.rlib" "C:\\Users\\winuser\\projects\\node-bind
gen\\examples\\target\\debug\\deps\\libconcurrent_queue-89ddb4b0e8d1ee23.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\ta
rget\\debug\\deps\\libcache_padded-41d583ad39172e47.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\li
basync_lock-2674b30f3a87e713.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libevent_listener-61b3d9c
c9d2630a1.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libpin_project_lite-24041d17b8e0b68e.rlib" "
C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libfutures_core-d32239336fe9bfcf.rlib" "C:\\Users\\winuser\\pr
ojects\\node-bindgen\\examples\\target\\debug\\deps\\libkv_log_macro-1f320b452b70d5e8.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\
\examples\\target\\debug\\deps\\liblog-cec5debda196c757.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps
\\libvalue_bag-0d0e8541395e5595.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libcfg_if-79cc61de9358
cc37.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-e5
130808ccb074ce.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\
\libpanic_unwind-580326a9fdffe4b1.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc
-windows-msvc\\lib\\librustc_demangle-a76d77b5d9ed4759.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\li
b\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-d5a5b7aa7eeea0b8.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-
windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-4b74b4985b95e6c8.rlib" "C:\\Users\\winuser\\.rustu
p\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-b2d5eb0d27518d1c.rlib" "C:\\Users\\d
mitry\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-8a162ec37e71ea47.rlib"
"C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-45fb7c94b612
099e.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-
3c0db88c6c3c2080.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\li
b\\librustc_std_workspace_core-ae8fea3b9ef7193c.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rust
lib\\x86_64-pc-windows-msvc\\lib\\libcore-44bd5dbe4e29964c.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc
\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-2e1363d96f00dd60.rlib" "advapi32.lib" "ole32.lib" "oleaut32.lib" "adv
api32.lib" "bcrypt.lib" "cfgmgr32.lib" "credui.lib" "crypt32.lib" "cryptnet.lib" "fwpuclnt.lib" "gdi32.lib" "kernel32.lib" "msimg32.lib
" "ncrypt.lib" "ntdll.lib" "opengl32.lib" "secur32.lib" "user32.lib" "winspool.lib" "ws2_32.lib" "advapi32.lib" "ws2_32.lib" "userenv.l
ib" "msvcrt.lib" "/DELAYLOAD:node.exe" "/INCLUDE:__pfnDliNotifyHook2" "delayimp.lib"
  = note:    Creating library C:\Users\winuser\projects\node-bindgen\examples\target\debug\deps\nj_example_class_async.dll.lib and objec
t C:\Users\winuser\projects\node-bindgen\examples\target\debug\deps\nj_example_class_async.dll.exp
          libnj_core-2e654fb833113035.rlib(nj_core-2e654fb833113035.4hq8vnzfmuxrprw6.rcgu.o) : error LNK2019: unresolved external symbo
l napi_detach_arraybuffer referenced in function _ZN7nj_core5basic5JsEnv18detach_arraybuffer17hce3ce993140e713eE
          libnj_core-2e654fb833113035.rlib(nj_core-2e654fb833113035.4hq8vnzfmuxrprw6.rcgu.o) : error LNK2019: unresolved external symbo
l napi_is_detached_arraybuffer referenced in function _ZN7nj_core5basic5JsEnv23is_detached_arraybuffer17hefd861dbd5448060E
          C:\Users\winuser\projects\node-bindgen\examples\target\debug\deps\nj_example_class_async.dll : fatal error LNK1120: 2 unresolv
ed externals

error: aborting due to previous error

error: could not compile `nj-example-class-async`

To learn more, run the command again with --verbose.
thread 'main' panicked at 'copy failed of "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\nj_example_class_async.d
ll": Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', C:\Users\winuser\.cargo\registry\src\github
.com-1ecc6299db9ec823\nj-cli-0.4.0\src\main.rs:144:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Based on latest state of master.

Brooooooklyn commented 3 years ago

@DmitryAstafyev you Node.js version is too low, napi_is_detached_arraybuffer and napi_is_detached_arraybuffer was introduced in v12.16.0

DmitryAstafyev commented 3 years ago

Updated. Unfortunately same.

winuser@win-pc ~/projects/node-bindgen/examples/class-async (master)
$ node -v
v14.16.1

winuser@win-pc ~/projects/node-bindgen/examples/class-async (master)
$ npm -v
6.14.12

winuser@win-pc ~/projects/node-bindgen/examples/class-async (master)
$ nj-cli build
   Compiling nj-example-class-async v0.1.0 (C:\Users\winuser\projects\node-bindge
n\examples\class-async)
error: linking with `link.exe` failed: exit code: 1120
  |
  = note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\
\VC\\Tools\\MSVC\\14.28.29910\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "/NXCOMPAT
" "/LIBPATH:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msv
c\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\Users\\winuser\\projects\\node
-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.10e764kn82iza22x
.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\de
ps\\nj_example_class_async.111rby2q8vb9nhxg.rcgu.o" "C:\\Users\\winuser\\projects
\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.13i3hdq2y8
kub1y7.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\deb
ug\\deps\\nj_example_class_async.14i1ojcwpn0jnb4v.rcgu.o" "C:\\Users\\winuser\\pr
ojects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.164d
dlpx93reiuo8.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\targe
t\\debug\\deps\\nj_example_class_async.17lero0xwu8u027u.rcgu.o" "C:\\Users\\dmit
ry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_asyn
c.1awgar9p6zfrwyc6.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\
\target\\debug\\deps\\nj_example_class_async.1d6re1vlrk6wh3zs.rcgu.o" "C:\\Users
\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_clas
s_async.1d93bu3mrkd22dgq.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\exa
mples\\target\\debug\\deps\\nj_example_class_async.1m6i2hpf58tt8igt.rcgu.o" "C:\
\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_exampl
e_class_async.1mdamp1lql1nk29f.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindge
n\\examples\\target\\debug\\deps\\nj_example_class_async.1q4qekycq0m39l6p.rcgu.o
" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_
example_class_async.1qm3k48d95oijcmf.rcgu.o" "C:\\Users\\winuser\\projects\\node-
bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.1tas837nyfs7u2br.
rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\dep
s\\nj_example_class_async.1xtkyfstvxf5r63.rcgu.o" "C:\\Users\\winuser\\projects\\
node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.1zshokswoz17
t2o4.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug
\\deps\\nj_example_class_async.22mzk3njjcuat2ss.rcgu.o" "C:\\Users\\winuser\\proj
ects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.26eau4
dgf7qlkvz7.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\
\debug\\deps\\nj_example_class_async.2dg7c7f42ocwjcoc.rcgu.o" "C:\\Users\\winuser
\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.
2ifx0uorv23ks9uq.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\t
arget\\debug\\deps\\nj_example_class_async.2soo2o5v84y05qsv.rcgu.o" "C:\\Users\\
winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_
async.2u7b9ara2ml77tsy.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examp
les\\target\\debug\\deps\\nj_example_class_async.2yjv3mofmohvytww.rcgu.o" "C:\\U
sers\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_
class_async.328nz5v3t6klpgzz.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\
\examples\\target\\debug\\deps\\nj_example_class_async.36c203v9n6hoi13f.rcgu.o"
"C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_ex
ample_class_async.37ypw6gts31w9rey.rcgu.o" "C:\\Users\\winuser\\projects\\node-bi
ndgen\\examples\\target\\debug\\deps\\nj_example_class_async.3b48qks5bdczhw2j.rc
gu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\
\nj_example_class_async.3bhjmjbtai9an66r.rcgu.o" "C:\\Users\\winuser\\projects\\n
ode-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.3goil3rxe4135
0x.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\
deps\\nj_example_class_async.3ktunynd31sa3xow.rcgu.o" "C:\\Users\\winuser\\projec
ts\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.3tv60g98
56aagc53.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\d
ebug\\deps\\nj_example_class_async.3ukwdjkvf9kcmdmp.rcgu.o" "C:\\Users\\winuser\\
projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.3w
aglp2q6tkdsy0d.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\tar
get\\debug\\deps\\nj_example_class_async.3wbixmaqjds29j3s.rcgu.o" "C:\\Users\\dm
itry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_as
ync.3zdj9lrvrndd4x2m.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\example
s\\target\\debug\\deps\\nj_example_class_async.45u5hbluklgbnlmi.rcgu.o" "C:\\Use
rs\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_cl
ass_async.4e693i5sh5el3nq9.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\e
xamples\\target\\debug\\deps\\nj_example_class_async.4htl1n8qg1y2jitk.rcgu.o" "C
:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_exam
ple_class_async.4i3znhysd321a10a.rcgu.o" "C:\\Users\\winuser\\projects\\node-bind
gen\\examples\\target\\debug\\deps\\nj_example_class_async.4jurtcwuor3hnkgb.rcgu
.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\n
j_example_class_async.4jw2nbdtaxa9jonp.rcgu.o" "C:\\Users\\winuser\\projects\\nod
e-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.4p9vo570sce1qtv
.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\de
ps\\nj_example_class_async.4tua5c9g4wxy484a.rcgu.o" "C:\\Users\\winuser\\projects
\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.4zyq94ccnx
n4n7dl.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\deb
ug\\deps\\nj_example_class_async.52xpt8xi2a670sdq.rcgu.o" "C:\\Users\\winuser\\pr
ojects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.55mk
rn9kuwmwnns2.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\targe
t\\debug\\deps\\nj_example_class_async.5680z0izwy36x5v9.rcgu.o" "C:\\Users\\dmit
ry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_asyn
c.577r1vo6387ofhvv.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\
\target\\debug\\deps\\nj_example_class_async.5b7wneb1zzdqxcv9.rcgu.o" "C:\\Users
\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_clas
s_async.5bj9zlolzz5y5x90.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\exa
mples\\target\\debug\\deps\\nj_example_class_async.5dkuiobrbrc197pt.rcgu.o" "C:\
\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_exampl
e_class_async.5dppijwo3ie6ytqy.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindge
n\\examples\\target\\debug\\deps\\nj_example_class_async.5fg5l3ynosa4y65e.rcgu.o
" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\nj_
example_class_async.5gnj6g1ea9admewy.rcgu.o" "C:\\Users\\winuser\\projects\\node-
bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.dxw410hmehdu5oo.r
cgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps
\\nj_example_class_async.ejc057d0n1r71iv.rcgu.o" "C:\\Users\\winuser\\projects\\n
ode-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.o6jcoljqnds7g
2s.rcgu.o" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\
deps\\nj_example_class_async.tlvlgpk05dg3tv5.rcgu.o" "C:\\Users\\winuser\\project
s\\node-bindgen\\examples\\target\\debug\\deps\\nj_example_class_async.xkktmdzsh
kih7qz.rcgu.o" "/OUT:C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target
\\debug\\deps\\nj_example_class_async.dll" "/DEF:C:\\Users\\winuser\\AppData\\Loc
al\\Temp\\rustcW0oFjg\\lib.def" "C:\\Users\\winuser\\projects\\node-bindgen\\exam
ples\\target\\debug\\deps\\nj_example_class_async.3yaux56mu0qau3wn.rcgu.o" "/OPT
:REF,NOICF" "/DLL" "/IMPLIB:C:\\Users\\winuser\\projects\\node-bindgen\\examples\
\target\\debug\\deps\\nj_example_class_async.dll.lib" "/DEBUG" "/NATVIS:C:\\User
s\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc
\\intrinsic.natvis" "/NATVIS:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_
64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\dmit
ry\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libco
re.natvis" "/NATVIS:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-win
dows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:C:\\Users\\winuser\\projec
ts\\node-bindgen\\examples\\target\\debug\\deps" "/LIBPATH:C:\\Users\\winuser\\Ap
pData\\Local\\Temp\\" "/LIBPATH:C:\\Users\\winuser\\projects\\node-bindgen\\examp
les\\target\\debug\\build\\wepoll-sys-e6e3462ec406f968\\out\\wepoll-build" "/LIB
PATH:C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\build\\
wepoll-sys-e6e3462ec406f968\\out\\wepoll-build" "/LIBPATH:C:\\Users\\winuser\\.ru
stup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows
-msvc\\lib" "node-v12.14.0.lib" "C:\\Users\\winuser\\projects\\node-bindgen\\exam
ples\\target\\debug\\deps\\libnode_bindgen-dcf13c9805ca36ca.rlib" "C:\\Users\\dm
itry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnj_build-4bcc58a
a0be1d4fb.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\de
bug\\deps\\libcc-309ea2f9482d7b00.rlib" "C:\\Users\\winuser\\projects\\node-bindg
en\\examples\\target\\debug\\deps\\libhttp_req-209e50288cbbd1aa.rlib" "C:\\Users
\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnative_tls-f
143831e6990332c.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\targ
et\\debug\\deps\\libschannel-beda5841431de0dc.rlib" "C:\\Users\\winuser\\projects
\\node-bindgen\\examples\\target\\debug\\deps\\libunicase-195689ea0095205f.rlib"
 "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libn
j_core-2e654fb833113035.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\exampl
es\\target\\debug\\deps\\libpin_utils-2852e48dd4e08ed1.rlib" "C:\\Users\\winuser\
\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnum_bigint-b04abe88f5
3e9401.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug
\\deps\\libinventory-a04c7057c44ac073.rlib" "C:\\Users\\winuser\\projects\\node-b
indgen\\examples\\target\\debug\\deps\\libnj_sys-a255a575767a5a45.rlib" "C:\\Use
rs\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libfluvio_fut
ure-e0d67891e15168ef.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\
\target\\debug\\deps\\libtracing_subscriber-ee84938a28bf3643.rlib" "C:\\Users\\d
mitry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libchrono-0b587c78
1b80a451.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\deb
ug\\deps\\libnum_integer-5e33a5c46e664fb5.rlib" "C:\\Users\\winuser\\projects\\no
de-bindgen\\examples\\target\\debug\\deps\\libnum_traits-edd198896b22992e.rlib"
"C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libli
bc-99dab437a812c84a.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\
target\\debug\\deps\\libsmallvec-8fda565b6f464d11.rlib" "C:\\Users\\winuser\\proj
ects\\node-bindgen\\examples\\target\\debug\\deps\\libthread_local-a7f89b9acccd6
f03.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\d
eps\\libsharded_slab-d9a325b0587a95d5.rlib" "C:\\Users\\winuser\\projects\\node-b
indgen\\examples\\target\\debug\\deps\\libtracing_serde-e8b18f138a426a05.rlib" "
C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libser
de_json-4d1e9894b51f21b6.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examp
les\\target\\debug\\deps\\libryu-d752a4e5fbe7c45a.rlib" "C:\\Users\\winuser\\proj
ects\\node-bindgen\\examples\\target\\debug\\deps\\libitoa-804dd8eafbf321aa.rlib
" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\lib
serde-896627813a2253b1.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\example
s\\target\\debug\\deps\\libtracing_log-0ff46e282b7e915a.rlib" "C:\\Users\\winuser
\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libansi_term-27a18f1a53
9545f4.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug
\\deps\\libtracing-8c491d79856ce264.rlib" "C:\\Users\\winuser\\projects\\node-bin
dgen\\examples\\target\\debug\\deps\\libmatchers-04ea25d793141908.rlib" "C:\\Use
rs\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libregex_auto
mata-6b20d24f4dd46b79.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples
\\target\\debug\\deps\\libbyteorder-a818af9efef7d9c0.rlib" "C:\\Users\\winuser\\p
rojects\\node-bindgen\\examples\\target\\debug\\deps\\libregex-8a45dba547433981.
rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\
\libregex_syntax-a74cf75e52e6844a.rlib" "C:\\Users\\winuser\\projects\\node-bindg
en\\examples\\target\\debug\\deps\\libaho_corasick-143fae207def395a.rlib" "C:\\U
sers\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libtracing_
core-839bc6369cb801c6.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples
\\target\\debug\\deps\\liblazy_static-20fad5c2d7ce1ac9.rlib" "C:\\Users\\winuser\
\projects\\node-bindgen\\examples\\target\\debug\\deps\\libpin_project-9d9cb7e98
9289936.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debu
g\\deps\\libasync_std-ba5b763187e3bc2d.rlib" "C:\\Users\\winuser\\projects\\node-
bindgen\\examples\\target\\debug\\deps\\libasync_global_executor-3a5c9e57f5f9316
f.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\dep
s\\libblocking-81e0fbd2dfd0cff7.rlib" "C:\\Users\\winuser\\projects\\node-bindgen
\\examples\\target\\debug\\deps\\libatomic_waker-897c3f5628b7f945.rlib" "C:\\Use
rs\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnum_cpus-e
baffa72d604db6e.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\targ
et\\debug\\deps\\libasync_mutex-719d86bc94ab39d0.rlib" "C:\\Users\\winuser\\proje
cts\\node-bindgen\\examples\\target\\debug\\deps\\libasync_executor-cee61aedffda
6422.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\
deps\\libasync_task-11e136b4eda23975.rlib" "C:\\Users\\winuser\\projects\\node-bi
ndgen\\examples\\target\\debug\\deps\\libasync_io-25359309756fa0e0.rlib" "C:\\Us
ers\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libnb_connec
t-895e2dd2f30b70e1.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\t
arget\\debug\\deps\\libsocket2-cc8b15cf8bae96f3.rlib" "C:\\Users\\winuser\\projec
ts\\node-bindgen\\examples\\target\\debug\\deps\\libvec_arena-f9aa8c1ccf1392fb.r
lib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\
libpolling-a4bb603d5edb8337.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\ex
amples\\target\\debug\\deps\\libwinapi-a2fb3abb01982a31.rlib" "C:\\Users\\winuser
\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libwepoll_sys-d002819a8
02db25e.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debu
g\\deps\\libcfg_if-431372ca34311c9a.rlib" "C:\\Users\\winuser\\projects\\node-bin
dgen\\examples\\target\\debug\\deps\\libonce_cell-8d49d94eb606a00e.rlib" "C:\\Us
ers\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libfutures_l
ite-ff372f698bae8366.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\
\target\\debug\\deps\\libmemchr-f2a7052fae695c86.rlib" "C:\\Users\\winuser\\proje
cts\\node-bindgen\\examples\\target\\debug\\deps\\libfastrand-d9798a25e35868e6.r
lib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\
libwaker_fn-39b4d13a6d0ab63e.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\e
xamples\\target\\debug\\deps\\libparking-0f56ae995043b126.rlib" "C:\\Users\\dmit
ry\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libfutures_io-e41cf01
a3e2aff96.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\de
bug\\deps\\libasync_channel-b5a33487feca82cc.rlib" "C:\\Users\\winuser\\projects\
\node-bindgen\\examples\\target\\debug\\deps\\libconcurrent_queue-89ddb4b0e8d1ee
23.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\de
ps\\libcache_padded-41d583ad39172e47.rlib" "C:\\Users\\winuser\\projects\\node-bi
ndgen\\examples\\target\\debug\\deps\\libasync_lock-2674b30f3a87e713.rlib" "C:\\
Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libevent_l
istener-61b3d9cc9d2630a1.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examp
les\\target\\debug\\deps\\libpin_project_lite-24041d17b8e0b68e.rlib" "C:\\Users\
\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\libfutures_core-
d32239336fe9bfcf.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\tar
get\\debug\\deps\\libkv_log_macro-1f320b452b70d5e8.rlib" "C:\\Users\\winuser\\pro
jects\\node-bindgen\\examples\\target\\debug\\deps\\liblog-cec5debda196c757.rlib
" "C:\\Users\\winuser\\projects\\node-bindgen\\examples\\target\\debug\\deps\\lib
value_bag-0d0e8541395e5595.rlib" "C:\\Users\\winuser\\projects\\node-bindgen\\exa
mples\\target\\debug\\deps\\libcfg_if-79cc61de9358cc37.rlib" "C:\\Users\\winuser\
\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-win
dows-msvc\\lib\\libstd-e5130808ccb074ce.rlib" "C:\\Users\\winuser\\.rustup\\toolc
hains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\
\libpanic_unwind-580326a9fdffe4b1.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\
\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libru
stc_demangle-a76d77b5d9ed4759.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\sta
ble-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbr
own-d5a5b7aa7eeea0b8.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_6
4-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_works
pace_alloc-4b74b4985b95e6c8.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stabl
e-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-b
2d5eb0d27518d1c.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-
windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-8a162ec37e71e
a47.rlib" "C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc
\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-45fb7c94b612099e.rlib" "C:\
\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib
\\x86_64-pc-windows-msvc\\lib\\liballoc-3c0db88c6c3c2080.rlib" "C:\\Users\\dmitr
y\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-w
indows-msvc\\lib\\librustc_std_workspace_core-ae8fea3b9ef7193c.rlib" "C:\\Users\
\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_6
4-pc-windows-msvc\\lib\\libcore-44bd5dbe4e29964c.rlib" "C:\\Users\\winuser\\.rust
up\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-m
svc\\lib\\libcompiler_builtins-2e1363d96f00dd60.rlib" "advapi32.lib" "ole32.lib"
 "oleaut32.lib" "advapi32.lib" "bcrypt.lib" "cfgmgr32.lib" "credui.lib" "crypt32
.lib" "cryptnet.lib" "fwpuclnt.lib" "gdi32.lib" "kernel32.lib" "msimg32.lib" "nc
rypt.lib" "ntdll.lib" "opengl32.lib" "secur32.lib" "user32.lib" "winspool.lib" "
ws2_32.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib" "/DELAYLOAD:n
ode.exe" "/INCLUDE:__pfnDliNotifyHook2" "delayimp.lib"
  = note:    Creating library C:\Users\winuser\projects\node-bindgen\examples\tar
get\debug\deps\nj_example_class_async.dll.lib and object C:\Users\winuser\project
s\node-bindgen\examples\target\debug\deps\nj_example_class_async.dll.exp
          libnj_core-2e654fb833113035.rlib(nj_core-2e654fb833113035.4hq8vnzfmuxr
prw6.rcgu.o) : error LNK2019: unresolved external symbol napi_detach_arraybuffer
 referenced in function _ZN7nj_core5basic5JsEnv18detach_arraybuffer17hce3ce99314
0e713eE
          libnj_core-2e654fb833113035.rlib(nj_core-2e654fb833113035.4hq8vnzfmuxr
prw6.rcgu.o) : error LNK2019: unresolved external symbol napi_is_detached_arrayb
uffer referenced in function _ZN7nj_core5basic5JsEnv23is_detached_arraybuffer17h
efd861dbd5448060E
          C:\Users\winuser\projects\node-bindgen\examples\target\debug\deps\nj_ex
ample_class_async.dll : fatal error LNK1120: 2 unresolved externals

error: aborting due to previous error

error: could not compile `nj-example-class-async`

To learn more, run the command again with --verbose.
thread 'main' panicked at 'copy failed of "C:\\Users\\winuser\\projects\\node-bin
dgen\\examples\\target\\debug\\nj_example_class_async.dll": Os { code: 2, kind:
NotFound, message: "The system cannot find the file specified." }', C:\Users\dmi
try\.cargo\registry\src\github.com-1ecc6299db9ec823\nj-cli-0.4.0\src\main.rs:144
:41
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

winuser@win-pc ~/projects/node-bindgen/examples/class-async (master)
$
Brooooooklyn commented 3 years ago

See this line "/LIBPATH:C:\\Users\\winuser\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "node-v12.14.0.lib"

Seems like your linker was still trying to link old version of node.lib, try cargo clean after Node.js upgrade, and run build command again.

DmitryAstafyev commented 3 years ago

@Brooooooklyn thanks. I'm not sure this is what resolve an issue, but in addition, I've also reinstalled Windows SDK (https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/) and using Visual Studion Installer Community version (https://visualstudio.microsoft.com/downloads/) I've install/update all packages related to C++ build tools

Well issue is gone.

Thanks a lot.

Issue can be closed as soon as it isn't related to node-bindgen, but related to windows environment.

Brooooooklyn commented 3 years ago

@DmitryAstafyev you can try https://napi.rs BTW