[INFO] fetching crate pro_lang_macro 3.0.0-rc2... [INFO] testing pro_lang_macro-3.0.0-rc2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate pro_lang_macro 3.0.0-rc2 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate pro_lang_macro 3.0.0-rc2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pro_lang_macro 3.0.0-rc2 [INFO] finished tweaking crates.io crate pro_lang_macro 3.0.0-rc2 [INFO] tweaked toml for crates.io crate pro_lang_macro 3.0.0-rc2 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pro_lang_codegen v3.0.0-rc2 [INFO] [stderr] Downloaded pro_lang_ir v3.0.0-rc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 234e70883ad045f22c99b6347548b24ad730b34bd9a7442346238b284f74c5e6 [INFO] running `Command { std: "docker" "start" "-a" "234e70883ad045f22c99b6347548b24ad730b34bd9a7442346238b284f74c5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "234e70883ad045f22c99b6347548b24ad730b34bd9a7442346238b284f74c5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "234e70883ad045f22c99b6347548b24ad730b34bd9a7442346238b284f74c5e6", kill_on_drop: false }` [INFO] [stdout] 234e70883ad045f22c99b6347548b24ad730b34bd9a7442346238b284f74c5e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03fd9c48bd91391aa27e05503a672434f87855e600287aed32ac16a6d1d2f83d [INFO] running `Command { std: "docker" "start" "-a" "03fd9c48bd91391aa27e05503a672434f87855e600287aed32ac16a6d1d2f83d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pro_prelude v3.0.0-rc2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling pro_lang_ir v3.0.0-rc2 [INFO] [stderr] Compiling tetsy-scale-codec-derive v2.0.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tetsy-scale-info-derive v0.3.0 [INFO] [stderr] Compiling tetsy-scale-codec v2.0.1 [INFO] [stderr] Compiling pro_lang_codegen v3.0.0-rc2 [INFO] [stderr] Compiling tetsy-scale-info v0.5.1 [INFO] [stderr] Compiling pro_primitives v3.0.0-rc2 [INFO] [stderr] Compiling pro_lang_macro v3.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.24s [INFO] running `Command { std: "docker" "inspect" "03fd9c48bd91391aa27e05503a672434f87855e600287aed32ac16a6d1d2f83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03fd9c48bd91391aa27e05503a672434f87855e600287aed32ac16a6d1d2f83d", kill_on_drop: false }` [INFO] [stdout] 03fd9c48bd91391aa27e05503a672434f87855e600287aed32ac16a6d1d2f83d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5f544d33c4b40a8da344b3aa5277caf532f0848b4fcb7947b6586c16ba26ba8 [INFO] running `Command { std: "docker" "start" "-a" "e5f544d33c4b40a8da344b3aa5277caf532f0848b4fcb7947b6586c16ba26ba8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling trybuild v1.0.59 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pro_lang_macro v3.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.45s [INFO] running `Command { std: "docker" "inspect" "e5f544d33c4b40a8da344b3aa5277caf532f0848b4fcb7947b6586c16ba26ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f544d33c4b40a8da344b3aa5277caf532f0848b4fcb7947b6586c16ba26ba8", kill_on_drop: false }` [INFO] [stdout] e5f544d33c4b40a8da344b3aa5277caf532f0848b4fcb7947b6586c16ba26ba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 387c7046601db9b26ed6a0c11180e804a17b0fc30b4c859b16cf03bcd300c466 [INFO] running `Command { std: "docker" "start" "-a" "387c7046601db9b26ed6a0c11180e804a17b0fc30b4c859b16cf03bcd300c466", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pro_lang_macro-ddd097b6bd43dc58) [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 pro_lang_macro [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/lib.rs - chain_extension (line 685) ... FAILED [INFO] [stdout] test src/lib.rs - chain_extension (line 674) ... FAILED [INFO] [stdout] test src/lib.rs - chain_extension (line 748) ... FAILED [INFO] [stdout] test src/lib.rs - test (line 614) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 145) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 384) ... FAILED [INFO] [stdout] test src/lib.rs - trait_definition (line 527) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - chain_extension (line 928) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 235) ... FAILED [INFO] [stdout] test src/lib.rs - chain_extension (line 894) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 482) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 160) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 309) ... FAILED [INFO] [stdout] test src/lib.rs - trait_definition (line 549) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 432) ... FAILED [INFO] [stdout] test src/lib.rs - chain_extension (line 771) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 272) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 395) ... FAILED [INFO] [stdout] test src/lib.rs - contract (line 347) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - chain_extension (line 685) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:687:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::chain_extension` [INFO] [stdout] --> src/lib.rs:688:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[pro::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 `pro` [INFO] [stdout] --> src/lib.rs:691:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:692:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:693:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[pro(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:690:5 [INFO] [stdout] | [INFO] [stdout] 7 | type ErrorCode = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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 674) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:676:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::chain_extension` [INFO] [stdout] --> src/lib.rs:677:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[pro::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 `pro` [INFO] [stdout] --> src/lib.rs:680:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[pro(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:679:5 [INFO] [stdout] | [INFO] [stdout] 7 | type ErrorCode = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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 - chain_extension (line 748) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:749:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::chain_extension` [INFO] [stdout] --> src/lib.rs:751:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[pro::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:753: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:753:5 [INFO] [stdout] | [INFO] [stdout] 7 | type ErrorCode = MyErrorCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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 - test (line 614) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_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 71) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_storage` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pro_storage as storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no external crate `pro_storage` [INFO] [stdout] [INFO] [stdout] warning: type `_unused` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:74: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 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl pro_env::Environment for MyEnvironment { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pro_env` in the list of imported crates [INFO] [stdout] --> src/lib.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 12 | type ChainExtension = ::pro_env::NoChainExtension; [INFO] [stdout] | ^^^^^^^ could not find `pro_env` in the list of imported crates [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 384) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 3 | pro_env::test::run_test::(|_| { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:385:27 [INFO] [stdout] | [INFO] [stdout] 3 | pro_env::test::run_test::(|_| { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 4 | let caller = pro_env::caller::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:386:32 [INFO] [stdout] | [INFO] [stdout] 4 | let caller = pro_env::caller::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_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 - trait_definition (line 527) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:528:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::trait_definition` [INFO] [stdout] --> src/lib.rs:531:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro::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 `pro` [INFO] [stdout] --> src/lib.rs:534:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:538:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[pro(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 `pro_env` [INFO] [stdout] --> src/lib.rs:529:48 [INFO] [stdout] | [INFO] [stdout] 4 | type Balance = ::Balance; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 4 | type Balance = ::Balance; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_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 207) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[pro::contract] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[pro(message)] [INFO] [stdout] | ^^^ [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 - chain_extension (line 928) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:929:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:933:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:931:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[pro::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 `pro::chain_extension` [INFO] [stdout] --> src/lib.rs:982:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[pro::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 `pro` [INFO] [stdout] --> src/lib.rs:935:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:939:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:942:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:949:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:956:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:967:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:974:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:985:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:987:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:989:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:991:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:993:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[pro(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 `pro_env` [INFO] [stdout] --> src/lib.rs:1032:6 [INFO] [stdout] | [INFO] [stdout] 106 | impl pro_env::chain_extension::FromStatusCode for ReadWriteErrorCode { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1044:6 [INFO] [stdout] | [INFO] [stdout] 118 | impl pro_env::Environment for CustomEnvironment { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1046:41 [INFO] [stdout] | [INFO] [stdout] 120 | ::MAX_EVENT_TOPICS; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1046:10 [INFO] [stdout] | [INFO] [stdout] 120 | ::MAX_EVENT_TOPICS; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1048:54 [INFO] [stdout] | [INFO] [stdout] 122 | type AccountId = ::AccountId; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1048:23 [INFO] [stdout] | [INFO] [stdout] 122 | type AccountId = ::AccountId; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1049:52 [INFO] [stdout] | [INFO] [stdout] 123 | type Balance = ::Balance; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1049:21 [INFO] [stdout] | [INFO] [stdout] 123 | type Balance = ::Balance; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1050:49 [INFO] [stdout] | [INFO] [stdout] 124 | type Hash = ::Hash; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1050:18 [INFO] [stdout] | [INFO] [stdout] 124 | type Hash = ::Hash; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1051:56 [INFO] [stdout] | [INFO] [stdout] 125 | type BlockNumber = ::BlockNumber; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1051:25 [INFO] [stdout] | [INFO] [stdout] 125 | type BlockNumber = ::BlockNumber; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1052:54 [INFO] [stdout] | [INFO] [stdout] 126 | type Timestamp = ::Timestamp; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:1052:23 [INFO] [stdout] | [INFO] [stdout] 126 | type Timestamp = ::Timestamp; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0658]: associated type defaults are unstable [INFO] [stdout] --> src/lib.rs:984:5 [INFO] [stdout] | [INFO] [stdout] 58 | type ErrorCode = ReadWriteErrorCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29661 for more information [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 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 235) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[pro::contract] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:239:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:244:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:248:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[pro(message)] [INFO] [stdout] | ^^^ [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 - chain_extension (line 894) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_env` [INFO] [stdout] --> src/lib.rs:897:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pro_env::{Environment, DefaultEnvironment}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_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 - contract (line 482) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:485:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[pro::contract] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:494:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:500:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[pro(message)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:506:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[pro(message)] [INFO] [stdout] | ^^^ [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 114) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[pro::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 `pro` in this scope [INFO] [stdout] --> src/lib.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:121:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(message)] [INFO] [stdout] | ^^^ [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 160) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[pro::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 `pro` in this scope [INFO] [stdout] --> src/lib.rs:176:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[pro(message)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:166:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl pro_env::Environment for MyEnvironment { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pro_env` in the list of imported crates [INFO] [stdout] --> src/lib.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 15 | type ChainExtension = ::pro_env::NoChainExtension; [INFO] [stdout] | ^^^^^^^ could not find `pro_env` in the list of imported crates [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] ---- src/lib.rs - contract (line 309) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:311:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[pro::contract] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:313:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:318:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:323:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[pro(message)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[pro(payable)] // You can either specify payable out-of-line. [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:330:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[pro(message, payable)] // ... or specify payable inline. [INFO] [stdout] | ^^^ [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 - trait_definition (line 549) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:552:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[pro::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 `pro_lang` [INFO] [stdout] --> src/lib.rs:555:6 [INFO] [stdout] | [INFO] [stdout] 8 | #[pro_lang::trait_definition] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:558:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:562:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[pro(message)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:566:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:573:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:579:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[pro(message)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope [INFO] [stdout] --> src/lib.rs:559: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:563: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:568: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:574: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:580: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 432) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:435:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[pro::contract] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:438:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[pro(event)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:445:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[pro(message)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> src/lib.rs:440:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Transferred { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | from: Option, [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:441:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Transferred { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | from: Option, [INFO] [stdout] 11 | to: Option, [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:442: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:447: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:453: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:464: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:454: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:455: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] ---- src/lib.rs - chain_extension (line 771) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::chain_extension` [INFO] [stdout] --> src/lib.rs:775:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro::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 `pro` [INFO] [stdout] --> src/lib.rs:784:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:801:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:809:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:817:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[pro(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 `pro` [INFO] [stdout] --> src/lib.rs:830:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[pro(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 `pro_env` [INFO] [stdout] --> src/lib.rs:869:6 [INFO] [stdout] | [INFO] [stdout] 100 | impl pro_env::chain_extension::FromStatusCode for ReadWriteErrorCode { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0658]: associated type defaults are unstable [INFO] [stdout] --> src/lib.rs:777:5 [INFO] [stdout] | [INFO] [stdout] 8 | type ErrorCode = ReadWriteErrorCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29661 for more information [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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 272) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:274:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[pro::contract] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:281:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:286:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[pro(message)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:292:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[pro(message)] [INFO] [stdout] | ^^^ [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 80) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[pro::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 `pro` in this scope [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(message)] [INFO] [stdout] | ^^^ [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 395) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:398:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[pro::contract] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:400:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:404:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:412:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[pro(message, payable)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 15 | pro_env::debug_println(&message); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pro_env` [INFO] [stdout] --> src/lib.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 24 | pro_env::debug_println(&message); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pro_env` [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:406:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Greeter; [INFO] [stdout] | ------------------- function or associated item `env` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | 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 mutable reference `&mut Greeter` in the current scope [INFO] [stdout] --> src/lib.rs:414:31 [INFO] [stdout] | [INFO] [stdout] 21 | let caller = self.env().caller(); [INFO] [stdout] | ^^^ method not found in `&mut Greeter` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `env` found for mutable reference `&mut Greeter` in the current scope [INFO] [stdout] --> src/lib.rs:415:30 [INFO] [stdout] | [INFO] [stdout] 22 | let value = self.env().transferred_balance(); [INFO] [stdout] | ^^^ method not found in `&mut Greeter` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, 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 - contract (line 347) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pro_lang` [INFO] [stdout] --> src/lib.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pro_lang as pro; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `pro_lang` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pro::contract` [INFO] [stdout] --> src/lib.rs:349:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[pro::contract] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:351:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[pro(storage)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:356:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[pro(constructor)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:357:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[pro(selector = "0xDEADBEEF")] // Works on constructors as well. [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:363:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[pro(message)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:364:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[pro(selector = "0xCAFEBABE")] // You can either specify selector out-of-line. [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pro` in this scope [INFO] [stdout] --> src/lib.rs:370:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[pro(message, selector = "0xFEEDBEEF")] // ... or specify selector inline. [INFO] [stdout] | ^^^ [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - chain_extension (line 674) [INFO] [stdout] src/lib.rs - chain_extension (line 685) [INFO] [stdout] src/lib.rs - chain_extension (line 748) [INFO] [stdout] src/lib.rs - chain_extension (line 771) [INFO] [stdout] src/lib.rs - chain_extension (line 894) [INFO] [stdout] src/lib.rs - chain_extension (line 928) [INFO] [stdout] src/lib.rs - contract (line 114) [INFO] [stdout] src/lib.rs - contract (line 145) [INFO] [stdout] src/lib.rs - contract (line 160) [INFO] [stdout] src/lib.rs - contract (line 207) [INFO] [stdout] src/lib.rs - contract (line 235) [INFO] [stdout] src/lib.rs - contract (line 272) [INFO] [stdout] src/lib.rs - contract (line 309) [INFO] [stdout] src/lib.rs - contract (line 347) [INFO] [stdout] src/lib.rs - contract (line 384) [INFO] [stdout] src/lib.rs - contract (line 395) [INFO] [stdout] src/lib.rs - contract (line 432) [INFO] [stdout] src/lib.rs - contract (line 482) [INFO] [stdout] src/lib.rs - contract (line 71) [INFO] [stdout] src/lib.rs - contract (line 80) [INFO] [stdout] src/lib.rs - test (line 614) [INFO] [stdout] src/lib.rs - trait_definition (line 527) [INFO] [stdout] src/lib.rs - trait_definition (line 549) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 23 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "387c7046601db9b26ed6a0c11180e804a17b0fc30b4c859b16cf03bcd300c466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "387c7046601db9b26ed6a0c11180e804a17b0fc30b4c859b16cf03bcd300c466", kill_on_drop: false }` [INFO] [stdout] 387c7046601db9b26ed6a0c11180e804a17b0fc30b4c859b16cf03bcd300c466