Console Output

Started by user Travis Burtrum
Looking up repository moparisthebest/sendxmpp-rs
Querying the current revision of branch master...
Current revision of branch master is d2ee6168fbb75627be4aa2916a7d7fb891e34a6a
Obtained .ci/Jenkinsfile from d2ee6168fbb75627be4aa2916a7d7fb891e34a6a
[Pipeline] Start of Pipeline
[Pipeline] properties
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/oparisthebest_sendxmpp-rs_master
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] echo
My branch is: master
[Pipeline] checkout
The recommended git tool is: NONE
using credential c6ea0d71-5fe1-48ba-ad49-f6dd0c20363a
Cloning the remote Git repository
Cloning repository https://code.moparisthebest.com/moparisthebest/sendxmpp-rs.git
 > git init /var/lib/jenkins/workspace/oparisthebest_sendxmpp-rs_master # timeout=10
Fetching upstream changes from https://code.moparisthebest.com/moparisthebest/sendxmpp-rs.git
 > git --version # timeout=10
 > git --version # 'git version 2.35.1'
using GIT_ASKPASS to set credentials jenkins @ code.moparisthebest.com
 > git fetch --tags --force --progress -- https://code.moparisthebest.com/moparisthebest/sendxmpp-rs.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://code.moparisthebest.com/moparisthebest/sendxmpp-rs.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision d2ee6168fbb75627be4aa2916a7d7fb891e34a6a (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d2ee6168fbb75627be4aa2916a7d7fb891e34a6a # timeout=10
Commit message: "Add --raw option to support sending a stream of raw XML"
 > git rev-list --no-walk d2ee6168fbb75627be4aa2916a7d7fb891e34a6a # timeout=10
