Issue title: Compilation errors on Ubuntu 12.04
 Issue body: ``` bash
$ rustc --version
rustc 1.3.0-nightly (16f64c388 2015-07-09)
$ git clone https://github.com/ogham/exa.git
$ cd exa
$ sudo make --install
cargo build --release
   Compiling exa v0.3.0 (file:///home/alanb/src/git/hub/exa)
src/feature/xattr_linux.rs:4:5: 4:22 warning: unused import, #[warn(unused_imports)] on by default
src/feature/xattr_linux.rs:4 use st38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5ffi38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5String;
                                 ^~~~~~~~~~~~~~~~~
error: linking with `cc` failed: exit code: 1
note: "cc" "-Wl,--as-needed" "-m64" "-L" "/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/alanb/src/git/hub/exa/target/release/exa.0.o" "-o" "/home/alanb/src/git/hub/exa/target/release/exa" "-Wl,--whole-archive" "-l" "morestack" "-Wl,--no-whole-archive" "-Wl,--gc-sections" "-pie" "-Wl,-O1" "-nodefaultlibs" "-Wl,--whole-archive" "/tmp/rustc.O8V1ruSOlYpv/liblibgit2_sys-ee62f8ed694e2d9b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.O8V1ruSOlYpv/liblibssh2_sys-197403f26ef746c2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.O8V1ruSOlYpv/libopenssl_sys-f1940735b7e345d7.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.O8V1ruSOlYpv/libstd-74fa456f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.O8V1ruSOlYpv/liballoc-74fa456f.rlib" "-Wl,--no-whole-archive" "-L" "/home/alanb/src/git/hub/exa/target/release" "-L" "/home/alanb/src/git/hub/exa/target/release/deps" "-L" "/home/alanb/src/git/hub/exa/target/release/build/libgit2-sys-ee62f8ed694e2d9b/out/lib" "-L" "/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/home/alanb/src/git/hub/exa/target/release/build/openssl-sys-f1940735b7e345d7/out" "-L" "/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/home/alanb/src/git/hub/exa/.rust/lib/x86_64-unknown-linux-gnu" "-L" "/home/alanb/src/git/hub/exa/lib/x86_64-unknown-linux-gnu" "-Wl,-Bstatic" "-Wl,-Bdynamic" "-l" "rt" "-l" "ssl" "-l" "crypto" "-l" "dl" "-l" "z" "-l" "z" "-l" "ssl" "-l" "crypto" "-l" "c" "-l" "m" "-l" "dl" "-l" "pthread" "-l" "rt" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "compiler-rt"
note: /tmp/rustc.O8V1ruSOlYpv/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_nextid':
channel.c:(.text._libssh2_channel_nextid+0x0): multiple definition of `_libssh2_channel_nextid'
#
# many more warnings of multiple definitions
#
error: aborting due to previous error
Could not compile `exa`.

To learn more, run the command again with --verbose.
make: *** [target/release/exa] Error 101

$ sudo make install --verbose
make: unrecognized option '--verbose'
Usage: make [options] [target] ...

```

 Comments: 
 Comment 0: Hm, not sure what's going on here. Could you please tell me:
- Which distro you're using?
- Paste the output of `cargo build --verbose`?

 Comment 1: ``` bash
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise

