[INFO] fetching crate ink_lang_macro 3.0.0-rc4...
[INFO] testing ink_lang_macro-3.0.0-rc4 against 1.54.0 for beta-1.55-1
[INFO] extracting crate ink_lang_macro 3.0.0-rc4 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate ink_lang_macro 3.0.0-rc4 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ink_lang_macro 3.0.0-rc4
[INFO] finished tweaking crates.io crate ink_lang_macro 3.0.0-rc4
[INFO] tweaked toml for crates.io crate ink_lang_macro 3.0.0-rc4 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "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] dceb86500e7c172c896ae57702ed94eca70dac9474bcb05d3607c2c99861a5e2
[INFO] running `Command { std: "docker" "start" "-a" "dceb86500e7c172c896ae57702ed94eca70dac9474bcb05d3607c2c99861a5e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dceb86500e7c172c896ae57702ed94eca70dac9474bcb05d3607c2c99861a5e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dceb86500e7c172c896ae57702ed94eca70dac9474bcb05d3607c2c99861a5e2", kill_on_drop: false }`
[INFO] [stdout] dceb86500e7c172c896ae57702ed94eca70dac9474bcb05d3607c2c99861a5e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", 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] d2bac517e6e36bbcfba1e95e4666794bde563d0af17cdf0e65b1a3505a55c246
[INFO] running `Command { std: "docker" "start" "-a" "d2bac517e6e36bbcfba1e95e4666794bde563d0af17cdf0e65b1a3505a55c246", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling arrayvec v0.7.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling ink_prelude v3.0.0-rc4
[INFO] [stderr]    Compiling bitvec v0.20.4
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling blake2 v0.9.1
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling impl-serde v0.3.1
[INFO] [stderr]    Compiling ink_lang_ir v3.0.0-rc4
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.1
[INFO] [stderr]    Compiling derive_more v0.99.16
[INFO] [stderr]    Compiling scale-info-derive v0.4.0
[INFO] [stderr]    Compiling thiserror v1.0.26
[INFO] [stderr]    Compiling proc-macro-crate v1.0.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v2.2.0
[INFO] [stderr]    Compiling parity-scale-codec v2.2.0
[INFO] [stderr]    Compiling scale-info v0.6.0
[INFO] [stderr]    Compiling ink_lang_codegen v3.0.0-rc4
[INFO] [stderr]    Compiling ink_primitives v3.0.0-rc4
[INFO] [stderr]    Compiling ink_lang_macro v3.0.0-rc4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] running `Command { std: "docker" "inspect" "d2bac517e6e36bbcfba1e95e4666794bde563d0af17cdf0e65b1a3505a55c246", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2bac517e6e36bbcfba1e95e4666794bde563d0af17cdf0e65b1a3505a55c246", kill_on_drop: false }`
[INFO] [stdout] d2bac517e6e36bbcfba1e95e4666794bde563d0af17cdf0e65b1a3505a55c246
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", 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] 45f0a8be61f939258ffd72475635ea09f936d1c2f63755b2cae01a317d0557aa
[INFO] running `Command { std: "docker" "start" "-a" "45f0a8be61f939258ffd72475635ea09f936d1c2f63755b2cae01a317d0557aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling ink_lang_macro v3.0.0-rc4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.53s
[INFO] running `Command { std: "docker" "inspect" "45f0a8be61f939258ffd72475635ea09f936d1c2f63755b2cae01a317d0557aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45f0a8be61f939258ffd72475635ea09f936d1c2f63755b2cae01a317d0557aa", kill_on_drop: false }`
[INFO] [stdout] 45f0a8be61f939258ffd72475635ea09f936d1c2f63755b2cae01a317d0557aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 86201d5bfc80aea1233bfc4d2dafc0745a431ce79f98cfc020777447b3af6d5d
[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" "86201d5bfc80aea1233bfc4d2dafc0745a431ce79f98cfc020777447b3af6d5d", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/ink_lang_macro-8a217167128485c1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ink_lang_macro
[INFO] [stdout] 
[INFO] [stdout] running 23 tests
[INFO] [stdout] test src/lib.rs - chain_extension (line 687) ... FAILED
[INFO] [stdout] test src/lib.rs - chain_extension (line 931) ... FAILED
[INFO] [stdout] test src/lib.rs - chain_extension (line 676) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 149) ... FAILED
[INFO] [stdout] test src/lib.rs - chain_extension (line 773) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 166) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 72) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 244) ... FAILED
[INFO] [stdout] test src/lib.rs - trait_definition (line 529) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 407) ... FAILED
[INFO] [stdout] test src/lib.rs - test (line 616) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 396) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 320) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 215) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 494) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 282) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 117) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 359) ... FAILED
[INFO] [stdout] test src/lib.rs - chain_extension (line 896) ... FAILED
[INFO] [stdout] test src/lib.rs - chain_extension (line 750) ... FAILED
[INFO] [stdout] test src/lib.rs - trait_definition (line 551) ... FAILED
[INFO] [stdout] test src/lib.rs - contract (line 444) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - chain_extension (line 687) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:689:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::chain_extension`
[INFO] [stdout]  --> src/lib.rs:690:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::chain_extension]
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]  --> src/lib.rs:693:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[ink(extension = 5)]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]  --> src/lib.rs:694:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[ink(handle_status = false)]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:695:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[ink(returns_result = false)]
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: associated type defaults are unstable
[INFO] [stdout]  --> src/lib.rs:692:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     type ErrorCode = i32;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29661 <https://github.com/rust-lang/rust/issues/29661> for more information
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - chain_extension (line 931) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:932:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:936:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:934:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::contract(env = CustomEnvironment)]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::chain_extension`
[INFO] [stdout]   --> src/lib.rs:985:3
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[ink::chain_extension]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scale_info`
[INFO] [stdout]   --> src/lib.rs:999:40
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)]
[INFO] [stdout]    |                                        ^^^^^^^^^^ use of undeclared crate or module `scale_info`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scale_info`
[INFO] [stdout]   --> src/lib.rs:1005:40
[INFO] [stdout]    |
[INFO] [stdout] 76 | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)]
[INFO] [stdout]    |                                        ^^^^^^^^^^ use of undeclared crate or module `scale_info`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scale_info`
[INFO] [stdout]   --> src/lib.rs:1020:40
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)]
[INFO] [stdout]    |                                        ^^^^^^^^^^ use of undeclared crate or module `scale_info`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scale_info`
[INFO] [stdout]    --> src/lib.rs:1029:40
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)]
[INFO] [stdout]     |                                        ^^^^^^^^^^ use of undeclared crate or module `scale_info`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]  --> src/lib.rs:938:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[ink(storage)]
[INFO] [stdout]   |       ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:942:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:945:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         #[ink(message)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:952:11
[INFO] [stdout]    |
[INFO] [stdout] 23 |         #[ink(message)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:959:11
[INFO] [stdout]    |
[INFO] [stdout] 30 |         #[ink(message)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:970:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |         #[ink(message)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:977:11
[INFO] [stdout]    |
[INFO] [stdout] 48 |         #[ink(message)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:988:7
[INFO] [stdout]    |
[INFO] [stdout] 59 |     #[ink(extension = 1, returns_result = false)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:990:7
[INFO] [stdout]    |
[INFO] [stdout] 61 |     #[ink(extension = 2)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:992:7
[INFO] [stdout]    |
[INFO] [stdout] 63 |     #[ink(extension = 3, returns_result = false)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:994:7
[INFO] [stdout]    |
[INFO] [stdout] 65 |     #[ink(extension = 4, returns_result = false, handle_status = false)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:996:7
[INFO] [stdout]    |
[INFO] [stdout] 67 |     #[ink(extension = 5, handle_status = false)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1035:6
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl ink_env::chain_extension::FromStatusCode for ReadWriteErrorCode {
[INFO] [stdout]     |      ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1047:6
[INFO] [stdout]     |
[INFO] [stdout] 118 | impl ink_env::Environment for CustomEnvironment {
[INFO] [stdout]     |      ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1049:41
[INFO] [stdout]     |
[INFO] [stdout] 120 |         <ink_env::DefaultEnvironment as ink_env::Environment>::MAX_EVENT_TOPICS;
[INFO] [stdout]     |                                         ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1049:10
[INFO] [stdout]     |
[INFO] [stdout] 120 |         <ink_env::DefaultEnvironment as ink_env::Environment>::MAX_EVENT_TOPICS;
[INFO] [stdout]     |          ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1051:54
[INFO] [stdout]     |
[INFO] [stdout] 122 |     type AccountId = <ink_env::DefaultEnvironment as ink_env::Environment>::AccountId;
[INFO] [stdout]     |                                                      ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1051:23
[INFO] [stdout]     |
[INFO] [stdout] 122 |     type AccountId = <ink_env::DefaultEnvironment as ink_env::Environment>::AccountId;
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1052:52
[INFO] [stdout]     |
[INFO] [stdout] 123 |     type Balance = <ink_env::DefaultEnvironment as ink_env::Environment>::Balance;
[INFO] [stdout]     |                                                    ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1052:21
[INFO] [stdout]     |
[INFO] [stdout] 123 |     type Balance = <ink_env::DefaultEnvironment as ink_env::Environment>::Balance;
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1053:49
[INFO] [stdout]     |
[INFO] [stdout] 124 |     type Hash = <ink_env::DefaultEnvironment as ink_env::Environment>::Hash;
[INFO] [stdout]     |                                                 ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1053:18
[INFO] [stdout]     |
[INFO] [stdout] 124 |     type Hash = <ink_env::DefaultEnvironment as ink_env::Environment>::Hash;
[INFO] [stdout]     |                  ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1054:56
[INFO] [stdout]     |
[INFO] [stdout] 125 |     type BlockNumber = <ink_env::DefaultEnvironment as ink_env::Environment>::BlockNumber;
[INFO] [stdout]     |                                                        ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1054:25
[INFO] [stdout]     |
[INFO] [stdout] 125 |     type BlockNumber = <ink_env::DefaultEnvironment as ink_env::Environment>::BlockNumber;
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1055:54
[INFO] [stdout]     |
[INFO] [stdout] 126 |     type Timestamp = <ink_env::DefaultEnvironment as ink_env::Environment>::Timestamp;
[INFO] [stdout]     |                                                      ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1055:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |     type Timestamp = <ink_env::DefaultEnvironment as ink_env::Environment>::Timestamp;
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1056:57
[INFO] [stdout]     |
[INFO] [stdout] 127 |     type RentFraction = <ink_env::DefaultEnvironment as ink_env::Environment>::RentFraction;
[INFO] [stdout]     |                                                         ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:1056:26
[INFO] [stdout]     |
[INFO] [stdout] 127 |     type RentFraction = <ink_env::DefaultEnvironment as ink_env::Environment>::RentFraction;
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: associated type defaults are unstable
[INFO] [stdout]   --> src/lib.rs:987:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     type ErrorCode = ReadWriteErrorCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29661 <https://github.com/rust-lang/rust/issues/29661> for more information
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:1058:27
[INFO] [stdout]     |
[INFO] [stdout] 129 |     type ChainExtension = RuntimeReadWrite;
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RuntimeReadWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - chain_extension (line 676) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:678:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::chain_extension`
[INFO] [stdout]  --> src/lib.rs:679:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::chain_extension]
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]  --> src/lib.rs:682:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[ink(extension = 5, handle_status = false, returns_result = false)]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: associated type defaults are unstable
[INFO] [stdout]  --> src/lib.rs:681:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     type ErrorCode = i32;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29661 <https://github.com/rust-lang/rust/issues/29661> for more information
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 149) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]  --> src/lib.rs:152:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl ink_env::Environment for MyEnvironment {
[INFO] [stdout]   |      ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ink_env` in the list of imported crates
[INFO] [stdout]   --> src/lib.rs:159:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     type RentFraction = ::ink_env::Perbill;
[INFO] [stdout]    |                           ^^^^^^^ could not find `ink_env` in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ink_env` in the list of imported crates
[INFO] [stdout]   --> src/lib.rs:160:29
[INFO] [stdout]    |
[INFO] [stdout] 13 |     type ChainExtension = ::ink_env::NoChainExtension;
[INFO] [stdout]    |                             ^^^^^^^ could not find `ink_env` in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/lib.rs - chain_extension (line 773) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:774:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::chain_extension`
[INFO] [stdout]  --> src/lib.rs:777:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[ink::chain_extension]
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scale_info`
[INFO] [stdout]   --> src/lib.rs:835:40
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)]
[INFO] [stdout]    |                                        ^^^^^^^^^^ use of undeclared crate or module `scale_info`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scale_info`
[INFO] [stdout]   --> src/lib.rs:841:40
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)]
[INFO] [stdout]    |                                        ^^^^^^^^^^ use of undeclared crate or module `scale_info`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scale_info`
[INFO] [stdout]   --> src/lib.rs:856:40
[INFO] [stdout]    |
[INFO] [stdout] 85 | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)]
[INFO] [stdout]    |                                        ^^^^^^^^^^ use of undeclared crate or module `scale_info`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `scale_info`
[INFO] [stdout]   --> src/lib.rs:865:40
[INFO] [stdout]    |
[INFO] [stdout] 94 | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)]
[INFO] [stdout]    |                                        ^^^^^^^^^^ use of undeclared crate or module `scale_info`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:786:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[ink(extension = 1, returns_result = false)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:803:7
[INFO] [stdout]    |
[INFO] [stdout] 32 |     #[ink(extension = 2)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:811:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |     #[ink(extension = 3, returns_result = false)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:819:7
[INFO] [stdout]    |
[INFO] [stdout] 48 |     #[ink(extension = 4, returns_result = false, handle_status = false)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:832:7
[INFO] [stdout]    |
[INFO] [stdout] 61 |     #[ink(extension = 5, handle_status = false)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]    --> src/lib.rs:871:6
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl ink_env::chain_extension::FromStatusCode for ReadWriteErrorCode {
[INFO] [stdout]     |      ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: associated type defaults are unstable
[INFO] [stdout]  --> src/lib.rs:779:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     type ErrorCode = ReadWriteErrorCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29661 <https://github.com/rust-lang/rust/issues/29661> for more information
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 166) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:167:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:168:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[ink::contract(env = MyEnvironment)]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lib.rs:183:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[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/lib.rs:186:7
[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/lib.rs:188:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[ink(message)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]  --> src/lib.rs:172:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl ink_env::Environment for MyEnvironment {
[INFO] [stdout]   |      ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ink_env` in the list of imported crates
[INFO] [stdout]   --> src/lib.rs:179:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |     type ChainExtension = ::ink_env::NoChainExtension;
[INFO] [stdout]    |                             ^^^^^^^ could not find `ink_env` in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ink_env` in the list of imported crates
[INFO] [stdout]   --> src/lib.rs:180:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |     type RentFraction = ::ink_env::Perbill;
[INFO] [stdout]    |                           ^^^^^^^ could not find `ink_env` in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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/lib.rs - contract (line 72) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_storage`
[INFO] [stdout]  --> src/lib.rs:74:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ink_storage as storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^ no external crate `ink_storage`
[INFO] [stdout] 
[INFO] [stdout] warning: type `_unused` should have an upper camel case name
[INFO] [stdout]  --> src/lib.rs:75:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | type _unused =
[INFO] [stdout]   |      ^^^^^^^ help: convert the identifier to upper camel case: `Unused`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 244) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:245:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:246:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:248:3
[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/lib.rs:253:7
[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/lib.rs:257:3
[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 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - trait_definition (line 529) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:530:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::trait_definition`
[INFO] [stdout]  --> src/lib.rs:533:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[ink::trait_definition]
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]  --> src/lib.rs:536:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[ink(constructor)]
[INFO] [stdout]   |       ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink`
[INFO] [stdout]   --> src/lib.rs:540:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[ink(message)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]  --> src/lib.rs:531:48
[INFO] [stdout]   |
[INFO] [stdout] 4 | type Balance = <ink_env::DefaultEnvironment as ink_env::Environment>::Balance;
[INFO] [stdout]   |                                                ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]  --> src/lib.rs:531:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | type Balance = <ink_env::DefaultEnvironment as ink_env::Environment>::Balance;
[INFO] [stdout]   |                 ^^^^^^^ use of undeclared crate or module `ink_env`
[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/lib.rs - contract (line 407) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:408:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ink_env`
[INFO] [stdout]  --> src/lib.rs:412:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use ink_env::debug_println;
[INFO] [stdout]   |         ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:410:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:414:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[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/lib.rs:418:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |         #[ink(constructor)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `debug_println`
[INFO] [stdout]   --> src/lib.rs:421:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |             debug_println!("thanks for instantiation {:?}", caller);
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lib.rs:425:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |         #[ink(message, payable)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `debug_println`
[INFO] [stdout]   --> src/lib.rs:429:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             debug_println!("thanks for the funding of {:?} from {:?}", value, caller);
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `env` found for struct `Greeter` in the current scope
[INFO] [stdout]   --> src/lib.rs:420:32
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub struct Greeter;
[INFO] [stdout]    |     ------------------- function or associated item `env` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 15 |             let caller = Self::env().caller();
[INFO] [stdout]    |                                ^^^ function or associated item not found in `Greeter`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `env` found for reference `&Greeter` in the current scope
[INFO] [stdout]   --> src/lib.rs:427:31
[INFO] [stdout]    |
[INFO] [stdout] 22 |             let caller = self.env().caller();
[INFO] [stdout]    |                               ^^^ method not found in `&Greeter`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `env` found for reference `&Greeter` in the current scope
[INFO] [stdout]   --> src/lib.rs:428:30
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let value = self.env().transferred_balance();
[INFO] [stdout]    |                              ^^^ method not found in `&Greeter`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - test (line 616) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:617:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 396) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]  --> src/lib.rs:397:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | ink_env::test::run_test::<ink_env::DefaultEnvironment, _>(|_| {
[INFO] [stdout]   | ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]  --> src/lib.rs:397:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | ink_env::test::run_test::<ink_env::DefaultEnvironment, _>(|_| {
[INFO] [stdout]   |                           ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]  --> src/lib.rs:398:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let caller = ink_env::caller::<ink_env::DefaultEnvironment>();
[INFO] [stdout]   |              ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_env`
[INFO] [stdout]  --> src/lib.rs:398:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | let caller = ink_env::caller::<ink_env::DefaultEnvironment>();
[INFO] [stdout]   |                                ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/lib.rs - contract (line 320) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:321:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:322:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:324:3
[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/lib.rs:329:3
[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/lib.rs:334:7
[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: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lib.rs:335:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[ink(payable)] // You can either specify payable out-of-line.
[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/lib.rs:341:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[ink(message, payable)] // ... or specify payable inline.
[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 E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 215) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:216:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:217:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:219: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/lib.rs:224:7
[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/lib.rs:226:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[ink(message)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 494) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:495:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:497:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:499: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/lib.rs:506:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |         #[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/lib.rs:512: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: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lib.rs:518: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] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 282) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:283:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:284:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:286:3
[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/lib.rs:291:3
[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/lib.rs:296:7
[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: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lib.rs:302:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[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 E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 82) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:83:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:84:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[ink::contract(dynamic_storage_allocator = true)]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:86:3
[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/lib.rs:89:7
[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/lib.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[ink(message)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 117) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:118:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:119:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[ink::contract(compile_as_dependency = true)]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:121:3
[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/lib.rs:124:7
[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/lib.rs:126:7
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[ink(message)]
[INFO] [stdout]    |       ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 359) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:360:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:361:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:363:3
[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/lib.rs:368:7
[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/lib.rs:369:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[ink(selector = "0xDEADBEEF")] // Works on constructors as well.
[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/lib.rs:375:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[ink(message)]
[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/lib.rs:376:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[ink(selector = "0xCAFEBABE")] // You can either specify selector out-of-line.
[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/lib.rs:382:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[ink(message, selector = "0xFEEDBEEF")] // ... or specify selector inline.
[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 E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - chain_extension (line 896) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_env`
[INFO] [stdout]  --> src/lib.rs:899:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ink_env::{Environment, DefaultEnvironment};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `ink_env`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - chain_extension (line 750) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:751:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::chain_extension`
[INFO] [stdout]  --> src/lib.rs:753:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::chain_extension]
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyErrorCode` in this scope
[INFO] [stdout]  --> src/lib.rs:755:22
[INFO] [stdout]   |
[INFO] [stdout] 7 |     type ErrorCode = MyErrorCode;
[INFO] [stdout]   |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: associated type defaults are unstable
[INFO] [stdout]  --> src/lib.rs:755:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     type ErrorCode = MyErrorCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29661 <https://github.com/rust-lang/rust/issues/29661> for more information
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0658.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - trait_definition (line 551) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:552:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:554:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ink_lang`
[INFO] [stdout]  --> src/lib.rs:557:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |    #[ink_lang::trait_definition]
[INFO] [stdout]   |      ^^^^^^^^ use of undeclared crate or module `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lib.rs:560:10
[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/lib.rs:564:10
[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: cannot find attribute `ink` in this scope
[INFO] [stdout]   --> src/lib.rs:568:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[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/lib.rs:575:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |         #[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/lib.rs:581:11
[INFO] [stdout]    |
[INFO] [stdout] 32 |         #[ink(message)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:561:31
[INFO] [stdout]    |
[INFO] [stdout] 12 |        fn new(initial_supply: Balance) -> Self;
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:565:34
[INFO] [stdout]    |
[INFO] [stdout] 16 |        fn total_supply(&self) -> Balance;
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:570:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |         total_supply: Balance,
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:576:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |         fn new(initial_supply: Balance) -> Self {
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:582:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |         fn total_supply(&self) -> Balance {
[INFO] [stdout]    |                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - contract (line 444) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ink_lang`
[INFO] [stdout]  --> src/lib.rs:445:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ink_lang as ink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no external crate `ink_lang`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `ink::contract`
[INFO] [stdout]  --> src/lib.rs:447:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[ink::contract]
[INFO] [stdout]   |   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `ink` in this scope
[INFO] [stdout]  --> src/lib.rs:450:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[ink(event)]
[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/lib.rs:457:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[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/lib.rs:464: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/lib.rs:475:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |         #[ink(message)]
[INFO] [stdout]    |           ^^^ help: a built-in attribute with a similar name exists: `link`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> src/lib.rs:452:22
[INFO] [stdout]    |
[INFO] [stdout] 9  |     pub struct Transferred {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `<AccountId>`
[INFO] [stdout] 10 |         from: Option<AccountId>,
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope
[INFO] [stdout]   --> src/lib.rs:453:20
[INFO] [stdout]    |
[INFO] [stdout] 9  |     pub struct Transferred {
[INFO] [stdout]    |                           - help: you might be missing a type parameter: `<AccountId>`
[INFO] [stdout] 10 |         from: Option<AccountId>,
[INFO] [stdout] 11 |         to: Option<AccountId>,
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:454:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |         value: Balance,
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:459:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |         total_supply: Balance,
[INFO] [stdout]    |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:465:36
[INFO] [stdout]    |
[INFO] [stdout] 23 |         pub fn new(initial_supply: Balance) -> Self {
[INFO] [stdout]    |                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope
[INFO] [stdout]   --> src/lib.rs:476:39
[INFO] [stdout]    |
[INFO] [stdout] 34 |         pub fn total_supply(&self) -> Balance {
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `env` found for struct `Erc20` in the current scope
[INFO] [stdout]   --> src/lib.rs:466:32
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub struct Erc20 {
[INFO] [stdout]    |     ---------------- function or associated item `env` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 24 |             let caller = Self::env().caller();
[INFO] [stdout]    |                                ^^^ function or associated item not found in `Erc20`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `env` found for struct `Erc20` in the current scope
[INFO] [stdout]   --> src/lib.rs:467:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub struct Erc20 {
[INFO] [stdout]    |     ---------------- function or associated item `env` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 25 |             Self::env().emit_event(Transferred {
[INFO] [stdout]    |                   ^^^ function or associated item not found in `Erc20`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - chain_extension (line 676)
[INFO] [stdout]     src/lib.rs - chain_extension (line 687)
[INFO] [stdout]     src/lib.rs - chain_extension (line 750)
[INFO] [stdout]     src/lib.rs - chain_extension (line 773)
[INFO] [stdout]     src/lib.rs - chain_extension (line 896)
[INFO] [stdout]     src/lib.rs - chain_extension (line 931)
[INFO] [stdout]     src/lib.rs - contract (line 117)
[INFO] [stdout]     src/lib.rs - contract (line 149)
[INFO] [stdout]     src/lib.rs - contract (line 166)
[INFO] [stdout]     src/lib.rs - contract (line 215)
[INFO] [stdout]     src/lib.rs - contract (line 244)
[INFO] [stdout]     src/lib.rs - contract (line 282)
[INFO] [stdout]     src/lib.rs - contract (line 320)
[INFO] [stdout]     src/lib.rs - contract (line 359)
[INFO] [stdout]     src/lib.rs - contract (line 396)
[INFO] [stdout]     src/lib.rs - contract (line 407)
[INFO] [stdout]     src/lib.rs - contract (line 444)
[INFO] [stdout]     src/lib.rs - contract (line 494)
[INFO] [stdout]     src/lib.rs - contract (line 72)
[INFO] [stdout]     src/lib.rs - contract (line 82)
[INFO] [stdout]     src/lib.rs - test (line 616)
[INFO] [stdout]     src/lib.rs - trait_definition (line 529)
[INFO] [stdout]     src/lib.rs - trait_definition (line 551)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 23 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.68s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "86201d5bfc80aea1233bfc4d2dafc0745a431ce79f98cfc020777447b3af6d5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86201d5bfc80aea1233bfc4d2dafc0745a431ce79f98cfc020777447b3af6d5d", kill_on_drop: false }`
[INFO] [stdout] 86201d5bfc80aea1233bfc4d2dafc0745a431ce79f98cfc020777447b3af6d5d
