Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- r@book:~/p/r/ai2|master✓
- cargo clean 12:37:19
- r@book:~/p/r/ai2|master✓
- cargo run 12:39:02
- Compiling autocfg v1.1.0
- Compiling libc v0.2.126
- Compiling cfg-if v1.0.0
- Compiling pkg-config v0.3.25
- Compiling cc v1.0.73
- Compiling proc-macro2 v1.0.42
- Compiling quote v1.0.20
- Compiling unicode-ident v1.0.2
- Compiling syn v1.0.98
- Compiling once_cell v1.13.0
- Compiling memchr v2.5.0
- Compiling version_check v0.9.4
- Compiling log v0.4.17
- Compiling crc32fast v1.3.2
- Compiling adler v1.0.2
- Compiling pin-project-lite v0.2.9
- Compiling serde_derive v1.0.140
- Compiling openssl-probe v0.1.5
- Compiling itoa v1.0.2
- Compiling futures-core v0.3.21
- Compiling bytes v1.2.0
- Compiling serde v1.0.140
- Compiling typenum v1.15.0
- Compiling crossbeam-utils v0.8.11
- Compiling byteorder v1.4.3
- Compiling futures-task v0.3.21
- Compiling tinyvec_macros v0.1.0
- Compiling openssl v0.10.41
- Compiling futures-util v0.3.21
- Compiling foreign-types-shared v0.1.1
- Compiling lazy_static v1.4.0
- Compiling fnv v1.0.7
- Compiling futures-sink v0.3.21
- Compiling pin-utils v0.1.0
- Compiling futures-channel v0.3.21
- Compiling futures-io v0.3.21
- Compiling httparse v1.7.1
- Compiling ryu v1.0.10
- Compiling native-tls v0.2.10
- Compiling bitflags v1.3.2
- Compiling curl v0.4.44
- Compiling anyhow v1.0.58
- Compiling matches v0.1.9
- Compiling scopeguard v1.1.0
- Compiling rayon-core v1.9.3
- Compiling percent-encoding v2.1.0
- Compiling try-lock v0.2.3
- Compiling httpdate v1.0.2
- Compiling unicode-bidi v0.3.8
- Compiling ppv-lite86 v0.2.16
- Compiling serde_json v1.0.82
- Compiling regex-syntax v0.6.27
- Compiling encoding_rs v0.8.31
- Compiling tower-service v0.3.2
- Compiling either v1.7.0
- Compiling rawpointer v0.2.1
- Compiling regex-automata v0.1.10
- Compiling protobuf v2.27.1
- Compiling base64 v0.13.0
- Compiling smallvec v1.9.0
- Compiling number_prefix v0.4.0
- Compiling ipnet v2.5.0
- Compiling fastrand v1.8.0
- Compiling remove_dir_all v0.5.3
- Compiling cpufeatures v0.2.2
- Compiling mime v0.3.16
- Compiling itoa v0.4.8
- Compiling rust_tokenizers v7.0.2
- Compiling half v1.8.2
- Compiling glob v0.3.0
- Compiling tracing-core v0.1.28
- Compiling miniz_oxide v0.5.3
- Compiling tokio v1.20.1
- Compiling slab v0.4.7
- Compiling indexmap v1.9.1
- Compiling memoffset v0.6.5
- Compiling num-traits v0.2.15
- Compiling crossbeam-epoch v0.9.10
- Compiling num-integer v0.1.45
- Compiling rayon v1.5.3
- Compiling ahash v0.7.6
- Compiling generic-array v0.14.5
- Compiling tinyvec v1.6.0
- Compiling foreign-types v0.3.2
- Compiling http v0.2.8
- Compiling openssl-sys v0.9.75
- Compiling bzip2-sys v0.1.11+1.0.8
- Compiling libz-sys v1.1.8
- Compiling curl-sys v0.4.56+curl-7.83.1
- Compiling form_urlencoded v1.0.1
- Compiling matrixmultiply v0.3.2
- Compiling itertools v0.10.3
- Compiling unicode-normalization-alignments v0.1.12
- Compiling tracing v0.1.35
- Compiling unicode-normalization v0.1.21
- Compiling http-body v0.4.5
- Compiling getrandom v0.2.7
- Compiling num_cpus v1.13.1
- Compiling time v0.1.44
- Compiling socket2 v0.4.4
- Compiling terminal_size v0.1.17
- Compiling xattr v0.2.3
- Compiling filetime v0.2.17
- Compiling dirs-sys v0.3.7
- Compiling tempfile v3.3.0
- Compiling fs2 v0.4.3
- Compiling mio v0.8.4
- Compiling want v0.3.0
- Compiling flate2 v1.0.24
- Compiling aho-corasick v0.7.18
- Compiling csv-core v0.1.10
- Compiling crossbeam-channel v0.5.6
- Compiling rand_core v0.6.3
- Compiling uuid v1.1.2
- Compiling idna v0.2.3
- Compiling console v0.15.1
- Compiling tar v0.4.38
- Compiling dirs v4.0.0
- Compiling bzip2 v0.4.3
- Compiling regex v1.6.0
- Compiling num-complex v0.4.2
- Compiling ordered-float v3.0.0
- Compiling hashbrown v0.12.3
- Compiling crypto-common v0.1.6
- Compiling block-buffer v0.10.2
- Compiling rand_chacha v0.3.1
- Compiling url v2.2.2
- Compiling crossbeam-deque v0.8.2
- Compiling ndarray v0.15.4
- Compiling digest v0.10.3
- Compiling rand v0.8.5
- Compiling indicatif v0.16.2
- Compiling sha2 v0.10.2
- Compiling tokio-util v0.7.3
- Compiling h2 v0.3.13
- Compiling thiserror-impl v1.0.31
- Compiling openssl-macros v0.1.0
- Compiling hyper v0.14.20
- Compiling thiserror v1.0.31
- Compiling zip v0.5.13
- Compiling zip-extensions v0.6.1
- Compiling torch-sys v0.7.2
- Compiling tokio-native-tls v0.3.0
- Compiling hyper-tls v0.5.0
- Compiling bstr v0.2.17
- Compiling serde_urlencoded v0.7.1
- Compiling reqwest v0.11.11
- Compiling csv v1.1.6
- Compiling cached-path v0.5.3
- Compiling tch v0.7.2
- Compiling rust-bert v0.18.0
- Compiling ai2 v0.1.0 (/home/r/projects/rust/ai2)
- warning: unused imports: `QaInput`, `QuestionAnsweringModel`
- --> src/main.rs:1:48
- |
- 1 | use rust_bert::pipelines::question_answering::{QaInput, QuestionAnsweringModel};
- | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(unused_imports)]` on by default
- error: linking with `cc` failed: exit status: 1
- |
- = note: "cc" "-m64" "/tmp/rustceypdI6/symbols.o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074.1zggpphxx9x9s9gy.rcgu.o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074.3alpypvx517hwf5b.rcgu.o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074.3pnm7nmiljd3u62k.rcgu.o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074.44remfvd2v3q3xap.rcgu.o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074.48hqrcfpj14t94hc.rcgu.o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074.4e3t8gx2o6fx8ugg.rcgu.o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074.52f3bs9fn6k8lniv.rcgu.o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074.1gef3qrkk2m1mlf5.rcgu.o" "-Wl,--as-needed" "-L" "/home/r/projects/rust/ai2/target/debug/deps" "-L" "/usr/lib" "-L" "/home/r/libtorch/lib" "-L" "/home/r/projects/rust/ai2/target/debug/build/torch-sys-d2b9837e30698285/out" "-L" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/r/projects/rust/ai2/target/debug/deps/librust_bert-19da8d06f197bf01.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libuuid-aff5e8f8a0c63734.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libdirs-c0a9d2f44892d6c8.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libdirs_sys-9c63ca2ea87b4071.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcached_path-85349abf26d1d772.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libindicatif-0be129e047091d1e.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libconsole-142dbab6beb6eb65.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libterminal_size-afc8d05e8441a188.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libnumber_prefix-cf95ecfb691f8e76.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtar-6e8babd696ea158b.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libxattr-6658f4d1949117b6.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfiletime-8edc80e5b055e05b.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libsha2-03853fd084882eb9.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcpufeatures-8563f9b72ef4f2fd.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libdigest-f1f1fc12e2984e94.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libblock_buffer-43fdb38fde6cfe00.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcrypto_common-b79d39c9267eb07c.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libgeneric_array-3605e594ee2e45d1.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtypenum-a638d148d84494a5.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libreqwest-cc13ac4f0621d809.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libhyper_tls-3dba0506039f98f6.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libipnet-920bd3c91207741c.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtokio_native_tls-b7dfdc0f50e629e4.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libserde_urlencoded-643dfa7e29e3af9e.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libmime-216aae64814daef9.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libencoding_rs-7d3efc7977352004.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libbase64-520c077775c4288d.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libnative_tls-f67335302397dd50.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libopenssl_probe-c8f7ecf08ef8754d.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libopenssl-58f3f6461379aa5e.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libbitflags-16739a95d19192ed.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libforeign_types-5ba0f9b9f070403c.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libforeign_types_shared-af2af4b678ba8fc8.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libopenssl_sys-eef9d7b96c50a292.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libhyper-289c2a11e4a6a339.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libwant-ca07f791108787e5.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtry_lock-369fedc979219e01.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libhttparse-96e2f0e1bdbcd72b.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libh2-2588880f9f10f2f0.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libindexmap-337d206dd8185999.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtokio_util-2ed4ebe9418f0884.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfutures_sink-429a873b80e4c462.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtower_service-c7ed16f1ee819923.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtracing-69ba1a7c1c6327e6.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtracing_core-ad3324e50d456f81.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfutures_channel-0bc445920239bed0.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtokio-611633cae3027eff.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libsocket2-b05ebd5017a2c872.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libmio-fd49078d15cb1960.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libhttp_body-3597dd4c4f943b86.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfutures_util-df004d4e6e6ee444.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfutures_io-a56bf77cdb051e94.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libslab-ac326b8cb7af0299.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libpin_project_lite-977d67b6b8236fa4.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfutures_task-f2215787f05af5b7.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libpin_utils-db6c123b47443cd5.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfutures_core-274df0c754ba04fe.rlib" "/home/r/projects/rust/ai2/target/debug/deps/liburl-e9a0277408644055.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libidna-c24efd85f5f88abe.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libunicode_bidi-c21a27b2f4940d1f.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libform_urlencoded-7c17d9bf56ef298a.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libpercent_encoding-0fb60480abd46160.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libmatches-47bab1f949ea942d.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libhttp-4fc5a8d4e012f853.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libbytes-0bd473febeda7c74.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfnv-194f5fd9a4a7d5cd.rlib" "/home/r/projects/rust/ai2/target/debug/deps/liblog-b703fbc92249b30e.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libglob-53f2970e92c73372.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfs2-801ab6b23567a6c8.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libzip_extensions-bd0658f44c18acb8.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtempfile-7eb69efab8c577e4.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libfastrand-36f6e1e6ad9068f7.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libremove_dir_all-05f59fad7bde7c28.rlib" "/home/r/projects/rust/ai2/target/debug/deps/librust_tokenizers-eaaed537cfcbd8df.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcsv-78dac3db39304e77.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libitoa-35efb356354a137a.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcsv_core-418e43627419f1cf.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libbstr-cb83acf44c01cd59.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libregex_automata-b91c60e01bf11bfe.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libserde_json-17ae0d49f7fb6aaf.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libryu-5899baac9e3b3122.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libitoa-2a47ccfc95b38c42.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libhashbrown-0a1992b9d31b8c7b.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libahash-2b4fb5890deed9ce.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libprotobuf-49091742b7c2ca1f.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libunicode_normalization_alignments-3c32bdff9d56b9d9.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libsmallvec-eda9c36ecfc95728.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libunicode_normalization-2fffd580418c167c.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtinyvec-8e546218420ae4b1.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtinyvec_macros-d7f0e7adf930f0c8.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libregex-1774128a366bd724.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libaho_corasick-3c0e02e1e9b2e44c.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libmemchr-8aa45ca67d010578.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libregex_syntax-ab31d356260b7aef.rlib" "/home/r/projects/rust/ai2/target/debug/deps/librayon-2e4a6619424b2656.rlib" "/home/r/projects/rust/ai2/target/debug/deps/librayon_core-8e36a837087d2926.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libnum_cpus-8fc6a13425bb1db2.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcrossbeam_deque-360f55537a3f7a1d.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcrossbeam_epoch-c3a2259399b76854.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libmemoffset-30acc5fc37e42af3.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libscopeguard-2492209eeb134ac0.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcrossbeam_channel-e88c6fb3b23ec313.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcrossbeam_utils-5810e230f0702aa4.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libonce_cell-817bbfa7025714d2.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libitertools-77fe15b755194ecb.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libeither-13e6aee49cc300f6.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libserde-cf419070a8ed611d.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libordered_float-467381f20059f831.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtch-a913d645ef40b61c.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libndarray-c8bbd767d5ad2c71.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libmatrixmultiply-a97c270259779020.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libnum_complex-3c74bb78f43509af.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libnum_integer-6400ff77ae06bbea.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libnum_traits-aef9014c86bcaba1.rlib" "/home/r/projects/rust/ai2/target/debug/deps/librawpointer-087e290d6fd091ee.rlib" "/home/r/projects/rust/ai2/target/debug/deps/librand-2054d055468908a7.rlib" "/home/r/projects/rust/ai2/target/debug/deps/librand_chacha-c554ad41f646a3e1.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libppv_lite86-2d065cebe2837269.rlib" "/home/r/projects/rust/ai2/target/debug/deps/librand_core-7abbd3757c032413.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libgetrandom-c6c6ac362f3feca1.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libhalf-f08a5cf891070efb.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtorch_sys-499076bbf3689cf5.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libzip-9243363a6f50de90.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libtime-0b6f1e5cb04ab8c6.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libbzip2-37429a973d0e2f2f.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libbzip2_sys-6ef2395a7fb1439d.rlib" "/home/r/projects/rust/ai2/target/debug/deps/liblibc-3062c50927b9ba44.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libflate2-8eb23eba4595341b.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libminiz_oxide-320e84b55758925a.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libadler-683ef9f28eb63845.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libbyteorder-86dc37410f9af2da.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcrc32fast-e25a5e9d9cbe0a79.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libcfg_if-f8ad2a765ea7f234.rlib" "/home/r/projects/rust/ai2/target/debug/deps/libthiserror-839aab7e95b262a4.rlib" "/home/r/projects/rust/ai2/target/debug/deps/liblazy_static-51f8aa49f78e53b1.rlib" "-Wl,--start-group" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-69edc9ac8de4d39c.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-254ac8a4d96ed89e.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bed7ede368468ef.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-9da1150e6aeada6b.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-dec39a40a22b358c.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7a90882341200e38.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-6a5da46a37549d0a.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-6dc3d1df7e408d5b.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-9d89ad14c568d44a.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-ecbdf47025adae10.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-29db3ffec771ef22.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8b55ad9e1a2080d1.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-f37a55941b8b3bbd.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-c1d45d3d6971ce0d.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-18ac7cbb154ecd62.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-80c5909c82700e85.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aa7f747e2f6af7d5.rlib" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-60d544c9f51ce476.rlib" "-Wl,--end-group" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1bd89f2a607e488.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lstdc++" "-ltorch_cuda" "-ltorch_cuda_cu" "-ltorch_cuda_cpp" "-ltorch_cpu" "-ltorch" "-lc10" "-lgomp" "-lbz2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/r/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/r/projects/rust/ai2/target/debug/deps/ai2-b8ff58b656c73074" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
- = note: /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::structured_add_out::impl(at::Tensor const&, at::Tensor const&, c10::Scalar const&, at::Tensor const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::linalg_cross_out(at::Tensor const&, at::Tensor const&, long, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::mse_loss_out(at::Tensor const&, at::Tensor const&, long, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::copy_sparse_csr_(at::Tensor&, at::Tensor const&, bool)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::amin_out(at::Tensor const&, c10::ArrayRef<long>, bool, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::linalg_vector_norm_stub'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::nansum(at::Tensor const&, c10::optional<c10::ScalarType>)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::_index_copy_impl_(at::Tensor&, long, at::Tensor const&, at::Tensor const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::index_select_sparse(at::Tensor const&, long, at::Tensor const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::meta::structured_gelu_backward::meta(at::Tensor const&, at::Tensor const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::meta::structured_gelu::meta(at::Tensor const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp(at::Tensor const&, c10::optional<at::Tensor> const&, c10::optional<at::Tensor> const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::real_stub'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::var_mean(at::Tensor const&, c10::optional<c10::ArrayRef<long> >, c10::optional<long>, bool)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::upsample::compute_output_size(c10::ArrayRef<long>, c10::optional<c10::ArrayRef<long> >, c10::optional<c10::ArrayRef<double> >)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cpp.so: undefined reference to `at::detail::computeStorageNbytes(c10::ArrayRef<long>, c10::ArrayRef<long>, unsigned long)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::std(at::Tensor const&, c10::optional<c10::ArrayRef<long> >, c10::optional<long>, bool)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::empty_sparse_csr(c10::ArrayRef<long>, c10::optional<c10::ScalarType>, c10::optional<c10::Layout>, c10::optional<c10::Device>, c10::optional<bool>, c10::optional<c10::MemoryFormat>)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cpp.so: undefined reference to `at::DynamicLibrary::DynamicLibrary(char const*, char const*)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::var_out(at::Tensor const&, c10::optional<c10::ArrayRef<long> >, c10::optional<long>, bool, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::TensorIteratorBase::set_output(long, c10::ArrayRef<long>, c10::ArrayRef<long>, c10::TensorOptions, c10::ArrayRef<at::Dimname>)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::amax_out(at::Tensor const&, c10::ArrayRef<long>, bool, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::linalg_vector_norm_out(at::Tensor const&, c10::Scalar const&, c10::optional<c10::ArrayRef<long> >, bool, c10::optional<c10::ScalarType>, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::imag_stub'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `c10::TensorImpl::is_contiguous_nondefault_policy_impl(c10::MemoryFormat) const'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::result_type(c10::ArrayRef<at::Tensor>)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::linalg_cross(at::Tensor const&, at::Tensor const&, long)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `c10::MessageLogger::~MessageLogger()'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cpp.so: undefined reference to `c10d::isP2POp(c10d::OpType)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::std_mean(at::Tensor const&, c10::optional<c10::ArrayRef<long> >, c10::optional<long>, bool)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::linalg_vector_norm(at::Tensor const&, c10::Scalar const&, c10::optional<c10::ArrayRef<long> >, bool, c10::optional<c10::ScalarType>)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::var(at::Tensor const&, c10::optional<c10::ArrayRef<long> >, c10::optional<long>, bool)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `torch::jit::tensorexpr::LLVMCodeGen::LLVMCodeGen(std::shared_ptr<torch::jit::tensorexpr::Stmt>, std::vector<torch::jit::tensorexpr::CodeGen::BufferArg, std::allocator<torch::jit::tensorexpr::CodeGen::BufferArg> > const&, c10::Device, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, torch::jit::tensorexpr::Dtype, c10::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, c10::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, c10::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::std_out(at::Tensor const&, c10::optional<c10::ArrayRef<long> >, c10::optional<long>, bool, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cpp.so: undefined reference to `at::RecordFunction::RecordFunction(at::RecordScope, bool)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::_s_where(at::Tensor const&, at::Tensor const&, at::Tensor const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::lu_unpack(at::Tensor const&, at::Tensor const&, bool, bool)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `torch::jit::AliasDb::AliasDb(std::shared_ptr<torch::jit::Graph>, bool)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_out(at::Tensor const&, c10::optional<at::Tensor> const&, c10::optional<at::Tensor> const&, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::lu_unpack_out(at::Tensor const&, at::Tensor const&, bool, bool, at::Tensor&, at::Tensor&, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::addmm_sparse_csr_dense(at::Tensor const&, at::Tensor const&, at::Tensor const&, c10::Scalar const&, c10::Scalar const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clone_sparse_csr(at::Tensor const&, c10::optional<c10::MemoryFormat>)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `c10::getCustomClassTypeMap()'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_min_out(at::Tensor const&, c10::Scalar const&, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `c10::MessageLogger::MessageLogger(char const*, int, int)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::convolution_backward(at::Tensor const&, at::Tensor const&, at::Tensor const&, c10::optional<c10::ArrayRef<long> >, c10::ArrayRef<long>, c10::ArrayRef<long>, c10::ArrayRef<long>, bool, c10::ArrayRef<long>, long, std::array<bool, 3ul>)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_max_stub'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_min_stub'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_max_out(at::Tensor const&, at::Tensor const&, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_min_out(at::Tensor const&, at::Tensor const&, at::Tensor&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::mse_loss(at::Tensor const&, at::Tensor const&, long)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `torch::jit::tensorexpr::Buf::make(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<torch::jit::tensorexpr::ExprHandle, std::allocator<torch::jit::tensorexpr::ExprHandle> > const&, torch::jit::tensorexpr::Dtype)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::copy_ignoring_overlaps(at::Tensor const&, at::Tensor const&)'
- /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_max_out(at::Tensor const&, c10::Scalar const&, at::Tensor&)'
- collect2: error: ld returned 1 exit status
- = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
- = note: use the `-l` flag to specify native libraries to link
- = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
- warning: `ai2` (bin "ai2") generated 1 warning
- error: could not compile `ai2` due to previous error; 1 warning emitted
Add Comment
Please, Sign In to add comment