[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] checking shawntabrizi/sudo-contract against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawntabrizi%2Fsudo-contract" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shawntabrizi/sudo-contract on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-1/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12c3ac36deb8b25e68fc777d54d5c93fcc74a0c2cc9e6bb3739eef81d94e3a48 [INFO] running `Command { std: "docker" "start" "-a" "12c3ac36deb8b25e68fc777d54d5c93fcc74a0c2cc9e6bb3739eef81d94e3a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12c3ac36deb8b25e68fc777d54d5c93fcc74a0c2cc9e6bb3739eef81d94e3a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c3ac36deb8b25e68fc777d54d5c93fcc74a0c2cc9e6bb3739eef81d94e3a48", kill_on_drop: false }` [INFO] [stdout] 12c3ac36deb8b25e68fc777d54d5c93fcc74a0c2cc9e6bb3739eef81d94e3a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 823803acda27027e0059e5ec93ac83d94e78b5bff725a53a54398fab549ec79e [INFO] running `Command { std: "docker" "start" "-a" "823803acda27027e0059e5ec93ac83d94e78b5bff725a53a54398fab549ec79e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.38 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling serde v1.0.93 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Checking hash-db v0.12.4 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Checking hashmap_core v0.1.10 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking environmental v1.0.1 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Checking integer-sqrt v0.1.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.31 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking regex-syntax v0.6.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking generic-array v0.8.3 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking hash256-std-hasher v0.12.4 [INFO] [stderr] Checking tiny-keccak v1.4.4 [INFO] [stderr] Checking trie-root v0.12.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking digest v0.6.2 [INFO] [stderr] Checking crypto-mac v0.4.0 [INFO] [stderr] Checking block-buffer v0.2.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking hmac v0.4.2 [INFO] [stderr] Checking sha2 v0.6.0 [INFO] [stderr] Checking elastic-array v0.10.2 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Checking hmac-drbg v0.1.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking parity-wasm v0.31.3 [INFO] [stderr] Checking uint v0.7.1 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Compiling hex-literal-impl v0.1.2 [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 curve25519-dalek v1.2.1 [INFO] [stderr] Checking libsecp256k1 v0.2.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking merlin v1.1.0 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking twox-hash v1.3.0 [INFO] [stderr] Checking trie-db v0.12.4 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking hex-literal v0.1.4 [INFO] [stderr] Checking substrate-panic-handler v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking once_cell v0.1.8 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking wasmi-validation v0.1.0 [INFO] [stderr] Checking pwasm-utils v0.6.2 [INFO] [stderr] Checking wasmi v0.4.5 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.93 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.7 [INFO] [stderr] Compiling srml-support-procedural-tools-derive v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking parity-util-mem v0.1.0 [INFO] [stderr] Checking memory-db v0.12.4 [INFO] [stderr] Compiling paste-impl v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.1 [INFO] [stderr] Checking tiny-bip39 v0.6.2 [INFO] [stderr] Checking schnorrkel v0.1.1 [INFO] [stderr] Checking paste v0.1.5 [INFO] [stderr] Checking substrate-bip39 v0.2.1 (https://github.com/paritytech/substrate-bip39#44307fda) [INFO] [stderr] Checking impl-serde v0.2.0 [INFO] [stderr] Checking impl-serde v0.1.1 [INFO] [stderr] Compiling toml v0.5.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] Checking parity-codec v3.5.1 [INFO] [stderr] Checking impl-codec v0.2.0 [INFO] [stderr] Checking primitive-types v0.2.4 [INFO] [stderr] Checking substrate-primitives v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking substrate-trie v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking srml-metadata v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking 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] Checking sr-primitives v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking substrate-inherents v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking srml-support v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking srml-system v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking srml-timestamp v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking srml-sudo v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Checking 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] note: required by `sa` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/core/sr-primitives/src/traits.rs:165:2 [INFO] [stdout] | [INFO] [stdout] 165 | fn sa(_: T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] note: required by `sa` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/core/sr-primitives/src/traits.rs:165:2 [INFO] [stdout] | [INFO] [stdout] 165 | fn sa(_: T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] note: required by `sa` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/core/sr-primitives/src/traits.rs:165:2 [INFO] [stdout] | [INFO] [stdout] 165 | fn sa(_: T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] note: required by `sa` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/core/sr-primitives/src/traits.rs:165:2 [INFO] [stdout] | [INFO] [stdout] 165 | fn sa(_: T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] note: required by `sa` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/core/sr-primitives/src/traits.rs:165:2 [INFO] [stdout] | [INFO] [stdout] 165 | fn sa(_: T) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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" "823803acda27027e0059e5ec93ac83d94e78b5bff725a53a54398fab549ec79e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823803acda27027e0059e5ec93ac83d94e78b5bff725a53a54398fab549ec79e", kill_on_drop: false }` [INFO] [stdout] 823803acda27027e0059e5ec93ac83d94e78b5bff725a53a54398fab549ec79e