$ sudo cargo build --verbose > cargo.log 2>&1
   Compiling bitflags v0.1.1
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/bitflags-0.1.1/src/lib.rs --crate-name bitflags --crate-type lib -g -C metadata=dd68b8369bcd8ff0 -C extra-filename=-dd68b8369bcd8ff0 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling byteorder v0.3.10
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/byteorder-0.3.10/src/lib.rs --crate-name byteorder --crate-type lib -g -C metadata=399c175f6a7726ac -C extra-filename=-399c175f6a7726ac --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling matches v0.1.2
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/matches-0.1.2/lib.rs --crate-name matches --crate-type lib -g -C metadata=68291f81832fc22d -C extra-filename=-68291f81832fc22d --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling rustc-serialize v0.3.15
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/rustc-serialize-0.3.15/src/lib.rs --crate-name rustc_serialize --crate-type lib -g -C metadata=c1e8163a38ed3d54 -C extra-filename=-c1e8163a38ed3d54 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling unicode-width v0.1.1
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/unicode-width-0.1.1/src/lib.rs --crate-name unicode_width --crate-type lib -g --cfg feature=\"default\" -C metadata=130fd712a1a101ee -C extra-filename=-130fd712a1a101ee --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling ansi_term v0.5.2
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/ansi_term-0.5.2/src/ansi_term.rs --crate-name ansi_term --crate-type lib -g -C metadata=099aa38433e28470 -C extra-filename=-099aa38433e28470 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling threadpool v0.1.4
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/threadpool-0.1.4/src/lib.rs --crate-name threadpool --crate-type lib -g -C metadata=7afb0ed74cdfb4ee -C extra-filename=-7afb0ed74cdfb4ee --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling pkg-config v0.3.5
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/pkg-config-0.3.5/src/lib.rs --crate-name pkg_config --crate-type lib -g -C metadata=8cd0cf26131c0646 -C extra-filename=-8cd0cf26131c0646 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling gcc v0.3.8
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/gcc-0.3.8/src/lib.rs --crate-name gcc --crate-type lib -g -C metadata=f054ee6639177d8d -C extra-filename=-f054ee6639177d8d --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling libc v0.1.8
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/libc-0.1.8/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature=\"cargo-build\" --cfg feature=\"default\" -C metadata=ef5cbad4ef5c7a1e -C extra-filename=-ef5cbad4ef5c7a1e --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling natord v1.0.8
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/natord-1.0.8/lib.rs --crate-name natord --crate-type lib -g -C metadata=a05c856d0c2a4fbf -C extra-filename=-a05c856d0c2a4fbf --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
/home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/natord-1.0.8/lib.rs:88:34: 97:26 note: shadowed label `'digits` declared here
/home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/natord-1.0.8/lib.rs:88                         'digits: loop {
/home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/natord-1.0.8/lib.rs:89                             read_left!();
/home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/natord-1.0.8/lib.rs:90                             read_right!();
/home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/natord-1.0.8/lib.rs:91                             match (ll, rr) {
/home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/natord-1.0.8/lib.rs:92                                 (Some(ll_), Some(rr_)) => return_unless_equal!(ll_.cmp(&rr_)),
/home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/natord-1.0.8/lib.rs:93                                 (Some(_), None) => return Greater,
                                                                                   ...
   Compiling regex-syntax v0.1.2
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/regex-syntax-0.1.2/src/lib.rs --crate-name regex_syntax --crate-type lib -g -C metadata=74cdf8e4e9018a0c -C extra-filename=-74cdf8e4e9018a0c --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -Awarnings`
   Compiling term_grid v0.1.1
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/term_grid-0.1.1/src/lib.rs --crate-name term_grid --crate-type lib -g -C metadata=94d230454780f24c -C extra-filename=-94d230454780f24c --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern unicode_width=/home/alanb/src/git/hub/exa/target/debug/deps/libunicode_width-130fd712a1a101ee.rlib -Awarnings`
   Compiling pad v0.1.4
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/pad-0.1.4/src/lib.rs --crate-name pad --crate-type lib -g -C metadata=8b41ff1b2f475326 -C extra-filename=-8b41ff1b2f475326 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern unicode_width=/home/alanb/src/git/hub/exa/target/debug/deps/libunicode_width-130fd712a1a101ee.rlib -Awarnings`
   Compiling tz v0.2.0
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/tz-0.2.0/src/lib.rs --crate-name tz --crate-type lib -g -C metadata=908fc5615f8315f2 -C extra-filename=-908fc5615f8315f2 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern byteorder=/home/alanb/src/git/hub/exa/target/debug/deps/libbyteorder-399c175f6a7726ac.rlib -Awarnings`
   Compiling memchr v0.1.3
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/memchr-0.1.3/src/lib.rs --crate-name memchr --crate-type lib -g -C metadata=38e2ee286f7e4bdb -C extra-filename=-38e2ee286f7e4bdb --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings`
   Compiling users v0.4.2
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/users-0.4.2/src/lib.rs --crate-name users --crate-type lib -g -C metadata=20f00ef534fe78a3 -C extra-filename=-20f00ef534fe78a3 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings`
   Compiling num_cpus v0.2.6
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/num_cpus-0.2.6/src/lib.rs --crate-name num_cpus --crate-type lib -g -C metadata=16707c6acca9fe91 -C extra-filename=-16707c6acca9fe91 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings`
   Compiling rand v0.3.8
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/rand-0.3.8/src/lib.rs --crate-name rand --crate-type lib -g -C metadata=de6cdb9e4fd93d55 -C extra-filename=-de6cdb9e4fd93d55 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings`
   Compiling log v0.3.1
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/log-0.3.1/src/lib.rs --crate-name log --crate-type lib -g -C metadata=8a6aba167994951e -C extra-filename=-8a6aba167994951e --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings`
   Compiling aho-corasick v0.2.1
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/aho-corasick-0.2.1/src/lib.rs --crate-name aho_corasick --crate-type lib -g -C metadata=068913d97bcdea39 -C extra-filename=-068913d97bcdea39 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern memchr=/home/alanb/src/git/hub/exa/target/debug/deps/libmemchr-38e2ee286f7e4bdb.rlib -Awarnings`
   Compiling libz-sys v0.1.6
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/libz-sys-0.1.6/build.rs --crate-name build_script_build --crate-type bin -C prefer-dynamic -g --out-dir /home/alanb/src/git/hub/exa/target/debug/build/libz-sys-78922e0e40333890 --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern pkg_config=/home/alanb/src/git/hub/exa/target/debug/deps/libpkg_config-8cd0cf26131c0646.rlib -Awarnings`
   Compiling libgit2-sys v0.2.18 (https://github.com/alexcrichton/git2-rs.git#889cf3dd)
     Running `rustc /home/alanb/.cargo/git/checkouts/git2-rs-8b74d411676c498c/master/libgit2-sys/build.rs --crate-name build_script_build --crate-type bin -C prefer-dynamic -g --out-dir /home/alanb/src/git/hub/exa/target/debug/build/libgit2-sys-ee62f8ed694e2d9b --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern pkg_config=/home/alanb/src/git/hub/exa/target/debug/deps/libpkg_config-8cd0cf26131c0646.rlib -Awarnings`
   Compiling libssh2-sys v0.1.26
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/libssh2-sys-0.1.26/build.rs --crate-name build_script_build --crate-type bin -C prefer-dynamic -g --out-dir /home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2 --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern pkg_config=/home/alanb/src/git/hub/exa/target/debug/deps/libpkg_config-8cd0cf26131c0646.rlib -Awarnings`
   Compiling openssl-sys v0.6.3
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/openssl-sys-0.6.3/build.rs --crate-name build_script_build --crate-type bin -C prefer-dynamic -g --out-dir /home/alanb/src/git/hub/exa/target/debug/build/openssl-sys-f1940735b7e345d7 --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern gcc=/home/alanb/src/git/hub/exa/target/debug/deps/libgcc-f054ee6639177d8d.rlib --extern pkg_config=/home/alanb/src/git/hub/exa/target/debug/deps/libpkg_config-8cd0cf26131c0646.rlib -Awarnings`
   Compiling getopts v0.2.11
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/getopts-0.2.11/src/lib.rs --crate-name getopts --crate-type lib -g -C metadata=1dade5d0522f070b -C extra-filename=-1dade5d0522f070b --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern log=/home/alanb/src/git/hub/exa/target/debug/deps/liblog-8a6aba167994951e.rlib -Awarnings`
     Running `/home/alanb/src/git/hub/exa/target/debug/build/libz-sys-78922e0e40333890/build-script-build`
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/libz-sys-0.1.6/src/lib.rs --crate-name libz_sys --crate-type lib -g -C metadata=78922e0e40333890 -C extra-filename=-78922e0e40333890 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings -L native=/usr/lib/x86_64-linux-gnu -l z`
     Running `/home/alanb/src/git/hub/exa/target/debug/build/openssl-sys-f1940735b7e345d7/build-script-build`
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/openssl-sys-0.6.3/src/lib.rs --crate-name openssl_sys --crate-type lib -g -C metadata=f1940735b7e345d7 -C extra-filename=-f1940735b7e345d7 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/debug/build/openssl-sys-f1940735b7e345d7/out -l ssl -l crypto -l static=old_openssl_shim`
     Running `/home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2/build-script-build`
   Compiling regex v0.1.38
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/regex-0.1.38/src/lib.rs --crate-name regex --crate-type lib -g --cfg feature=\"pattern\" -C metadata=32ebc1f1da8b6841 -C extra-filename=-32ebc1f1da8b6841 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern regex_syntax=/home/alanb/src/git/hub/exa/target/debug/deps/libregex_syntax-74cdf8e4e9018a0c.rlib --extern aho_corasick=/home/alanb/src/git/hub/exa/target/debug/deps/libaho_corasick-068913d97bcdea39.rlib --extern memchr=/home/alanb/src/git/hub/exa/target/debug/deps/libmemchr-38e2ee286f7e4bdb.rlib -Awarnings`
     Running `/home/alanb/src/git/hub/exa/target/debug/build/libgit2-sys-ee62f8ed694e2d9b/build-script-build`
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/libssh2-sys-0.1.26/lib.rs --crate-name libssh2_sys --crate-type lib -g -C metadata=197403f26ef746c2 -C extra-filename=-197403f26ef746c2 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libz_sys=/home/alanb/src/git/hub/exa/target/debug/deps/liblibz_sys-78922e0e40333890.rlib --extern openssl_sys=/home/alanb/src/git/hub/exa/target/debug/deps/libopenssl_sys-f1940735b7e345d7.rlib --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings -L native=/home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2/out/lib -l static=ssh2 -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/debug/build/openssl-sys-f1940735b7e345d7/out`
   Compiling regex_macros v0.1.20
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/regex_macros-0.1.20/src/lib.rs --crate-name regex_macros --crate-type dylib -C prefer-dynamic -g -C metadata=a3af5052cb03f830 -C extra-filename=-a3af5052cb03f830 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern regex=/home/alanb/src/git/hub/exa/target/debug/deps/libregex-32ebc1f1da8b6841.rlib -Awarnings`
   Compiling num v0.1.25
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/num-0.1.25/src/lib.rs --crate-name num --crate-type lib -g --cfg feature=\"rustc-serialize\" --cfg feature=\"default\" --cfg feature=\"rand\" --cfg feature=\"rational\" --cfg feature=\"bigint\" --cfg feature=\"complex\" -C metadata=7ad397ad0b46ae38 -C extra-filename=-7ad397ad0b46ae38 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern rustc_serialize=/home/alanb/src/git/hub/exa/target/debug/deps/librustc_serialize-c1e8163a38ed3d54.rlib --extern rand=/home/alanb/src/git/hub/exa/target/debug/deps/librand-de6cdb9e4fd93d55.rlib -Awarnings`
   Compiling url v0.2.35
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/url-0.2.35/src/lib.rs --crate-name url --crate-type lib -g -C metadata=a74304d08ea0134d -C extra-filename=-a74304d08ea0134d --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern rustc_serialize=/home/alanb/src/git/hub/exa/target/debug/deps/librustc_serialize-c1e8163a38ed3d54.rlib --extern matches=/home/alanb/src/git/hub/exa/target/debug/deps/libmatches-68291f81832fc22d.rlib -Awarnings`
   Compiling number_prefix v0.2.4
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/number_prefix-0.2.4/src/lib.rs --crate-name number_prefix --crate-type lib -g -C metadata=790423cf7d755cf7 -C extra-filename=-790423cf7d755cf7 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern num=/home/alanb/src/git/hub/exa/target/debug/deps/libnum-7ad397ad0b46ae38.rlib -Awarnings`
   Compiling locale v0.1.8
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/locale-0.1.8/src/lib.rs --crate-name locale --crate-type lib -g -C metadata=c1d2b96a2e42e568 -C extra-filename=-c1d2b96a2e42e568 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern num=/home/alanb/src/git/hub/exa/target/debug/deps/libnum-7ad397ad0b46ae38.rlib --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings`
   Compiling datetime v0.2.1
     Running `rustc /home/alanb/.cargo/registry/src/github.com-0a35038f75765ae4/datetime-0.2.1/src/lib.rs --crate-name datetime --crate-type lib -g -C metadata=f06f68585cec8716 -C extra-filename=-f06f68585cec8716 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern tz=/home/alanb/src/git/hub/exa/target/debug/deps/libtz-908fc5615f8315f2.rlib --extern regex=/home/alanb/src/git/hub/exa/target/debug/deps/libregex-32ebc1f1da8b6841.rlib --extern pad=/home/alanb/src/git/hub/exa/target/debug/deps/libpad-8b41ff1b2f475326.rlib --extern regex_macros=/home/alanb/src/git/hub/exa/target/debug/deps/libregex_macros-a3af5052cb03f830.so --extern num=/home/alanb/src/git/hub/exa/target/debug/deps/libnum-7ad397ad0b46ae38.rlib --extern locale=/home/alanb/src/git/hub/exa/target/debug/deps/liblocale-c1d2b96a2e42e568.rlib -Awarnings`
     Running `rustc /home/alanb/.cargo/git/checkouts/git2-rs-8b74d411676c498c/master/libgit2-sys/lib.rs --crate-name libgit2_sys --crate-type lib -g -C metadata=ee62f8ed694e2d9b -C extra-filename=-ee62f8ed694e2d9b --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern libz_sys=/home/alanb/src/git/hub/exa/target/debug/deps/liblibz_sys-78922e0e40333890.rlib --extern openssl_sys=/home/alanb/src/git/hub/exa/target/debug/deps/libopenssl_sys-f1940735b7e345d7.rlib --extern libssh2_sys=/home/alanb/src/git/hub/exa/target/debug/deps/liblibssh2_sys-197403f26ef746c2.rlib --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib -Awarnings -L native=/home/alanb/src/git/hub/exa/target/debug/build/libgit2-sys-ee62f8ed694e2d9b/out/lib -L native=/home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -l rt -l static=git2 -l static=ssh2 -l ssl -l crypto -l dl -l z -L native=/home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/debug/build/openssl-sys-f1940735b7e345d7/out`
   Compiling git2 v0.2.13 (https://github.com/alexcrichton/git2-rs.git#889cf3dd)
     Running `rustc /home/alanb/.cargo/git/checkouts/git2-rs-8b74d411676c498c/master/src/lib.rs --crate-name git2 --crate-type lib -g -C metadata=2660a0a5365057d0 -C extra-filename=-2660a0a5365057d0 --out-dir /home/alanb/src/git/hub/exa/target/debug/deps --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern url=/home/alanb/src/git/hub/exa/target/debug/deps/liburl-a74304d08ea0134d.rlib --extern libgit2_sys=/home/alanb/src/git/hub/exa/target/debug/deps/liblibgit2_sys-ee62f8ed694e2d9b.rlib --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib --extern bitflags=/home/alanb/src/git/hub/exa/target/debug/deps/libbitflags-dd68b8369bcd8ff0.rlib -Awarnings -L native=/home/alanb/src/git/hub/exa/target/debug/build/libgit2-sys-ee62f8ed694e2d9b/out/lib -L native=/home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/debug/build/openssl-sys-f1940735b7e345d7/out`
   Compiling exa v0.3.0 (file:///home/alanb/src/git/hub/exa)
     Running `rustc src/main.rs --crate-name exa --crate-type bin -g --cfg feature=\"git2\" --cfg feature=\"git\" --cfg feature=\"default\" --out-dir /home/alanb/src/git/hub/exa/target/debug --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/debug -L dependency=/home/alanb/src/git/hub/exa/target/debug/deps --extern datetime=/home/alanb/src/git/hub/exa/target/debug/deps/libdatetime-f06f68585cec8716.rlib --extern locale=/home/alanb/src/git/hub/exa/target/debug/deps/liblocale-c1d2b96a2e42e568.rlib --extern libc=/home/alanb/src/git/hub/exa/target/debug/deps/liblibc-ef5cbad4ef5c7a1e.rlib --extern threadpool=/home/alanb/src/git/hub/exa/target/debug/deps/libthreadpool-7afb0ed74cdfb4ee.rlib --extern git2=/home/alanb/src/git/hub/exa/target/debug/deps/libgit2-2660a0a5365057d0.rlib --extern natord=/home/alanb/src/git/hub/exa/target/debug/deps/libnatord-a05c856d0c2a4fbf.rlib --extern getopts=/home/alanb/src/git/hub/exa/target/debug/deps/libgetopts-1dade5d0522f070b.rlib --extern ansi_term=/home/alanb/src/git/hub/exa/target/debug/deps/libansi_term-099aa38433e28470.rlib --extern num_cpus=/home/alanb/src/git/hub/exa/target/debug/deps/libnum_cpus-16707c6acca9fe91.rlib --extern pad=/home/alanb/src/git/hub/exa/target/debug/deps/libpad-8b41ff1b2f475326.rlib --extern bitflags=/home/alanb/src/git/hub/exa/target/debug/deps/libbitflags-dd68b8369bcd8ff0.rlib --extern number_prefix=/home/alanb/src/git/hub/exa/target/debug/deps/libnumber_prefix-790423cf7d755cf7.rlib --extern unicode_width=/home/alanb/src/git/hub/exa/target/debug/deps/libunicode_width-130fd712a1a101ee.rlib --extern users=/home/alanb/src/git/hub/exa/target/debug/deps/libusers-20f00ef534fe78a3.rlib --extern term_grid=/home/alanb/src/git/hub/exa/target/debug/deps/libterm_grid-94d230454780f24c.rlib -L native=/home/alanb/src/git/hub/exa/target/debug/build/libgit2-sys-ee62f8ed694e2d9b/out/lib -L native=/home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/debug/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/debug/build/openssl-sys-f1940735b7e345d7/out`
src/feature/xattr_linux.rs:4:5: 4:22 warning: unused import, #[warn(unused_imports)] on by default
src/feature/xattr_linux.rs:4 use st38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5ffi38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5String;
                                 ^~~~~~~~~~~~~~~~~
```

 Comment 2: Comparing first and second outputs - looks like the error comes after the cargo build, at a linking stage?

 Comment 3: Somehow I skipped over the title even though you said you're using Ubuntu. Coffee, coffee...

It does appear that it's failing to link instead of failing to compile. But running `make` doesn't do anything other than run `cargo build` and copy some files around. Do you still get the error if you run `cargo build --release --verbose`? I can't see why that would change anything, but it's the only thing that's different.

 Comment 4: Still get the error, but does add some info

```bash
$ sudo cargo build --release --verbose
       Fresh natord v1.0.8
       Fresh bitflags v0.1.1
       Fresh gcc v0.3.8
       Fresh libc v0.1.8
       Fresh regex-syntax v0.1.2
       Fresh unicode-width v0.1.1
       Fresh threadpool v0.1.4
       Fresh ansi_term v0.5.2
       Fresh matches v0.1.2
       Fresh byteorder v0.3.10
       Fresh rustc-serialize v0.3.15
       Fresh pkg-config v0.3.5
       Fresh num_cpus v0.2.6
       Fresh memchr v0.1.3
       Fresh users v0.4.2
       Fresh rand v0.3.8
       Fresh log v0.3.1
       Fresh term_grid v0.1.1
       Fresh pad v0.1.4
       Fresh tz v0.2.0
       Fresh url v0.2.35
       Fresh aho-corasick v0.2.1
       Fresh num v0.1.25
       Fresh getopts v0.2.11
       Fresh regex v0.1.38
       Fresh number_prefix v0.2.4
       Fresh locale v0.1.8
       Fresh openssl-sys v0.6.3
       Fresh libz-sys v0.1.6
       Fresh regex_macros v0.1.20
       Fresh libssh2-sys v0.1.26
       Fresh datetime v0.2.1
       Fresh libgit2-sys v0.2.18 (https://github.com/alexcrichton/git2-rs.git#889cf3dd)
       Fresh git2 v0.2.13 (https://github.com/alexcrichton/git2-rs.git#889cf3dd)
   Compiling exa v0.3.0 (file:///home/alanb/src/git/hub/exa)
     Running `rustc src/main.rs --crate-name exa --crate-type bin -C opt-level=3 -C lto --cfg feature=\"default\" --cfg feature=\"git\" --cfg feature=\"git2\" --out-dir /home/alanb/src/git/hub/exa/target/release --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/release -L dependency=/home/alanb/src/git/hub/exa/target/release/deps --extern users=/home/alanb/src/git/hub/exa/target/release/deps/libusers-20f00ef534fe78a3.rlib --extern datetime=/home/alanb/src/git/hub/exa/target/release/deps/libdatetime-f06f68585cec8716.rlib --extern libc=/home/alanb/src/git/hub/exa/target/release/deps/liblibc-ef5cbad4ef5c7a1e.rlib --extern bitflags=/home/alanb/src/git/hub/exa/target/release/deps/libbitflags-dd68b8369bcd8ff0.rlib --extern term_grid=/home/alanb/src/git/hub/exa/target/release/deps/libterm_grid-94d230454780f24c.rlib --extern num_cpus=/home/alanb/src/git/hub/exa/target/release/deps/libnum_cpus-16707c6acca9fe91.rlib --extern number_prefix=/home/alanb/src/git/hub/exa/target/release/deps/libnumber_prefix-790423cf7d755cf7.rlib --extern ansi_term=/home/alanb/src/git/hub/exa/target/release/deps/libansi_term-099aa38433e28470.rlib --extern threadpool=/home/alanb/src/git/hub/exa/target/release/deps/libthreadpool-7afb0ed74cdfb4ee.rlib --extern natord=/home/alanb/src/git/hub/exa/target/release/deps/libnatord-a05c856d0c2a4fbf.rlib --extern getopts=/home/alanb/src/git/hub/exa/target/release/deps/libgetopts-1dade5d0522f070b.rlib --extern locale=/home/alanb/src/git/hub/exa/target/release/deps/liblocale-c1d2b96a2e42e568.rlib --extern git2=/home/alanb/src/git/hub/exa/target/release/deps/libgit2-2660a0a5365057d0.rlib --extern unicode_width=/home/alanb/src/git/hub/exa/target/release/deps/libunicode_width-130fd712a1a101ee.rlib --extern pad=/home/alanb/src/git/hub/exa/target/release/deps/libpad-8b41ff1b2f475326.rlib -L native=/home/alanb/src/git/hub/exa/target/release/build/libgit2-sys-ee62f8ed694e2d9b/out/lib -L native=/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/release/build/openssl-sys-f1940735b7e345d7/out`
src/feature/xattr_linux.rs:4:5: 4:22 warning: unused import, #[warn(unused_imports)] on by default
src/feature/xattr_linux.rs:4 use st38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5ffi38d1:d2b4:3d06:83e8:96a5:8c2:893d:aba5String;
                                 ^~~~~~~~~~~~~~~~~
error: linking with `cc` failed: exit code: 1
note: "cc" "-Wl,--as-needed" "-m64" "-L" "/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/alanb/src/git/hub/exa/target/release/exa.0.o" "-o" "/home/alanb/src/git/hub/exa/target/release/exa" "-Wl,--whole-archive" "-l" "morestack" "-Wl,--no-whole-archive" "-Wl,--gc-sections" "-pie" "-Wl,-O1" "-nodefaultlibs" "-Wl,--whole-archive" "/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.wVC8TfRxEu4f/libopenssl_sys-f1940735b7e345d7.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.wVC8TfRxEu4f/libstd-74fa456f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.wVC8TfRxEu4f/liballoc-74fa456f.rlib" "-Wl,--no-whole-archive" "-L" "/home/alanb/src/git/hub/exa/target/release" "-L" "/home/alanb/src/git/hub/exa/target/release/deps" "-L" "/home/alanb/src/git/hub/exa/target/release/build/libgit2-sys-ee62f8ed694e2d9b/out/lib" "-L" "/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/home/alanb/src/git/hub/exa/target/release/build/openssl-sys-f1940735b7e345d7/out" "-L" "/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/home/alanb/src/git/hub/exa/.rust/lib/x86_64-unknown-linux-gnu" "-L" "/home/alanb/src/git/hub/exa/lib/x86_64-unknown-linux-gnu" "-Wl,-Bstatic" "-Wl,-Bdynamic" "-l" "rt" "-l" "ssl" "-l" "crypto" "-l" "dl" "-l" "z" "-l" "z" "-l" "ssl" "-l" "crypto" "-l" "c" "-l" "m" "-l" "dl" "-l" "pthread" "-l" "rt" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "compiler-rt"
note: /tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_nextid':
channel.c:(.text._libssh2_channel_nextid+0x0): multiple definition of `_libssh2_channel_nextid'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_nextid+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_locate':
channel.c:(.text._libssh2_channel_locate+0x0): multiple definition of `_libssh2_channel_locate'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_locate+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_open':
channel.c:(.text._libssh2_channel_open+0x0): multiple definition of `_libssh2_channel_open'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_open+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_open_ex':
channel.c:(.text.libssh2_channel_open_ex+0x0): multiple definition of `libssh2_channel_open_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_open_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_direct_tcpip_ex':
channel.c:(.text.libssh2_channel_direct_tcpip_ex+0x0): multiple definition of `libssh2_channel_direct_tcpip_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_direct_tcpip_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_forward_listen_ex':
channel.c:(.text.libssh2_channel_forward_listen_ex+0x0): multiple definition of `libssh2_channel_forward_listen_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_forward_listen_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_forward_cancel':
channel.c:(.text._libssh2_channel_forward_cancel+0x0): multiple definition of `_libssh2_channel_forward_cancel'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_forward_cancel+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_free':
channel.c:(.text._libssh2_channel_free+0x0): multiple definition of `_libssh2_channel_free'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_free+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_forward_cancel':
channel.c:(.text.libssh2_channel_forward_cancel+0x0): multiple definition of `libssh2_channel_forward_cancel'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_forward_cancel+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_forward_accept':
channel.c:(.text.libssh2_channel_forward_accept+0x0): multiple definition of `libssh2_channel_forward_accept'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_forward_accept+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_setenv_ex':
channel.c:(.text.libssh2_channel_setenv_ex+0x0): multiple definition of `libssh2_channel_setenv_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_setenv_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_request_pty_ex':
channel.c:(.text.libssh2_channel_request_pty_ex+0x0): multiple definition of `libssh2_channel_request_pty_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_request_pty_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_request_pty_size_ex':
channel.c:(.text.libssh2_channel_request_pty_size_ex+0x0): multiple definition of `libssh2_channel_request_pty_size_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_request_pty_size_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_x11_req_ex':
channel.c:(.text.libssh2_channel_x11_req_ex+0x0): multiple definition of `libssh2_channel_x11_req_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_x11_req_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_process_startup':
channel.c:(.text._libssh2_channel_process_startup+0x0): multiple definition of `_libssh2_channel_process_startup'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_process_startup+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_process_startup':
channel.c:(.text.libssh2_channel_process_startup+0x0): multiple definition of `libssh2_channel_process_startup'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_process_startup+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_set_blocking':
channel.c:(.text.libssh2_channel_set_blocking+0x0): multiple definition of `libssh2_channel_set_blocking'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_set_blocking+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_flush':
channel.c:(.text._libssh2_channel_flush+0x0): multiple definition of `_libssh2_channel_flush'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_flush+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_receive_window_adjust':
channel.c:(.text._libssh2_channel_receive_window_adjust+0x0): multiple definition of `_libssh2_channel_receive_window_adjust'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_receive_window_adjust+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_flush_ex':
channel.c:(.text.libssh2_channel_flush_ex+0x0): multiple definition of `libssh2_channel_flush_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_flush_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_get_exit_status':
channel.c:(.text.libssh2_channel_get_exit_status+0x0): multiple definition of `libssh2_channel_get_exit_status'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_get_exit_status+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_get_exit_signal':
channel.c:(.text.libssh2_channel_get_exit_signal+0x0): multiple definition of `libssh2_channel_get_exit_signal'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_get_exit_signal+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_receive_window_adjust':
channel.c:(.text.libssh2_channel_receive_window_adjust+0x0): multiple definition of `libssh2_channel_receive_window_adjust'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_receive_window_adjust+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_receive_window_adjust2':
channel.c:(.text.libssh2_channel_receive_window_adjust2+0x0): multiple definition of `libssh2_channel_receive_window_adjust2'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_receive_window_adjust2+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_extended_data':
channel.c:(.text._libssh2_channel_extended_data+0x0): multiple definition of `_libssh2_channel_extended_data'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_extended_data+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_handle_extended_data2':
channel.c:(.text.libssh2_channel_handle_extended_data2+0x0): multiple definition of `libssh2_channel_handle_extended_data2'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_handle_extended_data2+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_handle_extended_data':
channel.c:(.text.libssh2_channel_handle_extended_data+0x0): multiple definition of `libssh2_channel_handle_extended_data'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_handle_extended_data+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_read':
channel.c:(.text._libssh2_channel_read+0x0): multiple definition of `_libssh2_channel_read'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_read+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_read_ex':
channel.c:(.text.libssh2_channel_read_ex+0x0): multiple definition of `libssh2_channel_read_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_read_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_window_read_ex':
channel.c:(.text.libssh2_channel_window_read_ex+0x0): multiple definition of `libssh2_channel_window_read_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_window_read_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_packet_data_len':
channel.c:(.text._libssh2_channel_packet_data_len+0x0): multiple definition of `_libssh2_channel_packet_data_len'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_packet_data_len+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_write':
channel.c:(.text._libssh2_channel_write+0x0): multiple definition of `_libssh2_channel_write'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_write+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_write_ex':
channel.c:(.text.libssh2_channel_write_ex+0x0): multiple definition of `libssh2_channel_write_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_write_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_send_eof':
channel.c:(.text.libssh2_channel_send_eof+0x0): multiple definition of `libssh2_channel_send_eof'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_send_eof+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_eof':
channel.c:(.text.libssh2_channel_eof+0x0): multiple definition of `libssh2_channel_eof'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_eof+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_wait_eof':
channel.c:(.text.libssh2_channel_wait_eof+0x0): multiple definition of `libssh2_channel_wait_eof'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_wait_eof+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `_libssh2_channel_close':
channel.c:(.text._libssh2_channel_close+0x0): multiple definition of `_libssh2_channel_close'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text._libssh2_channel_close+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_close':
channel.c:(.text.libssh2_channel_close+0x0): multiple definition of `libssh2_channel_close'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_close+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_wait_closed':
channel.c:(.text.libssh2_channel_wait_closed+0x0): multiple definition of `libssh2_channel_wait_closed'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_wait_closed+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_free':
channel.c:(.text.libssh2_channel_free+0x0): multiple definition of `libssh2_channel_free'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_free+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-channel.o): In function `libssh2_channel_window_write_ex':
channel.c:(.text.libssh2_channel_window_write_ex+0x0): multiple definition of `libssh2_channel_window_write_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-channel.o):channel.c:(.text.libssh2_channel_window_write_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-comp.o): In function `_libssh2_comp_methods':
comp.c:(.text._libssh2_comp_methods+0x0): multiple definition of `_libssh2_comp_methods'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-comp.o):comp.c:(.text._libssh2_comp_methods+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-crypt.o): In function `libssh2_crypt_methods':
crypt.c:(.text.libssh2_crypt_methods+0x0): multiple definition of `libssh2_crypt_methods'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-crypt.o):crypt.c:(.text.libssh2_crypt_methods+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-hostkey.o): In function `libssh2_hostkey_methods':
hostkey.c:(.text.libssh2_hostkey_methods+0x0): multiple definition of `libssh2_hostkey_methods'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-hostkey.o):hostkey.c:(.text.libssh2_hostkey_methods+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-hostkey.o): In function `libssh2_hostkey_hash':
hostkey.c:(.text.libssh2_hostkey_hash+0x0): multiple definition of `libssh2_hostkey_hash'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-hostkey.o):hostkey.c:(.text.libssh2_hostkey_hash+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-hostkey.o): In function `libssh2_session_hostkey':
hostkey.c:(.text.libssh2_session_hostkey+0x0): multiple definition of `libssh2_session_hostkey'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-hostkey.o):hostkey.c:(.text.libssh2_session_hostkey+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-kex.o): In function `_libssh2_kex_exchange':
kex.c:(.text._libssh2_kex_exchange+0x0): multiple definition of `_libssh2_kex_exchange'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-kex.o):kex.c:(.text._libssh2_kex_exchange+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-kex.o): In function `libssh2_session_method_pref':
kex.c:(.text.libssh2_session_method_pref+0x0): multiple definition of `libssh2_session_method_pref'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-kex.o):kex.c:(.text.libssh2_session_method_pref+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-kex.o): In function `libssh2_session_supported_algs':
kex.c:(.text.libssh2_session_supported_algs+0x0): multiple definition of `libssh2_session_supported_algs'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-kex.o):kex.c:(.text.libssh2_session_supported_algs+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-mac.o): In function `_libssh2_mac_methods':
mac.c:(.text._libssh2_mac_methods+0x0): multiple definition of `_libssh2_mac_methods'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-mac.o):mac.c:(.text._libssh2_mac_methods+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_error':
misc.c:(.text._libssh2_error+0x0): multiple definition of `_libssh2_error'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_error+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_recv':
misc.c:(.text._libssh2_recv+0x0): multiple definition of `_libssh2_recv'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_recv+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_send':
misc.c:(.text._libssh2_send+0x0): multiple definition of `_libssh2_send'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_send+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_ntohu32':
misc.c:(.text._libssh2_ntohu32+0x0): multiple definition of `_libssh2_ntohu32'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_ntohu32+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_ntohu64':
misc.c:(.text._libssh2_ntohu64+0x0): multiple definition of `_libssh2_ntohu64'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_ntohu64+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_htonu32':
misc.c:(.text._libssh2_htonu32+0x0): multiple definition of `_libssh2_htonu32'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_htonu32+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_store_u32':
misc.c:(.text._libssh2_store_u32+0x0): multiple definition of `_libssh2_store_u32'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_store_u32+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_store_str':
misc.c:(.text._libssh2_store_str+0x0): multiple definition of `_libssh2_store_str'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_store_str+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `libssh2_base64_decode':
misc.c:(.text.libssh2_base64_decode+0x0): multiple definition of `libssh2_base64_decode'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text.libssh2_base64_decode+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_base64_encode':
misc.c:(.text._libssh2_base64_encode+0x0): multiple definition of `_libssh2_base64_encode'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_base64_encode+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `libssh2_free':
misc.c:(.text.libssh2_free+0x0): multiple definition of `libssh2_free'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text.libssh2_free+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `libssh2_trace':
misc.c:(.text.libssh2_trace+0x0): multiple definition of `libssh2_trace'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text.libssh2_trace+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `libssh2_trace_sethandler':
misc.c:(.text.libssh2_trace_sethandler+0x0): multiple definition of `libssh2_trace_sethandler'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text.libssh2_trace_sethandler+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_list_init':
misc.c:(.text._libssh2_list_init+0x0): multiple definition of `_libssh2_list_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_list_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_list_add':
misc.c:(.text._libssh2_list_add+0x0): multiple definition of `_libssh2_list_add'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_list_add+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_list_first':
misc.c:(.text._libssh2_list_first+0x0): multiple definition of `_libssh2_list_first'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_list_first+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_list_next':
misc.c:(.text._libssh2_list_next+0x0): multiple definition of `_libssh2_list_next'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_list_next+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_list_prev':
misc.c:(.text._libssh2_list_prev+0x0): multiple definition of `_libssh2_list_prev'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_list_prev+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_list_remove':
misc.c:(.text._libssh2_list_remove+0x0): multiple definition of `_libssh2_list_remove'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_list_remove+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-misc.o): In function `_libssh2_calloc':
misc.c:(.text._libssh2_calloc+0x0): multiple definition of `_libssh2_calloc'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-misc.o):misc.c:(.text._libssh2_calloc+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-packet.o): In function `_libssh2_packet_add':
packet.c:(.text._libssh2_packet_add+0x0): multiple definition of `_libssh2_packet_add'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-packet.o):packet.c:(.text._libssh2_packet_add+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-packet.o): In function `_libssh2_packet_ask':
packet.c:(.text._libssh2_packet_ask+0x0): multiple definition of `_libssh2_packet_ask'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-packet.o):packet.c:(.text._libssh2_packet_ask+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-packet.o): In function `_libssh2_packet_askv':
packet.c:(.text._libssh2_packet_askv+0x0): multiple definition of `_libssh2_packet_askv'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-packet.o):packet.c:(.text._libssh2_packet_askv+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-packet.o): In function `_libssh2_packet_require':
packet.c:(.text._libssh2_packet_require+0x0): multiple definition of `_libssh2_packet_require'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-packet.o):packet.c:(.text._libssh2_packet_require+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-packet.o): In function `_libssh2_packet_burn':
packet.c:(.text._libssh2_packet_burn+0x0): multiple definition of `_libssh2_packet_burn'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-packet.o):packet.c:(.text._libssh2_packet_burn+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-packet.o): In function `_libssh2_packet_requirev':
packet.c:(.text._libssh2_packet_requirev+0x0): multiple definition of `_libssh2_packet_requirev'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-packet.o):packet.c:(.text._libssh2_packet_requirev+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-publickey.o): In function `libssh2_publickey_init':
publickey.c:(.text.libssh2_publickey_init+0x0): multiple definition of `libssh2_publickey_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-publickey.o):publickey.c:(.text.libssh2_publickey_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-publickey.o): In function `libssh2_publickey_add_ex':
publickey.c:(.text.libssh2_publickey_add_ex+0x0): multiple definition of `libssh2_publickey_add_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-publickey.o):publickey.c:(.text.libssh2_publickey_add_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-publickey.o): In function `libssh2_publickey_remove_ex':
publickey.c:(.text.libssh2_publickey_remove_ex+0x0): multiple definition of `libssh2_publickey_remove_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-publickey.o):publickey.c:(.text.libssh2_publickey_remove_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-publickey.o): In function `libssh2_publickey_list_fetch':
publickey.c:(.text.libssh2_publickey_list_fetch+0x0): multiple definition of `libssh2_publickey_list_fetch'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-publickey.o):publickey.c:(.text.libssh2_publickey_list_fetch+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-publickey.o): In function `libssh2_publickey_list_free':
publickey.c:(.text.libssh2_publickey_list_free+0x0): multiple definition of `libssh2_publickey_list_free'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-publickey.o):publickey.c:(.text.libssh2_publickey_list_free+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-publickey.o): In function `libssh2_publickey_shutdown':
publickey.c:(.text.libssh2_publickey_shutdown+0x0): multiple definition of `libssh2_publickey_shutdown'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-publickey.o):publickey.c:(.text.libssh2_publickey_shutdown+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-scp.o): In function `libssh2_scp_recv':
scp.c:(.text.libssh2_scp_recv+0x0): multiple definition of `libssh2_scp_recv'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-scp.o):scp.c:(.text.libssh2_scp_recv+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-scp.o): In function `libssh2_scp_send_ex':
scp.c:(.text.libssh2_scp_send_ex+0x0): multiple definition of `libssh2_scp_send_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-scp.o):scp.c:(.text.libssh2_scp_send_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-scp.o): In function `libssh2_scp_send64':
scp.c:(.text.libssh2_scp_send64+0x0): multiple definition of `libssh2_scp_send64'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-scp.o):scp.c:(.text.libssh2_scp_send64+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_banner_set':
session.c:(.text.libssh2_session_banner_set+0x0): multiple definition of `libssh2_session_banner_set'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_banner_set+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_banner_set':
session.c:(.text.libssh2_banner_set+0x0): multiple definition of `libssh2_banner_set'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_banner_set+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_init_ex':
session.c:(.text.libssh2_session_init_ex+0x0): multiple definition of `libssh2_session_init_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_init_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_callback_set':
session.c:(.text.libssh2_session_callback_set+0x0): multiple definition of `libssh2_session_callback_set'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_callback_set+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `_libssh2_wait_socket':
session.c:(.text._libssh2_wait_socket+0x0): multiple definition of `_libssh2_wait_socket'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text._libssh2_wait_socket+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_block_directions':
session.c:(.text.libssh2_session_block_directions+0x0): multiple definition of `libssh2_session_block_directions'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_block_directions+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_handshake':
session.c:(.text.libssh2_session_handshake+0x0): multiple definition of `libssh2_session_handshake'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_handshake+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_startup':
session.c:(.text.libssh2_session_startup+0x0): multiple definition of `libssh2_session_startup'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_startup+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_free':
session.c:(.text.libssh2_session_free+0x0): multiple definition of `libssh2_session_free'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_free+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_disconnect_ex':
session.c:(.text.libssh2_session_disconnect_ex+0x0): multiple definition of `libssh2_session_disconnect_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_disconnect_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_methods':
session.c:(.text.libssh2_session_methods+0x0): multiple definition of `libssh2_session_methods'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_methods+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_abstract':
session.c:(.text.libssh2_session_abstract+0x0): multiple definition of `libssh2_session_abstract'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_abstract+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_last_error':
session.c:(.text.libssh2_session_last_error+0x0): multiple definition of `libssh2_session_last_error'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_last_error+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_last_errno':
session.c:(.text.libssh2_session_last_errno+0x0): multiple definition of `libssh2_session_last_errno'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_last_errno+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_flag':
session.c:(.text.libssh2_session_flag+0x0): multiple definition of `libssh2_session_flag'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_flag+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `_libssh2_session_set_blocking':
session.c:(.text._libssh2_session_set_blocking+0x0): multiple definition of `_libssh2_session_set_blocking'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text._libssh2_session_set_blocking+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_set_blocking':
session.c:(.text.libssh2_session_set_blocking+0x0): multiple definition of `libssh2_session_set_blocking'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_set_blocking+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_get_blocking':
session.c:(.text.libssh2_session_get_blocking+0x0): multiple definition of `libssh2_session_get_blocking'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_get_blocking+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_set_timeout':
session.c:(.text.libssh2_session_set_timeout+0x0): multiple definition of `libssh2_session_set_timeout'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_set_timeout+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_get_timeout':
session.c:(.text.libssh2_session_get_timeout+0x0): multiple definition of `libssh2_session_get_timeout'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_get_timeout+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_poll_channel_read':
session.c:(.text.libssh2_poll_channel_read+0x0): multiple definition of `libssh2_poll_channel_read'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_poll_channel_read+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_poll':
session.c:(.text.libssh2_poll+0x0): multiple definition of `libssh2_poll'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_poll+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-session.o): In function `libssh2_session_banner_get':
session.c:(.text.libssh2_session_banner_get+0x0): multiple definition of `libssh2_session_banner_get'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-session.o):session.c:(.text.libssh2_session_banner_get+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_dtor':
sftp.c:(.text.libssh2_sftp_dtor+0x0): multiple definition of `libssh2_sftp_dtor'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_dtor+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_init':
sftp.c:(.text.libssh2_sftp_init+0x0): multiple definition of `libssh2_sftp_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_shutdown':
sftp.c:(.text.libssh2_sftp_shutdown+0x0): multiple definition of `libssh2_sftp_shutdown'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_shutdown+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_open_ex':
sftp.c:(.text.libssh2_sftp_open_ex+0x0): multiple definition of `libssh2_sftp_open_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_open_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_read':
sftp.c:(.text.libssh2_sftp_read+0x0): multiple definition of `libssh2_sftp_read'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_read+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_readdir_ex':
sftp.c:(.text.libssh2_sftp_readdir_ex+0x0): multiple definition of `libssh2_sftp_readdir_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_readdir_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_write':
sftp.c:(.text.libssh2_sftp_write+0x0): multiple definition of `libssh2_sftp_write'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_write+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_fsync':
sftp.c:(.text.libssh2_sftp_fsync+0x0): multiple definition of `libssh2_sftp_fsync'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_fsync+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_fstat_ex':
sftp.c:(.text.libssh2_sftp_fstat_ex+0x0): multiple definition of `libssh2_sftp_fstat_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_fstat_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_seek64':
sftp.c:(.text.libssh2_sftp_seek64+0x0): multiple definition of `libssh2_sftp_seek64'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_seek64+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_seek':
sftp.c:(.text.libssh2_sftp_seek+0x0): multiple definition of `libssh2_sftp_seek'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_seek+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_tell':
sftp.c:(.text.libssh2_sftp_tell+0x0): multiple definition of `libssh2_sftp_tell'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_tell+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_tell64':
sftp.c:(.text.libssh2_sftp_tell64+0x0): multiple definition of `libssh2_sftp_tell64'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_tell64+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_close_handle':
sftp.c:(.text.libssh2_sftp_close_handle+0x0): multiple definition of `libssh2_sftp_close_handle'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_close_handle+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_unlink_ex':
sftp.c:(.text.libssh2_sftp_unlink_ex+0x0): multiple definition of `libssh2_sftp_unlink_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_unlink_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_rename_ex':
sftp.c:(.text.libssh2_sftp_rename_ex+0x0): multiple definition of `libssh2_sftp_rename_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_rename_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_fstatvfs':
sftp.c:(.text.libssh2_sftp_fstatvfs+0x0): multiple definition of `libssh2_sftp_fstatvfs'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_fstatvfs+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_statvfs':
sftp.c:(.text.libssh2_sftp_statvfs+0x0): multiple definition of `libssh2_sftp_statvfs'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_statvfs+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_mkdir_ex':
sftp.c:(.text.libssh2_sftp_mkdir_ex+0x0): multiple definition of `libssh2_sftp_mkdir_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_mkdir_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_rmdir_ex':
sftp.c:(.text.libssh2_sftp_rmdir_ex+0x0): multiple definition of `libssh2_sftp_rmdir_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_rmdir_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_stat_ex':
sftp.c:(.text.libssh2_sftp_stat_ex+0x0): multiple definition of `libssh2_sftp_stat_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_stat_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_symlink_ex':
sftp.c:(.text.libssh2_sftp_symlink_ex+0x0): multiple definition of `libssh2_sftp_symlink_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_symlink_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_last_error':
sftp.c:(.text.libssh2_sftp_last_error+0x0): multiple definition of `libssh2_sftp_last_error'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_last_error+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-sftp.o): In function `libssh2_sftp_get_channel':
sftp.c:(.text.libssh2_sftp_get_channel+0x0): multiple definition of `libssh2_sftp_get_channel'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-sftp.o):sftp.c:(.text.libssh2_sftp_get_channel+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-userauth.o): In function `libssh2_userauth_list':
userauth.c:(.text.libssh2_userauth_list+0x0): multiple definition of `libssh2_userauth_list'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-userauth.o):userauth.c:(.text.libssh2_userauth_list+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-userauth.o): In function `libssh2_userauth_authenticated':
userauth.c:(.text.libssh2_userauth_authenticated+0x0): multiple definition of `libssh2_userauth_authenticated'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-userauth.o):userauth.c:(.text.libssh2_userauth_authenticated+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-userauth.o): In function `libssh2_userauth_password_ex':
userauth.c:(.text.libssh2_userauth_password_ex+0x0): multiple definition of `libssh2_userauth_password_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-userauth.o):userauth.c:(.text.libssh2_userauth_password_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-userauth.o): In function `libssh2_userauth_hostbased_fromfile_ex':
userauth.c:(.text.libssh2_userauth_hostbased_fromfile_ex+0x0): multiple definition of `libssh2_userauth_hostbased_fromfile_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-userauth.o):userauth.c:(.text.libssh2_userauth_hostbased_fromfile_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-userauth.o): In function `_libssh2_userauth_publickey':
userauth.c:(.text._libssh2_userauth_publickey+0x0): multiple definition of `_libssh2_userauth_publickey'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-userauth.o):userauth.c:(.text._libssh2_userauth_publickey+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-userauth.o): In function `libssh2_userauth_publickey_fromfile_ex':
userauth.c:(.text.libssh2_userauth_publickey_fromfile_ex+0x0): multiple definition of `libssh2_userauth_publickey_fromfile_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-userauth.o):userauth.c:(.text.libssh2_userauth_publickey_fromfile_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-userauth.o): In function `libssh2_userauth_publickey':
userauth.c:(.text.libssh2_userauth_publickey+0x0): multiple definition of `libssh2_userauth_publickey'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-userauth.o):userauth.c:(.text.libssh2_userauth_publickey+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-userauth.o): In function `libssh2_userauth_keyboard_interactive_ex':
userauth.c:(.text.libssh2_userauth_keyboard_interactive_ex+0x0): multiple definition of `libssh2_userauth_keyboard_interactive_ex'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-userauth.o):userauth.c:(.text.libssh2_userauth_keyboard_interactive_ex+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-transport.o): In function `_libssh2_transport_read':
transport.c:(.text._libssh2_transport_read+0x0): multiple definition of `_libssh2_transport_read'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-transport.o):transport.c:(.text._libssh2_transport_read+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-transport.o): In function `_libssh2_transport_send':
transport.c:(.text._libssh2_transport_send+0x0): multiple definition of `_libssh2_transport_send'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-transport.o):transport.c:(.text._libssh2_transport_send+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-version.o): In function `libssh2_version':
version.c:(.text.libssh2_version+0x0): multiple definition of `libssh2_version'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-version.o):version.c:(.text.libssh2_version+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_init':
knownhost.c:(.text.libssh2_knownhost_init+0x0): multiple definition of `libssh2_knownhost_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_add':
knownhost.c:(.text.libssh2_knownhost_add+0x0): multiple definition of `libssh2_knownhost_add'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_add+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_addc':
knownhost.c:(.text.libssh2_knownhost_addc+0x0): multiple definition of `libssh2_knownhost_addc'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_addc+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_check':
knownhost.c:(.text.libssh2_knownhost_check+0x0): multiple definition of `libssh2_knownhost_check'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_check+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_checkp':
knownhost.c:(.text.libssh2_knownhost_checkp+0x0): multiple definition of `libssh2_knownhost_checkp'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_checkp+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_del':
knownhost.c:(.text.libssh2_knownhost_del+0x0): multiple definition of `libssh2_knownhost_del'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_del+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_free':
knownhost.c:(.text.libssh2_knownhost_free+0x0): multiple definition of `libssh2_knownhost_free'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_free+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_readline':
knownhost.c:(.text.libssh2_knownhost_readline+0x0): multiple definition of `libssh2_knownhost_readline'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_readline+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_readfile':
knownhost.c:(.text.libssh2_knownhost_readfile+0x0): multiple definition of `libssh2_knownhost_readfile'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_readfile+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_writeline':
knownhost.c:(.text.libssh2_knownhost_writeline+0x0): multiple definition of `libssh2_knownhost_writeline'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_writeline+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_writefile':
knownhost.c:(.text.libssh2_knownhost_writefile+0x0): multiple definition of `libssh2_knownhost_writefile'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_writefile+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-knownhost.o): In function `libssh2_knownhost_get':
knownhost.c:(.text.libssh2_knownhost_get+0x0): multiple definition of `libssh2_knownhost_get'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-knownhost.o):knownhost.c:(.text.libssh2_knownhost_get+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-agent.o):(.data.rel.local.agent_ops_unix+0x0): multiple definition of `agent_ops_unix'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-agent.o):(.data.rel.local.agent_ops_unix+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-agent.o): In function `libssh2_agent_init':
agent.c:(.text.libssh2_agent_init+0x0): multiple definition of `libssh2_agent_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-agent.o):agent.c:(.text.libssh2_agent_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-agent.o): In function `libssh2_agent_connect':
agent.c:(.text.libssh2_agent_connect+0x0): multiple definition of `libssh2_agent_connect'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-agent.o):agent.c:(.text.libssh2_agent_connect+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-agent.o): In function `libssh2_agent_list_identities':
agent.c:(.text.libssh2_agent_list_identities+0x0): multiple definition of `libssh2_agent_list_identities'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-agent.o):agent.c:(.text.libssh2_agent_list_identities+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-agent.o): In function `libssh2_agent_get_identity':
agent.c:(.text.libssh2_agent_get_identity+0x0): multiple definition of `libssh2_agent_get_identity'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-agent.o):agent.c:(.text.libssh2_agent_get_identity+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-agent.o): In function `libssh2_agent_userauth':
agent.c:(.text.libssh2_agent_userauth+0x0): multiple definition of `libssh2_agent_userauth'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-agent.o):agent.c:(.text.libssh2_agent_userauth+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-agent.o): In function `libssh2_agent_disconnect':
agent.c:(.text.libssh2_agent_disconnect+0x0): multiple definition of `libssh2_agent_disconnect'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-agent.o):agent.c:(.text.libssh2_agent_disconnect+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-agent.o): In function `libssh2_agent_free':
agent.c:(.text.libssh2_agent_free+0x0): multiple definition of `libssh2_agent_free'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-agent.o):agent.c:(.text.libssh2_agent_free+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_rsa_new':
openssl.c:(.text._libssh2_rsa_new+0x0): multiple definition of `_libssh2_rsa_new'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_rsa_new+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_rsa_sha1_verify':
openssl.c:(.text._libssh2_rsa_sha1_verify+0x0): multiple definition of `_libssh2_rsa_sha1_verify'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_rsa_sha1_verify+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `libssh2_sha1':
openssl.c:(.text.libssh2_sha1+0x0): multiple definition of `libssh2_sha1'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text.libssh2_sha1+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_dsa_new':
openssl.c:(.text._libssh2_dsa_new+0x0): multiple definition of `_libssh2_dsa_new'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_dsa_new+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_dsa_sha1_verify':
openssl.c:(.text._libssh2_dsa_sha1_verify+0x0): multiple definition of `_libssh2_dsa_sha1_verify'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_dsa_sha1_verify+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_cipher_init':
openssl.c:(.text._libssh2_cipher_init+0x0): multiple definition of `_libssh2_cipher_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_cipher_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_cipher_crypt':
openssl.c:(.text._libssh2_cipher_crypt+0x0): multiple definition of `_libssh2_cipher_crypt'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_cipher_crypt+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_EVP_aes_128_ctr':
openssl.c:(.text._libssh2_EVP_aes_128_ctr+0x0): multiple definition of `_libssh2_EVP_aes_128_ctr'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_EVP_aes_128_ctr+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_EVP_aes_192_ctr':
openssl.c:(.text._libssh2_EVP_aes_192_ctr+0x0): multiple definition of `_libssh2_EVP_aes_192_ctr'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_EVP_aes_192_ctr+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_EVP_aes_256_ctr':
openssl.c:(.text._libssh2_EVP_aes_256_ctr+0x0): multiple definition of `_libssh2_EVP_aes_256_ctr'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_EVP_aes_256_ctr+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_init_aes_ctr':
openssl.c:(.text._libssh2_init_aes_ctr+0x0): multiple definition of `_libssh2_init_aes_ctr'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_init_aes_ctr+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_rsa_new_private':
openssl.c:(.text._libssh2_rsa_new_private+0x0): multiple definition of `_libssh2_rsa_new_private'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_rsa_new_private+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_dsa_new_private':
openssl.c:(.text._libssh2_dsa_new_private+0x0): multiple definition of `_libssh2_dsa_new_private'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_dsa_new_private+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_rsa_sha1_sign':
openssl.c:(.text._libssh2_rsa_sha1_sign+0x0): multiple definition of `_libssh2_rsa_sha1_sign'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_rsa_sha1_sign+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_dsa_sha1_sign':
openssl.c:(.text._libssh2_dsa_sha1_sign+0x0): multiple definition of `_libssh2_dsa_sha1_sign'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_dsa_sha1_sign+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `libssh2_sha1_init':
openssl.c:(.text.libssh2_sha1_init+0x0): multiple definition of `libssh2_sha1_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text.libssh2_sha1_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `libssh2_md5_init':
openssl.c:(.text.libssh2_md5_init+0x0): multiple definition of `libssh2_md5_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text.libssh2_md5_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `libssh2_md5':
openssl.c:(.text.libssh2_md5+0x0): multiple definition of `libssh2_md5'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text.libssh2_md5+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(lldb-fix-r-ssh2-openssl.o): In function `_libssh2_pub_priv_keyfile':
openssl.c:(.text._libssh2_pub_priv_keyfile+0x0): multiple definition of `_libssh2_pub_priv_keyfile'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(lldb-fix-r-ssh2-openssl.o):openssl.c:(.text._libssh2_pub_priv_keyfile+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-pem.o): In function `_libssh2_pem_parse':
pem.c:(.text._libssh2_pem_parse+0x0): multiple definition of `_libssh2_pem_parse'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-pem.o):pem.c:(.text._libssh2_pem_parse+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-pem.o): In function `_libssh2_pem_decode_sequence':
pem.c:(.text._libssh2_pem_decode_sequence+0x0): multiple definition of `_libssh2_pem_decode_sequence'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-pem.o):pem.c:(.text._libssh2_pem_decode_sequence+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-pem.o): In function `_libssh2_pem_decode_integer':
pem.c:(.text._libssh2_pem_decode_integer+0x0): multiple definition of `_libssh2_pem_decode_integer'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-pem.o):pem.c:(.text._libssh2_pem_decode_integer+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-keepalive.o): In function `libssh2_keepalive_config':
keepalive.c:(.text.libssh2_keepalive_config+0x0): multiple definition of `libssh2_keepalive_config'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-keepalive.o):keepalive.c:(.text.libssh2_keepalive_config+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-keepalive.o): In function `libssh2_keepalive_send':
keepalive.c:(.text.libssh2_keepalive_send+0x0): multiple definition of `libssh2_keepalive_send'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-keepalive.o):keepalive.c:(.text.libssh2_keepalive_send+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-global.o): In function `libssh2_init':
global.c:(.text.libssh2_init+0x0): multiple definition of `libssh2_init'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-global.o):global.c:(.text.libssh2_init+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-global.o): In function `libssh2_exit':
global.c:(.text.libssh2_exit+0x0): multiple definition of `libssh2_exit'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-global.o):global.c:(.text.libssh2_exit+0x0): first defined here
/tmp/rustc.wVC8TfRxEu4f/liblibssh2_sys-197403f26ef746c2.rlib(r-ssh2-global.o): In function `_libssh2_init_if_needed':
global.c:(.text._libssh2_init_if_needed+0x0): multiple definition of `_libssh2_init_if_needed'
/tmp/rustc.wVC8TfRxEu4f/liblibgit2_sys-ee62f8ed694e2d9b.rlib(r-ssh2-global.o):global.c:(.text._libssh2_init_if_needed+0x0): first defined here
collect2: ld returned 1 exit status

error: aborting due to previous error
Could not compile `exa`.

Caused by:
  Process didn't exit successfully: `rustc src/main.rs --crate-name exa --crate-type bin -C opt-level=3 -C lto --cfg feature="default" --cfg feature="git" --cfg feature="git2" --out-dir /home/alanb/src/git/hub/exa/target/release --emit=dep-info,link -L dependency=/home/alanb/src/git/hub/exa/target/release -L dependency=/home/alanb/src/git/hub/exa/target/release/deps --extern users=/home/alanb/src/git/hub/exa/target/release/deps/libusers-20f00ef534fe78a3.rlib --extern datetime=/home/alanb/src/git/hub/exa/target/release/deps/libdatetime-f06f68585cec8716.rlib --extern libc=/home/alanb/src/git/hub/exa/target/release/deps/liblibc-ef5cbad4ef5c7a1e.rlib --extern bitflags=/home/alanb/src/git/hub/exa/target/release/deps/libbitflags-dd68b8369bcd8ff0.rlib --extern term_grid=/home/alanb/src/git/hub/exa/target/release/deps/libterm_grid-94d230454780f24c.rlib --extern num_cpus=/home/alanb/src/git/hub/exa/target/release/deps/libnum_cpus-16707c6acca9fe91.rlib --extern number_prefix=/home/alanb/src/git/hub/exa/target/release/deps/libnumber_prefix-790423cf7d755cf7.rlib --extern ansi_term=/home/alanb/src/git/hub/exa/target/release/deps/libansi_term-099aa38433e28470.rlib --extern threadpool=/home/alanb/src/git/hub/exa/target/release/deps/libthreadpool-7afb0ed74cdfb4ee.rlib --extern natord=/home/alanb/src/git/hub/exa/target/release/deps/libnatord-a05c856d0c2a4fbf.rlib --extern getopts=/home/alanb/src/git/hub/exa/target/release/deps/libgetopts-1dade5d0522f070b.rlib --extern locale=/home/alanb/src/git/hub/exa/target/release/deps/liblocale-c1d2b96a2e42e568.rlib --extern git2=/home/alanb/src/git/hub/exa/target/release/deps/libgit2-2660a0a5365057d0.rlib --extern unicode_width=/home/alanb/src/git/hub/exa/target/release/deps/libunicode_width-130fd712a1a101ee.rlib --extern pad=/home/alanb/src/git/hub/exa/target/release/deps/libpad-8b41ff1b2f475326.rlib -L native=/home/alanb/src/git/hub/exa/target/release/build/libgit2-sys-ee62f8ed694e2d9b/out/lib -L native=/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/home/alanb/src/git/hub/exa/target/release/build/openssl-sys-f1940735b7e345d7/out` (exit code: 101)
```
 Comment 5: That's a hell of an error message!
 Comment 6: Though, the length of it makes it clear that it's complaining about *every* function in libssh2. Looking at what 'cc' is trying to do, we see this:

> "/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/home/alanb/src/git/hub/exa/target/release/build/libssh2-sys-197403f26ef746c2/out/lib" "-L" "/usr/lib/x86_64-linux-gnu"

So it's trying to link it twice, then complains that it can't be linked twice. This *may* be a Cargo bug - searching returns similar results for linker errors like this - but I can't figure out why it's hitting you and no-one else. I'll investigate
 Comment 7: When asked for verbose I do verbose :-)

 Comment 8: Not complaining!
 Comment 9: I tried asking on IRC, and was told that linker errors are hard to track down... I updated `Cargo.lock` recently. Does it work for you yet? (fingers crossed)
 Comment 10: I've got the same bug on debian jessie + rust nightly. I built exa from time to time, first broken build was around mid-July, last successful build I have is dated 5th July. What's interesting, right now it builds if --release flag is not specified.

I've tried to pinpoint when breakage happened, here is the list:
exa 75f43770 / rustc 1.2.0-nightly (a9515698f 2015-06-20): ok
exa d710151 / rustc 1.2.0-nightly (a9515698f 2015-06-20): ok
exa b6af699 / rustc 1.2.0-nightly (a9515698f 2015-06-20): ok
exa b6af699 / rustc 1.3.0-nightly (bf3c979ec 2015-06-30): ok
exa b6af699 / rustc 1.3.0-nightly (6d71ce536 2015-07-06): ok
exa b6af699 / rustc 1.3.0-nightly (e6a9be10b 2015-07-07): ok
exa b6af699 / rustc 1.3.0-nightly (16f64c388 2015-07-09): fail
exa b6af699 / rustc 1.3.0-nightly (67256dff6 2015-07-09): fail
exa b6af699 / rustc 1.3.0-nightly (82d40cb2b 2015-07-24): fail
exa 21ee2fb / rustc 1.3.0-nightly (82d40cb2b 2015-07-24): fail
exa d547c3f / rustc 1.3.0-nightly (82d40cb2b 2015-07-24): fail

So something was changed in rust between e6a9be10b and 16f64c388. I've found nothing obviously suspicious in git log...

Heh, just made a discovery: exa builds fine in release mode with LTO disabled.

 Comment 11: Hey @alexandermorozov, thanks for the extra data points! This situation is really weird because it's only showed up on Debian-based systems. I looked at the git logs between the commits you mentioned, really wishing for something to have changed based on LTO, but nothing :(

- [git log for Rust](https://github.com/rust-lang/rust/compare/e6a9be10b...16f64c388)
- [git log for Cargo](https://github.com/rust-lang/cargo/compare/ea41f5c7fcb34dc5820dbb1b46459a6325ad5fce...b0f432296fe273af86f55450b3e2bdb453f5ed18)
 Comment 12: Bisection of rustc showed that the problem was introduced in this commit:
https://github.com/rust-lang/rust/commit/9bc8e6d1472a57441afe3592078838d2bc767996

There are comments in the code specifically about LTO, removing object files from libs to avoid dupes, but still keeping native compiled in libs.

cargo build for libssh2-sys tries to compile libssh2 from sources if it's not already installed by distro packaging system along with its include files. libgit2-sys depends on libssh2-sys and it looks like that libssh2 gets included into libgit's rlib (I haven't checked this yet and it's not clear if it should happen or is it the bug). So final linkage get second copy of libssh2 object files and fails.

I'll try to clear up remaining details and then submit bug report to rustc.

Right now there are two possible workarounds:
1) install libssh2-dev (libssh2-1-dev on Debian Jessie) - this is the best, I think,
2) switch off LTO in Cargo.toml.
 Comment 13: Well, just submitted it here: https://github.com/rust-lang/rust/issues/28342
 Comment 14: Turned out it was bug in libgit2-rs, @alexcrichton fixed it. Now after cargo update exa compiles fine )
 Comment 15: Awesome, that's great news! Thanks very much :)
{'source': 'GithubIssues', 'repo_name_with_owner': 'ogham/exa', 'issue_id': 94257913, 'repo_stars': 19629.0}