[INFO] cloning repository https://github.com/Polkadex-Substrate/polkadex-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Polkadex-Substrate/polkadex-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolkadex-Substrate%2Fpolkadex-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolkadex-Substrate%2Fpolkadex-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55fa007058c2cd235235274ae2a14b43fbacf9bb [INFO] checking Polkadex-Substrate/polkadex-engine against try#9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c for pr-79472 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolkadex-Substrate%2Fpolkadex-engine" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Polkadex-Substrate/polkadex-engine on toolchain 9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Polkadex-Substrate/polkadex-engine [INFO] finished tweaking git repo https://github.com/Polkadex-Substrate/polkadex-engine [INFO] tweaked toml for git repo https://github.com/Polkadex-Substrate/polkadex-engine written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Polkadex-Substrate/polkadex-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Gauthamastro/generic_asset.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-clonable-impl v0.9.0 [INFO] [stderr] Downloaded ref-cast v1.0.3 [INFO] [stderr] Downloaded dyn-clonable v0.9.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.3 [INFO] [stderr] Downloaded parity-wasm v0.41.0 [INFO] [stderr] Downloaded substrate-bip39 v0.4.2 [INFO] [stderr] Downloaded jsonrpc-core v14.2.0 [INFO] [stderr] Downloaded memory-db v0.24.1 [INFO] [stderr] Downloaded schnorrkel v0.9.1 [INFO] [stderr] Downloaded secrecy v0.7.0 [INFO] [stderr] Downloaded merlin v2.0.0 [INFO] [stderr] Downloaded trie-root v0.16.0 [INFO] [stderr] Downloaded wasmi-validation v0.3.0 [INFO] [stderr] Downloaded compare v0.1.0 [INFO] [stderr] Downloaded parity-util-mem-derive v0.1.0 [INFO] [stderr] Downloaded dyn-clone v1.0.3 [INFO] [stderr] Downloaded wasmi v0.6.2 [INFO] [stderr] Downloaded trie-db v0.22.1 [INFO] [stderr] Downloaded primitive-types v0.7.3 [INFO] [stderr] Downloaded parity-util-mem v0.7.0 [INFO] [stderr] Downloaded curve25519-dalek v2.1.0 [INFO] [stderr] Downloaded tiny-bip39 v0.8.0 [INFO] [stderr] Downloaded fixed-hash v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05ba33ca34db4d104a0ae99b8584f8e5a64f32a0084d7863376efc0ff2b49c15 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "05ba33ca34db4d104a0ae99b8584f8e5a64f32a0084d7863376efc0ff2b49c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05ba33ca34db4d104a0ae99b8584f8e5a64f32a0084d7863376efc0ff2b49c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ba33ca34db4d104a0ae99b8584f8e5a64f32a0084d7863376efc0ff2b49c15", kill_on_drop: false }` [INFO] [stdout] 05ba33ca34db4d104a0ae99b8584f8e5a64f32a0084d7863376efc0ff2b49c15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+9b49d8c6c904f63eb486fe51b14bbe0aa2feda4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a01d6c2ec891ae6aec159420230ce94df77578e3d9eb731b33eb2aa3ffbf6a85 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a01d6c2ec891ae6aec159420230ce94df77578e3d9eb731b33eb2aa3ffbf6a85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.5.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking sp-std v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking environmental v1.1.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking dyn-clone v1.0.3 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking compare v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking sharded-slab v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking trie-db v0.22.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking sp-panic-handler v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling sp-debug-derive v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.3 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking ref-cast v1.0.3 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking tiny-bip39 v0.8.0 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking jsonrpc-core v14.2.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Compiling frame-support-procedural v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-wasm-interface v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-tracing v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-arithmetic v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking sp-externalities v0.8.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-runtime-interface v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking sp-core v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-trie v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-keystore v0.8.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking frame-metadata v12.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-inherents v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-state-machine v0.8.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-io v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-application-crypto v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-runtime v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking sp-version v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking frame-support v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking frame-system v2.0.0 (https://github.com/paritytech/substrate.git#24809aad) [INFO] [stderr] Checking pallet-generic-asset v2.0.0 (https://github.com/Gauthamastro/generic_asset.git#635e234c) [INFO] [stderr] Checking pallet-polkadex v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `::AssetId: From` is not satisfied [INFO] [stdout] --> src/data_structure.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | base_asset_id: 0.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::AssetId` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::AssetId>` for `i32` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 158 | fn default() -> Self where ::AssetId: From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::AssetId: From` is not satisfied [INFO] [stdout] --> src/data_structure.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | quote_asset_id: 0.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::AssetId` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::AssetId>` for `i32` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 158 | fn default() -> Self where ::AssetId: From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Balance: From` is not satisfied [INFO] [stdout] --> src/lib.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 191 | ensure!(price > 1000000.into() && quantity > 1000000.into(), >::PriceOrQuantityTooLow); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::Balance` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::Balance>` for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Balance: From` is not satisfied [INFO] [stdout] --> src/lib.rs:191:74 [INFO] [stdout] | [INFO] [stdout] 191 | ensure!(price > 1000000.into() && quantity > 1000000.into(), >::PriceOrQuantityTooLow); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::Balance` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::Balance>` for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Balance: From` is not satisfied [INFO] [stdout] --> src/lib.rs:194:45 [INFO] [stdout] | [INFO] [stdout] 194 | ensure!(price > 1000000.into(), >::PriceOrQuantityTooLow); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::Balance` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::Balance>` for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Balance: From` is not satisfied [INFO] [stdout] --> src/lib.rs:197:48 [INFO] [stdout] | [INFO] [stdout] 197 | ensure!(quantity > 1000000.into(), >::PriceOrQuantityTooLow); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::Balance` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::Balance>` for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::AssetId: From` is not satisfied [INFO] [stdout] --> src/data_structure.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | base_asset_id: 0.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::AssetId` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::AssetId>` for `i32` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 158 | fn default() -> Self where ::AssetId: From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::AssetId: From` is not satisfied [INFO] [stdout] --> src/data_structure.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | quote_asset_id: 0.into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::AssetId` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::AssetId>` for `i32` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 158 | fn default() -> Self where ::AssetId: From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-polkadex` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `::Balance: From` is not satisfied [INFO] [stdout] --> src/lib.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 191 | ensure!(price > 1000000.into() && quantity > 1000000.into(), >::PriceOrQuantityTooLow); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::Balance` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::Balance>` for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Balance: From` is not satisfied [INFO] [stdout] --> src/lib.rs:191:74 [INFO] [stdout] | [INFO] [stdout] 191 | ensure!(price > 1000000.into() && quantity > 1000000.into(), >::PriceOrQuantityTooLow); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::Balance` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::Balance>` for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Balance: From` is not satisfied [INFO] [stdout] --> src/lib.rs:194:45 [INFO] [stdout] | [INFO] [stdout] 194 | ensure!(price > 1000000.into(), >::PriceOrQuantityTooLow); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::Balance` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::Balance>` for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Balance: From` is not satisfied [INFO] [stdout] --> src/lib.rs:197:48 [INFO] [stdout] | [INFO] [stdout] 197 | ensure!(quantity > 1000000.into(), >::PriceOrQuantityTooLow); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `::Balance` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into<::Balance>` for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a01d6c2ec891ae6aec159420230ce94df77578e3d9eb731b33eb2aa3ffbf6a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a01d6c2ec891ae6aec159420230ce94df77578e3d9eb731b33eb2aa3ffbf6a85", kill_on_drop: false }` [INFO] [stdout] a01d6c2ec891ae6aec159420230ce94df77578e3d9eb731b33eb2aa3ffbf6a85