[INFO] fetching crate ink_env 4.2.0...
[INFO] testing ink_env-4.2.0 against 1.69.0 for beta-1.70-1
[INFO] extracting crate ink_env 4.2.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate ink_env 4.2.0 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ink_env 4.2.0
[INFO] finished tweaking crates.io crate ink_env 4.2.0
[INFO] tweaked toml for crates.io crate ink_env 4.2.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" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded scale-encode-derive v0.1.2
[INFO] [stderr]   Downloaded rlibc v1.0.0
[INFO] [stderr]   Downloaded scale-bits v0.3.0
[INFO] [stderr]   Downloaded ink_primitives v4.2.0
[INFO] [stderr]   Downloaded ink_prelude v4.2.0
[INFO] [stderr]   Downloaded xxhash-rust v0.8.6
[INFO] [stderr]   Downloaded ink_metadata v4.2.0
[INFO] [stderr]   Downloaded ink_engine v4.2.0
[INFO] [stderr]   Downloaded ink_allocator v4.2.0
[INFO] [stderr]   Downloaded scale-encode v0.1.2
[INFO] [stderr]   Downloaded scale-decode-derive v0.5.0
[INFO] [stderr]   Downloaded scale-decode v0.5.0
[INFO] [stderr]   Downloaded ink_storage_traits v4.2.0
[INFO] [stderr]   Downloaded impl-serde v0.4.0
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e2a7a6d9f5ddabf12eee50adf1272f028263828c7b85ec434bd7bec2f22ec0d
[INFO] running `Command { std: "docker" "start" "-a" "3e2a7a6d9f5ddabf12eee50adf1272f028263828c7b85ec434bd7bec2f22ec0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e2a7a6d9f5ddabf12eee50adf1272f028263828c7b85ec434bd7bec2f22ec0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e2a7a6d9f5ddabf12eee50adf1272f028263828c7b85ec434bd7bec2f22ec0d", kill_on_drop: false }`
[INFO] [stdout] 3e2a7a6d9f5ddabf12eee50adf1272f028263828c7b85ec434bd7bec2f22ec0d
[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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 439ad7c77f6d94c07b209cfd1a7563d73c6f803dc25f7a7dfca07242559265dd
[INFO] running `Command { std: "docker" "start" "-a" "439ad7c77f6d94c07b209cfd1a7563d73c6f803dc25f7a7dfca07242559265dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling toml_datetime v0.6.1
[INFO] [stderr]    Compiling winnow v0.4.4
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ink_prelude v4.2.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling xxhash-rust v0.8.6
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling cpufeatures v0.2.7
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling keccak v0.1.3
[INFO] [stderr]    Compiling ink_allocator v4.2.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling secp256k1-sys v0.8.1
[INFO] [stderr]    Compiling toml_edit v0.19.8
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling sha3 v0.10.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling secp256k1 v0.27.0
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.1.4
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling scale-info-derive v2.6.0
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]    Compiling scale-encode-derive v0.1.2
[INFO] [stderr]    Compiling scale-decode-derive v0.5.0
[INFO] [stderr]    Compiling parity-scale-codec v3.4.0
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling scale-info v2.6.0
[INFO] [stderr]    Compiling scale-bits v0.3.0
[INFO] [stderr]    Compiling scale-encode v0.1.2
[INFO] [stderr]    Compiling scale-decode v0.5.0
[INFO] [stderr]    Compiling ink_primitives v4.2.0
[INFO] [stderr]    Compiling ink_metadata v4.2.0
[INFO] [stderr]    Compiling ink_engine v4.2.0
[INFO] [stderr]    Compiling ink_storage_traits v4.2.0
[INFO] [stderr]    Compiling ink_env v4.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.59s
[INFO] running `Command { std: "docker" "inspect" "439ad7c77f6d94c07b209cfd1a7563d73c6f803dc25f7a7dfca07242559265dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "439ad7c77f6d94c07b209cfd1a7563d73c6f803dc25f7a7dfca07242559265dd", kill_on_drop: false }`
[INFO] [stdout] 439ad7c77f6d94c07b209cfd1a7563d73c6f803dc25f7a7dfca07242559265dd
[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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 55ffa3c0cc8005873828fa84c3e2b92e18dad66a568034983f479a20a9cc4333
[INFO] running `Command { std: "docker" "start" "-a" "55ffa3c0cc8005873828fa84c3e2b92e18dad66a568034983f479a20a9cc4333", kill_on_drop: false }`
[INFO] [stderr]    Compiling ink_env v4.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "55ffa3c0cc8005873828fa84c3e2b92e18dad66a568034983f479a20a9cc4333", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55ffa3c0cc8005873828fa84c3e2b92e18dad66a568034983f479a20a9cc4333", kill_on_drop: false }`
[INFO] [stdout] 55ffa3c0cc8005873828fa84c3e2b92e18dad66a568034983f479a20a9cc4333
[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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 591d4f541fec157f16b78181d958caa9a5225da75bedc27b90c4c7b88cca2275
[INFO] running `Command { std: "docker" "start" "-a" "591d4f541fec157f16b78181d958caa9a5225da75bedc27b90c4c7b88cca2275", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ink_env-12961fbd76d3040c)
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test arithmetic::tests::saturating_add ... ok
[INFO] [stdout] test arithmetic::tests::saturating_mul ... ok
[INFO] [stdout] test arithmetic::tests::saturatiung_sub ... ok
[INFO] [stdout] test arithmetic::tests::saturating_pow ... ok
[INFO] [stdout] test call::execution_input::tests::empty_args_works ... ok
[INFO] [stdout] test call::execution_input::tests::empty_exec_input_works ... ok
[INFO] [stdout] test call::execution_input::tests::multiple_arguments_works ... ok
[INFO] [stdout] test call::execution_input::tests::single_argument_works ... ok
[INFO] [stdout] test engine::decode_instantiate_result_tests::dispatch_error_gets_decoded_correctly ... ok
[INFO] [stdout] test engine::decode_instantiate_result_tests::invalid_bytes_in_output_buffer_fail_decoding ... ok
[INFO] [stdout] test tests::test_call_flags ... ok
[INFO] [stdout] test engine::decode_instantiate_result_tests::succesful_dispatch_with_error_from_contract_constructor ... ok
[INFO] [stdout] test tests::test_hash_sha2_256 ... 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 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. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ink_env
[INFO] [stdout] 
[INFO] [stdout] running 23 tests
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 665) ... ignored
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 677) ... ignored
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 687) ... ignored
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 696) ... ignored
[INFO] [stdout] test src/api.rs - api::set_code_hash (line 706) ... ignored
[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 330) ... FAILED
[INFO] [stdout] test src/call/create_builder.rs - call::create_builder::ConstructorReturnType (line 67) ... FAILED
[INFO] [stdout] test src/call/create_builder.rs - call::create_builder::build_create (line 369) ... 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_bytes (line 449) ... ok
[INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 257) ... ok
[INFO] [stdout] test src/api.rs - api::ecdsa_recover (line 497) ... ok
[INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 196) ... ok
[INFO] [stdout] test src/api.rs - api::hash_encoded (line 471) ... 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 230) ... ok
[INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod<I,O,state::HandleErrorCode<ErrorCode>,false>::call (line 383) ... ok
[INFO] [stdout] test src/call/call_builder.rs - call::call_builder::build_call (line 292) ... ok
[INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod<I,O,state::IgnoreErrorCode,false>::call (line 437) ... ok
[INFO] [stdout] test src/api.rs - api::ecdsa_to_eth_address (line 530) ... ok
[INFO] [stdout] test src/chain_extension.rs - chain_extension::ChainExtensionMethod<I,O,state::HandleErrorCode<ErrorCode>,true>::call (line 235) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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:35:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | 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:36: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:17:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[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:19:7
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[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:23:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |         #[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:28:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |         #[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 330) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `contract::MyContractRef`
[INFO] [stdout]   --> src/call/create_builder.rs:351:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | 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:357: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:338:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[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:340:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[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:344:11
[INFO] [stdout]    |
[INFO] [stdout] 17 |         #[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:347:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |         #[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::ConstructorReturnType (line 67) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink`
[INFO] [stdout]  --> src/call/create_builder.rs:68: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/call/create_builder.rs:70: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:80: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:85: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:90: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:95: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:100: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 7 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 369) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `contract::MyContractRef`
[INFO] [stdout]   --> src/call/create_builder.rs:396:16
[INFO] [stdout]    |
[INFO] [stdout] 30 | 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:402: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:377:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[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:383:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[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:387:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |         #[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:392:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |         #[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:80:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | 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:81:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | 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:63:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[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:65:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[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:69:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |         #[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:74:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |         #[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/call/create_builder.rs - call::create_builder::ConstructorReturnType (line 67)
[INFO] [stdout]     src/call/create_builder.rs - call::create_builder::build_create (line 330)
[INFO] [stdout]     src/call/create_builder.rs - call::create_builder::build_create (line 369)
[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; 6 failed; 5 ignored; 0 measured; 0 filtered out; finished in 1.32s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "591d4f541fec157f16b78181d958caa9a5225da75bedc27b90c4c7b88cca2275", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "591d4f541fec157f16b78181d958caa9a5225da75bedc27b90c4c7b88cca2275", kill_on_drop: false }`
[INFO] [stdout] 591d4f541fec157f16b78181d958caa9a5225da75bedc27b90c4c7b88cca2275
