Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cardil/d492383a622c852f480a7a675eed3c90 to your computer and use it in GitHub Desktop.
Save cardil/d492383a622c852f480a7a675eed3c90 to your computer and use it in GitHub Desktop.
A failure to build https://github.com/cardil/cabs-usvc/tree/main/drivers app with `kn func build` (pack builder)
Building function image
Pulling image gcr.io/paketo-buildpacks/builder:base
29dc7596322b: Already exists
ed10c4dc1cb9: Already exists
baabd6616689: Already exists
70e0bea64ce8: Already exists
5128128e1ba9: Already exists
5e995c53af94: Already exists
c971d13c0b7c: Already exists
d9853c09e885: Already exists
2545c29d0f8a: Already exists
4cb09da331aa: Already exists
1b26dde964d9: Already exists
6c0f58c26cbc: Already exists
a78e52969856: Already exists
05c1eb1587c8: Already exists
8c89a7bf6fb8: Already exists
13a6c349681c: Already exists
291708cad641: Already exists
faf8745a9c0d: Already exists
a2c1667b693f: Already exists
560fb41387bf: Already exists
9f8e80195dff: Already exists
41a547ce0592: Already exists
07e2a0e91c2a: Already exists
6d43fdccd1cb: Already exists
33639c2215ff: Already exists
b0113626fc7a: Already exists
6c7d8189f2dc: Already exists
3bc6a0fb5e46: Already exists
1b79ebff2a6e: Already exists
fa1850eedadc: Already exists
1d96a0e9dd45: Already exists
ce3768c8b689: Already exists
4b56a2b22237: Already exists
886bd1b52f01: Already exists
b75c0d95fe59: Already exists
113021672870: Already exists
e31ad6597531: Already exists
e5da82006d16: Already exists
7fc3ba2f40e4: Already exists
b7b0cdc0a603: Already exists
a73e65f7346b: Already exists
6d947dbc6cff: Already exists
6b6fb2aa1abe: Already exists
b10e06a60954: Already exists
bbb33111f670: Already exists
8cd46cae3de5: Already exists
81e38c236d0c: Already exists
9789dd465dc3: Already exists
677697bf8f83: Already exists
61595d690354: Already exists
7161e43ee639: Already exists
fc8aa244ad35: Already exists
51c8cc7a2ce1: Already exists
521153b8de80: Already exists
dfaeee2f633f: Already exists
3a9fbcdc29d9: Already exists
06ddf7736aac: Already exists
060dc3bd0b4d: Already exists
ee42d88b3572: Already exists
fe1e6a6447e3: Already exists
39f3951a686f: Already exists
b8c2170940f3: Already exists
4428254ccf21: Already exists
36bc1288a8cf: Already exists
ceffb3973614: Already exists
cf1b502a3221: Already exists
0f6cedd4ac3d: Already exists
345b957d88ce: Already exists
676d209dd7e0: Already exists
3297d53ee129: Already exists
4a33f9d65a82: Already exists
100388c502e6: Already exists
291d12a534f7: Already exists
153a4626eb17: Already exists
b5ffe22945b2: Already exists
d11714ac93ed: Already exists
8c167ff0a93c: Already exists
bd74825c6ee8: Already exists
73b5310ed2c3: Already exists
655279a486e6: Already exists
050c6b08de01: Already exists
b52de4008aea: Already exists
8cbdbd865172: Already exists
c7b19dd4d136: Already exists
b9dfe0bb3c92: Already exists
a171d3837f1b: Already exists
8a4be43f27c0: Already exists
15b21c076d15: Already exists
00ff98a426b6: Already exists
6b40b3bf0eb9: Already exists
ff462999a670: Already exists
72ad9888618d: Already exists
4f4fb700ef54: Already exists
e0c48a3fafa0: Already exists
7f032baea455: Download complete
Selected run image mirror gcr.io/paketo-buildpacks/run:base-cnb
Pulling image gcr.io/paketo-buildpacks/run:base-cnb
601f11aa1b8b: Already exists
adbc6661b648: Already exists
5e995c53af94: Already exists
c1160b43c3a4: Already exists
b6eb7c0acd00: Already exists
29dc7596322b: Already exists
c43e60a47680: Already exists
dd974fc40e68: Download complete
Downloading buildpack from image: docker.io/paketocommunity/rust
Pulling image docker.io/paketocommunity/rust
023e41a5747e: Already exists
2313f13c4187: Already exists
73b5310ed2c3: Already exists
46bb23b6e3a6: Already exists
08e80b43f28c: Already exists
1637b3846ffc: Already exists
2a79bcb6e84d: Download complete
Adding buildpack paketo-community/rust version 0.32.0 to builder
Adding buildpack paketo-community/rustup version 1.9.0 to builder
Adding buildpack paketo-buildpacks/procfile version 5.6.1 to builder
Adding buildpack paketo-buildpacks/syft version 1.29.0 to builder
Adding buildpack paketo-community/cargo version 0.10.0 to builder
Adding buildpack paketo-community/rust-dist version 1.17.0 to builder
Setting custom order
Creating builder with the following buildpacks:
-> paketo-buildpacks/dotnet-core@0.36.1
-> paketo-buildpacks/ca-certificates@3.6.1
-> paketo-buildpacks/dotnet-core-aspnet-runtime@0.3.12
-> paketo-buildpacks/dotnet-core-sdk@0.13.11
-> paketo-buildpacks/dotnet-execute@0.14.12
-> paketo-buildpacks/dotnet-publish@0.12.10
-> paketo-buildpacks/environment-variables@4.5.1
-> paketo-buildpacks/icu@0.6.8
-> paketo-buildpacks/image-labels@4.4.2
-> paketo-buildpacks/node-engine@1.5.0
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/vsdbg@0.2.5
-> paketo-buildpacks/watchexec@2.8.1
-> paketo-buildpacks/go@4.3.5
-> paketo-buildpacks/ca-certificates@3.6.1
-> paketo-buildpacks/environment-variables@4.5.1
-> paketo-buildpacks/git@1.0.6
-> paketo-buildpacks/go-build@2.0.18
-> paketo-buildpacks/go-dist@2.3.5
-> paketo-buildpacks/go-mod-vendor@1.0.17
-> paketo-buildpacks/image-labels@4.4.2
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/watchexec@2.8.1
-> paketo-buildpacks/java-native-image@8.5.0
-> paketo-buildpacks/bellsoft-liberica@10.2.2
-> paketo-buildpacks/ca-certificates@3.6.1
-> paketo-buildpacks/datadog@3.9.0
-> paketo-buildpacks/environment-variables@4.5.1
-> paketo-buildpacks/executable-jar@6.7.0
-> paketo-buildpacks/gradle@7.2.0
-> paketo-buildpacks/image-labels@4.4.2
-> paketo-buildpacks/leiningen@4.6.0
-> paketo-buildpacks/maven@6.15.0
-> paketo-buildpacks/native-image@5.10.0
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/sbt@6.11.0
-> paketo-buildpacks/spring-boot@5.24.0
-> paketo-buildpacks/syft@1.29.0
-> paketo-buildpacks/upx@3.4.1
-> paketo-buildpacks/java@9.6.0
-> paketo-buildpacks/apache-tomcat@7.13.1
-> paketo-buildpacks/apache-tomee@1.7.0
-> paketo-buildpacks/azure-application-insights@5.14.0
-> paketo-buildpacks/bellsoft-liberica@10.2.2
-> paketo-buildpacks/ca-certificates@3.6.1
-> paketo-buildpacks/clojure-tools@2.8.0
-> paketo-buildpacks/datadog@3.9.0
-> paketo-buildpacks/dist-zip@5.6.0
-> paketo-buildpacks/encrypt-at-rest@4.5.0
-> paketo-buildpacks/environment-variables@4.5.1
-> paketo-buildpacks/executable-jar@6.7.0
-> paketo-buildpacks/google-stackdriver@7.5.1
-> paketo-buildpacks/gradle@7.2.0
-> paketo-buildpacks/image-labels@4.4.2
-> paketo-buildpacks/jattach@1.4.0
-> paketo-buildpacks/java-memory-assistant@1.4.0
-> paketo-buildpacks/leiningen@4.6.0
-> paketo-buildpacks/liberty@3.7.0
-> paketo-buildpacks/maven@6.15.0
-> paketo-buildpacks/node-engine@1.5.0
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/sbt@6.11.0
-> paketo-buildpacks/spring-boot@5.24.0
-> paketo-buildpacks/syft@1.29.0
-> paketo-buildpacks/watchexec@2.8.1
-> paketo-buildpacks/yarn@1.1.6
-> paketo-buildpacks/nodejs@1.6.1
-> paketo-buildpacks/ca-certificates@3.6.1
-> paketo-buildpacks/datadog@3.6.0
-> paketo-buildpacks/environment-variables@4.5.1
-> paketo-buildpacks/image-labels@4.4.2
-> paketo-buildpacks/node-engine@1.5.1
-> paketo-buildpacks/node-run-script@1.0.7
-> paketo-buildpacks/node-start@1.0.8
-> paketo-buildpacks/npm-install@1.1.1
-> paketo-buildpacks/npm-start@1.0.8
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/watchexec@2.8.1
-> paketo-buildpacks/yarn@1.1.7
-> paketo-buildpacks/yarn-install@1.1.1
-> paketo-buildpacks/yarn-start@1.0.8
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/python@2.11.0
-> paketo-buildpacks/ca-certificates@3.6.1
-> paketo-buildpacks/conda-env-update@0.7.8
-> paketo-buildpacks/cpython@1.8.8
-> paketo-buildpacks/environment-variables@4.5.1
-> paketo-buildpacks/image-labels@4.4.2
-> paketo-buildpacks/miniconda@0.8.1
-> paketo-buildpacks/pip@0.17.1
-> paketo-buildpacks/pip-install@0.5.13
-> paketo-buildpacks/pipenv@1.16.0
-> paketo-buildpacks/pipenv-install@0.6.14
-> paketo-buildpacks/poetry@0.6.1
-> paketo-buildpacks/poetry-install@0.3.13
-> paketo-buildpacks/poetry-run@0.4.14
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/python-start@0.14.7
-> paketo-buildpacks/watchexec@2.8.1
-> paketo-buildpacks/ruby@0.35.0
-> paketo-buildpacks/bundle-install@0.7.4
-> paketo-buildpacks/bundler@0.7.16
-> paketo-buildpacks/ca-certificates@3.6.1
-> paketo-buildpacks/environment-variables@4.5.1
-> paketo-buildpacks/image-labels@4.4.2
-> paketo-buildpacks/mri@0.14.0
-> paketo-buildpacks/node-engine@1.5.0
-> paketo-buildpacks/passenger@0.9.3
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/puma@0.4.25
-> paketo-buildpacks/rackup@0.4.24
-> paketo-buildpacks/rails-assets@0.8.14
-> paketo-buildpacks/rake@0.4.24
-> paketo-buildpacks/thin@0.5.24
-> paketo-buildpacks/unicorn@0.4.24
-> paketo-buildpacks/yarn@1.1.6
-> paketo-buildpacks/yarn-install@1.1.0
-> paketo-buildpacks/watchexec@2.8.1
-> paketo-buildpacks/web-servers@0.15.0
-> paketo-buildpacks/ca-certificates@3.6.1
-> paketo-buildpacks/environment-variables@4.5.1
-> paketo-buildpacks/httpd@0.7.8
-> paketo-buildpacks/image-labels@4.4.2
-> paketo-buildpacks/nginx@0.14.0
-> paketo-buildpacks/node-engine@1.5.0
-> paketo-buildpacks/node-run-script@1.0.6
-> paketo-buildpacks/npm-install@1.1.0
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/source-removal@0.2.0
-> paketo-buildpacks/watchexec@2.8.1
-> paketo-buildpacks/yarn@1.1.6
-> paketo-buildpacks/yarn-install@1.1.0
-> paketo-community/rust@0.32.0
-> paketo-community/rustup@1.9.0
-> paketo-buildpacks/procfile@5.6.1
-> paketo-buildpacks/syft@1.29.0
-> paketo-community/cargo@0.10.0
-> paketo-community/rust-dist@1.17.0
Buildpack paketo-buildpacks/procfile@5.6.1 already exists on builder with same contents, skipping...
Buildpack paketo-buildpacks/syft@1.29.0 already exists on builder with same contents, skipping...
Adding buildpack paketo-community/rust@0.32.0 (diffID=sha256:41df31b0f474f12d560fdab1ebcbb3ad3faf1180d5fb15d36bfe7dd13be4c266)
Adding buildpack paketo-community/rustup@1.9.0 (diffID=sha256:8dda136d764ba71e6e512bed8b5dc06db393800b581978ce2f2e84328f61edc3)
Adding buildpack paketo-community/cargo@0.10.0 (diffID=sha256:a92ca3b43e8ffca2d6008838cba748dc0b4146e68c5d2b58cfebf0beed51979c)
Adding buildpack paketo-community/rust-dist@1.17.0 (diffID=sha256:cc60fc0028809da227f961c170fe452f20cfc94e67c19945a41016a121aaaaba)
Using build cache volume pack-cache-cardil_cabs_drivers_latest-9a893bda451c.build
Running the creator on OS linux with:
Container Settings:
Args: /cnb/lifecycle/creator -daemon -launch-cache /launch-cache -log-level debug -app /workspace -cache-dir /cache -run-image gcr.io/paketo-buildpacks/run:base-cnb -gid 0 quay.io/cardil/cabs/drivers:latest
System Envs: CNB_PLATFORM_API=0.10
Image: pack.local/builder/676f77636f75697a6171:latest
User: root
Labels: map[author:pack]
Host Settings:
Binds: pack-cache-cardil_cabs_drivers_latest-9a893bda451c.build:/cache /run/user/1000/podman/podman.sock:/var/run/docker.sock pack-cache-cardil_cabs_drivers_latest-9a893bda451c.launch:/launch-cache pack-layers-lonfbypuph:/layers pack-app-dwekvdwuvd:/workspace
Network Mode: host
===> ANALYZING
Found image with identifier "3289f1bf93751bb2acf9e817e4e59c750462bdf1a6d475abdda831ee38e20971"
Found image with identifier "dd974fc40e68bcfa3eaefe3f771812dca31c6980ad056af569fb34c38f930b2f"
===> DETECTING
======== Results ========
pass: paketo-community/rustup@1.9.0
pass: paketo-community/rust-dist@1.17.0
pass: paketo-buildpacks/syft@1.29.0
pass: paketo-community/cargo@0.10.0
pass: paketo-buildpacks/procfile@5.6.1
Resolving plan... (try #1)
paketo-community/rustup 1.9.0
paketo-community/rust-dist 1.17.0
paketo-buildpacks/syft 1.29.0
paketo-community/cargo 0.10.0
paketo-buildpacks/procfile 5.6.1
===> RESTORING
Reading buildpack directory: /layers/paketo-community_rustup
Reading buildpack directory: /layers/paketo-community_rust-dist
Reading buildpack directory: /layers/paketo-buildpacks_syft
Reading buildpack directory: /layers/paketo-community_cargo
Reading buildpack directory: /layers/paketo-buildpacks_procfile
Reading buildpack directory: /layers/paketo-community_rustup
Reading buildpack directory: /layers/paketo-community_rust-dist
Reading buildpack directory: /layers/paketo-buildpacks_syft
Reading buildpack directory: /layers/paketo-community_cargo
Reading buildpack directory: /layers/paketo-buildpacks_procfile
===> BUILDING
Starting build
Running build for buildpack paketo-community/rustup@1.9.0
Looking up buildpack
Finding plan
Creating plan directory
Preparing paths
Running build command
Paketo Buildpack for Rustup 1.9.0
https://github.com/paketo-community/rustup
Build Configuration:
$BP_RUSTUP_ENABLED true use rustup to install Rust
$BP_RUSTUP_INIT_LIBC gnu libc implementation: gnu or musl
$BP_RUSTUP_INIT_VERSION 1 the rustup version
$BP_RUST_PROFILE minimal the Rust profile to install
$BP_RUST_TARGET an additional Rust target to install
$BP_RUST_TOOLCHAIN stable the Rust toolchain or version number to install
Rustup (GNU libc) 1.26.0: Contributing to layer
Downloading from https://static.rust-lang.org/rustup/archive/1.26.0/x86_64-unknown-linux-gnu/rustup-init
Verifying checksum
Copying to /layers/paketo-community_rustup/rustup-init-gnu/bin
Cargo: Contributing to layer
Rustup: Contributing to layer
Installing Rustup
Rust: Contributing to layer
Installing Rust
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-04-20, rust version 1.69.0 (84c898d65 2023-04-16)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'
stable-x86_64-unknown-linux-gnu installed - rustc 1.69.0 (84c898d65 2023-04-16)
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
info: checking for self-update
info: component 'rust-std' for target 'x86_64-unknown-linux-gnu' is up to date
Processing layers
Updating environment
Reading output files
Updating buildpack processes
Updating process list
Finished running build for buildpack paketo-community/rustup@1.9.0
Running build for buildpack paketo-community/rust-dist@1.17.0
Looking up buildpack
Finding plan
Creating plan directory
Preparing paths
Running build command
Rust Distribution Buildpack 1.17.0
https://github.com/paketo-community/rust-dist
Processing layers
Updating environment
Reading output files
Updating buildpack processes
Updating process list
Finished running build for buildpack paketo-community/rust-dist@1.17.0
Running build for buildpack paketo-buildpacks/syft@1.29.0
Looking up buildpack
Finding plan
Creating plan directory
Preparing paths
Running build command
Paketo Buildpack for Syft 1.29.0
https://github.com/paketo-buildpacks/syft
Downloading from https://github.com/anchore/syft/releases/download/v0.79.0/syft_0.79.0_linux_amd64.tar.gz
Verifying checksum
Writing env.build/SYFT_CHECK_FOR_APP_UPDATE.default
Processing layers
Updating environment
Reading output files
Updating buildpack processes
Updating process list
Finished running build for buildpack paketo-buildpacks/syft@1.29.0
Running build for buildpack paketo-community/cargo@0.10.0
Looking up buildpack
Finding plan
Creating plan directory
Preparing paths
Running build command
Rust Cargo Build Pack 0.10.0
https://github.com/paketo-community/cargo
Build Configuration:
$BP_CARGO_INSTALL_ARGS --locked additional arguments to pass to Cargo install
$BP_CARGO_INSTALL_TOOLS additional tools to be add with Cargo install
$BP_CARGO_INSTALL_TOOLS_ARGS additional arguments to pass to Cargo install for tools
$BP_CARGO_TINI_DISABLED false Skip installing tini
$BP_CARGO_WORKSPACE_MEMBERS the subset of workspace members for Cargo to install
$BP_DISABLE_SBOM false Skip running SBOM scan
$BP_EXCLUDE_FILES colon separated list of glob patterns, matched source files are removed
$BP_INCLUDE_FILES static/*:templates/*:public/*:html/* colon separated list of glob patterns, matched source files are included
$BP_STATIC_BINARY_TYPE muslc type of static binary to build
Tini 0.19.0: Contributing to layer
Downloading from https://github.com/krallin/tini/releases/download/v0.19.0/tini-static-muslc-amd64
Verifying checksum
Copying to /layers/paketo-community_cargo/tini
Creating cached target directory /workspace/target
Rust Application: Contributing to layer
File modification times not restored
File modification times not restored
File modification times not restored
cargo install --locked --color=never --root=/layers/paketo-community_cargo/Cargo --path=.
Installing drivers v0.1.0 (/workspace)
Updating crates.io index
Downloading crates ...
Downloaded cfg-if v1.0.0
Downloaded chrono v0.4.24
Downloaded config v0.13.3
Downloaded cookie v0.16.2
Downloaded doc-comment v0.3.3
Downloaded data-encoding v2.3.3
Downloaded combine v4.6.6
Downloaded actix-macros v0.2.3
Downloaded form_urlencoded v1.1.0
Downloaded futures-sink v0.3.28
Downloaded futures-task v0.3.28
Downloaded rustls v0.20.8
Downloaded hashbrown v0.12.3
Downloaded iana-time-zone v0.1.56
Downloaded hyper-tls v0.5.0
Downloaded hyper-rustls v0.23.2
Downloaded hyper v0.14.26
Downloaded lazy_static v1.4.0
Downloaded mime v0.3.17
Downloaded native-tls v0.2.11
Downloaded base64 v0.13.1
Downloaded percent-encoding v2.2.0
Downloaded rand_core v0.6.4
Downloaded rand_chacha v0.3.1
Downloaded rand v0.8.5
Downloaded quote v1.0.26
Downloaded regex v1.8.1
Downloaded proc-macro2 v1.0.56
Downloaded ppv-lite86 v0.2.17
Downloaded pkg-config v0.3.26
Downloaded pin-utils v0.1.0
Downloaded pin-project-lite v0.2.9
Downloaded pathdiff v0.2.1
Downloaded paste v1.0.12
Downloaded parking_lot_core v0.9.7
Downloaded parking_lot v0.12.1
Downloaded ordered-multimap v0.4.3
Downloaded openssl-sys v0.9.86
Downloaded openssl-probe v0.1.5
Downloaded openssl-macros v0.1.1
Downloaded openssl v0.10.51
Downloaded regex-syntax v0.7.1
Downloaded scopeguard v1.1.0
Downloaded redis v0.23.0
Downloaded sha2 v0.10.6
Downloaded slab v0.4.8
Downloaded time v0.1.45
Downloaded pest v2.5.7
Downloaded libc v0.2.142
Downloaded encoding_rs v0.8.32
Downloaded time-core v0.1.0
Downloaded time v0.3.20
Downloaded actix-http v3.3.1
Downloaded toml v0.5.11
Downloaded delegate-attr v0.2.9
Downloaded alloc-stdlib v0.2.2
Downloaded alloc-no-stdlib v2.0.4
Downloaded cloudevents-sdk v0.7.0
Downloaded bytestring v1.3.0
Downloaded linux-raw-sys v0.3.3
Downloaded rustls-pemfile v1.0.2
Downloaded tokio-macros v2.0.0
Downloaded url v2.3.1
Downloaded version_check v0.9.4
Downloaded yaml-rust v0.4.5
Downloaded tracing-core v0.1.30
Downloaded webpki v0.22.0
Downloaded actix-utils v3.0.1
Downloaded zstd-safe v6.0.5+zstd.1.5.4
Downloaded webpki-roots v0.22.6
Downloaded actix-router v0.5.1
Downloaded actix-server v2.2.0
Downloaded actix-rt v2.8.0
Downloaded actix-service v2.0.2
Downloaded actix-codec v0.5.0
Downloaded brotli-decompressor v2.3.4
Downloaded zstd v0.12.3+zstd.1.5.2
Downloaded tokio-util v0.7.7
Downloaded tokio v1.27.0
Downloaded zstd-sys v2.0.8+zstd.1.5.5
Downloaded brotli v3.3.4
Downloaded ring v0.16.20
Downloaded rustix v0.37.13
Downloaded wasm-bindgen-macro v0.2.84
Downloaded wasm-bindgen-shared v0.2.84
Downloaded wasm-bindgen-macro-support v0.2.84
Downloaded wasm-bindgen-backend v0.2.84
Downloaded wasm-bindgen v0.2.84
Downloaded want v0.3.0
Downloaded uuid v1.3.2
Downloaded untrusted v0.7.1
Downloaded unicode-normalization v0.1.22
Downloaded unicode-ident v1.0.8
Downloaded unicode-bidi v0.3.13
Downloaded ucd-trie v0.1.5
Downloaded typenum v1.16.0
Downloaded try-lock v0.2.4
Downloaded tracing v0.1.37
Downloaded tower-service v0.3.2
Downloaded time-macros v0.2.8
Downloaded snafu-derive v0.6.10
Downloaded snafu v0.6.10
Downloaded serde v1.0.160
Downloaded reqwest v0.11.16
Downloaded bumpalo v3.12.0
Downloaded base64 v0.12.3
Downloaded arc-swap v1.6.0
Downloaded tokio-rustls v0.23.4
Downloaded tokio-native-tls v0.3.1
Downloaded tinyvec_macros v0.1.1
Downloaded tinyvec v1.6.0
Downloaded thiserror-impl v1.0.40
Downloaded thiserror v1.0.40
Downloaded termcolor v1.2.0
Downloaded syn v2.0.15
Downloaded syn v1.0.109
Downloaded spin v0.5.2
Downloaded socket2 v0.4.9
Downloaded smallvec v1.10.0
Downloaded signal-hook-registry v1.4.1
Downloaded pest_meta v2.5.7
Downloaded pest_derive v2.5.7
Downloaded sha1 v0.10.5
Downloaded pest_generator v2.5.7
Downloaded num-iter v0.1.43
Downloaded serde_urlencoded v0.7.1
Downloaded serde_json v1.0.96
Downloaded serde_derive v1.0.160
Downloaded semver v1.0.17
Downloaded sct v0.7.0
Downloaded num v0.4.0
Downloaded local-waker v0.1.3
Downloaded local-channel v0.1.3
Downloaded language-tags v0.3.2
Downloaded ryu v1.0.13
Downloaded rustc_version v0.4.0
Downloaded rust-ini v0.18.0
Downloaded ron v0.7.1
Downloaded generic-array v0.14.7
Downloaded flate2 v1.0.25
Downloaded env_logger v0.10.0
Downloaded digest v0.10.6
Downloaded derive_more v0.99.17
Downloaded crypto-common v0.1.6
Downloaded crc32fast v1.3.2
Downloaded cpufeatures v0.2.7
Downloaded convert_case v0.4.0
Downloaded cc v1.0.79
Downloaded bytes v1.4.0
Downloaded once_cell v1.17.1
Downloaded num_cpus v1.15.0
Downloaded num-traits v0.2.15
Downloaded num-rational v0.4.1
Downloaded num-integer v0.1.45
Downloaded num-complex v0.4.3
Downloaded num-bigint v0.4.3
Downloaded nom v7.1.3
Downloaded block-buffer v0.10.4
Downloaded bitflags v1.3.2
Downloaded base64 v0.21.0
Downloaded mio v0.8.6
Downloaded miniz_oxide v0.6.2
Downloaded minimal-lexical v0.2.1
Downloaded autocfg v1.1.0
Downloaded async-trait v0.1.68
Downloaded aho-corasick v1.0.1
Downloaded ahash v0.8.3
Downloaded ahash v0.7.6
Downloaded actix-web v4.3.1
Downloaded memchr v2.5.0
Downloaded match_cfg v0.1.0
Downloaded log v0.4.17
Downloaded lock_api v0.4.9
Downloaded linked-hash-map v0.5.6
Downloaded json5 v0.4.1
Downloaded jobserver v0.1.26
Downloaded itoa v1.0.6
Downloaded is-terminal v0.4.7
Downloaded ipnet v2.7.2
Downloaded io-lifetimes v1.0.10
Downloaded indexmap v1.9.3
Downloaded idna v0.3.0
Downloaded humantime v2.1.0
Downloaded httpdate v1.0.2
Downloaded httparse v1.8.0
Downloaded http-body v0.4.5
Downloaded http v0.2.9
Downloaded hostname v0.3.1
Downloaded dlv-list v0.3.0
Downloaded actix-web-codegen v4.2.0
Downloaded h2 v0.3.18
Downloaded adler v1.0.2
Downloaded getrandom v0.2.9
Downloaded futures-util v0.3.28
Downloaded futures-macro v0.3.28
Downloaded futures-io v0.3.28
Downloaded futures-executor v0.3.28
Downloaded futures-core v0.3.28
Downloaded futures-channel v0.3.28
Downloaded futures v0.3.28
Downloaded foreign-types-shared v0.1.1
Downloaded foreign-types v0.3.2
Downloaded fnv v1.0.7
Compiling proc-macro2 v1.0.56
Compiling unicode-ident v1.0.8
Compiling quote v1.0.26
Compiling libc v0.2.142
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling once_cell v1.17.1
Compiling memchr v2.5.0
Compiling version_check v0.9.4
Compiling pin-project-lite v0.2.9
Compiling log v0.4.17
Compiling futures-core v0.3.28
Compiling bytes v1.4.0
Compiling lock_api v0.4.9
Compiling parking_lot_core v0.9.7
Compiling smallvec v1.10.0
Compiling jobserver v0.1.26
Compiling scopeguard v1.1.0
Compiling syn v2.0.15
Compiling pkg-config v0.3.26
Compiling cc v1.0.79
Compiling tokio v1.27.0
Compiling futures-sink v0.3.28
Compiling itoa v1.0.6
Compiling getrandom v0.2.9
Compiling parking_lot v0.12.1
Compiling signal-hook-registry v1.4.1
Compiling mio v0.8.6
Compiling num_cpus v1.15.0
Compiling socket2 v0.4.9
Compiling slab v0.4.8
Compiling futures-channel v0.3.28
Compiling futures-task v0.3.28
Compiling serde_derive v1.0.160
Compiling syn v1.0.109
Compiling ahash v0.7.6
Compiling tracing-core v0.1.30
Compiling futures-util v0.3.28
Compiling serde v1.0.160
Compiling pin-utils v0.1.0
Compiling tracing v0.1.37
Compiling bitflags v1.3.2
Compiling futures-io v0.3.28
Compiling ring v0.16.20
Compiling hashbrown v0.12.3
Compiling thiserror v1.0.40
Compiling fnv v1.0.7
Compiling http v0.2.9
Compiling openssl-sys v0.9.86
Compiling num-traits v0.2.15
Compiling indexmap v1.9.3
Compiling typenum v1.16.0
Compiling generic-array v0.14.7
error: failed to run custom build command for `openssl-sys v0.9.86`
Caused by:
process didn't exit successfully: `/workspace/target/release/build/openssl-sys-7a7be851abe8ff81/build-script-main` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
X86_64_UNKNOWN_LINUX_GNU_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_GNU_OPENSSL_INCLUDE_DIR
X86_64_UNKNOWN_LINUX_GNU_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_GNU_OPENSSL_DIR
X86_64_UNKNOWN_LINUX_GNU_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_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
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-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
run pkg_config fail: Could not run `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "openssl"`
The pkg-config command could not be found.
Most likely, you need to install a pkg-config package for your OS.
Try `apt install pkg-config`, or `yum install pkg-config`,
or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.
If you've already installed it, ensure the pkg-config command is one of the
directories in the PATH environment variable.
If you did not expect this build to link to a pre-installed system library,
then check documentation of the openssl-sys crate for an option to
build the library from source, or disable features or dependencies
that require pkg-config.
--- 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-gnu
openssl-sys = 0.9.86
It looks like you're compiling on Linux and also targeting Linux. Currently this
requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
could not be found. If you have OpenSSL installed you can likely fix this by
installing `pkg-config`.
', /layers/paketo-community_rustup/Cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.86/build/find_normal.rs:190:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `drivers v0.1.0 (/workspace)`, intermediate artifacts can be found at `/workspace/target`
unable to invoke layer creator
unable to contribute application layer
unable to install single
unable to build
exit status 101
ERROR: failed to build: exit status 1
Error: executing lifecycle: failed with status code: 51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment