Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not compile an application on 0.3.5 #242

Closed
yuvalalon510 opened this issue Jun 10, 2021 · 6 comments
Closed

Can not compile an application on 0.3.5 #242

yuvalalon510 opened this issue Jun 10, 2021 · 6 comments

Comments

@yuvalalon510
Copy link

On my Debian 10.9 Buster stable system a macroquad 0.3.5 application does not compile using cargo run.
I tried macroquad 0.3.4 a few weeks ago and it worked. However, it doesn't work right now.

error: aborting due to previous error

error: could not compile alsa-sys

Caused by:
process didn't exit successfully: rustc --crate-name build_script_build --edition=2018 /home/USERNAME/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/alsa-sys-0.3.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=e1335c9e0c6339bb -C extra-filename=-e1335c9e0c6339bb --out-dir /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb -L dependency=/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps --extern pkg_config=/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib --cap-lints allow (exit code: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed

@not-fl3
Copy link
Owner

not-fl3 commented Jun 10, 2021

Maybe it is libasound2-dev system package missing?

@not-fl3
Copy link
Owner

not-fl3 commented Jun 10, 2021

And there may be something in the error, could you post the whole error message?

@yuvalalon510
Copy link
Author

yuvalalon510 commented Jun 11, 2021

libasound2-dev is installed