[Gitea] Notifying branch build status: PENDING Build started...
[Gitea] Notified
[Pipeline] sh
+ set -euxo pipefail
+ git checkout master --
Switched to a new branch 'master'
branch 'master' set up to track 'origin/master'.
+ git reset --hard origin/master
HEAD is now at d2ee616 Add --raw option to support sending a stream of raw XML
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build + Deploy)
[Pipeline] sh
+ mkdir -p release
+ cp sendxmpp.toml release
+ curl --compressed -sL https://code.moparisthebest.com/moparisthebest/self-ci/raw/branch/master/build-ci.sh
+ bash
build-ci.sh: BUILD_LANG=rust RELEASE_SCRIPT=.ci/release.sh BUILD_SCRIPT=.ci/build.sh remaining args:
+ mkdir -p bin
+ cd bin
+ curl --compressed -sL -O https://code.moparisthebest.com/moparisthebest/self-ci/raw/branch/master/ci-release-helper.sh -O https://code.moparisthebest.com/moparisthebest/self-ci/raw/branch/master/rust/build.sh
+ chmod +x ci-release-helper.sh build.sh
+ cd ..
++ pwd
+ export PATH=/var/lib/jenkins/workspace/oparisthebest_sendxmpp-rs_master/bin:/usr/local/sbin:/usr/local/bin:/usr/bin
+ PATH=/var/lib/jenkins/workspace/oparisthebest_sendxmpp-rs_master/bin:/usr/local/sbin:/usr/local/bin:/usr/bin
+ export BRANCH_NAME=master
+ BRANCH_NAME=master
+ export BUILD_UID=971
+ BUILD_UID=971
++ id -g
+ export BUILD_GID=971
+ BUILD_GID=971
+ build.sh .ci/build.sh
+ echo 'starting build for TARGET x86_64-unknown-linux-musl'
starting build for TARGET x86_64-unknown-linux-musl
+ export CRATE_NAME=sendxmpp
+ CRATE_NAME=sendxmpp
+ SUFFIX=
+ grep -E '^x86_64-pc-windows-gnu$'
+ echo x86_64-unknown-linux-musl
+ cross build --target x86_64-unknown-linux-musl --release
   Compiling libc v0.2.82
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.58
   Compiling autocfg v1.0.1
   Compiling cfg-if v1.0.0
   Compiling memchr v2.3.4
   Compiling version_check v0.9.2
   Compiling typenum v1.12.0
   Compiling getrandom v0.1.16
   Compiling log v0.4.13
   Compiling cfg-if v0.1.10
   Compiling serde_derive v1.0.119
   Compiling serde v1.0.119
   Compiling pin-project-lite v0.2.4
   Compiling ppv-lite86 v0.2.10
   Compiling getrandom v0.2.1
   Compiling lazy_static v1.4.0
   Compiling siphasher v0.3.3
   Compiling pkg-config v0.3.19
   Compiling cc v1.0.66
   Compiling proc-macro-hack v0.5.19
   Compiling futures-core v0.3.11
   Compiling subtle v2.4.0
   Compiling futures-sink v0.3.11
   Compiling ryu v1.0.5
   Compiling proc-macro-nested v0.1.7
   Compiling block-padding v0.2.1
   Compiling matches v0.1.8
   Compiling opaque-debug v0.3.0
   Compiling ucd-trie v0.1.3
   Compiling once_cell v1.5.2
   Compiling tinyvec_macros v0.1.0
   Compiling serde_json v1.0.61
   Compiling bytes v1.0.1
   Compiling new_debug_unreachable v1.0.4
   Compiling pin-utils v0.1.0
   Compiling bitflags v1.2.1
   Compiling slab v0.4.2
   Compiling itoa v0.4.7
   Compiling futures-io v0.3.11
   Compiling unicode-segmentation v1.7.1
   Compiling openssl v0.10.32
   Compiling foreign-types-shared v0.1.1
   Compiling cpuid-bool v0.1.2
   Compiling percent-encoding v2.1.0
   Compiling smallvec v1.6.1
   Compiling mac v0.1.1
   Compiling precomputed-hash v0.1.1
   Compiling scopeguard v1.1.0
   Compiling utf-8 v0.7.5
   Compiling match_cfg v0.1.0
   Compiling native-tls v0.2.7
   Compiling linked-hash-map v0.5.4
   Compiling ipnet v2.3.0
   Compiling data-encoding v2.3.2
   Compiling quick-error v1.2.3
   Compiling openssl-probe v0.1.2
   Compiling base64 v0.13.0
   Compiling keccak v0.1.0
   Compiling anyhow v1.0.38
   Compiling die v0.2.0
   Compiling instant v0.1.9
   Compiling tokio v1.4.0
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.44
   Compiling generic-array v0.14.4
   Compiling phf_shared v0.8.0
   Compiling futures-channel v0.3.11
   Compiling unicode-bidi v0.3.4
   Compiling tinyvec v1.1.1
   Compiling pest v2.1.3
   Compiling futures-task v0.3.11
   Compiling openssl-sys v0.9.60
   Compiling foreign-types v0.3.2
   Compiling form_urlencoded v1.0.0
   Compiling heck v0.3.2
   Compiling futf v0.1.4
   Compiling lock_api v0.4.2
   Compiling lru-cache v0.1.2
   Compiling unicode-normalization v0.1.16
   Compiling semver-parser v0.10.2
   Compiling phf v0.8.0
error: failed to run custom build command for `openssl-sys v0.9.60`

Caused by:
  process didn't exit successfully: `/target/release/build/openssl-sys-9f5232704b882e67/build-script-main` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_LIB_DIR
  X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_INCLUDE_DIR
  X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR
  X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-unknown-linux-musl
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_unknown_linux_musl
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=OPENSSL_STATIC
  cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-musl
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_musl
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-musl
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_musl
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-musl
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_musl
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit status: 1\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'openssl' found\n"

  --- stderr
  thread 'main' panicked at '

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-linux-gnu
  $TARGET = x86_64-unknown-linux-musl
  openssl-sys = 0.9.60

  ', /cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.60/build/find_normal.rs:173:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Email)
[Pipeline] step
Sending e-mails to: admin.jenkins@moparisthebest.com
[Pipeline] }
[Pipeline] // stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
[Gitea] Notifying branch build status: FAILURE There was a failure building this commit
[Gitea] Notified
Finished: FAILURE