Guest User

Error Rust

a guest
Aug 3rd, 2022
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 30.83 KB | None | 0 0
  1. r@book:~/p/r/ai2|master✓
  2. cargo clean                                                                                                                                         12:37:19
  3. r@book:~/p/r/ai2|master✓
  4. cargo run                                                                                                                                           12:39:02
  5.    Compiling autocfg v1.1.0
  6.    Compiling libc v0.2.126
  7.    Compiling cfg-if v1.0.0
  8.    Compiling pkg-config v0.3.25
  9.    Compiling cc v1.0.73
  10.    Compiling proc-macro2 v1.0.42
  11.    Compiling quote v1.0.20
  12.    Compiling unicode-ident v1.0.2
  13.    Compiling syn v1.0.98
  14.    Compiling once_cell v1.13.0
  15.    Compiling memchr v2.5.0
  16.    Compiling version_check v0.9.4
  17.    Compiling log v0.4.17
  18.    Compiling crc32fast v1.3.2
  19.    Compiling adler v1.0.2
  20.    Compiling pin-project-lite v0.2.9
  21.    Compiling serde_derive v1.0.140
  22.    Compiling openssl-probe v0.1.5
  23.    Compiling itoa v1.0.2
  24.    Compiling futures-core v0.3.21
  25.    Compiling bytes v1.2.0
  26.    Compiling serde v1.0.140
  27.    Compiling typenum v1.15.0
  28.    Compiling crossbeam-utils v0.8.11
  29.    Compiling byteorder v1.4.3
  30.    Compiling futures-task v0.3.21
  31.    Compiling tinyvec_macros v0.1.0
  32.    Compiling openssl v0.10.41
  33.    Compiling futures-util v0.3.21
  34.    Compiling foreign-types-shared v0.1.1
  35.    Compiling lazy_static v1.4.0
  36.    Compiling fnv v1.0.7
  37.    Compiling futures-sink v0.3.21
  38.    Compiling pin-utils v0.1.0
  39.    Compiling futures-channel v0.3.21
  40.    Compiling futures-io v0.3.21
  41.    Compiling httparse v1.7.1
  42.    Compiling ryu v1.0.10
  43.    Compiling native-tls v0.2.10
  44.    Compiling bitflags v1.3.2
  45.    Compiling curl v0.4.44
  46.    Compiling anyhow v1.0.58
  47.    Compiling matches v0.1.9
  48.    Compiling scopeguard v1.1.0
  49.    Compiling rayon-core v1.9.3
  50.    Compiling percent-encoding v2.1.0
  51.    Compiling try-lock v0.2.3
  52.    Compiling httpdate v1.0.2
  53.    Compiling unicode-bidi v0.3.8
  54.    Compiling ppv-lite86 v0.2.16
  55.    Compiling serde_json v1.0.82
  56.    Compiling regex-syntax v0.6.27
  57.    Compiling encoding_rs v0.8.31
  58.    Compiling tower-service v0.3.2
  59.    Compiling either v1.7.0
  60.    Compiling rawpointer v0.2.1
  61.    Compiling regex-automata v0.1.10
  62.    Compiling protobuf v2.27.1
  63.    Compiling base64 v0.13.0
  64.    Compiling smallvec v1.9.0
  65.    Compiling number_prefix v0.4.0
  66.    Compiling ipnet v2.5.0
  67.    Compiling fastrand v1.8.0
  68.    Compiling remove_dir_all v0.5.3
  69.    Compiling cpufeatures v0.2.2
  70.    Compiling mime v0.3.16
  71.    Compiling itoa v0.4.8
  72.    Compiling rust_tokenizers v7.0.2
  73.    Compiling half v1.8.2
  74.    Compiling glob v0.3.0
  75.    Compiling tracing-core v0.1.28
  76.    Compiling miniz_oxide v0.5.3
  77.    Compiling tokio v1.20.1
  78.    Compiling slab v0.4.7
  79.    Compiling indexmap v1.9.1
  80.    Compiling memoffset v0.6.5
  81.    Compiling num-traits v0.2.15
  82.    Compiling crossbeam-epoch v0.9.10
  83.    Compiling num-integer v0.1.45
  84.    Compiling rayon v1.5.3
  85.    Compiling ahash v0.7.6
  86.    Compiling generic-array v0.14.5
  87.    Compiling tinyvec v1.6.0
  88.    Compiling foreign-types v0.3.2
  89.    Compiling http v0.2.8
  90.    Compiling openssl-sys v0.9.75
  91.    Compiling bzip2-sys v0.1.11+1.0.8
  92.    Compiling libz-sys v1.1.8
  93.    Compiling curl-sys v0.4.56+curl-7.83.1
  94.    Compiling form_urlencoded v1.0.1
  95.    Compiling matrixmultiply v0.3.2
  96.    Compiling itertools v0.10.3
  97.    Compiling unicode-normalization-alignments v0.1.12
  98.    Compiling tracing v0.1.35
  99.    Compiling unicode-normalization v0.1.21
  100.    Compiling http-body v0.4.5
  101.    Compiling getrandom v0.2.7
  102.    Compiling num_cpus v1.13.1
  103.    Compiling time v0.1.44
  104.    Compiling socket2 v0.4.4
  105.    Compiling terminal_size v0.1.17
  106.    Compiling xattr v0.2.3
  107.    Compiling filetime v0.2.17
  108.    Compiling dirs-sys v0.3.7
  109.    Compiling tempfile v3.3.0
  110.    Compiling fs2 v0.4.3
  111.    Compiling mio v0.8.4
  112.    Compiling want v0.3.0
  113.    Compiling flate2 v1.0.24
  114.    Compiling aho-corasick v0.7.18
  115.    Compiling csv-core v0.1.10
  116.    Compiling crossbeam-channel v0.5.6
  117.    Compiling rand_core v0.6.3
  118.    Compiling uuid v1.1.2
  119.    Compiling idna v0.2.3
  120.    Compiling console v0.15.1
  121.    Compiling tar v0.4.38
  122.    Compiling dirs v4.0.0
  123.    Compiling bzip2 v0.4.3
  124.    Compiling regex v1.6.0
  125.    Compiling num-complex v0.4.2
  126.    Compiling ordered-float v3.0.0
  127.    Compiling hashbrown v0.12.3
  128.    Compiling crypto-common v0.1.6
  129.    Compiling block-buffer v0.10.2
  130.    Compiling rand_chacha v0.3.1
  131.    Compiling url v2.2.2
  132.    Compiling crossbeam-deque v0.8.2
  133.    Compiling ndarray v0.15.4
  134.    Compiling digest v0.10.3
  135.    Compiling rand v0.8.5
  136.    Compiling indicatif v0.16.2
  137.    Compiling sha2 v0.10.2
  138.    Compiling tokio-util v0.7.3
  139.    Compiling h2 v0.3.13
  140.    Compiling thiserror-impl v1.0.31
  141.    Compiling openssl-macros v0.1.0
  142.    Compiling hyper v0.14.20
  143.    Compiling thiserror v1.0.31
  144.    Compiling zip v0.5.13
  145.    Compiling zip-extensions v0.6.1
  146.    Compiling torch-sys v0.7.2
  147.    Compiling tokio-native-tls v0.3.0
  148.    Compiling hyper-tls v0.5.0
  149.    Compiling bstr v0.2.17
  150.    Compiling serde_urlencoded v0.7.1
  151.    Compiling reqwest v0.11.11
  152.    Compiling csv v1.1.6
  153.    Compiling cached-path v0.5.3
  154.    Compiling tch v0.7.2
  155.    Compiling rust-bert v0.18.0
  156.    Compiling ai2 v0.1.0 (/home/r/projects/rust/ai2)
  157. warning: unused imports: `QaInput`, `QuestionAnsweringModel`
  158.  --> src/main.rs:1:48
  159.   |
  160. 1 | use rust_bert::pipelines::question_answering::{QaInput, QuestionAnsweringModel};
  161.   |                                                ^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
  162.   |
  163.   = note: `#[warn(unused_imports)]` on by default
  164.  
  165. error: linking with `cc` failed: exit status: 1
  166.   |
  167.   = 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"
  168.   = 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&)'
  169.          /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&)'
  170.           /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&)'
  171.          /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)'
  172.           /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&)'
  173.          /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::linalg_vector_norm_stub'
  174.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::nansum(at::Tensor const&, c10::optional<c10::ScalarType>)'
  175.          /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&)'
  176.           /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&)'
  177.          /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&)'
  178.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::meta::structured_gelu::meta(at::Tensor const&)'
  179.          /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&)'
  180.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::real_stub'
  181.          /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)'
  182.           /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> >)'
  183.          /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)'
  184.           /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)'
  185.          /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>)'
  186.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cpp.so: undefined reference to `at::DynamicLibrary::DynamicLibrary(char const*, char const*)'
  187.          /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&)'
  188.           /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>)'
  189.          /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&)'
  190.           /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&)'
  191.          /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::imag_stub'
  192.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `c10::TensorImpl::is_contiguous_nondefault_policy_impl(c10::MemoryFormat) const'
  193.          /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::result_type(c10::ArrayRef<at::Tensor>)'
  194.           /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)'
  195.          /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `c10::MessageLogger::~MessageLogger()'
  196.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cpp.so: undefined reference to `c10d::isP2POp(c10d::OpType)'
  197.          /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)'
  198.           /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>)'
  199.          /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)'
  200.           /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> > >)'
  201.          /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&)'
  202.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cpp.so: undefined reference to `at::RecordFunction::RecordFunction(at::RecordScope, bool)'
  203.          /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&)'
  204.           /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)'
  205.          /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)'
  206.           /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&)'
  207.          /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&)'
  208.           /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&)'
  209.          /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>)'
  210.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `c10::getCustomClassTypeMap()'
  211.          /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&)'
  212.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `c10::MessageLogger::MessageLogger(char const*, int, int)'
  213.          /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>)'
  214.           /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_max_stub'
  215.          /usr/bin/ld: /home/r/libtorch/lib/libtorch_cuda_cu.so: undefined reference to `at::native::clamp_min_stub'
  216.           /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&)'
  217.          /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&)'
  218.           /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)'
  219.          /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)'
  220.           /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&)'
  221.          /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&)'
  222.           collect2: error: ld returned 1 exit status
  223.          
  224.   = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  225.  = note: use the `-l` flag to specify native libraries to link
  226.  = 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)
  227.  
  228. warning: `ai2` (bin "ai2") generated 1 warning
  229. error: could not compile `ai2` due to previous error; 1 warning emitted
  230.  
Add Comment
Please, Sign In to add comment