Skip to content

Instantly share code, notes, and snippets.

@JoshOrndorff
Created August 4, 2020 19:05
Show Gist options
  • Save JoshOrndorff/a845f1fd7b8464f0e1d2fae1df16a9cc to your computer and use it in GitHub Desktop.
Save JoshOrndorff/a845f1fd7b8464f0e1d2fae1df16a9cc to your computer and use it in GitHub Desktop.
Rococo Collator Build Error
$ cargo build --release -p rococo-collator
Downloaded crypto-mac v0.8.0
Downloaded block-buffer v0.9.0
Downloaded opaque-debug v0.3.0
Downloaded aes v0.4.0
Downloaded generic-array v0.14.3
Downloaded ghash v0.3.0
Downloaded digest v0.9.0
Downloaded cpuid-bool v0.1.2
Downloaded stream-cipher v0.4.1
Downloaded chacha20 v0.4.3
Downloaded poly1305 v0.6.0
Downloaded dyn-clone v1.0.2
Downloaded block-cipher v0.7.1
Downloaded aes-soft v0.4.0
Downloaded universal-hash v0.4.0
Downloaded polyval v0.4.0
Compiling libc v0.2.74
Compiling proc-macro2 v1.0.19
Compiling unicode-xid v0.2.1
Compiling syn v1.0.36
Compiling log v0.4.11
Compiling serde_derive v1.0.114
Compiling serde v1.0.114
Compiling smallvec v1.4.1
Compiling ahash v0.3.8
Compiling proc-macro-hack v0.5.18
Compiling pin-project-internal v0.4.23
Compiling tinyvec v0.3.3
Compiling stable_deref_trait v1.2.0
Compiling signature v1.2.0
Compiling wasmparser v0.57.0
Compiling adler v0.2.3
Compiling gimli v0.22.0
Compiling parity-util-mem v0.7.0
Compiling sp-std v2.0.0-rc5 (https://github.com/paritytech/substrate?branch=rococo-branch#270a992b)
Compiling dyn-clone v1.0.2
Compiling anyhow v1.0.32
Compiling bytes v0.5.6
Compiling itoa v0.4.6
Compiling wasm-bindgen-shared v0.2.67
Compiling base64 v0.12.3
Compiling wasm-bindgen v0.2.67
Compiling serde_json v1.0.57
Compiling send_wrapper v0.4.0
Compiling cranelift-codegen-shared v0.66.0
Compiling rayon-core v1.7.1
Compiling cache-padded v1.1.1
Compiling waker-fn v1.0.0
Compiling parking v1.0.6
Compiling fastrand v1.3.3
Compiling event-listener v2.2.1
Compiling atomic-waker v1.0.0
Compiling wasmtime-environ v0.19.0
Compiling wasmparser v0.59.0
Compiling pkg-config v0.3.18
Compiling async-task v3.0.0
Compiling try-lock v0.2.3
Compiling opaque-debug v0.3.0
Compiling cpuid-bool v0.1.2
Compiling prometheus v0.9.0
Compiling object v0.19.0
Compiling unicode-width v0.1.8
Compiling winapi v0.3.9
Compiling retain_mut v0.1.1
Compiling mio-named-pipes v0.1.7
Compiling sysinfo v0.14.15
Compiling adler32 v1.1.0
Compiling sc-consensus-slots v0.8.0-rc5 (https://github.com/paritytech/substrate?branch=rococo-branch#270a992b)
Compiling hashbrown v0.8.1
Compiling indexmap v1.5.0
Compiling tracing-core v0.1.11
Compiling memoffset v0.5.5
Compiling rayon v1.3.1
Compiling tokio-service v0.1.0
Compiling owning_ref v0.4.1
Compiling ed25519 v1.0.1
Compiling miniz_oxide v0.4.0
Compiling unicode-normalization v0.1.13
Compiling generic-array v0.14.3
Compiling proc-macro-error-attr v1.0.3
Compiling proc-macro-error v1.0.3
Compiling concurrent-queue v1.1.2
Compiling http v0.2.1
Compiling wast v21.0.0
Compiling polkadot-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)
Compiling westend-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)
Compiling kusama-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)
Compiling rococo-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)
Compiling polkadot-test-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)
Compiling cumulus-test-parachain-runtime v0.1.0 (/home/joshy/ProgrammingProjects/cumulus/test/parachain/runtime)
Compiling linked_hash_set v0.1.4
Compiling textwrap v0.11.0
Compiling substrate-build-script-utils v2.0.0-rc5 (https://github.com/paritytech/substrate?branch=rococo-branch#270a992b)
Compiling lock_api v0.1.5
Compiling async-channel v1.2.0
Compiling paste-impl v0.1.18
Compiling hex-literal-impl v0.2.2
Compiling idna v0.2.0
Compiling idna v0.1.5
Compiling addr2line v0.13.0
Compiling reed-solomon-erasure v4.0.2
Compiling aho-corasick v0.7.13
Compiling futures-lite v0.1.10
Compiling libflate v1.0.2
Compiling snow v0.7.1
Compiling regalloc v0.0.27
Compiling kv-log-macro v1.0.7
Compiling want v0.3.0
Compiling log v0.3.9
Compiling want v0.2.0
Compiling quote v1.0.7
Compiling http-body v0.3.1
Compiling polkadot-cli v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)
Compiling rococo-collator v0.1.0 (/home/joshy/ProgrammingProjects/cumulus/test/parachain)
Compiling url v2.1.1
Compiling parking_lot_core v0.7.2
Compiling num_cpus v1.13.0
Compiling getrandom v0.1.14
Compiling jobserver v0.1.21
Compiling iovec v0.1.4
Compiling which v3.1.1
Compiling net2 v0.2.34
Compiling time v0.1.43
Compiling atty v0.2.14
Compiling socket2 v0.3.12
Compiling dirs-sys v0.3.5
Compiling errno v0.2.6
Compiling signal-hook-registry v1.2.0
Compiling region v2.2.0
Compiling get_if_addrs v0.5.3
Compiling rand_os v0.1.3
Compiling rand v0.5.6
Compiling rand v0.4.6
Compiling fs-swap v0.2.4
Compiling memmap v0.7.0
Compiling nix v0.17.0
Compiling rpassword v4.0.5
Compiling fdlimit v0.1.4
Compiling url v1.7.2
Compiling hex-literal v0.2.1
Compiling wat v1.0.22
Compiling paste v0.1.18
Compiling regex v1.3.9
Compiling trie-db v0.22.1
Compiling crossbeam-epoch v0.8.2
Compiling universal-hash v0.4.0
Compiling block-cipher v0.7.1
Compiling aead v0.3.2
Compiling stream-cipher v0.4.1
Compiling digest v0.9.0
Compiling crypto-mac v0.8.0
Compiling block-buffer v0.9.0
Compiling parking_lot v0.10.2
Compiling futures-cpupool v0.1.8
Compiling threadpool v1.8.1
Compiling rand_core v0.5.1
Compiling const-random-macro v0.1.8
Compiling bytes v0.4.12
Compiling cc v1.0.58
Compiling prost-build v0.6.1
Compiling mio v0.6.22
Compiling clap v2.33.1
Compiling miow v0.3.5
Compiling directories v2.0.2
Compiling rand v0.6.5
Compiling statrs v0.10.0
Compiling rand v0.3.23
Compiling chrono v0.4.13
Compiling Inflector v0.11.4
Compiling env_logger v0.7.1
Compiling globset v0.4.5
Compiling parking_lot_core v0.6.2
Compiling polyval v0.4.0
Compiling poly1305 v0.6.0
Compiling crossbeam-deque v0.7.3
Compiling aes-soft v0.4.0
Compiling blake2 v0.9.0
Compiling sha2 v0.9.1
Compiling once_cell v1.4.0
Compiling parity-db v0.1.2
Compiling rand_chacha v0.2.2
Compiling rand_pcg v0.2.1
Compiling nix v0.10.0
Compiling tokio-io v0.1.13
Compiling http v0.1.21
Compiling string v0.2.1
Compiling tokio-buf v0.1.1
Compiling const-random v0.1.8
Compiling synstructure v0.12.4
Compiling wasm-bindgen-backend v0.2.67
Compiling syn-mid v0.5.0
Compiling mio-uds v0.6.8
Compiling mio-extras v2.0.6
Compiling ring v0.16.15
Compiling zstd-sys v1.4.17+zstd.1.4.5
Compiling libz-sys v1.0.25
Compiling wasmtime-runtime v0.19.0
Compiling raw-cpuid v7.0.3
Compiling libloading v0.5.2
Compiling theban_interval_tree v0.7.1
Compiling names v0.11.0
Compiling multihash v0.11.2
Compiling parking_lot_core v0.4.0
Compiling procfs v0.7.9
Compiling derive_more v0.15.0
Compiling file-per-thread-logger v0.1.3
Compiling parking_lot v0.9.0
Compiling ghash v0.3.0
Compiling tokio-threadpool v0.1.18
Compiling aes v0.4.0
Compiling futures-task v0.3.5
Compiling blocking v0.4.7
Compiling rand v0.7.3
Compiling tokio-codec v0.1.2
Compiling ahash v0.2.18
Compiling http-body v0.1.0
Compiling wasm-bindgen-macro-support v0.2.67
Compiling shared_memory v0.10.0
Compiling wasmi v0.6.2
Compiling nalgebra v0.18.1
Compiling parking_lot v0.7.1
Compiling tokio-reactor v0.1.12
Compiling futures-macro v0.3.5
Compiling tracing-attributes v0.1.9
Compiling impl-trait-for-tuples v0.1.3
Compiling sp-debug-derive v2.0.0-rc5 (https://github.com/paritytech/substrate?branch=rococo-branch#270a992b)
Compiling ref-cast-impl v1.0.2
Compiling rental-impl v0.5.5
Compiling derive_more v0.99.9
Compiling dyn-clonable-impl v0.9.0
Compiling thiserror-impl v1.0.20
Compiling prost-derive v0.6.1
Compiling asn1_der_derive v0.1.2
Compiling frame-support-procedural-tools-derive v2.0.0-rc5 (https://github.com/paritytech/substrate?branch=rococo-branch#270a992b)
Compiling tokio-macros v0.2.5
Compiling scroll_derive v0.10.2
Compiling libp2p-core-derive v0.20.2
Compiling strum_macros v0.16.0
Compiling slog_derive v0.2.0
Compiling enumflags2_derive v0.6.4
Compiling aes-gcm v0.6.0
Compiling tokio-fs v0.1.7
Compiling zeroize_derive v1.0.0
Compiling parity-util-mem-derive v0.1.0
error: failed to run custom build command for `westend-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)`
Caused by:
process didn't exit successfully: `/home/joshy/ProgrammingProjects/cumulus/target/release/build/westend-runtime-cf5d2ab166669b0c/build-script-build` (exit code: 1)
--- stdout
Executing build command: "rustup" "run" "nightly" "cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild/westend-runtime/Cargo.toml" "--color=always" "--release"
--- stderr
Blocking waiting for file lock on package cache
Updating crates.io index
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling libc v0.2.74
Compiling cfg-if v0.1.10
Compiling proc-macro2 v1.0.19
Compiling serde v1.0.114
Compiling getrandom v0.1.14
Compiling unicode-xid v0.2.1
Compiling ryu v1.0.5
Compiling semver-parser v0.7.0
Compiling syn v1.0.37
Compiling byteorder v1.3.4
Compiling ppv-lite86 v0.2.8
Compiling serde_derive v1.0.114
Compiling log v0.4.11
Compiling serde_json v1.0.57
Compiling itoa v0.4.6
Compiling rustc-demangle v0.1.16
Compiling either v1.5.3
Compiling same-file v1.0.6
Compiling remove_dir_all v0.5.3
Compiling semver v0.6.0
Compiling itertools v0.8.2
Compiling walkdir v2.3.1
Compiling build-helper v0.1.1
Compiling fs2 v0.4.3
Compiling atty v0.2.14
Compiling quote v1.0.7
Compiling semver v0.9.0
Compiling toml v0.5.6
Compiling parity-wasm v0.32.0
Compiling rand_core v0.5.1
Compiling wasm-gc-api v0.1.11
Compiling rand_chacha v0.2.2
Compiling rand v0.7.3
Compiling tempfile v3.1.0
Compiling cargo_metadata v0.10.0
Compiling substrate-wasm-builder v2.0.0
Compiling wasm-build-runner-impl v1.0.0 (/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild-runner/westend-runtime9060162527832811400)
Finished release [optimized] target(s) in 4m 43s
Running `/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild-runner/westend-runtime9060162527832811400/target/x86_64-unknown-linux-gnu/release/wasm-build-runner-impl`
Updating git repository `https://github.com/paritytech/substrate`
error: package collision in the lockfile: packages polkadot-core-primitives v0.7.30 (/home/joshy/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/91f3e68/core-primitives) and polkadot-core-primitives v0.7.30 (/home/joshy/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/e916423/core-primitives) are different, but only one can be written to lockfile unambiguously
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `polkadot-test-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)`
Caused by:
process didn't exit successfully: `/home/joshy/ProgrammingProjects/cumulus/target/release/build/polkadot-test-runtime-e47e382c30552ee3/build-script-build` (exit code: 1)
--- stdout
Executing build command: "rustup" "run" "nightly" "cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild/polkadot-test-runtime/Cargo.toml" "--color=always" "--release"
--- stderr
Blocking waiting for file lock on package cache
Updating crates.io index
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling libc v0.2.74
Compiling cfg-if v0.1.10
Compiling serde v1.0.114
Compiling proc-macro2 v1.0.19
Compiling getrandom v0.1.14
Compiling unicode-xid v0.2.1
Compiling byteorder v1.3.4
Compiling semver-parser v0.7.0
Compiling ryu v1.0.5
Compiling syn v1.0.37
Compiling log v0.4.11
Compiling serde_derive v1.0.114
Compiling serde_json v1.0.57
Compiling ppv-lite86 v0.2.8
Compiling itoa v0.4.6
Compiling rustc-demangle v0.1.16
Compiling same-file v1.0.6
Compiling either v1.5.3
Compiling remove_dir_all v0.5.3
Compiling semver v0.6.0
Compiling walkdir v2.3.1
Compiling itertools v0.8.2
Compiling build-helper v0.1.1
Compiling fs2 v0.4.3
Compiling atty v0.2.14
Compiling semver v0.9.0
Compiling toml v0.5.6
Compiling quote v1.0.7
Compiling parity-wasm v0.32.0
Compiling rand_core v0.5.1
Compiling wasm-gc-api v0.1.11
Compiling rand_chacha v0.2.2
Compiling rand v0.7.3
Compiling tempfile v3.1.0
Compiling cargo_metadata v0.10.0
Compiling substrate-wasm-builder v2.0.0
Compiling wasm-build-runner-impl v1.0.0 (/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild-runner/polkadot-test-runtime5969218711532619962)
Finished release [optimized] target(s) in 4m 48s
Running `/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild-runner/polkadot-test-runtime5969218711532619962/target/x86_64-unknown-linux-gnu/release/wasm-build-runner-impl`
Updating git repository `https://github.com/paritytech/substrate`
error: package collision in the lockfile: packages polkadot-core-primitives v0.7.30 (/home/joshy/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/91f3e68/core-primitives) and polkadot-core-primitives v0.7.30 (/home/joshy/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/e916423/core-primitives) are different, but only one can be written to lockfile unambiguously
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `kusama-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)`
Caused by:
process didn't exit successfully: `/home/joshy/ProgrammingProjects/cumulus/target/release/build/kusama-runtime-76fbc0c12a1ae850/build-script-build` (exit code: 1)
--- stdout
Executing build command: "rustup" "run" "nightly" "cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild/kusama-runtime/Cargo.toml" "--color=always" "--release"
--- stderr
Blocking waiting for file lock on package cache
Updating crates.io index
Blocking waiting for file lock on package cache
Compiling libc v0.2.74
Compiling cfg-if v0.1.10
Compiling serde v1.0.114
Compiling getrandom v0.1.14
Compiling proc-macro2 v1.0.19
Compiling unicode-xid v0.2.1
Compiling syn v1.0.37
Compiling semver-parser v0.7.0
Compiling ryu v1.0.5
Compiling byteorder v1.3.4
Compiling log v0.4.11
Compiling ppv-lite86 v0.2.8
Compiling serde_derive v1.0.114
Compiling serde_json v1.0.57
Compiling itoa v0.4.6
Compiling rustc-demangle v0.1.16
Compiling same-file v1.0.6
Compiling remove_dir_all v0.5.3
Compiling either v1.5.3
Compiling semver v0.6.0
Compiling walkdir v2.3.1
Compiling itertools v0.8.2
Compiling build-helper v0.1.1
Compiling atty v0.2.14
Compiling fs2 v0.4.3
Compiling semver v0.9.0
Compiling toml v0.5.6
Compiling quote v1.0.7
Compiling parity-wasm v0.32.0
Compiling rand_core v0.5.1
Compiling wasm-gc-api v0.1.11
Compiling rand_chacha v0.2.2
Compiling rand v0.7.3
Compiling cargo_metadata v0.10.0
Compiling tempfile v3.1.0
Compiling substrate-wasm-builder v2.0.0
Compiling wasm-build-runner-impl v1.0.0 (/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild-runner/kusama-runtime11051375487397382970)
Finished release [optimized] target(s) in 4m 57s
Running `/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild-runner/kusama-runtime11051375487397382970/target/x86_64-unknown-linux-gnu/release/wasm-build-runner-impl`
Updating git repository `https://github.com/paritytech/substrate`
error: package collision in the lockfile: packages polkadot-core-primitives v0.7.30 (/home/joshy/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/91f3e68/core-primitives) and polkadot-core-primitives v0.7.30 (/home/joshy/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/e916423/core-primitives) are different, but only one can be written to lockfile unambiguously
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `rococo-runtime v0.8.22 (https://github.com/paritytech/polkadot?branch=rococo-branch#e9164236)`
Caused by:
process didn't exit successfully: `/home/joshy/ProgrammingProjects/cumulus/target/release/build/rococo-runtime-b6f94f9b1bc014e1/build-script-build` (exit code: 1)
--- stdout
Executing build command: "rustup" "run" "nightly" "cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild/rococo-runtime/Cargo.toml" "--color=always" "--release"
--- stderr
Updating crates.io index
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling libc v0.2.74
Compiling cfg-if v0.1.10
Compiling getrandom v0.1.14
Compiling serde v1.0.114
Compiling proc-macro2 v1.0.19
Compiling unicode-xid v0.2.1
Compiling syn v1.0.37
Compiling semver-parser v0.7.0
Compiling byteorder v1.3.4
Compiling ryu v1.0.5
Compiling serde_json v1.0.57
Compiling serde_derive v1.0.114
Compiling log v0.4.11
Compiling ppv-lite86 v0.2.8
Compiling itoa v0.4.6
Compiling either v1.5.3
Compiling remove_dir_all v0.5.3
Compiling rustc-demangle v0.1.16
Compiling same-file v1.0.6
Compiling semver v0.6.0
Compiling itertools v0.8.2
Compiling walkdir v2.3.1
Compiling build-helper v0.1.1
Compiling fs2 v0.4.3
Compiling atty v0.2.14
Compiling semver v0.9.0
Compiling toml v0.5.6
Compiling quote v1.0.7
Compiling parity-wasm v0.32.0
Compiling rand_core v0.5.1
Compiling wasm-gc-api v0.1.11
Compiling rand_chacha v0.2.2
Compiling rand v0.7.3
Compiling tempfile v3.1.0
Compiling cargo_metadata v0.10.0
Compiling substrate-wasm-builder v2.0.0
Compiling wasm-build-runner-impl v1.0.0 (/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild-runner/rococo-runtime5750907719449686034)
Finished release [optimized] target(s) in 5m 14s
Running `/home/joshy/ProgrammingProjects/cumulus/target/release/wbuild-runner/rococo-runtime5750907719449686034/target/x86_64-unknown-linux-gnu/release/wasm-build-runner-impl`
Updating git repository `https://github.com/paritytech/substrate`
error: package collision in the lockfile: packages polkadot-core-primitives v0.7.30 (/home/joshy/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/91f3e68/core-primitives) and polkadot-core-primitives v0.7.30 (/home/joshy/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/e916423/core-primitives) are different, but only one can be written to lockfile unambiguously
warning: build failed, waiting for other jobs to finish...
error: build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment