Fresh unicode-xid v0.2.1 Fresh autocfg v1.0.1 Fresh proc-macro-hack v0.5.18 Fresh cfg-if v0.1.10 Fresh scopeguard v1.1.0 Fresh unindent v0.1.6 Fresh smallvec v1.4.2 Fresh rawpointer v0.2.1 Fresh indextree v4.3.1 Fresh instant v0.1.7 Fresh paste-impl v0.1.18 Fresh lock_api v0.4.1 Fresh matrixmultiply v0.2.3 Fresh proc-macro2 v1.0.21 Fresh libc v0.2.77 Fresh paste v0.1.18 Fresh quote v1.0.7 Fresh num-traits v0.2.12 Fresh parking_lot_core v0.8.0 Fresh num-complex v0.2.4 Fresh num-integer v0.1.43 Fresh syn v1.0.41 Fresh parking_lot v0.11.0 Fresh ndarray v0.13.1 Fresh pyo3-derive-backend v0.11.1 Fresh indoc-impl v0.3.6 Fresh ctor v0.1.16 Fresh inventory-impl v0.1.9 Fresh ghost v0.1.2 Fresh pyo3cls v0.11.1 Fresh indoc v0.3.6 Fresh inventory v0.1.9 Fresh pyo3 v0.11.1 Fresh numpy v0.11.0 warning: unused variable: `act_probs` --> src/mcts.rs:106:9 | 106 | let act_probs = softmax(1.0 / temp * visits, (max_visits as f64 + 1e-10).ln()); | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_act_probs` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `py` --> src/mcts.rs:90:32 | 90 | fn get_move_probs(&mut self, py: Python, temp: f64) -> PyResult<()> { | ^^ help: if this is intentional, prefix it with an underscore: `_py` warning: field is never read: `n_playout` --> src/mcts.rs:40:3 | 40 | n_playout: u64, | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: structure field `Q` should have a snake case name --> src/mcts.rs:17:7 | 17 | pub Q: f64, | ^ help: convert the identifier to snake case: `q` | = note: `#[warn(non_snake_case)]` on by default warning: structure field `P` should have a snake case name --> src/mcts.rs:19:7 | 19 | pub P: f64, | ^ help: convert the identifier to snake case: `p` warning: 5 warnings emitted Compiling gomoku-rs v0.1.0 (/home/harryc/hdd/workspace/srtp/gomoku-rs) Running `CARGO=/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_BIN_NAME=gomoku-rs CARGO_CRATE_NAME=gomoku_rs CARGO_MANIFEST_DIR=/home/harryc/hdd/workspace/srtp/gomoku-rs CARGO_PKG_AUTHORS='Harry Cheng ' CARGO_PKG_DESCRIPTION= CARGO_PKG_HOMEPAGE= CARGO_PKG_LICENSE= CARGO_PKG_LICENSE_FILE= CARGO_PKG_NAME=gomoku-rs CARGO_PKG_REPOSITORY= CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps:/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib' rustc --crate-name gomoku_rs --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=269ef287c85d8869 -C extra-filename=-269ef287c85d8869 --out-dir /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps -C incremental=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/incremental -L dependency=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps --extern gomoku_rs=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib --extern indextree=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libindextree-31f25c1ad0f0de05.rlib --extern ndarray=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libndarray-be1c6087daa5e5aa.rlib --extern numpy=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libnumpy-9fa2905fa01df3a4.rlib --extern pyo3=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib` error: linking with `cc` failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.12p30e6wf5181b9d.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.15n7b5eklrrrxc7g.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.1bw5g6y9vq03376.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.1da2hjkz2re73o8m.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.1i58fpxyzhw5weae.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.1xzwrfmlun1had8o.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.217e526nc6jde45n.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.22rhwsjl7fhij6du.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.27gwij5ap19xgqav.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.2gzpois664rxsqao.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.37h9o968xqddvxvx.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.3cv5juk0kq7r0aj9.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.3dp6du99m0xualv1.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.3fvc4m5owad4ucso.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.3gq3d3x18co4mcgi.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.3ndr05q6dw2oltu3.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.4bc9djmt4d22l4pk.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.4e9h9icwjmam3j98.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.4kzs0bwdyonn56bf.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.4mehvnd30wyht9vl.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.4ow1tone980nv455.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.4rvroyo97smbon3u.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.4sygfqfq4tcydhy9.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.51elxpf8dw9drs35.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.58204wolh6tf6qhr.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.5ahd2qmp6stakqf0.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.5gqqg5jx4lr2meu2.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.bdx1s60pzwk2zdh.rcgu.o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.s8ppwmp2cxd175n.rcgu.o" "-o" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/gomoku_rs-269ef287c85d8869.1bjejm0tp561yz7w.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps" "-L" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libindextree-31f25c1ad0f0de05.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libnumpy-9fa2905fa01df3a4.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libparking_lot-b012c557a7943343.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libparking_lot_core-569b42f7e4423cbe.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libsmallvec-727808696c420413.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/liblock_api-129e044d69b678bd.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libscopeguard-7a35ea52b6cb1d45.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libinstant-30f61cc7f2014e5b.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/liblibc-08daa819fd8f974b.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libunindent-163362cafbc42503.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpaste-30bc42d6083df14b.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libinventory-1fd4f10de3044056.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libindoc-345002e2bdb347a7.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libcfg_if-748f21f0c8637ed0.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libndarray-be1c6087daa5e5aa.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libmatrixmultiply-226afd46f033126b.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libnum_complex-be14ab295a16d670.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libnum_integer-397ce0a558ea8eb5.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libnum_traits-8b68808afc73958f.rlib" "/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/librawpointer-81c18c8496d7f409.rlib" "-Wl,--start-group" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cf0f33af3a901778.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-daf8c2d692e6eca4.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-24e8f97647425e48.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-85ed7d2b484c05a9.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-89de2c581262ec09.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-3b0db98e62ed7d75.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c60847f9a163de82.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0bb9b63424f4fc5d.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-3f74d829e37fa40e.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e9d83ff06f1a7ad.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-2c8c904efaf7c40b.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cbfb51de52131460.rlib" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-97497c26fddb7882.rlib" "-Wl,--end-group" "/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f1a9d8c443e20b5e.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" = note: /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.2eozkhiqa5kqpnfx.rcgu.o): in function `pyo3::types::any::PyAny::call_method::{{closure}}': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/any.rs:264: undefined reference to `PyObject_GetAttr' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/any.rs:270: undefined reference to `PyObject_Call' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.2tvdwd27nayt89tz.rcgu.o): in function `pyo3::pyclass::default_new': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/pyclass.rs:(.text._ZN4pyo37pyclass11default_new17h46bcfa2bbb507903E+0xaa): undefined reference to `PyType_GenericAlloc' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.3oldvydfkju6cz52.rcgu.o): in function `pyo3::ffi::object::Py_DECREF': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/ffi/object.rs:945: undefined reference to `_Py_Dealloc' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.3ylgiwdeuw4k1ryb.rcgu.o): in function `::type_object_raw': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/mod.rs:147: undefined reference to `PyBaseObject_Type' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.e60ec6fe1666kwc.rcgu.o): in function `pyo3::types::tuple::> for (A,)>::into_py': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/tuple.rs:170: undefined reference to `PyTuple_New' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/tuple.rs:171: undefined reference to `PyTuple_SetItem' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.e60ec6fe1666kwc.rcgu.o): in function `pyo3::types::tuple::::to_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/tuple.rs:151: undefined reference to `PyTuple_New' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/tuple.rs:152: undefined reference to `PyTuple_SetItem' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.1exgeh7m2x5mx0wb.rcgu.o): in function `pyo3::err::PyErr::restore': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/err.rs:371: undefined reference to `PyErr_Restore' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.1pjp5188oa9ih8rr.rcgu.o): in function `pyo3::types::sequence::PySequence::len': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/sequence.rs:23: undefined reference to `PySequence_Size' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib(gomoku_rs.3f06ewqofe99ez2e.rcgu.o): in function `pyo3::types::tuple::::to_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/tuple.rs:151: undefined reference to `PyTuple_New' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/tuple.rs:152: undefined reference to `PyTuple_SetItem' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.0.rcgu.o): in function `pyo3::err::PyErr::occurred': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/err.rs:174: undefined reference to `PyErr_Occurred' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.0.rcgu.o): in function `pyo3::err::PyErr::fetch': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/err.rs:189: undefined reference to `PyErr_Fetch' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.0.rcgu.o): in function `pyo3::err::PyErr::new_type': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/err.rs:236: undefined reference to `PyErr_NewException' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.0.rcgu.o): in function `pyo3::err::PyErr::print': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/err.rs:275: undefined reference to `PyErr_PrintEx' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.0.rcgu.o): in function `pyo3::err::PyErr::restore': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/err.rs:371: undefined reference to `PyErr_Restore' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.0.rcgu.o): in function `pyo3::err::panic_after_error': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/err.rs:578: undefined reference to `PyErr_Print' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.1.rcgu.o): in function `pyo3::types::any::PyAny::call': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/any.rs:212: undefined reference to `PyObject_Call' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.1.rcgu.o): in function `pyo3::types::any::PyAny::str': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/any.rs:419: undefined reference to `PyObject_Str' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.10.rcgu.o): in function `pyo3::types::string::PyString::new': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/string.rs:28: undefined reference to `PyUnicode_FromStringAndSize' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.10.rcgu.o): in function `pyo3::types::string::PyString::as_bytes': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/string.rs:50: undefined reference to `PyUnicode_AsUTF8AndSize' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.10.rcgu.o): in function `pyo3::types::string::PyString::to_string_lossy': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/string.rs:76: undefined reference to `PyUnicode_AsEncodedString' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.11.rcgu.o): in function `pyo3::types::dict::PyDict::copy': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/dict.rs:58: undefined reference to `PyDict_Copy' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.11.rcgu.o): in function `pyo3::types::dict::PyDict::len': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/dict.rs:71: undefined reference to `PyDict_Size' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.11.rcgu.o): in function `pyo3::types::dict::PyDict::get_item::{{closure}}': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/dict.rs:105: undefined reference to `PyDict_GetItem' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.11.rcgu.o): in function `pyo3::types::dict::PyDict::del_item::{{closure}}': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/dict.rs:137: undefined reference to `PyDict_DelItem' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.11.rcgu.o): in function `::next': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/dict.rs:196: undefined reference to `PyDict_Next' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.15.rcgu.o): in function `pyo3::ffi::object::Py_DECREF': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/ffi/object.rs:945: undefined reference to `_Py_Dealloc' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.15.rcgu.o): in function `pyo3::ffi::object::Py_None': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/ffi/object.rs:987: undefined reference to `_Py_NoneStruct' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.3.rcgu.o): in function `pyo3::types::iterator::PyIterator::from_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/iterator.rs:37: undefined reference to `PyObject_GetIter' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.3.rcgu.o): in function `::next': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/iterator.rs:71: undefined reference to `PyIter_Next' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.4.rcgu.o): in function `pyo3::types::bytes::PyBytes::as_bytes': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/bytes.rs:43: undefined reference to `PyBytes_AsString' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/bytes.rs:44: undefined reference to `PyBytes_Size' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.6.rcgu.o): in function `pyo3::gil::prepare_freethreaded_python::{{closure}}': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/gil.rs:84: undefined reference to `Py_IsInitialized' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/gil.rs:103: undefined reference to `Py_InitializeEx' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/gil.rs:126: undefined reference to `PyEval_SaveThread' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.6.rcgu.o): in function `pyo3::gil::prepare_freethreaded_python::{{closure}}::finalize': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/gil.rs:108: undefined reference to `Py_IsInitialized' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/gil.rs:109: undefined reference to `PyGILState_Ensure' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/gil.rs:110: undefined reference to `Py_Finalize' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.6.rcgu.o): in function `pyo3::gil::GILGuard::acquire': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/gil.rs:163: undefined reference to `PyGILState_Ensure' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.6.rcgu.o): in function `::drop': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/gil.rs:193: undefined reference to `PyGILState_Release' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.6.rcgu.o): in function `pyo3::types::floatob::::extract': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/floatob.rs:54: undefined reference to `PyFloat_AsDouble' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.8.rcgu.o): in function `pyo3::ffi::objectabstract::PyIter_Check': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/ffi/objectabstract.rs:(.text._ZN4pyo33ffi14objectabstract12PyIter_Check17hdcbfecd020499263E+0x35): undefined reference to `_PyObject_NextNotImplemented' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.8.rcgu.o): in function `::try_from': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/sequence.rs:378: undefined reference to `PySequence_Check' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.8.rcgu.o): in function `pyo3::types::num::::extract': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/num.rs:137: undefined reference to `PyNumber_Index' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/num.rs:141: undefined reference to `PyLong_AsLong' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.8.rcgu.o): in function `pyo3::types::num:: for i32>::into_py': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/num.rs:128: undefined reference to `PyLong_FromLong' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.8.rcgu.o): in function `pyo3::types::num::::extract': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/num.rs:137: undefined reference to `PyNumber_Index' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/num.rs:141: undefined reference to `PyLong_AsLong' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.8.rcgu.o): in function `pyo3::types::num::::extract': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/num.rs:170: undefined reference to `PyNumber_Index' /bin/ld: /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/num.rs:174: undefined reference to `PyLong_AsUnsignedLongLong' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `pyo3::types::tuple::PyTuple::empty': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/tuple.rs:38: undefined reference to `PyTuple_New' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `pyo3::types::tuple::PyTuple::slice': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/types/tuple.rs:58: undefined reference to `PyTuple_GetSlice' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `::type_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/exceptions.rs:223: undefined reference to `PyExc_BaseException' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `::type_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/exceptions.rs:223: undefined reference to `PyExc_OverflowError' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `::type_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/exceptions.rs:223: undefined reference to `PyExc_RuntimeError' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `::type_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/exceptions.rs:223: undefined reference to `PyExc_SystemError' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `::type_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/exceptions.rs:223: undefined reference to `PyExc_TypeError' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `::type_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/exceptions.rs:223: undefined reference to `PyExc_UnicodeDecodeError' /bin/ld: /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib(pyo3-79626e69adcf3523.pyo3.eec35d0c-cgu.9.rcgu.o): in function `::type_object': /home/harryc/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.11.1/src/exceptions.rs:223: undefined reference to `PyExc_ValueError' collect2: error: ld returned 1 exit status error: aborting due to previous error error: could not compile `gomoku-rs`. Caused by: process didn't exit successfully: `CARGO=/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_BIN_NAME=gomoku-rs CARGO_CRATE_NAME=gomoku_rs CARGO_MANIFEST_DIR=/home/harryc/hdd/workspace/srtp/gomoku-rs CARGO_PKG_AUTHORS='Harry Cheng ' CARGO_PKG_DESCRIPTION= CARGO_PKG_HOMEPAGE= CARGO_PKG_LICENSE= CARGO_PKG_LICENSE_FILE= CARGO_PKG_NAME=gomoku-rs CARGO_PKG_REPOSITORY= CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps:/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib:/home/harryc/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib' rustc --crate-name gomoku_rs --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=269ef287c85d8869 -C extra-filename=-269ef287c85d8869 --out-dir /home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps -C incremental=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/incremental -L dependency=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps --extern gomoku_rs=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libgomoku_rs.rlib --extern indextree=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libindextree-31f25c1ad0f0de05.rlib --extern ndarray=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libndarray-be1c6087daa5e5aa.rlib --extern numpy=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libnumpy-9fa2905fa01df3a4.rlib --extern pyo3=/home/harryc/hdd/workspace/srtp/gomoku-rs/target/debug/deps/libpyo3-79626e69adcf3523.rlib` (exit code: 1)