[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-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawntabrizi%2Fsudo-contract" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shawntabrizi/sudo-contract on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-7/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/paritytech/substrate.git` [INFO] [stderr] Updating git repository `https://github.com/paritytech/substrate-bip39` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 179b50f2751008eddbe2c7e47d12705c563cad7f7fc44374bcf58ac9559b2285 [INFO] running `Command { std: "docker" "start" "-a" "179b50f2751008eddbe2c7e47d12705c563cad7f7fc44374bcf58ac9559b2285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "179b50f2751008eddbe2c7e47d12705c563cad7f7fc44374bcf58ac9559b2285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179b50f2751008eddbe2c7e47d12705c563cad7f7fc44374bcf58ac9559b2285", kill_on_drop: false }` [INFO] [stdout] 179b50f2751008eddbe2c7e47d12705c563cad7f7fc44374bcf58ac9559b2285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c3c3280b0ceae4e45f24816d0d9847f1a07fdc5a16d5b2b083b5a052ebcbd59 [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" "7c3c3280b0ceae4e45f24816d0d9847f1a07fdc5a16d5b2b083b5a052ebcbd59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sr-io v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling sr-sandbox v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569) [INFO] [stderr] Compiling pwasm-utils v0.6.2 [INFO] [stderr] Compiling trie-db v0.12.4 [INFO] [stderr] Compiling substrate-panic-handler 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 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 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] 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" "7c3c3280b0ceae4e45f24816d0d9847f1a07fdc5a16d5b2b083b5a052ebcbd59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3c3280b0ceae4e45f24816d0d9847f1a07fdc5a16d5b2b083b5a052ebcbd59", kill_on_drop: false }` [INFO] [stdout] 7c3c3280b0ceae4e45f24816d0d9847f1a07fdc5a16d5b2b083b5a052ebcbd59