[INFO] cloning repository https://github.com/shawntabrizi/sudo-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shawntabrizi/sudo-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawntabrizi%2Fsudo-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawntabrizi%2Fsudo-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5744bd9df8149f82e3fb87380cdc85f6518a842e [INFO] testing shawntabrizi/sudo-contract against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawntabrizi%2Fsudo-contract" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shawntabrizi/sudo-contract on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shawntabrizi/sudo-contract [INFO] finished tweaking git repo https://github.com/shawntabrizi/sudo-contract [INFO] tweaked toml for git repo https://github.com/shawntabrizi/sudo-contract written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/shawntabrizi/sudo-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c23c298738f3b5fbf7ea1551de28aeeb1e1806a1920a49cc02103adc66a2653f [INFO] running `Command { std: "docker" "start" "-a" "c23c298738f3b5fbf7ea1551de28aeeb1e1806a1920a49cc02103adc66a2653f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c23c298738f3b5fbf7ea1551de28aeeb1e1806a1920a49cc02103adc66a2653f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23c298738f3b5fbf7ea1551de28aeeb1e1806a1920a49cc02103adc66a2653f", kill_on_drop: false }` [INFO] [stdout] c23c298738f3b5fbf7ea1551de28aeeb1e1806a1920a49cc02103adc66a2653f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c63f623c46ae876abae14fee10b2dc3b5ec7ba4b79e5bbd6273cf370540dcb57 [INFO] running `Command { std: "docker" "start" "-a" "c63f623c46ae876abae14fee10b2dc3b5ec7ba4b79e5bbd6273cf370540dcb57", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.38 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling serde v1.0.93 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v2.1.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling hash-db v0.12.4 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling hashmap_core v0.1.10 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling environmental v1.0.1 [INFO] [stderr] Compiling integer-sqrt v0.1.2 [INFO] [stderr] Compiling bitmask v0.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.31 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.7 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling sr-std v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling sr-io v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling safe-mix v1.0.0 [INFO] [stderr] Compiling sr-sandbox v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling trie-root v0.12.4 [INFO] [stderr] Compiling hash256-std-hasher v0.12.4 [INFO] [stderr] Compiling tiny-keccak v1.4.4 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling hex-literal-impl v0.1.2 [INFO] [stderr] Compiling elastic-array v0.10.2 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling parity-wasm v0.31.3 [INFO] [stderr] Compiling uint v0.7.1 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling merlin v1.1.0 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling fixed-hash v0.3.2 [INFO] [stderr] Compiling hex-literal v0.1.4 [INFO] [stderr] Compiling twox-hash v1.3.0 [INFO] [stderr] Compiling trie-db v0.12.4 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.4.0 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling hmac v0.4.2 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling once_cell v0.1.8 [INFO] [stderr] Compiling hmac-drbg v0.1.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.0 [INFO] [stderr] Compiling curve25519-dalek v1.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.2.2 [INFO] [stderr] Compiling wasmi-validation v0.1.0 [INFO] [stderr] Compiling pwasm-utils v0.6.2 [INFO] [stderr] Compiling substrate-panic-handler v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling wasmi v0.4.5 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.93 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.0 [INFO] [stderr] Compiling srml-support-procedural-tools-derive v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling proc-macro-hack v0.5.7 [INFO] [stderr] Compiling parity-util-mem v0.1.0 [INFO] [stderr] Compiling paste-impl v0.1.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling memory-db v0.12.4 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.1 [INFO] [stderr] Compiling tiny-bip39 v0.6.2 [INFO] [stderr] Compiling schnorrkel v0.1.1 [INFO] [stderr] Compiling paste v0.1.5 [INFO] [stderr] Compiling substrate-bip39 v0.2.1 (https://github.com/paritytech/substrate-bip39#44307fda) [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling impl-serde v0.2.0 [INFO] [stderr] Compiling impl-serde v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling srml-support-procedural-tools v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling parity-codec-derive v3.3.0 [INFO] [stderr] Compiling sr-api-macros v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling parity-codec v3.5.1 [INFO] [stderr] Compiling impl-codec v0.2.0 [INFO] [stderr] Compiling primitive-types v0.2.4 [INFO] [stderr] Compiling substrate-primitives v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling substrate-trie v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling srml-metadata v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling substrate-state-machine v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling srml-support-procedural v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling sr-primitives v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling substrate-inherents v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling srml-support v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling srml-system v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling srml-timestamp v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling srml-sudo v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling srml-contract v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stdout] error[E0277]: the trait bound `<::Currency as Currency<::AccountId>>::Balance: As` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:437:58 [INFO] [stdout] | [INFO] [stdout] 437 | ContractFee get(contract_fee) config(): BalanceOf = BalanceOf::::sa(21); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `As` is not implemented for `<::Currency as Currency<::AccountId>>::Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Gas: As` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:439:53 [INFO] [stdout] | [INFO] [stdout] 439 | CallBaseFee get(call_base_fee) config(): T::Gas = T::Gas::sa(135); [INFO] [stdout] | ^^^^^^^^^^ the trait `As` is not implemented for `::Gas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Gas: As` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:441:57 [INFO] [stdout] | [INFO] [stdout] 441 | CreateBaseFee get(create_base_fee) config(): T::Gas = T::Gas::sa(175); [INFO] [stdout] | ^^^^^^^^^^ the trait `As` is not implemented for `::Gas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<::Currency as Currency<::AccountId>>::Balance: As` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:443:52 [INFO] [stdout] | [INFO] [stdout] 443 | GasPrice get(gas_price) config(): BalanceOf = BalanceOf::::sa(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `As` is not implemented for `<::Currency as Currency<::AccountId>>::Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Gas: As` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:447:57 [INFO] [stdout] | [INFO] [stdout] 447 | BlockGasLimit get(block_gas_limit) config(): T::Gas = T::Gas::sa(10_000_000); [INFO] [stdout] | ^^^^^^^^^^ the trait `As` is not implemented for `::Gas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 `srml-contract` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "c63f623c46ae876abae14fee10b2dc3b5ec7ba4b79e5bbd6273cf370540dcb57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63f623c46ae876abae14fee10b2dc3b5ec7ba4b79e5bbd6273cf370540dcb57", kill_on_drop: false }` [INFO] [stdout] c63f623c46ae876abae14fee10b2dc3b5ec7ba4b79e5bbd6273cf370540dcb57