[INFO] fetching crate ink_metadata 6.0.0-beta.1... [INFO] testing ink_metadata-6.0.0-beta.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate ink_metadata 6.0.0-beta.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ink_metadata 6.0.0-beta.1 [INFO] finished tweaking crates.io crate ink_metadata 6.0.0-beta.1 [INFO] tweaked toml for crates.io crate ink_metadata 6.0.0-beta.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ink_metadata 6.0.0-beta.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ink_metadata 6.0.0-beta.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9660b5e3f6bf2088c27bdfb65593ec13ee0f5897f54ea14f9d314f6bf659512a [INFO] running `Command { std: "docker" "start" "-a" "9660b5e3f6bf2088c27bdfb65593ec13ee0f5897f54ea14f9d314f6bf659512a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9660b5e3f6bf2088c27bdfb65593ec13ee0f5897f54ea14f9d314f6bf659512a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9660b5e3f6bf2088c27bdfb65593ec13ee0f5897f54ea14f9d314f6bf659512a", kill_on_drop: false }` [INFO] [stdout] 9660b5e3f6bf2088c27bdfb65593ec13ee0f5897f54ea14f9d314f6bf659512a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc7faefdd5743ba8b2d038c2477ce49076a243e739da2dc4ecf2b06e6c3f7dcc [INFO] running `Command { std: "docker" "start" "-a" "cc7faefdd5743ba8b2d038c2477ce49076a243e739da2dc4ecf2b06e6c3f7dcc", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling jam-codec v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const-hex v1.17.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling scale-type-resolver v0.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling ruint v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ink_prelude v6.0.0-beta.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling syn-solidity v1.4.1 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling jam-codec-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling crypto-common v0.1.7 [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 futures-util v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling alloy-sol-macro-input v1.4.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.4.1 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling pallet-revive-proc-macro v0.5.0 [INFO] [stderr] Compiling schnorrkel v0.11.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ed25519-zebra v4.1.0 [INFO] [stderr] Compiling scale-decode-derive v0.16.0 [INFO] [stderr] Compiling scale-encode-derive v0.10.0 [INFO] [stderr] Compiling pallet-revive-uapi v0.8.0 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling alloy-primitives v1.4.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling alloy-sol-macro v1.4.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling alloy-sol-types v1.4.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling scale-bits v0.7.0 [INFO] [stderr] Compiling scale-encode v0.10.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling scale-decode v0.16.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling sp-core v38.1.0 [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.1 [INFO] [stderr] Compiling ink_metadata v6.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "cc7faefdd5743ba8b2d038c2477ce49076a243e739da2dc4ecf2b06e6c3f7dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc7faefdd5743ba8b2d038c2477ce49076a243e739da2dc4ecf2b06e6c3f7dcc", kill_on_drop: false }` [INFO] [stdout] cc7faefdd5743ba8b2d038c2477ce49076a243e739da2dc4ecf2b06e6c3f7dcc [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 730174ff3ab1130e702660693001e784402e57658a39b82287c83398fea76df5 [INFO] running `Command { std: "docker" "start" "-a" "730174ff3ab1130e702660693001e784402e57658a39b82287c83398fea76df5", kill_on_drop: false }` [INFO] [stderr] Compiling ink_metadata v6.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> src/tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pretty_assertions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty_assertions`, use `cargo add pretty_assertions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | let expected = serde_json::json!( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | let expected = serde_json::json! { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | let expected = serde_json::json! { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | let expected = serde_json::json! { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let expected = serde_json::json! { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let expected = serde_json::json! { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:879:31 [INFO] [stdout] | [INFO] [stdout] 879 | let expected_event_spec = serde_json::json!( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 846 | let expected_message_spec = serde_json::json!( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:813:37 [INFO] [stdout] | [INFO] [stdout] 813 | let expected_constructor_spec = serde_json::json!( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:703:31 [INFO] [stdout] | [INFO] [stdout] 703 | let expected_event_spec = serde_json::json!( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | let json = serde_json::to_value(&portable_spec).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | serde_json::from_value(json.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:423:16 [INFO] [stdout] | [INFO] [stdout] 423 | let json = serde_json::to_value(contract.into_portable(&mut registry)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:597:16 [INFO] [stdout] | [INFO] [stdout] 597 | let json = serde_json::to_value(&compact_spec).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | serde_json::from_value(json.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:649:16 [INFO] [stdout] | [INFO] [stdout] 649 | let json = serde_json::to_value(&compact_spec).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | serde_json::from_value(json.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:700:27 [INFO] [stdout] | [INFO] [stdout] 700 | let event_spec_name = serde_json::to_value(es).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:812:28 [INFO] [stdout] | [INFO] [stdout] 812 | let constructor_spec = serde_json::to_value(&spec.constructors()[0]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:845:24 [INFO] [stdout] | [INFO] [stdout] 845 | let message_spec = serde_json::to_value(&spec.messages()[0]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/tests.rs:878:22 [INFO] [stdout] | [INFO] [stdout] 878 | let event_spec = serde_json::to_value(&spec.events()[0]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let json = serde_json::to_string(&layout_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | let json = serde_json::to_value(&compacted).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | let json = serde_json::to_value(&compacted).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | let json = serde_json::to_value(&compacted).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | let json = serde_json::to_value(&compacted).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | let json = serde_json::to_value(&compacted).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> src/layout/tests.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | let json = serde_json::to_value(&root_layout).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ink_metadata` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "730174ff3ab1130e702660693001e784402e57658a39b82287c83398fea76df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730174ff3ab1130e702660693001e784402e57658a39b82287c83398fea76df5", kill_on_drop: false }` [INFO] [stdout] 730174ff3ab1130e702660693001e784402e57658a39b82287c83398fea76df5