[INFO] fetching crate ink_env 5.0.0...
[INFO] testing ink_env-5.0.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate ink_env 5.0.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate ink_env 5.0.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ink_env 5.0.0
[INFO] finished tweaking crates.io crate ink_env 5.0.0
[INFO] tweaked toml for crates.io crate ink_env 5.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 111 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding const_env_impl v0.1.2 (latest: v0.1.3)
[INFO] [stderr]       Adding darling v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding darling_core v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding darling_macro v0.14.4 (latest: v0.20.9)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding polkavm-common v0.5.0 (latest: v0.9.0)
[INFO] [stderr]       Adding polkavm-derive v0.5.0 (latest: v0.9.1)
[INFO] [stderr]       Adding polkavm-derive-impl v0.5.0 (latest: v0.9.0)
[INFO] [stderr]       Adding proc-macro-crate v1.3.1 (latest: v3.1.0)
[INFO] [stderr]       Adding radium v0.7.0 (latest: v1.1.0)
[INFO] [stderr]       Adding scale-bits v0.4.0 (latest: v0.6.0)
[INFO] [stderr]       Adding scale-decode v0.10.0 (latest: v0.13.0)
[INFO] [stderr]       Adding scale-decode-derive v0.10.0 (latest: v0.13.0)
[INFO] [stderr]       Adding scale-encode v0.5.0 (latest: v0.7.1)
[INFO] [stderr]       Adding scale-encode-derive v0.5.0 (latest: v0.7.1)
[INFO] [stderr]       Adding secp256k1 v0.28.2 (latest: v0.29.0)
[INFO] [stderr]       Adding secp256k1-sys v0.9.2 (latest: v0.10.0)
[INFO] [stderr]       Adding strsim v0.10.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml_edit v0.19.15 (latest: v0.22.13)
[INFO] [stderr]       Adding toml_edit v0.21.1 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] [stderr]       Adding wyz v0.5.1 (latest: v0.6.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b6027b5b7a855920cd1be55104df1fa5e8f9eee24cd244ccf02519138c43cc8b
[INFO] running `Command { std: "docker" "start" "-a" "b6027b5b7a855920cd1be55104df1fa5e8f9eee24cd244ccf02519138c43cc8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6027b5b7a855920cd1be55104df1fa5e8f9eee24cd244ccf02519138c43cc8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6027b5b7a855920cd1be55104df1fa5e8f9eee24cd244ccf02519138c43cc8b", kill_on_drop: false }`
[INFO] [stdout] b6027b5b7a855920cd1be55104df1fa5e8f9eee24cd244ccf02519138c43cc8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26f4bf770e7450786802c75dd84047e4fd65aa7ed1b80f733ea2933970682f3b
[INFO] running `Command { std: "docker" "start" "-a" "26f4bf770e7450786802c75dd84047e4fd65aa7ed1b80f733ea2933970682f3b", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling schemars v0.8.21
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling ink_prelude v5.0.0
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling xxhash-rust v0.8.10
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling ink_allocator v5.0.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling pallet-contracts-uapi-next v6.0.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling schemars_derive v0.8.21
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling linkme-impl v0.3.26
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling const_env_impl v0.1.2
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling linkme v0.3.26
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.12
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling scale-info-derive v2.11.3
[INFO] [stderr]    Compiling const_env v0.1.2
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling scale-decode-derive v0.10.0
[INFO] [stderr]    Compiling scale-encode-derive v0.5.0
[INFO] [stderr]    Compiling parity-scale-codec v3.6.12
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling schnorrkel v0.11.4
[INFO] [stderr]    Compiling scale-info v2.11.3
[INFO] [stderr]    Compiling scale-bits v0.4.0
[INFO] [stderr]    Compiling scale-encode v0.5.0
[INFO] [stderr]    Compiling scale-decode v0.10.0
[INFO] [stderr]    Compiling ink_primitives v5.0.0
[INFO] [stderr]    Compiling ink_metadata v5.0.0
[INFO] [stderr]    Compiling ink_engine v5.0.0
[INFO] [stderr]    Compiling ink_storage_traits v5.0.0
[INFO] [stderr]    Compiling ink_env v5.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `saturating_add`, `saturating_sub`, `saturating_mul`, and `saturating_pow` are never used
[INFO] [stdout]    --> src/arithmetic.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub trait Saturating {
[INFO] [stdout]     |           ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 142 |     fn saturating_add(self, rhs: Self) -> Self;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn saturating_sub(self, rhs: Self) -> Self;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     fn saturating_mul(self, rhs: Self) -> Self;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn saturating_pow(self, exp: usize) -> Self;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.95s
[INFO] running `Command { std: "docker" "inspect" "26f4bf770e7450786802c75dd84047e4fd65aa7ed1b80f733ea2933970682f3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26f4bf770e7450786802c75dd84047e4fd65aa7ed1b80f733ea2933970682f3b", kill_on_drop: false }`
[INFO] [stdout] 26f4bf770e7450786802c75dd84047e4fd65aa7ed1b80f733ea2933970682f3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 984476bda070bd4b7c3ed5dafd49bbb2d971f41cb798d381c195ea67cd400707
[INFO] running `Command { std: "docker" "start" "-a" "984476bda070bd4b7c3ed5dafd49bbb2d971f41cb798d381c195ea67cd400707", kill_on_drop: false }`
[INFO] [stdout] warning: methods `saturating_add`, `saturating_sub`, `saturating_mul`, and `saturating_pow` are never used
[INFO] [stdout]    --> src/arithmetic.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub trait Saturating {
[INFO] [stdout]     |           ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 142 |     fn saturating_add(self, rhs: Self) -> Self;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn saturating_sub(self, rhs: Self) -> Self;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     fn saturating_mul(self, rhs: Self) -> Self;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn saturating_pow(self, exp: usize) -> Self;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ink_env v5.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/engine/mod.rs:164:28
[INFO] [stdout]     |
[INFO] [stdout] 164 |     struct TestContractRef(AccountId);
[INFO] [stdout]     |            --------------- ^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 164 |     struct TestContractRef(());
[INFO] [stdout]     |                            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s
[INFO] running `Command { std: "docker" "inspect" "984476bda070bd4b7c3ed5dafd49bbb2d971f41cb798d381c195ea67cd400707", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "984476bda070bd4b7c3ed5dafd49bbb2d971f41cb798d381c195ea67cd400707", kill_on_drop: false }`
[INFO] [stdout] 984476bda070bd4b7c3ed5dafd49bbb2d971f41cb798d381c195ea67cd400707
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d3521db145805442ae86aa25a02e435de2ec0c5bb690cec4c8df10a56b674b09
[INFO] running `Command { std: "docker" "start" "-a" "d3521db145805442ae86aa25a02e435de2ec0c5bb690cec4c8df10a56b674b09", kill_on_drop: false }`
[INFO] [stderr] warning: methods `saturating_add`, `saturating_sub`, `saturating_mul`, and `saturating_pow` are never used
[INFO] [stderr]    --> src/arithmetic.rs:142:8
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub trait Saturating {
[INFO] [stderr]     |           ---------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 142 |     fn saturating_add(self, rhs: Self) -> Self;
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     fn saturating_sub(self, rhs: Self) -> Self;
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 150 |     fn saturating_mul(self, rhs: Self) -> Self;
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 154 |     fn saturating_pow(self, exp: usize) -> Self;
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/engine/mod.rs:164:28
[INFO] [stderr]     |
[INFO] [stderr] 164 |     struct TestContractRef(AccountId);
[INFO] [stderr]     |            --------------- ^^^^^^^^^
[INFO] [stderr]     |            |
[INFO] [stderr]     |            field in this struct
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]     |
[INFO] [stderr] 164 |     struct TestContractRef(());
[INFO] [stderr]     |                            ~~
[INFO] [stderr] 
[INFO] [stderr] warning: `ink_env` (lib) generated 1 warning
[INFO] [stderr] warning: `ink_env` (lib test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ink_env-def5abd1fc565b78)
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test arithmetic::tests::saturating_add ... ok
[INFO] [stdout] test arithmetic::tests::saturating_mul ... ok
[INFO] [stdout] test engine::decode_instantiate_result_tests::dispatch_error_gets_decoded_correctly ... ok
[INFO] [stdout] test call::execution_input::tests::multiple_arguments_works ... ok
[INFO] [stdout] test arithmetic::tests::saturating_pow ... ok
[INFO] [stdout] test engine::decode_instantiate_result_tests::invalid_bytes_in_output_buffer_fail_decoding ... ok
[INFO] [stdout] test tests::test_hash_blake2_128 ... ok
[INFO] [stdout] test tests::test_hash_keccak_256 ... ok
[INFO] [stdout] test tests::test_hash_blake2_256 ... ok
[INFO] [stdout] test call::execution_input::tests::empty_args_works ... ok
[INFO] [stdout] test tests::test_hash_sha2_256 ... ok
[INFO] [stdout] test call::execution_input::tests::empty_exec_input_works ... ok
[INFO] [stdout] test engine::decode_instantiate_result_tests::succesful_dispatch_with_error_from_contract_constructor ... ok
[INFO] [stdout] test call::execution_input::tests::single_argument_works ... ok
[INFO] [stdout] test arithmetic::tests::saturatiung_sub ... ok
[INFO] [stdout] test engine::off_chain::tests::topics_builder ... ok
[INFO] [stdout] test engine::decode_instantiate_result_tests::revert_branch_rejects_valid_output_buffer_with_success_case - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ink_env
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 779) ... ignored
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 791) ... ignored
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 801) ... ignored
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 810) ... ignored
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 820) ... ignored
[INFO] [stdout] test src/api.rs - api::sr25519_verify (line 634) ... FAILED
[INFO] [stdout] test src/call/create_builder.rs - call::create_builder::ConstructorReturnType (line 66) ... FAILED
[INFO] [stdout] test src/contract.rs - contract::ContractEnv (line 16) ... FAILED
[INFO] [stdout] test src/call/create_builder.rs - call::create_builder::build_create (line 462) ... FAILED
[INFO] [stdout] test src/call/create_builder.rs - call::create_builder::build_create (line 424) ... FAILED
[INFO] [stdout] test src/contract.rs - contract::ContractEnv (line 47) ... FAILED
[INFO] [stdout] test src/contract.rs - contract::ContractReference (line 108) ... FAILED
[INFO] [stdout] test src/api.rs - api::hash_encoded (line 548) ... ok
[INFO] [stdout] test src/api.rs - api::ecdsa_to_eth_address (line 607) ... ok
[INFO] [stdout] test src/api.rs - api::ecdsa_recover (line 574) ... ok
[INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 275) ... ok
[INFO] [stdout] test src/api.rs - api::hash_bytes (line 526) ... ok
[INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 309) ... ok
[INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod<I,O,state::HandleErrorCode<ErrorCode>,true>::call (line 235) ... ok
[INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod<I,O,state::IgnoreErrorCode,false>::call (line 437) ... ok
[INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 371) ... ok
[INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod<I,O,state::IgnoreErrorCode,true>::call (line 311) ... ok
[INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 336) ... ok
[INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod<I,O,state::HandleErrorCode<ErrorCode>,false>::call (line 383) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/api.rs - api::sr25519_verify (line 634) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/api.rs:647:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | let result = ink::env::sr25519_verify(&signature, message.as_slice(), &pub_key);
[INFO] [stdout]    |              ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/call/create_builder.rs - call::create_builder::ConstructorReturnType (line 66) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/call/create_builder.rs:67:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[ink::contract]
[INFO] [stdout]   |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/call/create_builder.rs:73:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[ink::scale_derive(Encode, Decode, TypeInfo)]
[INFO] [stdout]   |       ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/call/create_builder.rs:69:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |     #[ink(storage)]
[INFO] [stdout]   |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:79:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:84:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:89:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:94:11
[INFO] [stdout]    |
[INFO] [stdout] 30 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:99:11
[INFO] [stdout]    |
[INFO] [stdout] 35 |         #[ink(message)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/contract.rs - contract::ContractEnv (line 16) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/contract.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use ink::env::ContractEnv;
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/contract.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use ink::codegen::utils::IsSameType;
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/contract.rs:18:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::contract]
[INFO] [stdout]   |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/contract.rs:20:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[ink(storage)]
[INFO] [stdout]   |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/contract.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/contract.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         #[ink(message)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/call/create_builder.rs - call::create_builder::build_create (line 462) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `contract::MyContractRef`
[INFO] [stdout]   --> src/call/create_builder.rs:490:16
[INFO] [stdout]    |
[INFO] [stdout] 31 | use contract::{MyContractRef, ConstructorError};
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `MyContractRef` in `<opaque>::<opaque>::contract`
[INFO] [stdout]    |                help: a similar name exists in the module: `MyContract`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/call/create_builder.rs:495:43
[INFO] [stdout]    |
[INFO] [stdout] 36 |         ExecutionInput::new(Selector::new(ink::selector_bytes!("my_constructor")))
[INFO] [stdout]    |                                           ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/call/create_builder.rs:471:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[ink::contract]
[INFO] [stdout]    |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:477:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[ink(storage)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:481:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:486:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |         #[ink(message)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/call/create_builder.rs - call::create_builder::build_create (line 424) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `contract::MyContractRef`
[INFO] [stdout]   --> src/call/create_builder.rs:446:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use contract::MyContractRef;
[INFO] [stdout]    |     ^^^^^^^^^^-------------
[INFO] [stdout]    |     |         |
[INFO] [stdout]    |     |         help: a similar name exists in the module: `MyContract`
[INFO] [stdout]    |     no `MyContractRef` in `<opaque>::<opaque>::contract`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/call/create_builder.rs:451:43
[INFO] [stdout]    |
[INFO] [stdout] 30 |         ExecutionInput::new(Selector::new(ink::selector_bytes!("my_constructor")))
[INFO] [stdout]    |                                           ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/call/create_builder.rs:433:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[ink::contract]
[INFO] [stdout]    |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:435:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[ink(storage)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:439:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/call/create_builder.rs:442:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |         #[ink(message)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/contract.rs - contract::ContractEnv (line 47) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/contract.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use ink::env::ContractEnv;
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/contract.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | use ink::codegen::utils::IsSameType;
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/contract.rs:64:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[ink::contract(env = super::CustomEnvironment)]
[INFO] [stdout]    |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/contract.rs:66:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[ink(storage)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/contract.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/contract.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 30 |         #[ink(message)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/contract.rs - contract::ContractReference (line 108) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/contract.rs:129:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use ink::codegen::utils::IsSameType;
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]   --> src/contract.rs:130:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use ink::env::ContractReference;
[INFO] [stdout]    |     ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `contract::ContractRef`
[INFO] [stdout]   --> src/contract.rs:127:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     ContractRef,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     no `ContractRef` in `<opaque>::<opaque>::contract`
[INFO] [stdout]    |     help: a similar name exists in the module: `Contract`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/contract.rs:109:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[ink::contract]
[INFO] [stdout]   |   ^^^ use of undeclared crate or module `ink`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/contract.rs:111:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |     #[ink(storage)]
[INFO] [stdout]   |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/contract.rs:115:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |         #[ink(constructor)]
[INFO] [stdout]   |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/contract.rs:120:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |         #[ink(message)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api.rs - api::sr25519_verify (line 634)
[INFO] [stdout]     src/call/create_builder.rs - call::create_builder::ConstructorReturnType (line 66)
[INFO] [stdout]     src/call/create_builder.rs - call::create_builder::build_create (line 424)
[INFO] [stdout]     src/call/create_builder.rs - call::create_builder::build_create (line 462)
[INFO] [stdout]     src/contract.rs - contract::ContractEnv (line 16)
[INFO] [stdout]     src/contract.rs - contract::ContractEnv (line 47)
[INFO] [stdout]     src/contract.rs - contract::ContractReference (line 108)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 7 failed; 5 ignored; 0 measured; 0 filtered out; finished in 4.64s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d3521db145805442ae86aa25a02e435de2ec0c5bb690cec4c8df10a56b674b09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3521db145805442ae86aa25a02e435de2ec0c5bb690cec4c8df10a56b674b09", kill_on_drop: false }`
[INFO] [stdout] d3521db145805442ae86aa25a02e435de2ec0c5bb690cec4c8df10a56b674b09
