[INFO] fetching crate ink_env 3.0.0-rc6... [INFO] checking ink_env-3.0.0-rc6 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate ink_env 3.0.0-rc6 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ink_env 3.0.0-rc6 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ink_env 3.0.0-rc6 [INFO] finished tweaking crates.io crate ink_env 3.0.0-rc6 [INFO] tweaked toml for crates.io crate ink_env 3.0.0-rc6 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded integer-sqrt v0.1.5 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded sp-debug-derive v3.0.0 [INFO] [stderr] Downloaded sp-arithmetic v3.0.0 [INFO] [stderr] Downloaded sp-std v3.0.0 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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] 2432216d2af23a527514bc946cefff941d8fe0c2a98df40521d085c3f9629a46 [INFO] running `Command { std: "docker" "start" "-a" "2432216d2af23a527514bc946cefff941d8fe0c2a98df40521d085c3f9629a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2432216d2af23a527514bc946cefff941d8fe0c2a98df40521d085c3f9629a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2432216d2af23a527514bc946cefff941d8fe0c2a98df40521d085c3f9629a46", kill_on_drop: false }` [INFO] [stdout] 2432216d2af23a527514bc946cefff941d8fe0c2a98df40521d085c3f9629a46 [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=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4123e36fd0227cf4eac2bde58c7414f5e82ce014e4bac948999f7368da74621b [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" "4123e36fd0227cf4eac2bde58c7414f5e82ce014e4bac948999f7368da74621b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking byte-slice-cast v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ink_prelude v3.0.0-rc7 [INFO] [stderr] Checking ink_allocator v3.0.0-rc7 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling scale-info-derive v1.0.0 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking scale-info v1.0.0 [INFO] [stderr] Checking sp-arithmetic v3.0.0 [INFO] [stderr] Checking ink_primitives v3.0.0-rc7 [INFO] [stderr] Checking ink_metadata v3.0.0-rc7 [INFO] [stderr] Checking ink_env v3.0.0-rc6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0369]: cannot add `u64` to `Key` [INFO] [stdout] --> src/engine/off_chain/tests.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | let key05 = key00 + 05_u64; // -> 5 [INFO] [stdout] | ----- ^ ------ u64 [INFO] [stdout] | | [INFO] [stdout] | Key [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `u64` to `Key` [INFO] [stdout] --> src/engine/off_chain/tests.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | let key10 = key00 + 10_u64; // -> 10 | same as key55 [INFO] [stdout] | ----- ^ ------ u64 [INFO] [stdout] | | [INFO] [stdout] | Key [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/engine/off_chain/tests.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | crate::set_contract_storage(&key55, &42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Encode` found in the `parity_scale_codec` crate: [INFO] [stdout] - impl Encode for i128; [INFO] [stdout] - impl Encode for i16; [INFO] [stdout] - impl Encode for i32; [INFO] [stdout] - impl Encode for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `api::set_contract_storage` [INFO] [stdout] --> src/api.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_contract_storage(key: &Key, value: &V) [INFO] [stdout] | -------------------- required by a bound in this [INFO] [stdout] 267 | where [INFO] [stdout] 268 | V: scale::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `api::set_contract_storage` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 41 | crate::set_contract_storage::(&key55, &42); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/engine/off_chain/tests.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | crate::set_contract_storage(&key10, &1337); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Encode` found in the `parity_scale_codec` crate: [INFO] [stdout] - impl Encode for i128; [INFO] [stdout] - impl Encode for i16; [INFO] [stdout] - impl Encode for i32; [INFO] [stdout] - impl Encode for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `api::set_contract_storage` [INFO] [stdout] --> src/api.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_contract_storage(key: &Key, value: &V) [INFO] [stdout] | -------------------- required by a bound in this [INFO] [stdout] 267 | where [INFO] [stdout] 268 | V: scale::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `api::set_contract_storage` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 43 | crate::set_contract_storage::(&key10, &1337); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `u64` to `Key` [INFO] [stdout] --> src/engine/off_chain/tests.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | let key1a = key0a + 1337_u64; [INFO] [stdout] | ----- ^ -------- u64 [INFO] [stdout] | | [INFO] [stdout] | Key [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `u64` to `Key` [INFO] [stdout] --> src/engine/off_chain/tests.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let key2a = key0a + 42_u64; [INFO] [stdout] | ----- ^ ------ u64 [INFO] [stdout] | | [INFO] [stdout] | Key [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `u64` to `Key` [INFO] [stdout] --> src/engine/off_chain/tests.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | let key3a = key0a + 52_u64; [INFO] [stdout] | ----- ^ ------ u64 [INFO] [stdout] | | [INFO] [stdout] | Key [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/engine/off_chain/tests.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | crate::set_contract_storage(&key0a, &1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Encode` found in the `parity_scale_codec` crate: [INFO] [stdout] - impl Encode for i128; [INFO] [stdout] - impl Encode for i16; [INFO] [stdout] - impl Encode for i32; [INFO] [stdout] - impl Encode for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `api::set_contract_storage` [INFO] [stdout] --> src/api.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_contract_storage(key: &Key, value: &V) [INFO] [stdout] | -------------------- required by a bound in this [INFO] [stdout] 267 | where [INFO] [stdout] 268 | V: scale::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `api::set_contract_storage` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 59 | crate::set_contract_storage::(&key0a, &1); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/engine/off_chain/tests.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | crate::set_contract_storage(&key1a, &2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Encode` found in the `parity_scale_codec` crate: [INFO] [stdout] - impl Encode for i128; [INFO] [stdout] - impl Encode for i16; [INFO] [stdout] - impl Encode for i32; [INFO] [stdout] - impl Encode for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `api::set_contract_storage` [INFO] [stdout] --> src/api.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_contract_storage(key: &Key, value: &V) [INFO] [stdout] | -------------------- required by a bound in this [INFO] [stdout] 267 | where [INFO] [stdout] 268 | V: scale::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `api::set_contract_storage` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 60 | crate::set_contract_storage::(&key1a, &2); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/engine/off_chain/tests.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | crate::set_contract_storage(&key2a, &3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Encode` found in the `parity_scale_codec` crate: [INFO] [stdout] - impl Encode for i128; [INFO] [stdout] - impl Encode for i16; [INFO] [stdout] - impl Encode for i32; [INFO] [stdout] - impl Encode for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `api::set_contract_storage` [INFO] [stdout] --> src/api.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_contract_storage(key: &Key, value: &V) [INFO] [stdout] | -------------------- required by a bound in this [INFO] [stdout] 267 | where [INFO] [stdout] 268 | V: scale::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `api::set_contract_storage` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 61 | crate::set_contract_storage::(&key2a, &3); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/engine/off_chain/tests.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | crate::set_contract_storage(&key3a, &4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Encode` found in the `parity_scale_codec` crate: [INFO] [stdout] - impl Encode for i128; [INFO] [stdout] - impl Encode for i16; [INFO] [stdout] - impl Encode for i32; [INFO] [stdout] - impl Encode for i64; [INFO] [stdout] and 6 more [INFO] [stdout] note: required by a bound in `api::set_contract_storage` [INFO] [stdout] --> src/api.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_contract_storage(key: &Key, value: &V) [INFO] [stdout] | -------------------- required by a bound in this [INFO] [stdout] 267 | where [INFO] [stdout] 268 | V: scale::Encode, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `api::set_contract_storage` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 62 | crate::set_contract_storage::(&key3a, &4); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ink_env` due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4123e36fd0227cf4eac2bde58c7414f5e82ce014e4bac948999f7368da74621b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4123e36fd0227cf4eac2bde58c7414f5e82ce014e4bac948999f7368da74621b", kill_on_drop: false }` [INFO] [stdout] 4123e36fd0227cf4eac2bde58c7414f5e82ce014e4bac948999f7368da74621b