Skip to content

Instantly share code, notes, and snippets.

@marmistrz
Created July 25, 2017 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marmistrz/a6e503a5491df80a493030e0a0e702d2 to your computer and use it in GitHub Desktop.
Save marmistrz/a6e503a5491df80a493030e0a0e702d2 to your computer and use it in GitHub Desktop.
nix cargo test
Doc-tests nix
running 19 tests
test src/sys/ioctl/mod.rs - sys::ioctl (line 126) ... FAILED
test src/sys/ioctl/mod.rs - sys::ioctl (line 183) ... FAILED
test src/sys/ioctl/mod.rs - sys::ioctl (line 171) ... FAILED
test src/pty.rs - pty::posix_openpt (line 87) ... FAILED
test src/sys/ioctl/mod.rs - sys::ioctl (line 220) ... FAILED
test src/sys/ioctl/mod.rs - sys::ioctl (line 56) ... FAILED
test src/sys/ioctl/mod.rs - sys::ioctl (line 67) ... FAILED
test src/sys/ioctl/mod.rs - sys::ioctl (line 91) ... FAILED
test src/sys/signalfd.rs - sys::signalfd::SignalFd (line 62) ... FAILED
test src/sys/termios.rs - sys::termios (line 25) ... FAILED
test src/sys/termios.rs - sys::termios (line 40) ... FAILED
test src/sys/termios.rs - sys::termios::Termios::get_libc_termios (line 80) ... FAILED
test src/unistd.rs - unistd::close (line 694) ... ok
test src/unistd.rs - unistd::fork (line 174) ... ok
test src/unistd.rs - unistd::gethostname (line 666) ... ok
test src/unistd.rs - unistd::close (line 708) ... FAILED
test src/unistd.rs - unistd::getcwd (line 447) ... FAILED
test src/unistd.rs - unistd::mkdir (line 412) ... FAILED
test src/unistd.rs - unistd::mkstemp (line 964) ... FAILED
failures:
---- src/sys/ioctl/mod.rs - sys::ioctl (line 126) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.NnJw5Hjod7mu/rust_out.0.o" "-o" "/tmp/rustdoctest.NnJw5Hjod7mu/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
note: Run with `RUST_BACKTRACE=1` for a backtrace.
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/ioctl/mod.rs - sys::ioctl (line 183) stdout ----
warning: type `spi_ioc_transfer` should have a camel case name such as `SpiIocTransfer`
--> <anon>:7:1
|
7 | pub struct spi_ioc_transfer(u64);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(non_camel_case_types)] on by default
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.WXMYSKAZUsJN/rust_out.0.o" "-o" "/tmp/rustdoctest.WXMYSKAZUsJN/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/ioctl/mod.rs - sys::ioctl (line 171) stdout ----
warning: type `spi_ioc_transfer` should have a camel case name such as `SpiIocTransfer`
--> <anon>:4:1
|
4 | pub struct spi_ioc_transfer(u64);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(non_camel_case_types)] on by default
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.BohDJzBHHp0n/rust_out.0.o" "-o" "/tmp/rustdoctest.BohDJzBHHp0n/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/pty.rs - pty::posix_openpt (line 87) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.5dC4nEM8cES7/rust_out.0.o" "-o" "/tmp/rustdoctest.5dC4nEM8cES7/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/ioctl/mod.rs - sys::ioctl (line 220) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.LFuDIuku215v/rust_out.0.o" "-o" "/tmp/rustdoctest.LFuDIuku215v/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/ioctl/mod.rs - sys::ioctl (line 56) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.1jX9rG2JFidb/rust_out.0.o" "-o" "/tmp/rustdoctest.1jX9rG2JFidb/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/ioctl/mod.rs - sys::ioctl (line 67) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.JFiUdlrZiTwG/rust_out.0.o" "-o" "/tmp/rustdoctest.JFiUdlrZiTwG/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/ioctl/mod.rs - sys::ioctl (line 91) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.vQ7DmhUsA6PO/rust_out.0.o" "-o" "/tmp/rustdoctest.vQ7DmhUsA6PO/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/signalfd.rs - sys::signalfd::SignalFd (line 62) stdout ----
warning: unused variable: `sig`
--> <anon>:14:13
|
14 | Ok(Some(sig)) => (),
| ^^^
|
= note: #[warn(unused_variables)] on by default
warning: unused variable: `err`
--> <anon>:18:9
|
18 | Err(err) => (), // some error happend
| ^^^
|
= note: #[warn(unused_variables)] on by default
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.m9fDR0nGVnmo/rust_out.0.o" "-o" "/tmp/rustdoctest.m9fDR0nGVnmo/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/termios.rs - sys::termios (line 25) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.q1tgtU9rzzrf/rust_out.0.o" "-o" "/tmp/rustdoctest.q1tgtU9rzzrf/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/termios.rs - sys::termios (line 40) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.wE7mPcxcND9D/rust_out.0.o" "-o" "/tmp/rustdoctest.wE7mPcxcND9D/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/sys/termios.rs - sys::termios::Termios::get_libc_termios (line 80) stdout ----
warning: variable does not need to be mutable
--> <anon>:5:5
|
5 | let mut termios = unsafe { Termios::default_uninit() };
| ^^^^^^^^^^^
|
= note: #[warn(unused_mut)] on by default
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.0vlJGRVJW1im/rust_out.0.o" "-o" "/tmp/rustdoctest.0vlJGRVJW1im/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/unistd.rs - unistd::close (line 708) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.kembruEeS0X9/rust_out.0.o" "-o" "/tmp/rustdoctest.kembruEeS0X9/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libtempfile-7a744e3150afb384.rlib" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/librand-7e8bcbfcafe5b8c4.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "/tmp/nix/target/debug/deps/liblibc-c65f1b517f2874d0.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/unistd.rs - unistd::getcwd (line 447) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.t0zvdgoJXJAV/rust_out.0.o" "-o" "/tmp/rustdoctest.t0zvdgoJXJAV/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/unistd.rs - unistd::mkdir (line 412) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.BVzt1yd7Shg7/rust_out.0.o" "-o" "/tmp/rustdoctest.BVzt1yd7Shg7/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libtempdir-06a0c118580af771.rlib" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/librand-7e8bcbfcafe5b8c4.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "/tmp/nix/target/debug/deps/liblibc-c65f1b517f2874d0.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
---- src/unistd.rs - unistd::mkstemp (line 964) stdout ----
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctest.dsCU4nIOGqvv/rust_out.0.o" "-o" "/tmp/rustdoctest.dsCU4nIOGqvv/rust_out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/tmp/nix/target/debug/deps" "-L" "/tmp/nix/target/debug/build/nix-test-cea78f87d1d8d39e/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libnix-e73b0a339b4f6ba0.rlib" "/tmp/nix/target/debug/deps/libvoid-f24b5986d1fd40f3.rlib" "/tmp/nix/target/debug/deps/libbitflags-18712075ae288759.rlib" "/tmp/nix/target/debug/deps/liblibc-d5a35414cc9ee652.rlib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-l" "std-1cca08df8b8463bb" "-Wl,-Bstatic" "/tmp/nix/target/debug/deps/libcfg_if-f910a8f5639e72da.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ea18392371a582bb.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util"
= note: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `typeinfo for std::bad_alloc'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_end_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::set_new_handler(void (*)())'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__gxx_personality_v0'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `__cxa_begin_catch'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_system_error(int)'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::terminate()'
/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1cca08df8b8463bb.so: undefined reference to `std::__throw_bad_alloc()'
collect2: error: ld returned 1 exit status
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:514
thread 'rustc' panicked at 'couldn't compile the test', src/librustdoc/test.rs:278
failures:
src/pty.rs - pty::posix_openpt (line 87)
src/sys/ioctl/mod.rs - sys::ioctl (line 126)
src/sys/ioctl/mod.rs - sys::ioctl (line 171)
src/sys/ioctl/mod.rs - sys::ioctl (line 183)
src/sys/ioctl/mod.rs - sys::ioctl (line 220)
src/sys/ioctl/mod.rs - sys::ioctl (line 56)
src/sys/ioctl/mod.rs - sys::ioctl (line 67)
src/sys/ioctl/mod.rs - sys::ioctl (line 91)
src/sys/signalfd.rs - sys::signalfd::SignalFd (line 62)
src/sys/termios.rs - sys::termios (line 25)
src/sys/termios.rs - sys::termios (line 40)
src/sys/termios.rs - sys::termios::Termios::get_libc_termios (line 80)
src/unistd.rs - unistd::close (line 708)
src/unistd.rs - unistd::getcwd (line 447)
src/unistd.rs - unistd::mkdir (line 412)
src/unistd.rs - unistd::mkstemp (line 964)
test result: FAILED. 3 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out
error: test failed, to rerun pass '--doc'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment