mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 10:07:56 +00:00
Substrate Companion for rust 1.54 (#3807)
* Substrate Companion for rust 1.54 * CI: run with a staging CI image * Revert "CI: run with a staging CI image" This reverts commit f3b51da0a4c0ffa43b576af5482a2be256948870. * CI: debug, again * compilation fixes * tabify * update Substrate * Update .gitlab-ci.yml * CI: add ubuntu-based image with npm Co-authored-by: Denis P <denis.pisarev@parity.io> Co-authored-by: Andronik Ordian <write@reusable.software> Co-authored-by: thiolliere <gui.thiolliere@gmail.com> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -270,7 +270,8 @@ build-adder-collator:
|
||||
#### stage: build
|
||||
|
||||
check-transaction-versions:
|
||||
image: node:15
|
||||
# image must be ubuntu:20.04 based to match the linkers, this image has npm installed
|
||||
image: paritytech/contracts-ci-linux:production
|
||||
stage: build
|
||||
<<: *rules-test
|
||||
<<: *docker-env
|
||||
|
||||
Generated
+154
-154
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@ error: Generic type parameters may only be used for exactly one field, but is us
|
||||
6 | a: X,
|
||||
| ^
|
||||
|
||||
error[E0599]: no method named `replace_a` found for struct `AllSubsystems<u16>` in the current scope
|
||||
error[E0599]: no method named `replace_a` found for struct `AllSubsystems` in the current scope
|
||||
--> $DIR/err-01-generic-used-twice.rs:15:17
|
||||
|
|
||||
5 | struct AllSubsystems<X> {
|
||||
|
||||
@@ -7,7 +7,7 @@ error[E0119]: conflicting implementations of trait `std::convert::From<MsgStrukt
|
||||
| first implementation here
|
||||
| conflicting implementation for `AllMessages`
|
||||
|
|
||||
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the attribute macro `overlord` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0119]: conflicting implementations of trait `polkadot_overseer_gen::SubsystemSender<MsgStrukt>` for type `OverseerSubsystemSender`
|
||||
--> $DIR/err-01-duplicate-consumer.rs:19:1
|
||||
@@ -18,4 +18,4 @@ error[E0119]: conflicting implementations of trait `polkadot_overseer_gen::Subsy
|
||||
| first implementation here
|
||||
| conflicting implementation for `OverseerSubsystemSender`
|
||||
|
|
||||
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the attribute macro `overlord` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
@@ -4,7 +4,7 @@ error: Must declare the overseer error type via `error=..`.
|
||||
16 | #[overlord(signal=SigSigSig, event=Event, gen=AllMessages)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the attribute macro `overlord` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0433]: failed to resolve: use of undeclared type `Overseer`
|
||||
--> $DIR/err-04-missing-error.rs:30:10
|
||||
|
||||
@@ -39,20 +39,18 @@ pub fn wasm_binary_unwrap() -> &'static [u8] {
|
||||
#[panic_handler]
|
||||
#[no_mangle]
|
||||
pub fn panic(_info: &core::panic::PanicInfo) -> ! {
|
||||
unsafe { core::intrinsics::abort() }
|
||||
core::intrinsics::abort()
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
#[alloc_error_handler]
|
||||
#[no_mangle]
|
||||
pub fn oom(_: core::alloc::Layout) -> ! {
|
||||
unsafe {
|
||||
core::intrinsics::abort();
|
||||
}
|
||||
core::intrinsics::abort();
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
#[no_mangle]
|
||||
pub extern "C" fn validate_block(params: *const u8, len: usize) -> u64 {
|
||||
pub extern "C" fn validate_block(_params: *const u8, _len: usize) -> u64 {
|
||||
loop {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user