cargo run
Compiling alsa-sys v0.3.1
Compiling image v0.23.14
error: linking with cc failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb.build_script_build.97xcnnlq-cgu.0.rcgu.o" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb.build_script_build.97xcnnlq-cgu.1.rcgu.o" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb.build_script_build.97xcnnlq-cgu.2.rcgu.o" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb.build_script_build.97xcnnlq-cgu.3.rcgu.o" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb.build_script_build.97xcnnlq-cgu.4.rcgu.o" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb.build_script_build.97xcnnlq-cgu.5.rcgu.o" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb.build_script_build.97xcnnlq-cgu.6.rcgu.o" "-o" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb.1kj95ebavei18x36.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps" "-L" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib" "-Wl,--start-group" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0a9489cf400f65e4.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff5dc44c66f8c479.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3317c66a83501f9c.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-5d8dec11fc25537d.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3af2a9328550e2a6.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3092e2ecef0f49f1.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-29b776c021389465.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8873bd287db0d28.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1171b49d77e47426.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c29894d22dc88b51.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-796a7750df3d8218.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ff7772d803d3e0de.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-dae3eac9cfa44200.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0fa02f580e987af5.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7f7254233be843ed.rlib" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1395c6db3d116086.rlib" "-Wl,--end-group" "/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4bd87926720b651.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
= note: /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.7.rcgu.o): in function <pkg_config::Error as core::fmt::Display>::fmt': /home/USERNAME/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/pkg-config-0.3.19/src/lib.rs:173: undefined reference to std::panicking::begin_panic'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.7.rcgu.o): in function pkg_config::Library::parse_libs_cflags': /home/USERNAME/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/pkg-config-0.3.19/src/lib.rs:527: undefined reference to core::iter::traits::iterator::Iterator::map'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.7.rcgu.o): in function pkg_config::envify::{{closure}}': /home/USERNAME/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/pkg-config-0.3.19/src/lib.rs:608: undefined reference to core::char::methods::::to_ascii_uppercase'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.9.rcgu.o): in function core::ptr::drop_in_place<alloc::collections::btree::map::BTreeMap<std::ffi::os_str::OsString,core::option::Option<std::ffi::os_str::OsString>>>': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:187: undefined reference to <alloc::collections::btree::map::BTreeMap<K,V> as core::ops::drop::Drop>::drop'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.0.rcgu.o): in function <hashbrown::raw::RawIterHashInner<A> as core::iter::traits::iterator::Iterator>::next': /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2219: undefined reference to <hashbrown::raw::bitmask::BitMaskIter as core::iter::traits::iterator::Iterator>::next'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2223: undefined reference to hashbrown::raw::sse2::Group::match_empty' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2223: undefined reference to hashbrown::raw::bitmask::BitMask::any_bit_set'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2227: undefined reference to hashbrown::raw::sse2::Group::load' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2228: undefined reference to hashbrown::raw::sse2::Group::match_byte'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2228: undefined reference to <hashbrown::raw::bitmask::BitMask as core::iter::traits::collect::IntoIterator>::into_iter' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.0.rcgu.o): in function <hashbrown::raw::RawIterRange as core::iter::traits::iterator::Iterator>::next':
/cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1806: undefined reference to hashbrown::raw::bitmask::BitMask::lowest_set_bit' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1807: undefined reference to hashbrown::raw::bitmask::BitMask::remove_lowest_bit'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1820: undefined reference to hashbrown::raw::sse2::Group::load_aligned' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1820: undefined reference to hashbrown::raw::sse2::Group::match_full'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.0.rcgu.o): in function hashbrown::raw::RawIterRange<T>::new': /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1726: undefined reference to hashbrown::raw::sse2::Group::load_aligned'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1726: undefined reference to hashbrown::raw::sse2::Group::match_full' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.0.rcgu.o): in function hashbrown::raw::RawTableInner::find_insert_slot':
/cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1215: undefined reference to hashbrown::raw::sse2::Group::load' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1216: undefined reference to hashbrown::raw::sse2::Group::match_empty_or_deleted'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1216: undefined reference to hashbrown::raw::bitmask::BitMask::lowest_set_bit' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1231: undefined reference to hashbrown::raw::sse2::Group::load_aligned'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1231: undefined reference to hashbrown::raw::sse2::Group::match_empty_or_deleted' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1231: undefined reference to hashbrown::raw::bitmask::BitMask::lowest_set_bit_nonzero'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.0.rcgu.o): in function hashbrown::raw::RawTableInner<A>::prepare_rehash_in_place': /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1250: undefined reference to hashbrown::raw::sse2::Group::load_aligned'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1251: undefined reference to hashbrown::raw::sse2::Group::convert_special_to_empty_and_full_to_deleted' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:1252: undefined reference to hashbrown::raw::sse2::Group::store_aligned'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.0.rcgu.o): in function hashbrown::raw::RawIterHashInner<A>::new': /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2186: undefined reference to hashbrown::raw::sse2::Group::load'
/usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2187: undefined reference to hashbrown::raw::sse2::Group::match_byte' /usr/bin/ld: /cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/hashbrown-0.11.0/src/raw/mod.rs:2187: undefined reference to <hashbrown::raw::bitmask::BitMask as core::iter::traits::collect::IntoIterator>::into_iter'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.11.rcgu.o): in function alloc::string::String::push': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/string.rs:1080: undefined reference to core::char::methods::::len_utf8'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/string.rs:1082: undefined reference to core::char::methods::<impl char>::encode_utf8' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.13.rcgu.o): in function <core::iter::adapters::flatten::FlattenCompat<I,U> as core::iter::traits::iterator::Iterator>::next':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/flatten.rs:267: undefined reference to <core::iter::adapters::fuse::Fuse<I> as core::iter::traits::iterator::Iterator>::next' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.14.rcgu.o): in function alloc::boxed::Box<T,A>::into_unique':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:926: undefined reference to <core::ptr::unique::Unique<T> as core::convert::From<&mut T>>::from' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.14.rcgu.o): in function alloc::boxed::Box<T,A>::into_raw_with_allocator':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:909: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.14.rcgu.o): in function alloc::boxed::Box<T,A>::leak':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:981: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.15.rcgu.o): in function core::iter::traits::iterator::Iterator::filter':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:845: undefined reference to core::iter::adapters::filter::Filter<I,P>::new' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::allocate_in':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:210: undefined reference to core::ptr::unique::Unique<T>::new_unchecked' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::current_memory':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to core::ptr::unique::Unique<T>::cast' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to <T as core::convert::Into>::into'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::current_memory': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to core::ptr::unique::Unique::cast'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to <T as core::convert::Into<U>>::into' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::current_memory':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to core::ptr::unique::Unique<T>::cast' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to <T as core::convert::Into>::into'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::current_memory': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to core::ptr::unique::Unique::cast'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to <T as core::convert::Into<U>>::into' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::current_memory':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to core::ptr::unique::Unique<T>::cast' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to <T as core::convert::Into>::into'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::current_memory': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to core::ptr::unique::Unique::cast'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to <T as core::convert::Into<U>>::into' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::current_memory':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to core::ptr::unique::Unique<T>::cast' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to <T as core::convert::Into>::into'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::current_memory': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to core::ptr::unique::Unique::cast'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:263: undefined reference to <T as core::convert::Into<U>>::into' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::from_raw_parts_in':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:229: undefined reference to core::ptr::unique::Unique<T>::new_unchecked' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::from_raw_parts_in':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:229: undefined reference to core::ptr::unique::Unique<T>::new_unchecked' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:237: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:237: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:237: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:237: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:237: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:237: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:237: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:237: undefined reference to core::ptr::unique::Unique<T>::as_ptr' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::new_in':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:135: undefined reference to core::ptr::unique::Unique<T>::dangling' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::set_ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:389: undefined reference to core::ptr::unique::Unique<T>::new_unchecked' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::set_ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:389: undefined reference to core::ptr::unique::Unique<T>::new_unchecked' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.2.rcgu.o): in function alloc::raw_vec::RawVec<T,A>::set_ptr':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/raw_vec.rs:389: undefined reference to core::ptr::unique::Unique<T>::new_unchecked' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::next':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:101: undefined reference to <core::iter::adapters::filter::Filter<I,P> as core::iter::traits::iterator::Iterator>::next' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function core::mem::zeroed':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/mem/mod.rs:626: undefined reference to core::mem::maybe_uninit::MaybeUninit<T>::zeroed' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function core::str::::trim::{{closure}}':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/str/mod.rs:1723: undefined reference to core::char::methods::<impl char>::is_whitespace' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function core::iter::traits::iterator::Iterator::fuse':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:1517: undefined reference to core::iter::adapters::fuse::Fuse<I>::new' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function alloc::alloc::box_free':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:331: undefined reference to core::ptr::unique::Unique<T>::as_ref' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:332: undefined reference to core::ptr::unique::Unique::as_ref'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to core::ptr::unique::Unique<T>::cast' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to <T as core::convert::Into>::into'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function alloc::alloc::box_free': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:331: undefined reference to core::ptr::unique::Unique::as_ref'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:332: undefined reference to core::ptr::unique::Unique<T>::as_ref' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to core::ptr::unique::Unique::cast'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to <T as core::convert::Into<U>>::into' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function alloc::alloc::box_free':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:331: undefined reference to core::ptr::unique::Unique<T>::as_ref' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:332: undefined reference to core::ptr::unique::Unique::as_ref'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to core::ptr::unique::Unique<T>::cast' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to <T as core::convert::Into>::into'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function alloc::alloc::box_free': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:331: undefined reference to core::ptr::unique::Unique::as_ref'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:332: undefined reference to core::ptr::unique::Unique<T>::as_ref' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to core::ptr::unique::Unique::cast'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to <T as core::convert::Into<U>>::into' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function alloc::alloc::box_free':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:331: undefined reference to core::ptr::unique::Unique<T>::as_ref' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:332: undefined reference to core::ptr::unique::Unique::as_ref'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to core::ptr::unique::Unique<T>::cast' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to <T as core::convert::Into>::into'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function alloc::alloc::box_free': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:331: undefined reference to core::ptr::unique::Unique::as_ref'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:332: undefined reference to core::ptr::unique::Unique<T>::as_ref' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to core::ptr::unique::Unique::cast'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to <T as core::convert::Into<U>>::into' /usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.3.rcgu.o): in function alloc::alloc::box_free':
/home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:331: undefined reference to core::ptr::unique::Unique<T>::as_ref' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:332: undefined reference to core::ptr::unique::Unique::as_ref'
/usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to core::ptr::unique::Unique<T>::cast' /usr/bin/ld: /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/alloc.rs:334: undefined reference to <T as core::convert::Into>::into'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.4.rcgu.o): in function <char as core::str::pattern::Pattern>::into_searcher': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/str/pattern.rs:537: undefined reference to core::char::methods::::encode_utf8'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/deps/libpkg_config-3bc53792fa76c0c5.rlib(pkg_config-3bc53792fa76c0c5.pkg_config.43qg02cu-cgu.4.rcgu.o): in function <core::str::pattern::StrSearcher as core::str::pattern::Searcher>::next': /home/USERNAME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/str/pattern.rs:977: undefined reference to core::char::methods::::len_utf8'
/usr/bin/ld: /home/USERNAME/Programming/Rust/four_in_a_row/target/debug/build/alsa-sys-e1335c9e0c6339bb/build_script_build-e1335c9e0c6339bb: hidden symbol `_ZN9hashbrown3raw4sse25Group12load_aligned17h635498358b6ca468E' isn't defined
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: could not compile alsa-sys

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

@not-fl3
Copy link
Owner

not-fl3 commented Jun 11, 2021

The only similar error I found: rust-lang/cargo#8838

I would recommend cargo clean and rustup update

@yuvalalon510
Copy link
Author

Now it works, Thank you for your quick help!

@not-fl3
Copy link
Owner

not-fl3 commented Jun 11, 2021

Awesome, glad it works! :)

@not-fl3 not-fl3 closed this as completed Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants