[INFO] fetching crate contract-transcode 6.0.0-beta... [INFO] testing contract-transcode-6.0.0-beta against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate contract-transcode 6.0.0-beta into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate contract-transcode 6.0.0-beta [INFO] finished tweaking crates.io crate contract-transcode 6.0.0-beta [INFO] tweaked toml for crates.io crate contract-transcode 6.0.0-beta written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate contract-transcode 6.0.0-beta on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate contract-transcode 6.0.0-beta already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb378e01cc44661e3bca1a7fe144addeaf6891e6a9b4896d5cb4d56bf88c4d86 [INFO] running `Command { std: "docker" "start" "-a" "cb378e01cc44661e3bca1a7fe144addeaf6891e6a9b4896d5cb4d56bf88c4d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb378e01cc44661e3bca1a7fe144addeaf6891e6a9b4896d5cb4d56bf88c4d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb378e01cc44661e3bca1a7fe144addeaf6891e6a9b4896d5cb4d56bf88c4d86", kill_on_drop: false }` [INFO] [stdout] cb378e01cc44661e3bca1a7fe144addeaf6891e6a9b4896d5cb4d56bf88c4d86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6677b931fbe216dee3dc1b7aa3115c8ced689abe1564f9b09073665525246070 [INFO] running `Command { std: "docker" "start" "-a" "6677b931fbe216dee3dc1b7aa3115c8ced689abe1564f9b09073665525246070", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.7 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling jam-codec v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling const-hex v1.16.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling scale-type-resolver v0.2.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling ruint v1.17.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling ink_prelude v6.0.0-beta [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling sha2-const-stable v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.12 [INFO] [stderr] Compiling keccak-const v0.2.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hex-literal v1.0.0 [INFO] [stderr] Compiling const-crypto v0.3.0 [INFO] [stderr] Compiling brownstone v1.1.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling ink_allocator v6.0.0-beta [INFO] [stderr] Compiling joinery v2.1.0 [INFO] [stderr] Compiling indent_write v2.2.0 [INFO] [stderr] Compiling escape8259 v0.5.3 [INFO] [stderr] Compiling nom-supreme v0.7.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling syn-solidity v1.4.0 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling regex v1.12.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling jam-codec-derive v0.1.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling alloy-sol-macro-input v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.4.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling scale-encode-derive v0.10.0 [INFO] [stderr] Compiling scale-decode-derive v0.16.0 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling pallet-revive-proc-macro v0.5.0 [INFO] [stderr] Compiling const_env_impl v0.1.2 [INFO] [stderr] Compiling schnorrkel v0.11.5 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling ed25519-zebra v4.1.0 [INFO] [stderr] Compiling secp256k1 v0.30.0 [INFO] [stderr] Compiling const_env v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pallet-revive-uapi v0.8.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling scale-bits v0.7.0 [INFO] [stderr] Compiling scale-encode v0.10.0 [INFO] [stderr] Compiling scale-decode v0.16.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling contract-metadata v6.0.0-beta [INFO] [stderr] Compiling alloy-sol-macro v1.4.0 [INFO] [stderr] Compiling alloy-primitives v1.4.0 [INFO] [stderr] Compiling alloy-sol-types v1.4.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-core v38.1.0 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling sp-arithmetic v28.0.0 [INFO] [stderr] Compiling sp-weights v33.1.0 [INFO] [stderr] Compiling ink_primitives v6.0.0-beta [INFO] [stderr] Compiling ink_metadata v6.0.0-beta [INFO] [stderr] Compiling ink_engine v6.0.0-beta [INFO] [stderr] Compiling ink_storage_traits v6.0.0-beta [INFO] [stderr] Compiling ink_env v6.0.0-beta [INFO] [stderr] Compiling contract-transcode v6.0.0-beta (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "6677b931fbe216dee3dc1b7aa3115c8ced689abe1564f9b09073665525246070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6677b931fbe216dee3dc1b7aa3115c8ced689abe1564f9b09073665525246070", kill_on_drop: false }` [INFO] [stdout] 6677b931fbe216dee3dc1b7aa3115c8ced689abe1564f9b09073665525246070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b4e8ca494bd84d39cbe5b83b2e596f932ef67627cef0e354219497dd1be1862 [INFO] running `Command { std: "docker" "start" "-a" "8b4e8ca494bd84d39cbe5b83b2e596f932ef67627cef0e354219497dd1be1862", kill_on_drop: false }` [INFO] [stderr] Compiling contract-transcode v6.0.0-beta (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] --> src/account_id.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use sp_core::crypto::Ss58Codec; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/account_id.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | use sp_keyring::Sr25519Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_keyring` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_keyring`, use `cargo add sp_keyring` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:851:13 [INFO] [stdout] | [INFO] [stdout] 851 | use ink::primitives::LangError; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/scon/parse.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `std::assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:528:7 [INFO] [stdout] | [INFO] [stdout] 528 | #[ink::contract] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:530:11 [INFO] [stdout] | [INFO] [stdout] 530 | #[ink(storage)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:535:11 [INFO] [stdout] | [INFO] [stdout] 535 | #[ink(event)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:537:15 [INFO] [stdout] | [INFO] [stdout] 537 | #[ink(topic)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:539:15 [INFO] [stdout] | [INFO] [stdout] 539 | #[ink(topic)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:544:15 [INFO] [stdout] | [INFO] [stdout] 544 | #[ink(constructor)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:549:15 [INFO] [stdout] | [INFO] [stdout] 549 | #[ink(constructor)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:554:15 [INFO] [stdout] | [INFO] [stdout] 554 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:559:15 [INFO] [stdout] | [INFO] [stdout] 559 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:591:15 [INFO] [stdout] | [INFO] [stdout] 591 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:596:15 [INFO] [stdout] | [INFO] [stdout] 596 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:601:15 [INFO] [stdout] | [INFO] [stdout] 601 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:612:15 [INFO] [stdout] | [INFO] [stdout] 612 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ink` in this scope [INFO] [stdout] --> src/lib.rs:617:15 [INFO] [stdout] | [INFO] [stdout] 617 | #[ink(message)] [INFO] [stdout] | ^^^ help: a built-in attribute with a similar name exists: `link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:804:13 [INFO] [stdout] | [INFO] [stdout] 804 | ink::primitives::LangError, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:837:38 [INFO] [stdout] | [INFO] [stdout] 837 | let encoded = Result::::Ok(true).encode(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:879:35 [INFO] [stdout] | [INFO] [stdout] 879 | ::SIGNATURE_TOPIC [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:904:35 [INFO] [stdout] | [INFO] [stdout] 904 | ::SIGNATURE_TOPIC [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:970:35 [INFO] [stdout] | [INFO] [stdout] 970 | ::SIGNATURE_TOPIC [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] --> src/account_id.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | sp_core::crypto::AccountId32::from_ss58check(&substrate_ss58).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 212 + use crate::AccountId32; [INFO] [stdout] | [INFO] [stdout] help: if you import `AccountId32`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 237 - sp_core::crypto::AccountId32::from_ss58check(&substrate_ss58).unwrap(), [INFO] [stdout] 237 + AccountId32::from_ss58check(&substrate_ss58).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Hash` [INFO] [stdout] --> src/lib.rs:538:19 [INFO] [stdout] | [INFO] [stdout] 538 | name: Hash, [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 530 + use crate::env_types::Hash; [INFO] [stdout] | [INFO] [stdout] 530 + use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 530 + use ink_env::types::Hash; [INFO] [stdout] | [INFO] [stdout] 530 + use nom::lib::std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> src/lib.rs:540:19 [INFO] [stdout] | [INFO] [stdout] 540 | from: AccountId, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 530 + use crate::env_types::AccountId; [INFO] [stdout] | [INFO] [stdout] 530 + use ink_env::types::AccountId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> src/lib.rs:567:57 [INFO] [stdout] | [INFO] [stdout] 567 | ) -> (u32, ink::H160, ink::H256, ink::U256, AccountId) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 530 + use crate::env_types::AccountId; [INFO] [stdout] | [INFO] [stdout] 530 + use ink_env::types::AccountId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | ink::U256::one(), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 530 + use crate::env_types::U256; [INFO] [stdout] | [INFO] [stdout] 530 + use primitive_types::U256; [INFO] [stdout] | [INFO] [stdout] help: if you import `U256`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 573 - ink::U256::one(), [INFO] [stdout] 573 + U256::one(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountId` [INFO] [stdout] --> src/lib.rs:574:21 [INFO] [stdout] | [INFO] [stdout] 574 | AccountId::from([0x17; 32]), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AccountId` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 530 + use crate::env_types::AccountId; [INFO] [stdout] | [INFO] [stdout] 530 + use ink_env::types::AccountId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> src/lib.rs:587:54 [INFO] [stdout] | [INFO] [stdout] 587 | pub fn set_account_id(&self, account_id: AccountId) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 530 + use crate::env_types::AccountId; [INFO] [stdout] | [INFO] [stdout] 530 + use ink_env::types::AccountId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountId` in this scope [INFO] [stdout] --> src/lib.rs:592:64 [INFO] [stdout] | [INFO] [stdout] 592 | pub fn set_account_ids_vec(&self, account_ids: Vec) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 530 + use crate::env_types::AccountId; [INFO] [stdout] | [INFO] [stdout] 530 + use ink_env::types::AccountId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:795:31 [INFO] [stdout] | [INFO] [stdout] 795 | let addr: ink::H160 = ink::H160::from([0x42; 20]); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 516 + use crate::env_types::H160; [INFO] [stdout] | [INFO] [stdout] 516 + use primitive_types::H160; [INFO] [stdout] | [INFO] [stdout] help: if you import `H160`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 795 - let addr: ink::H160 = ink::H160::from([0x42; 20]); [INFO] [stdout] 795 + let addr: ink::H160 = H160::from([0x42; 20]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:798:31 [INFO] [stdout] | [INFO] [stdout] 798 | let h256: ink::H256 = ink::H256::from([0x17; 32]); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 516 + use crate::env_types::H256; [INFO] [stdout] | [INFO] [stdout] 516 + use crate::tests::H256; [INFO] [stdout] | [INFO] [stdout] 516 + use primitive_types::H256; [INFO] [stdout] | [INFO] [stdout] help: if you import `H256`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 798 - let h256: ink::H256 = ink::H256::from([0x17; 32]); [INFO] [stdout] 798 + let h256: ink::H256 = H256::from([0x17; 32]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:800:32 [INFO] [stdout] | [INFO] [stdout] 800 | let value: ink::U256 = ink::U256::one(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 516 + use crate::env_types::U256; [INFO] [stdout] | [INFO] [stdout] 516 + use primitive_types::U256; [INFO] [stdout] | [INFO] [stdout] help: if you import `U256`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 800 - let value: ink::U256 = ink::U256::one(); [INFO] [stdout] 800 + let value: ink::U256 = U256::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account_id.rs:226:37 [INFO] [stdout] | [INFO] [stdout] 226 | let substrate_account = keyring.to_account_id(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `env` found for reference `&Transcode` in the current scope [INFO] [stdout] --> src/lib.rs:570:26 [INFO] [stdout] | [INFO] [stdout] 570 | self.env().address(), [INFO] [stdout] | ^^^ method not found in `&Transcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `env` found for reference `&Transcode` in the current scope [INFO] [stdout] --> src/lib.rs:571:26 [INFO] [stdout] | [INFO] [stdout] 571 | self.env().own_code_hash(), [INFO] [stdout] | ^^^ method not found in `&Transcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:567:24 [INFO] [stdout] | [INFO] [stdout] 567 | ) -> (u32, ink::H160, ink::H256, ink::U256, AccountId) { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:567:35 [INFO] [stdout] | [INFO] [stdout] 567 | ) -> (u32, ink::H160, ink::H256, ink::U256, AccountId) { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:567:46 [INFO] [stdout] | [INFO] [stdout] 567 | ) -> (u32, ink::H160, ink::H256, ink::U256, AccountId) { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:618:38 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn h160(&self, addr: ink::H160) { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:795:19 [INFO] [stdout] | [INFO] [stdout] 795 | let addr: ink::H160 = ink::H160::from([0x42; 20]); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:798:19 [INFO] [stdout] | [INFO] [stdout] 798 | let h256: ink::H256 = ink::H256::from([0x17; 32]); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:800:20 [INFO] [stdout] | [INFO] [stdout] 800 | let value: ink::U256 = ink::U256::one(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:803:19 [INFO] [stdout] | [INFO] [stdout] 803 | (u32, ink::H160, ink::H256, ink::U256, AccountId32), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:803:30 [INFO] [stdout] | [INFO] [stdout] 803 | (u32, ink::H160, ink::H256, ink::U256, AccountId32), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ink` [INFO] [stdout] --> src/lib.rs:803:41 [INFO] [stdout] | [INFO] [stdout] 803 | (u32, ink::H160, ink::H256, ink::U256, AccountId32), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ink` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ink`, use `cargo add ink` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433, E0573, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `contract-transcode` (lib test) due to 49 previous errors [INFO] running `Command { std: "docker" "inspect" "8b4e8ca494bd84d39cbe5b83b2e596f932ef67627cef0e354219497dd1be1862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4e8ca494bd84d39cbe5b83b2e596f932ef67627cef0e354219497dd1be1862", kill_on_drop: false }` [INFO] [stdout] 8b4e8ca494bd84d39cbe5b83b2e596f932ef67627cef0e354219497dd1be1862