-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: failed to run custom build command for proc-macro2 v1.0.37
#1
Comments
@jkamina
Try |
This makes sense, I added this: podman run --rm but still got the exact same error. thanks, |
@jkamina hmm... try remove |
@tyranron Thanks for the help, I tried several combinations of this, and it still is throwing the same error. But this last time was a bit different. see below: info: �(Bsyncing channel updates for 'stable-aarch64-unknown-linux-gnu' Caused by: Caused by: So it compiled? maybe, but it did end up throwing the same error. thanks, |
@jkamina could you provide an MRE (minimal reproducible example)? I need to be able to reproduce this error localy to investigate further. |
Is this enought?
Cargo.toml: [workspace] [features] [dependencies] kube = { version = "0.70", features = [ actix-web = "4" opentelemetry = { version = "0.17", features = ["rt-tokio-current-thread"] } tokio = { version = "1.15", features = ["full", "tracing"] } anyhow = "*" serde = { version = "1.0.130", features = ["derive"] } reqwest = {version = "0.11.9", features = ["json", "stream"]} [dev-dependencies] SRC/main.rs uname -amn podman -v |
When running:
podman run --rm
-v cargo-cache:/volume/.cargo
-v $PWD:/volume
-w /volume
-t quay.io/instrumentisto/rust
cargo build --release
I get the this error:
Running cmd: just compile
info: syncing channel updates for 'stable-aarch64-unknown-linux-gnu'
info: latest update on 2022-04-07, rust version 1.60.0 (7737e0b5c 2022-04-04)
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'
Updating crates.io index
Updating git repository
[https://github.com/paperclip-rs/paperclip.git
](https://github.com/paperclip-rs/paperclip.git%60)Updating git submodule
[https://github.com/swagger-api/swagger-ui
](https://github.com/swagger-api/swagger-ui%60)Downloading crates ...
Downloaded flate2 v1.0.23
Downloaded futures-core v0.3.21
Downloaded generic-array v0.14.5
Downloaded form_urlencoded v1.0.1
Downloaded foreign-types-shared v0.1.1
Downloaded foreign-types v0.3.2
Downloaded fnv v1.0.7
Downloaded h2 v0.3.13
Downloaded firestorm v0.5.0
Downloaded hashbrown v0.11.2
Downloaded fast_chemail v0.9.6
Downloaded http v0.2.6
Downloaded httpdate v1.0.2
Downloaded http-body v0.4.4
Downloaded hyper-timeout v0.4.1
Downloaded mime v0.3.16
Downloaded memchr v2.4.1
Downloaded percent-encoding v2.1.0
Downloaded pkg-config v0.3.25
Downloaded proc-macro-error-attr v1.0.4
Downloaded proc-macro-error v1.0.4
Downloaded ppv-lite86 v0.2.16
Downloaded rand_core v0.6.3
Downloaded rand_chacha v0.3.1
Downloaded regex v1.5.5
Downloaded regex-automata v0.1.10
Downloaded prometheus v0.13.0
Downloaded pin-utils v0.1.0
Downloaded tokio v1.17.0
Downloaded tracing-core v0.1.26
Downloaded sharded-slab v0.1.4
Downloaded yaml-rust v0.4.5
Downloaded thiserror v1.0.30
Downloaded tinyvec_macros v0.1.0
Downloaded futures-io v0.3.21
Downloaded futures-sink v0.3.21
Downloaded gethostname v0.2.3
Downloaded futures-task v0.3.21
Downloaded futures v0.3.21
Downloaded actix-http v3.0.4
Downloaded futures-util v0.3.21
Downloaded local-waker v0.1.2
Downloaded futures-macro v0.3.21
Downloaded tracing-bunyan-formatter v0.3.2
Downloaded tracing-attributes v0.1.20
Downloaded utoipa v0.1.2
Downloaded utoipa-gen v0.1.2
Downloaded version_check v0.1.5
Downloaded self_cell v0.10.2
Downloaded schemars_derive v0.8.8
Downloaded sha-1 v0.10.0
Downloaded tracing-opentelemetry v0.17.2
Downloaded time-macros v0.2.4
Downloaded semver v1.0.7
Downloaded protobuf v2.27.1
Downloaded tinyvec v1.6.0
Downloaded schemars v0.8.8
Downloaded rand v0.8.5
Downloaded slab v0.4.6
Downloaded semver v0.11.0
Downloaded unicode-bidi v0.3.8
Downloaded zstd-safe v4.1.4+zstd.1.5.2
Downloaded zeroize v1.5.4
Downloaded zstd v0.10.0+zstd.1.5.2
Downloaded unicode-normalization v0.1.19
Downloaded tokio-util v0.7.1
Downloaded uuid v0.8.2
Downloaded tower-service v0.3.1
Downloaded tower-http v0.2.5
Downloaded num_cpus v1.13.1
Downloaded openssl-sys v0.9.72
Downloaded tokio-native-tls v0.3.0
Downloaded opentelemetry-prometheus v0.10.0
Downloaded opentelemetry-semantic-conventions v0.9.0
Downloaded num_threads v0.1.5
Downloaded num-traits v0.2.14
Downloaded ordered-float v2.10.0
Downloaded minijinja v0.15.0
Downloaded nom v4.2.3
Downloaded miniz_oxide v0.5.1
Downloaded memo-map v0.3.1
Downloaded num-integer v0.1.44
Downloaded native-tls v0.2.10
Downloaded openssl-probe v0.1.5
Downloaded language-tags v0.3.2
Downloaded kube-runtime v0.71.0
Downloaded mio v0.8.2
Downloaded getrandom v0.2.6
Downloaded include_dir v0.7.2
Downloaded hostname v0.1.5
Downloaded tower-layer v0.3.1
Downloaded tower v0.4.12
Downloaded tokio-io-timeout v1.2.0
Downloaded tokio-stream v0.1.8
Downloaded tracing-subscriber v0.3.11
Downloaded tokio-openssl v0.6.3
Downloaded paste v1.0.7
Downloaded once_cell v1.10.0
Downloaded libc v0.2.124
Downloaded base64 v0.13.0
Downloaded encoding_rs v0.8.31
Downloaded pin-project-internal v1.0.10
Downloaded pem v1.0.2
Downloaded cfg-if v1.0.0
Downloaded cc v1.0.73
Downloaded openapiv3 v1.0.1
Downloaded byteorder v1.4.3
Downloaded bitflags v1.3.2
Downloaded chrono v0.4.19
Downloaded crc32fast v1.3.2
Downloaded autocfg v1.1.0
Downloaded anyhow v1.0.57
Downloaded crossbeam-channel v0.5.4
Downloaded ansi_term v0.12.1
Downloaded aho-corasick v0.7.18
Downloaded dashmap v4.0.2
Downloaded derivative v2.2.0
Downloaded heck v0.4.0
Downloaded instant v0.1.12
Downloaded indexmap v1.8.1
Downloaded either v1.6.1
Downloaded dirs-sys-next v0.1.2
Downloaded dirs-next v2.0.0
Downloaded crossbeam-utils v0.8.8
Downloaded parking_lot_core v0.8.5
Downloaded urlparse v0.7.3
Downloaded itoa v1.0.1
Downloaded itertools v0.10.3
Downloaded parking_lot v0.12.0
Downloaded parking_lot v0.11.2
Downloaded lazy_static v1.4.0
Downloaded adler v1.0.2
Downloaded tokio-util v0.6.9
Downloaded pin-project v1.0.10
Downloaded openssl v0.10.38
Downloaded darling_macro v0.13.4
Downloaded bufstream v0.1.4
Downloaded actix-utils v3.0.0
Downloaded alloc-stdlib v0.2.1
Downloaded block-buffer v0.10.2
Downloaded ascii_utils v0.9.3
Downloaded actix-service v2.0.2
Downloaded ahash v0.7.6
Downloaded bytestring v1.0.0
Downloaded convert_case v0.4.0
Downloaded crypto-common v0.1.3
Downloaded cpufeatures v0.2.2
Downloaded async-trait v0.1.53
Downloaded base64 v0.10.1
Downloaded http-range-header v0.3.0
Downloaded dyn-clone v1.0.5
Downloaded darling v0.13.4
Downloaded backoff v0.4.0
Downloaded actix-server v2.1.1
Downloaded alloc-no-stdlib v2.0.3
Downloaded actix-web-codegen v4.0.0
Downloaded actix-router v0.5.0
Downloaded hyper-openssl v0.9.2
Downloaded cookie v0.16.0
Downloaded actix-web v4.0.1
Downloaded digest v0.10.3
Downloaded actix-rt v2.7.0
Downloaded actix-macros v0.2.3
Downloaded actix-codec v0.5.0
Downloaded json-patch v0.2.6
Downloaded bytes v1.1.0
Downloaded kube v0.71.0
Downloaded darling_core v0.13.4
Downloaded jobserver v0.1.24
Downloaded ipnet v2.5.0
Downloaded derive_more v0.99.17
Downloaded kube-core v0.71.0
Downloaded actix-web-opentelemetry v0.12.0
Downloaded syn v1.0.91
Downloaded serde_derive_internals v0.25.0
Downloaded proc-macro2 v1.0.37
Downloaded quote v1.0.18
Downloaded lock_api v0.4.7
Downloaded kube-client v0.71.0
Downloaded urlencoding v2.1.0
Downloaded try-lock v0.2.3
Downloaded treediff v3.0.2
Downloaded tracing-futures v0.2.5
Downloaded pin-project-lite v0.2.9
Downloaded httparse v1.7.0
Downloaded brotli-decompressor v2.3.2
Downloaded linked_hash_set v0.1.4
Downloaded kube-derive v0.71.0
Downloaded local-channel v0.1.2
Downloaded tokio-macros v1.7.0
Downloaded lettre v0.9.6
Downloaded futures-channel v0.3.21
Downloaded futures-executor v0.3.21
Downloaded time v0.3.9
Downloaded thread_local v1.1.4
Downloaded thiserror-impl v1.0.30
Downloaded strum_macros v0.24.0
Downloaded strum v0.24.0
Downloaded strsim v0.10.0
Downloaded include_dir_macros v0.7.2
Downloaded socket2 v0.4.4
Downloaded parking_lot_core v0.9.2
Downloaded want v0.3.0
Downloaded zstd-sys v1.6.3+zstd.1.5.2
Downloaded jsonpath_lib v0.3.0
Downloaded idna v0.2.3
Downloaded version_check v0.9.4
Downloaded url v2.2.2
Downloaded unicode-xid v0.2.2
Downloaded ucd-trie v0.1.3
Downloaded typenum v1.15.0
Downloaded tracing-log v0.1.3
Downloaded tracing-actix-web v0.5.1
Downloaded smallvec v1.8.0
Downloaded signal-hook-registry v1.4.0
Downloaded tracing v0.1.34
Downloaded serde_yaml v0.8.23
Downloaded serde_urlencoded v0.7.1
Downloaded serde_json v1.0.79
Downloaded serde_derive v1.0.136
Downloaded serde-value v0.7.0
Downloaded serde v1.0.136
Downloaded semver-parser v0.10.2
Downloaded secrecy v0.8.0
Downloaded scopeguard v1.1.0
Downloaded ryu v1.0.9
Downloaded rustversion v1.0.6
Downloaded rustc_version v0.4.0
Downloaded reqwest v0.11.10
Downloaded regex-syntax v0.6.25
Downloaded pest v2.1.3
Downloaded opentelemetry v0.17.0
Downloaded matches v0.1.9
Downloaded matchers v0.1.0
Downloaded log v0.4.16
Downloaded linked-hash-map v0.5.4
Downloaded ident_case v1.0.1
Downloaded hyper-tls v0.5.0
Downloaded hyper v0.14.18
Downloaded brotli v3.3.4
Downloaded k8s-openapi v0.14.0
Compiling proc-macro2 v1.0.37
error: failed to run custom build command for
proc-macro2 v1.0.37
Caused by:
could not execute process
/volume/target/release/build/proc-macro2-c762b5a643d7a9fa/build-script-build
(never executed)Caused by:
Network dropped connection on reset (os error 102)
Host:
uname -amn
Darwin 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; xnu-8020.101.4~15/RELEASE_ARM64_T8101 arm64
Podman info --debug:
host:
arch: arm64
buildahVersion: 1.24.3
cgroupControllers:
cgroupManager: systemd
cgroupVersion: v2
conmon:
package: conmon-2.1.0-2.fc36.aarch64
path: /usr/bin/conmon
version: 'conmon version 2.1.0, commit: '
cpus: 1
distribution:
distribution: fedora
variant: coreos
version: "36"
eventLogger: journald
hostname: localhost.localdomain
idMappings:
gidmap: null
uidmap: null
kernel: 5.17.3-300.fc36.aarch64
linkmode: dynamic
logDriver: journald
memFree: 1371586560
memTotal: 2052624384
networkBackend: netavark
ociRuntime:
name: crun
package: crun-1.4.4-1.fc36.aarch64
path: /usr/bin/crun
version: |-
crun version 1.4.4
commit: 6521fcc5806f20f6187eb933f9f45130c86da230
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
os: linux
remoteSocket:
exists: true
path: /run/podman/podman.sock
security:
apparmorEnabled: false
capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
rootless: false
seccompEnabled: true
seccompProfilePath: /usr/share/containers/seccomp.json
selinuxEnabled: true
serviceIsRemote: true
slirp4netns:
executable: /usr/bin/slirp4netns
package: slirp4netns-1.2.0-0.2.beta.0.fc36.aarch64
version: |-
slirp4netns version 1.2.0-beta.0
commit: 477db14a24ff1a3de3a705e51ca2c4c1fe3dda64
libslirp: 4.6.1
SLIRP_CONFIG_VERSION_MAX: 3
libseccomp: 2.5.3
swapFree: 0
swapTotal: 0
uptime: 2h 0m 52.86s (Approximately 0.08 days)
plugins:
log:
network:
volume:
registries:
search:
store:
configFile: /usr/share/containers/storage.conf
containerStore:
number: 0
paused: 0
running: 0
stopped: 0
graphDriverName: overlay
graphOptions:
overlay.mountopt: nodev,metacopy=on
graphRoot: /var/lib/containers/storage
graphStatus:
Backing Filesystem: xfs
Native Overlay Diff: "false"
Supports d_type: "true"
Using metacopy: "true"
imageCopyTmpDir: /var/tmp
imageStore:
number: 2
runRoot: /run/containers/storage
volumePath: /var/lib/containers/storage/volumes
version:
APIVersion: 4.0.3
Built: 1648837359
BuiltTime: Fri Apr 1 14:22:39 2022
GitCommit: ""
GoVersion: go1.18
OsArch: linux/arm64
Version: 4.0.3
What am I missing?
thanks.
The text was updated successfully, but these errors were encountered: