diesel-rs / diesel

A safe, extensible ORM and Query Builder for Rust
https://diesel.rs
Apache License 2.0
12.79k stars 1.08k forks source link

Dies with nightly rust #1769

Closed 9034725985 closed 6 years ago

9034725985 commented 6 years ago

Setup

➜  ~ which rustc
~/.cargo/bin/rustc
➜  ~ rustc --version
rustc 1.28.0-nightly (cd494c1f0 2018-06-27)
➜  ~ rustup update 
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: checking for self-updates

  nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.28.0-nightly (cd494c1f0 2018-06-27)

➜  ~ cargo install diesel_cli --verbose
    Updating registry `https://github.com/rust-lang/crates.io-index`
  Installing diesel_cli v1.3.1                                                  
   Compiling cc v1.0.17
   Compiling unicode-xid v0.1.0
   Compiling matches v0.1.6
   Compiling pkg-config v0.3.11
   Compiling unicode-normalization v0.1.7
   Compiling libc v0.2.42
   Compiling num-traits v0.2.5
   Compiling pq-sys v0.4.5
     Running `rustc --crate-name cc /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.17/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=2494f437ec9205c7 -C extra-filename=-2494f437ec9205c7 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
     Running `rustc --crate-name unicode_xid /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' -C metadata=91dcf6c630d8b674 -C extra-filename=-91dcf6c630d8b674 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
     Running `rustc --crate-name matches /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/matches-0.1.6/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=3e21c544cb7c996b -C extra-filename=-3e21c544cb7c996b --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
     Running `rustc --crate-name unicode_normalization /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.7/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=5aa755380e525e3a -C extra-filename=-5aa755380e525e3a --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
     Running `rustc --crate-name pkg_config /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.3.11/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=d118bd48cb6004a9 -C extra-filename=-d118bd48cb6004a9 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
     Running `rustc --crate-name libc /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.42/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=cd9c0a92dfbde993 -C extra-filename=-cd9c0a92dfbde993 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
     Running `rustc --crate-name build_script_build /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.5/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=f0de473f7a78c0f9 -C extra-filename=-f0de473f7a78c0f9 --out-dir /tmp/cargo-installhD8ag0/release/build/num-traits-f0de473f7a78c0f9 -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
     Running `rustc --crate-name build_script_build /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/pq-sys-0.4.5/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=340faea08fb0d477 -C extra-filename=-340faea08fb0d477 --out-dir /tmp/cargo-installhD8ag0/release/build/pq-sys-340faea08fb0d477 -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling unicode-xid v0.0.4
     Running `rustc --crate-name unicode_xid /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.0.4/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' -C metadata=78d05d44e850227b -C extra-filename=-78d05d44e850227b --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling void v1.0.2
     Running `rustc --crate-name void /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=caecde666eaf88ec -C extra-filename=-caecde666eaf88ec --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling lazy_static v1.0.1
     Running `rustc --crate-name lazy_static /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.0.1/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=13d3d5636b3ae515 -C extra-filename=-13d3d5636b3ae515 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling quote v0.3.15
     Running `rustc --crate-name quote /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-0.3.15/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=7531a65df1fc6d63 -C extra-filename=-7531a65df1fc6d63 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling rustc-demangle v0.1.8
     Running `rustc --crate-name rustc_demangle /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.8/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=68ef64f4f8baf8f5 -C extra-filename=-68ef64f4f8baf8f5 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling percent-encoding v1.0.1
     Running `rustc --crate-name percent_encoding /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/percent-encoding-1.0.1/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=4091d5da07ac45fd -C extra-filename=-4091d5da07ac45fd --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling cfg-if v0.1.4
     Running `rustc --crate-name cfg_if /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.4/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=f372f1afa1bbf981 -C extra-filename=-f372f1afa1bbf981 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling serde v1.0.67
     Running `rustc --crate-name build_script_build /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.67/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=20418b2cd81aaac2 -C extra-filename=-20418b2cd81aaac2 --out-dir /tmp/cargo-installhD8ag0/release/build/serde-20418b2cd81aaac2 -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling num-integer v0.1.39
   Compiling ucd-util v0.1.1
     Running `rustc --crate-name ucd_util /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/ucd-util-0.1.1/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=262bf6f116a73cad -C extra-filename=-262bf6f116a73cad --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
     Running `rustc --crate-name build_script_build /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.39/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=5492b76593543ee2 -C extra-filename=-5492b76593543ee2 --out-dir /tmp/cargo-installhD8ag0/release/build/num-integer-5492b76593543ee2 -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling regex v0.2.11
     Running `rustc --crate-name build_script_build /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.2.11/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' -C metadata=d0e097cc18effb5c -C extra-filename=-d0e097cc18effb5c --out-dir /tmp/cargo-installhD8ag0/release/build/regex-d0e097cc18effb5c -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling byteorder v1.2.3
     Running `rustc --crate-name byteorder /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.2.3/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=7ddb8085dbc25068 -C extra-filename=-7ddb8085dbc25068 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling bitflags v1.0.3
     Running `rustc --crate-name bitflags /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.3/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' -C metadata=71282bd87c17fec5 -C extra-filename=-71282bd87c17fec5 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling utf8-ranges v1.0.0
     Running `rustc --crate-name utf8_ranges /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=7153fdfdde9acf5a -C extra-filename=-7153fdfdde9acf5a --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling unicode-width v0.1.5
     Running `rustc --crate-name unicode_width /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.5/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' -C metadata=55470b249822e939 -C extra-filename=-55470b249822e939 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling ansi_term v0.11.0
     Running `rustc --crate-name ansi_term /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.11.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=db41b2a9728108f8 -C extra-filename=-db41b2a9728108f8 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling remove_dir_all v0.5.1
     Running `rustc --crate-name remove_dir_all /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/remove_dir_all-0.5.1/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=54ca297a931213d9 -C extra-filename=-54ca297a931213d9 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling vec_map v0.8.1
     Running `rustc --crate-name vec_map /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.1/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=54c8ba97b679707a -C extra-filename=-54c8ba97b679707a --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling strsim v0.7.0
     Running `rustc --crate-name strsim /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/strsim-0.7.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=6251f76ab3616c54 -C extra-filename=-6251f76ab3616c54 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow`
   Compiling unicode-bidi v0.3.4
     Running `rustc --crate-name unicode_bidi /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' -C metadata=17dbd4acb7086505 -C extra-filename=-17dbd4acb7086505 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern matches=/tmp/cargo-installhD8ag0/release/deps/libmatches-3e21c544cb7c996b.rlib --cap-lints allow`
   Compiling proc-macro2 v0.3.8
     Running `rustc --crate-name proc_macro2 /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.8/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=b6e7f381465868e6 -C extra-filename=-b6e7f381465868e6 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern unicode_xid=/tmp/cargo-installhD8ag0/release/deps/libunicode_xid-91dcf6c630d8b674.rlib --cap-lints allow`
   Compiling proc-macro2 v0.4.6
     Running `rustc --crate-name proc_macro2 /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.4.6/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=9a8b1995c153f609 -C extra-filename=-9a8b1995c153f609 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern unicode_xid=/tmp/cargo-installhD8ag0/release/deps/libunicode_xid-91dcf6c630d8b674.rlib --cap-lints allow`
   Compiling synom v0.11.3
     Running `rustc --crate-name synom /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/synom-0.11.3/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=697dcad0a97a181e -C extra-filename=-697dcad0a97a181e --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern unicode_xid=/tmp/cargo-installhD8ag0/release/deps/libunicode_xid-78d05d44e850227b.rlib --cap-lints allow`
   Compiling unreachable v1.0.0
     Running `rustc --crate-name unreachable /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/unreachable-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=e24d499ca6920b30 -C extra-filename=-e24d499ca6920b30 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern void=/tmp/cargo-installhD8ag0/release/deps/libvoid-caecde666eaf88ec.rlib --cap-lints allow`
     Running `/tmp/cargo-installhD8ag0/release/build/num-traits-f0de473f7a78c0f9/build-script-build`
   Compiling memchr v2.0.1
     Running `rustc --crate-name memchr /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.0.1/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="use_std"' -C metadata=12a113d5634908fb -C extra-filename=-12a113d5634908fb --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern libc=/tmp/cargo-installhD8ag0/release/deps/liblibc-cd9c0a92dfbde993.rlib --cap-lints allow`
   Compiling rand v0.4.2
     Running `rustc --crate-name rand /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.4.2/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=81a089c0245327b8 -C extra-filename=-81a089c0245327b8 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern libc=/tmp/cargo-installhD8ag0/release/deps/liblibc-cd9c0a92dfbde993.rlib --cap-lints allow`
   Compiling atty v0.2.10
     Running `rustc --crate-name atty /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.10/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=6de45a38f81927fa -C extra-filename=-6de45a38f81927fa --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern libc=/tmp/cargo-installhD8ag0/release/deps/liblibc-cd9c0a92dfbde993.rlib --cap-lints allow`
   Compiling time v0.1.40
     Running `rustc --crate-name time /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.40/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=5b4cb43446967bd8 -C extra-filename=-5b4cb43446967bd8 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern libc=/tmp/cargo-installhD8ag0/release/deps/liblibc-cd9c0a92dfbde993.rlib --cap-lints allow`
     Running `/tmp/cargo-installhD8ag0/release/build/pq-sys-340faea08fb0d477/build-script-build`
   Compiling regex-syntax v0.5.6
     Running `rustc --crate-name regex_syntax /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.5.6/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=ec2e61d25f6dc7c7 -C extra-filename=-ec2e61d25f6dc7c7 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern ucd_util=/tmp/cargo-installhD8ag0/release/deps/libucd_util-262bf6f116a73cad.rlib --cap-lints allow`
     Running `/tmp/cargo-installhD8ag0/release/build/num-integer-5492b76593543ee2/build-script-build`
   Compiling mysqlclient-sys v0.2.3
     Running `rustc --crate-name build_script_build /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/mysqlclient-sys-0.2.3/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=355e0c00c2f5cc0e -C extra-filename=-355e0c00c2f5cc0e --out-dir /tmp/cargo-installhD8ag0/release/build/mysqlclient-sys-355e0c00c2f5cc0e -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern pkg_config=/tmp/cargo-installhD8ag0/release/deps/libpkg_config-d118bd48cb6004a9.rlib --cap-lints allow`
   Compiling libsqlite3-sys v0.9.1
     Running `rustc --crate-name build_script_build /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/libsqlite3-sys-0.9.1/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="min_sqlite_version_3_6_8"' --cfg 'feature="min_sqlite_version_3_7_16"' --cfg 'feature="pkg-config"' --cfg 'feature="vcpkg"' -C metadata=e907748d8658c71b -C extra-filename=-e907748d8658c71b --out-dir /tmp/cargo-installhD8ag0/release/build/libsqlite3-sys-e907748d8658c71b -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern pkg_config=/tmp/cargo-installhD8ag0/release/deps/libpkg_config-d118bd48cb6004a9.rlib --cap-lints allow`
     Running `/tmp/cargo-installhD8ag0/release/build/serde-20418b2cd81aaac2/build-script-build`
     Running `/tmp/cargo-installhD8ag0/release/build/regex-d0e097cc18effb5c/build-script-build`
   Compiling textwrap v0.10.0
     Running `rustc --crate-name textwrap /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/textwrap-0.10.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=3e3a996c0b539eab -C extra-filename=-3e3a996c0b539eab --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern unicode_width=/tmp/cargo-installhD8ag0/release/deps/libunicode_width-55470b249822e939.rlib --cap-lints allow`
   Compiling backtrace-sys v0.1.23
     Running `rustc --crate-name build_script_build /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.23/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=42779d8a8e8a1156 -C extra-filename=-42779d8a8e8a1156 --out-dir /tmp/cargo-installhD8ag0/release/build/backtrace-sys-42779d8a8e8a1156 -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern cc=/tmp/cargo-installhD8ag0/release/deps/libcc-2494f437ec9205c7.rlib --cap-lints allow`
   Compiling syn v0.11.11
     Running `rustc --crate-name syn /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="quote"' --cfg 'feature="synom"' --cfg 'feature="unicode-xid"' -C metadata=02dd1fd2b79051c2 -C extra-filename=-02dd1fd2b79051c2 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern quote=/tmp/cargo-installhD8ag0/release/deps/libquote-7531a65df1fc6d63.rlib --extern synom=/tmp/cargo-installhD8ag0/release/deps/libsynom-697dcad0a97a181e.rlib --extern unicode_xid=/tmp/cargo-installhD8ag0/release/deps/libunicode_xid-78d05d44e850227b.rlib --cap-lints allow`
   Compiling thread_local v0.3.5
     Running `rustc --crate-name thread_local /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/thread_local-0.3.5/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=8e649d381e273623 -C extra-filename=-8e649d381e273623 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern lazy_static=/tmp/cargo-installhD8ag0/release/deps/liblazy_static-13d3d5636b3ae515.rlib --extern unreachable=/tmp/cargo-installhD8ag0/release/deps/libunreachable-e24d499ca6920b30.rlib --cap-lints allow`
     Running `rustc --crate-name num_traits /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.5/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=8b477d649a8b06e5 -C extra-filename=-8b477d649a8b06e5 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow --cfg has_i128`
     Running `rustc --crate-name pq_sys /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/pq-sys-0.4.5/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=724a7349eb6f41a8 -C extra-filename=-724a7349eb6f41a8 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow -L native=/usr/lib64 -l pq`
   Compiling aho-corasick v0.6.5
     Running `rustc --crate-name aho_corasick /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.6.5/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=1cd80a98554391b1 -C extra-filename=-1cd80a98554391b1 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern memchr=/tmp/cargo-installhD8ag0/release/deps/libmemchr-12a113d5634908fb.rlib --cap-lints allow`
   Compiling quote v0.5.2
     Running `rustc --crate-name quote /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-0.5.2/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="proc-macro2"' -C metadata=8d01b381e60fcd45 -C extra-filename=-8d01b381e60fcd45 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern proc_macro2=/tmp/cargo-installhD8ag0/release/deps/libproc_macro2-b6e7f381465868e6.rlib --cap-lints allow`
   Compiling tempfile v3.0.2
     Running `rustc --crate-name tempfile /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/tempfile-3.0.2/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=dce3ea134b2df0be -C extra-filename=-dce3ea134b2df0be --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern libc=/tmp/cargo-installhD8ag0/release/deps/liblibc-cd9c0a92dfbde993.rlib --extern rand=/tmp/cargo-installhD8ag0/release/deps/librand-81a089c0245327b8.rlib --extern remove_dir_all=/tmp/cargo-installhD8ag0/release/deps/libremove_dir_all-54ca297a931213d9.rlib --cap-lints allow`
   Compiling quote v0.6.3
     Running `rustc --crate-name quote /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-0.6.3/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="proc-macro2"' -C metadata=d82dbe1af23b7444 -C extra-filename=-d82dbe1af23b7444 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern proc_macro2=/tmp/cargo-installhD8ag0/release/deps/libproc_macro2-9a8b1995c153f609.rlib --cap-lints allow`
     Running `/tmp/cargo-installhD8ag0/release/build/mysqlclient-sys-355e0c00c2f5cc0e/build-script-build`
     Running `/tmp/cargo-installhD8ag0/release/build/libsqlite3-sys-e907748d8658c71b/build-script-build`
   Compiling clap v2.32.0
     Running `rustc --crate-name clap /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.32.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="ansi_term"' --cfg 'feature="atty"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="strsim"' --cfg 'feature="suggestions"' --cfg 'feature="vec_map"' -C metadata=c34afbbafb7dd8de -C extra-filename=-c34afbbafb7dd8de --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern ansi_term=/tmp/cargo-installhD8ag0/release/deps/libansi_term-db41b2a9728108f8.rlib --extern atty=/tmp/cargo-installhD8ag0/release/deps/libatty-6de45a38f81927fa.rlib --extern bitflags=/tmp/cargo-installhD8ag0/release/deps/libbitflags-71282bd87c17fec5.rlib --extern strsim=/tmp/cargo-installhD8ag0/release/deps/libstrsim-6251f76ab3616c54.rlib --extern textwrap=/tmp/cargo-installhD8ag0/release/deps/libtextwrap-3e3a996c0b539eab.rlib --extern unicode_width=/tmp/cargo-installhD8ag0/release/deps/libunicode_width-55470b249822e939.rlib --extern vec_map=/tmp/cargo-installhD8ag0/release/deps/libvec_map-54c8ba97b679707a.rlib --cap-lints allow`
     Running `/tmp/cargo-installhD8ag0/release/build/backtrace-sys-42779d8a8e8a1156/build-script-build`
   Compiling syn v0.13.11
     Running `rustc --crate-name syn /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.13.11/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="proc-macro2"' --cfg 'feature="quote"' -C metadata=8bbc216ab693dccf -C extra-filename=-8bbc216ab693dccf --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern proc_macro2=/tmp/cargo-installhD8ag0/release/deps/libproc_macro2-b6e7f381465868e6.rlib --extern quote=/tmp/cargo-installhD8ag0/release/deps/libquote-8d01b381e60fcd45.rlib --extern unicode_xid=/tmp/cargo-installhD8ag0/release/deps/libunicode_xid-91dcf6c630d8b674.rlib --cap-lints allow`
     Running `rustc --crate-name mysqlclient_sys /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/mysqlclient-sys-0.2.3/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=5c6e2528db2f849f -C extra-filename=-5c6e2528db2f849f --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow -l mysqlclient`
     Running `rustc --crate-name libsqlite3_sys /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/libsqlite3-sys-0.9.1/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="min_sqlite_version_3_6_8"' --cfg 'feature="min_sqlite_version_3_7_16"' --cfg 'feature="pkg-config"' --cfg 'feature="vcpkg"' -C metadata=f501687d11ee1b8c -C extra-filename=-f501687d11ee1b8c --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --cap-lints allow -l sqlite3`
     Running `rustc --crate-name num_integer /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.39/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=9f3add00dfa6e085 -C extra-filename=-9f3add00dfa6e085 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern num_traits=/tmp/cargo-installhD8ag0/release/deps/libnum_traits-8b477d649a8b06e5.rlib --cap-lints allow --cfg has_i128`
   Compiling syn v0.14.2
     Running `rustc --crate-name syn /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.14.2/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="proc-macro2"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=f0d120e95f694b46 -C extra-filename=-f0d120e95f694b46 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern proc_macro2=/tmp/cargo-installhD8ag0/release/deps/libproc_macro2-9a8b1995c153f609.rlib --extern quote=/tmp/cargo-installhD8ag0/release/deps/libquote-d82dbe1af23b7444.rlib --extern unicode_xid=/tmp/cargo-installhD8ag0/release/deps/libunicode_xid-91dcf6c630d8b674.rlib --cap-lints allow`
     Running `rustc --crate-name backtrace_sys /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.23/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=528df36d3a8b9d6b -C extra-filename=-528df36d3a8b9d6b --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern libc=/tmp/cargo-installhD8ag0/release/deps/liblibc-cd9c0a92dfbde993.rlib --cap-lints allow -L native=/tmp/cargo-installhD8ag0/release/build/backtrace-sys-1ebdce5b82263101/out -l static=backtrace`
   Compiling chrono v0.4.4
     Running `rustc --crate-name chrono /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/chrono-0.4.4/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="clock"' --cfg 'feature="default"' --cfg 'feature="time"' -C metadata=578e8dcfc27ce377 -C extra-filename=-578e8dcfc27ce377 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern num_integer=/tmp/cargo-installhD8ag0/release/deps/libnum_integer-9f3add00dfa6e085.rlib --extern num_traits=/tmp/cargo-installhD8ag0/release/deps/libnum_traits-8b477d649a8b06e5.rlib --extern time=/tmp/cargo-installhD8ag0/release/deps/libtime-5b4cb43446967bd8.rlib --cap-lints allow`
     Running `rustc --crate-name regex /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.2.11/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' -C metadata=2cefa1d7127abf28 -C extra-filename=-2cefa1d7127abf28 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern aho_corasick=/tmp/cargo-installhD8ag0/release/deps/libaho_corasick-1cd80a98554391b1.rlib --extern memchr=/tmp/cargo-installhD8ag0/release/deps/libmemchr-12a113d5634908fb.rlib --extern regex_syntax=/tmp/cargo-installhD8ag0/release/deps/libregex_syntax-ec2e61d25f6dc7c7.rlib --extern thread_local=/tmp/cargo-installhD8ag0/release/deps/libthread_local-8e649d381e273623.rlib --extern utf8_ranges=/tmp/cargo-installhD8ag0/release/deps/libutf8_ranges-7153fdfdde9acf5a.rlib --cap-lints allow --cfg regex_runtime_teddy_ssse3 --cfg regex_runtime_teddy_avx2`
   Compiling backtrace v0.3.9
     Running `rustc --crate-name backtrace /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.9/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="backtrace-sys"' --cfg 'feature="coresymbolication"' --cfg 'feature="dbghelp"' --cfg 'feature="default"' --cfg 'feature="dladdr"' --cfg 'feature="libbacktrace"' --cfg 'feature="libunwind"' --cfg 'feature="winapi"' -C metadata=07590466927f6b6c -C extra-filename=-07590466927f6b6c --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern backtrace_sys=/tmp/cargo-installhD8ag0/release/deps/libbacktrace_sys-528df36d3a8b9d6b.rlib --extern cfg_if=/tmp/cargo-installhD8ag0/release/deps/libcfg_if-f372f1afa1bbf981.rlib --extern libc=/tmp/cargo-installhD8ag0/release/deps/liblibc-cd9c0a92dfbde993.rlib --extern rustc_demangle=/tmp/cargo-installhD8ag0/release/deps/librustc_demangle-68ef64f4f8baf8f5.rlib --cap-lints allow -L native=/tmp/cargo-installhD8ag0/release/build/backtrace-sys-1ebdce5b82263101/out`
   Compiling derive-error-chain v0.10.1
     Running `rustc --crate-name derive_error_chain /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/derive-error-chain-0.10.1/src/lib.rs --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C metadata=a240ea3a18fa2dac -C extra-filename=-a240ea3a18fa2dac --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern quote=/tmp/cargo-installhD8ag0/release/deps/libquote-7531a65df1fc6d63.rlib --extern syn=/tmp/cargo-installhD8ag0/release/deps/libsyn-02dd1fd2b79051c2.rlib --cap-lints allow`
   Compiling idna v0.1.4
     Running `rustc --crate-name idna /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/idna-0.1.4/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=9aa3912cf6cc6aab -C extra-filename=-9aa3912cf6cc6aab --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern matches=/tmp/cargo-installhD8ag0/release/deps/libmatches-3e21c544cb7c996b.rlib --extern unicode_bidi=/tmp/cargo-installhD8ag0/release/deps/libunicode_bidi-17dbd4acb7086505.rlib --extern unicode_normalization=/tmp/cargo-installhD8ag0/release/deps/libunicode_normalization-5aa755380e525e3a.rlib --cap-lints allow`
   Compiling serde_derive v1.0.67
     Running `rustc --crate-name serde_derive /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.67/src/lib.rs --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 --cfg 'feature="default"' -C metadata=8d339e57dff2a54f -C extra-filename=-8d339e57dff2a54f --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern proc_macro2=/tmp/cargo-installhD8ag0/release/deps/libproc_macro2-9a8b1995c153f609.rlib --extern quote=/tmp/cargo-installhD8ag0/release/deps/libquote-d82dbe1af23b7444.rlib --extern syn=/tmp/cargo-installhD8ag0/release/deps/libsyn-f0d120e95f694b46.rlib --cap-lints allow`
   Compiling error-chain v0.10.0
     Running `rustc --crate-name error_chain /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/error-chain-0.10.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="backtrace"' -C metadata=f968ac73d8ad24f4 -C extra-filename=-f968ac73d8ad24f4 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern backtrace=/tmp/cargo-installhD8ag0/release/deps/libbacktrace-07590466927f6b6c.rlib --cap-lints allow -L native=/tmp/cargo-installhD8ag0/release/build/backtrace-sys-1ebdce5b82263101/out`
   Compiling diesel_derives v1.3.0
     Running `rustc --crate-name diesel_derives /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel_derives-1.3.0/src/lib.rs --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="mysql"' --cfg 'feature="postgres"' --cfg 'feature="sqlite"' -C metadata=12b8ef71b2c5f439 -C extra-filename=-12b8ef71b2c5f439 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern proc_macro2=/tmp/cargo-installhD8ag0/release/deps/libproc_macro2-b6e7f381465868e6.rlib --extern quote=/tmp/cargo-installhD8ag0/release/deps/libquote-8d01b381e60fcd45.rlib --extern syn=/tmp/cargo-installhD8ag0/release/deps/libsyn-8bbc216ab693dccf.rlib --cap-lints allow`
   Compiling dotenv v0.10.1
     Running `rustc --crate-name dotenv /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/dotenv-0.10.1/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="error-chain"' -C metadata=3f3b5e76a7e761b6 -C extra-filename=-3f3b5e76a7e761b6 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern derive_error_chain=/tmp/cargo-installhD8ag0/release/deps/libderive_error_chain-a240ea3a18fa2dac.so --extern error_chain=/tmp/cargo-installhD8ag0/release/deps/liberror_chain-f968ac73d8ad24f4.rlib --extern regex=/tmp/cargo-installhD8ag0/release/deps/libregex-2cefa1d7127abf28.rlib --cap-lints allow -L native=/tmp/cargo-installhD8ag0/release/build/backtrace-sys-1ebdce5b82263101/out`
   Compiling url v1.7.0
     Running `rustc --crate-name url /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/url-1.7.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=f099343eeb9b1ab0 -C extra-filename=-f099343eeb9b1ab0 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern idna=/tmp/cargo-installhD8ag0/release/deps/libidna-9aa3912cf6cc6aab.rlib --extern matches=/tmp/cargo-installhD8ag0/release/deps/libmatches-3e21c544cb7c996b.rlib --extern percent_encoding=/tmp/cargo-installhD8ag0/release/deps/libpercent_encoding-4091d5da07ac45fd.rlib --cap-lints allow`
     Running `rustc --crate-name serde /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.67/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=0910a26d8c4a29ec -C extra-filename=-0910a26d8c4a29ec --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern serde_derive=/tmp/cargo-installhD8ag0/release/deps/libserde_derive-8d339e57dff2a54f.so --cap-lints allow --cfg de_boxed_c_str --cfg de_rc_dst --cfg core_duration --cfg integer128 --cfg num_nonzero`
   Compiling diesel v1.3.2
     Running `rustc --crate-name diesel /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/diesel-1.3.2/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="bitflags"' --cfg 'feature="diesel_derives"' --cfg 'feature="libsqlite3-sys"' --cfg 'feature="mysql"' --cfg 'feature="mysqlclient-sys"' --cfg 'feature="postgres"' --cfg 'feature="pq-sys"' --cfg 'feature="sqlite"' --cfg 'feature="url"' -C metadata=8b8613945b65b829 -C extra-filename=-8b8613945b65b829 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern bitflags=/tmp/cargo-installhD8ag0/release/deps/libbitflags-71282bd87c17fec5.rlib --extern byteorder=/tmp/cargo-installhD8ag0/release/deps/libbyteorder-7ddb8085dbc25068.rlib --extern diesel_derives=/tmp/cargo-installhD8ag0/release/deps/libdiesel_derives-12b8ef71b2c5f439.so --extern libsqlite3_sys=/tmp/cargo-installhD8ag0/release/deps/liblibsqlite3_sys-f501687d11ee1b8c.rlib --extern mysqlclient_sys=/tmp/cargo-installhD8ag0/release/deps/libmysqlclient_sys-5c6e2528db2f849f.rlib --extern pq_sys=/tmp/cargo-installhD8ag0/release/deps/libpq_sys-724a7349eb6f41a8.rlib --extern url=/tmp/cargo-installhD8ag0/release/deps/liburl-f099343eeb9b1ab0.rlib --cap-lints allow -L native=/usr/lib64`
   Compiling toml v0.4.6
     Running `rustc --crate-name toml /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.4.6/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=668c8f975b1580d6 -C extra-filename=-668c8f975b1580d6 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern serde=/tmp/cargo-installhD8ag0/release/deps/libserde-0910a26d8c4a29ec.rlib --cap-lints allow`
   Compiling migrations_internals v1.3.0
   Compiling infer_schema_internals v1.3.0
     Running `rustc --crate-name migrations_internals /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/migrations_internals-1.3.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' -C metadata=6deefc0726ea646d -C extra-filename=-6deefc0726ea646d --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern diesel=/tmp/cargo-installhD8ag0/release/deps/libdiesel-8b8613945b65b829.rlib --cap-lints allow -L native=/usr/lib64`
     Running `rustc --crate-name infer_schema_internals /home/kus/.cargo/registry/src/github.com-1ecc6299db9ec823/infer_schema_internals-1.3.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="diesel"' --cfg 'feature="mysql"' --cfg 'feature="postgres"' --cfg 'feature="serde"' --cfg 'feature="sqlite"' --cfg 'feature="uses_information_schema"' -C metadata=e68cd17a19c48dd9 -C extra-filename=-e68cd17a19c48dd9 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern diesel=/tmp/cargo-installhD8ag0/release/deps/libdiesel-8b8613945b65b829.rlib --extern serde=/tmp/cargo-installhD8ag0/release/deps/libserde-0910a26d8c4a29ec.rlib --cap-lints allow -L native=/usr/lib64`
   Compiling diesel_cli v1.3.1
     Running `rustc --crate-name diesel src/main.rs --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="diesel"' --cfg 'feature="infer_schema_internals"' --cfg 'feature="mysql"' --cfg 'feature="postgres"' --cfg 'feature="sqlite"' --cfg 'feature="url"' -C metadata=05c8d76c700b4fa1 -C extra-filename=-05c8d76c700b4fa1 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern chrono=/tmp/cargo-installhD8ag0/release/deps/libchrono-578e8dcfc27ce377.rlib --extern clap=/tmp/cargo-installhD8ag0/release/deps/libclap-c34afbbafb7dd8de.rlib --extern diesel=/tmp/cargo-installhD8ag0/release/deps/libdiesel-8b8613945b65b829.rlib --extern dotenv=/tmp/cargo-installhD8ag0/release/deps/libdotenv-3f3b5e76a7e761b6.rlib --extern infer_schema_internals=/tmp/cargo-installhD8ag0/release/deps/libinfer_schema_internals-e68cd17a19c48dd9.rlib --extern migrations_internals=/tmp/cargo-installhD8ag0/release/deps/libmigrations_internals-6deefc0726ea646d.rlib --extern serde=/tmp/cargo-installhD8ag0/release/deps/libserde-0910a26d8c4a29ec.rlib --extern tempfile=/tmp/cargo-installhD8ag0/release/deps/libtempfile-dce3ea134b2df0be.rlib --extern toml=/tmp/cargo-installhD8ag0/release/deps/libtoml-668c8f975b1580d6.rlib --extern url=/tmp/cargo-installhD8ag0/release/deps/liburl-f099343eeb9b1ab0.rlib --cap-lints allow -L native=/usr/lib64 -L native=/tmp/cargo-installhD8ag0/release/build/backtrace-sys-1ebdce5b82263101/out`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel0-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel1-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel10-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel11-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel12-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel13-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel14-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel15-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel2-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel3-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel4-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel5-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel6-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel7-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel8-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.diesel9-9ac8fe061cacfe1cc2bd70338c1ac59a.rs.rcgu.o" "-o" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1" "/tmp/cargo-installhD8ag0/release/deps/diesel-05c8d76c700b4fa1.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/cargo-installhD8ag0/release/deps" "-L" "/usr/lib64" "-L" "/tmp/cargo-installhD8ag0/release/build/backtrace-sys-1ebdce5b82263101/out" "-L" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-installhD8ag0/release/deps/libtoml-668c8f975b1580d6.rlib" "/tmp/cargo-installhD8ag0/release/deps/libtempfile-dce3ea134b2df0be.rlib" "/tmp/cargo-installhD8ag0/release/deps/libremove_dir_all-54ca297a931213d9.rlib" "/tmp/cargo-installhD8ag0/release/deps/librand-81a089c0245327b8.rlib" "/tmp/cargo-installhD8ag0/release/deps/libmigrations_internals-6deefc0726ea646d.rlib" "/tmp/cargo-installhD8ag0/release/deps/libinfer_schema_internals-e68cd17a19c48dd9.rlib" "/tmp/cargo-installhD8ag0/release/deps/libserde-0910a26d8c4a29ec.rlib" "/tmp/cargo-installhD8ag0/release/deps/libdotenv-3f3b5e76a7e761b6.rlib" "/tmp/cargo-installhD8ag0/release/deps/libregex-2cefa1d7127abf28.rlib" "/tmp/cargo-installhD8ag0/release/deps/libutf8_ranges-7153fdfdde9acf5a.rlib" "/tmp/cargo-installhD8ag0/release/deps/libregex_syntax-ec2e61d25f6dc7c7.rlib" "/tmp/cargo-installhD8ag0/release/deps/libucd_util-262bf6f116a73cad.rlib" "/tmp/cargo-installhD8ag0/release/deps/libthread_local-8e649d381e273623.rlib" "/tmp/cargo-installhD8ag0/release/deps/liblazy_static-13d3d5636b3ae515.rlib" "/tmp/cargo-installhD8ag0/release/deps/libunreachable-e24d499ca6920b30.rlib" "/tmp/cargo-installhD8ag0/release/deps/libvoid-caecde666eaf88ec.rlib" "/tmp/cargo-installhD8ag0/release/deps/libaho_corasick-1cd80a98554391b1.rlib" "/tmp/cargo-installhD8ag0/release/deps/libmemchr-12a113d5634908fb.rlib" "/tmp/cargo-installhD8ag0/release/deps/liberror_chain-f968ac73d8ad24f4.rlib" "/tmp/cargo-installhD8ag0/release/deps/libbacktrace-07590466927f6b6c.rlib" "/tmp/cargo-installhD8ag0/release/deps/libbacktrace_sys-528df36d3a8b9d6b.rlib" "/tmp/cargo-installhD8ag0/release/deps/librustc_demangle-68ef64f4f8baf8f5.rlib" "/tmp/cargo-installhD8ag0/release/deps/libcfg_if-f372f1afa1bbf981.rlib" "/tmp/cargo-installhD8ag0/release/deps/libdiesel-8b8613945b65b829.rlib" "/tmp/cargo-installhD8ag0/release/deps/liblibsqlite3_sys-f501687d11ee1b8c.rlib" "/tmp/cargo-installhD8ag0/release/deps/libpq_sys-724a7349eb6f41a8.rlib" "/tmp/cargo-installhD8ag0/release/deps/liburl-f099343eeb9b1ab0.rlib" "/tmp/cargo-installhD8ag0/release/deps/libpercent_encoding-4091d5da07ac45fd.rlib" "/tmp/cargo-installhD8ag0/release/deps/libidna-9aa3912cf6cc6aab.rlib" "/tmp/cargo-installhD8ag0/release/deps/libunicode_normalization-5aa755380e525e3a.rlib" "/tmp/cargo-installhD8ag0/release/deps/libunicode_bidi-17dbd4acb7086505.rlib" "/tmp/cargo-installhD8ag0/release/deps/libmatches-3e21c544cb7c996b.rlib" "/tmp/cargo-installhD8ag0/release/deps/libmysqlclient_sys-5c6e2528db2f849f.rlib" "/tmp/cargo-installhD8ag0/release/deps/libbyteorder-7ddb8085dbc25068.rlib" "/tmp/cargo-installhD8ag0/release/deps/libclap-c34afbbafb7dd8de.rlib" "/tmp/cargo-installhD8ag0/release/deps/libvec_map-54c8ba97b679707a.rlib" "/tmp/cargo-installhD8ag0/release/deps/libtextwrap-3e3a996c0b539eab.rlib" "/tmp/cargo-installhD8ag0/release/deps/libunicode_width-55470b249822e939.rlib" "/tmp/cargo-installhD8ag0/release/deps/libstrsim-6251f76ab3616c54.rlib" "/tmp/cargo-installhD8ag0/release/deps/libbitflags-71282bd87c17fec5.rlib" "/tmp/cargo-installhD8ag0/release/deps/libatty-6de45a38f81927fa.rlib" "/tmp/cargo-installhD8ag0/release/deps/libansi_term-db41b2a9728108f8.rlib" "/tmp/cargo-installhD8ag0/release/deps/libchrono-578e8dcfc27ce377.rlib" "/tmp/cargo-installhD8ag0/release/deps/libnum_integer-9f3add00dfa6e085.rlib" "/tmp/cargo-installhD8ag0/release/deps/libnum_traits-8b477d649a8b06e5.rlib" "/tmp/cargo-installhD8ag0/release/deps/libtime-5b4cb43446967bd8.rlib" "/tmp/cargo-installhD8ag0/release/deps/liblibc-cd9c0a92dfbde993.rlib" "-Wl,--start-group" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-36b63d9a6db6be7f.rlib" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-67b91baff7cbdd9e.rlib" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-900971a15e8e3940.rlib" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-7e638cb078b66138.rlib" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-403beca5d9698644.rlib" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-9abfee2a193407e5.rlib" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-13e417830a02886d.rlib" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1622e8d6a9b2c890.rlib" "-Wl,--end-group" "/home/kus/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-80188804d8d1437e.rlib" "-Wl,-Bdynamic" "-l" "sqlite3" "-l" "pq" "-l" "mysqlclient" "-l" "util" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util"
  = note: /usr/bin/ld: cannot find -lsqlite3
          /usr/bin/ld: cannot find -lmysqlclient
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: failed to compile `diesel_cli v1.3.1`, intermediate artifacts can be found at `/tmp/cargo-installhD8ag0`

Caused by:
  Could not compile `diesel_cli`.

Caused by:
  process didn't exit successfully: `rustc --crate-name diesel src/main.rs --crate-type bin --emit=dep-info,link -C opt-level=3 --cfg feature="default" --cfg feature="diesel" --cfg feature="infer_schema_internals" --cfg feature="mysql" --cfg feature="postgres" --cfg feature="sqlite" --cfg feature="url" -C metadata=05c8d76c700b4fa1 -C extra-filename=-05c8d76c700b4fa1 --out-dir /tmp/cargo-installhD8ag0/release/deps -L dependency=/tmp/cargo-installhD8ag0/release/deps --extern chrono=/tmp/cargo-installhD8ag0/release/deps/libchrono-578e8dcfc27ce377.rlib --extern clap=/tmp/cargo-installhD8ag0/release/deps/libclap-c34afbbafb7dd8de.rlib --extern diesel=/tmp/cargo-installhD8ag0/release/deps/libdiesel-8b8613945b65b829.rlib --extern dotenv=/tmp/cargo-installhD8ag0/release/deps/libdotenv-3f3b5e76a7e761b6.rlib --extern infer_schema_internals=/tmp/cargo-installhD8ag0/release/deps/libinfer_schema_internals-e68cd17a19c48dd9.rlib --extern migrations_internals=/tmp/cargo-installhD8ag0/release/deps/libmigrations_internals-6deefc0726ea646d.rlib --extern serde=/tmp/cargo-installhD8ag0/release/deps/libserde-0910a26d8c4a29ec.rlib --extern tempfile=/tmp/cargo-installhD8ag0/release/deps/libtempfile-dce3ea134b2df0be.rlib --extern toml=/tmp/cargo-installhD8ag0/release/deps/libtoml-668c8f975b1580d6.rlib --extern url=/tmp/cargo-installhD8ag0/release/deps/liburl-f099343eeb9b1ab0.rlib --cap-lints allow -L native=/usr/lib64 -L native=/tmp/cargo-installhD8ag0/release/build/backtrace-sys-1ebdce5b82263101/out` (exit code: 101)
➜  ~ cat /etc/fedora-release 
Fedora release 28 (Twenty Eight)
➜  ~ 

Versions

Feature Flags

Problem Description

Can't install with rust nightly on fedora

What are you trying to accomplish?

try out plume which requires diesel :(

What is the expected output?

What is the actual output?

Are you seeing any additional errors?

Steps to reproduce

Checklist