[INFO] fetching crate ckb-fixed-hash-core 0.101.2-testnet1... [INFO] testing ckb-fixed-hash-core-0.101.2-testnet1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate ckb-fixed-hash-core 0.101.2-testnet1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate ckb-fixed-hash-core 0.101.2-testnet1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ckb-fixed-hash-core 0.101.2-testnet1 [INFO] finished tweaking crates.io crate ckb-fixed-hash-core 0.101.2-testnet1 [INFO] tweaked toml for crates.io crate ckb-fixed-hash-core 0.101.2-testnet1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb3fdcb0cfbcdf587cd3d073024df88ccac36b329d5eb73880982e0133f6ad8e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eb3fdcb0cfbcdf587cd3d073024df88ccac36b329d5eb73880982e0133f6ad8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb3fdcb0cfbcdf587cd3d073024df88ccac36b329d5eb73880982e0133f6ad8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb3fdcb0cfbcdf587cd3d073024df88ccac36b329d5eb73880982e0133f6ad8e", kill_on_drop: false }` [INFO] [stdout] eb3fdcb0cfbcdf587cd3d073024df88ccac36b329d5eb73880982e0133f6ad8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0f98deba6128e4ceba31f75f00fd708359986ef69ff76dc42a607595c0b1db3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e0f98deba6128e4ceba31f75f00fd708359986ef69ff76dc42a607595c0b1db3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ckb-fixed-hash-core v0.101.2-testnet1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.35s [INFO] running `Command { std: "docker" "inspect" "e0f98deba6128e4ceba31f75f00fd708359986ef69ff76dc42a607595c0b1db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f98deba6128e4ceba31f75f00fd708359986ef69ff76dc42a607595c0b1db3", kill_on_drop: false }` [INFO] [stdout] e0f98deba6128e4ceba31f75f00fd708359986ef69ff76dc42a607595c0b1db3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fb21d7029c2669fa2fe438f209bbbf6071a5a76ac77917759b85fc1407e2c60b [INFO] running `Command { std: "docker" "start" "-a" "fb21d7029c2669fa2fe438f209bbbf6071a5a76ac77917759b85fc1407e2c60b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ckb-fixed-hash-core v0.101.2-testnet1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/tests/serde.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | let from_serde: $type = serde_json::from_value(json!(simple_0x_str)).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:21:79 [INFO] [stdout] | [INFO] [stdout] 21 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(short_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:26:79 [INFO] [stdout] | [INFO] [stdout] 26 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(long_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:31:79 [INFO] [stdout] | [INFO] [stdout] 31 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(invalid_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value(json!(invalid_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | let from_serde: $type = serde_json::from_value(json!(simple_0x_str)).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:21:79 [INFO] [stdout] | [INFO] [stdout] 21 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(short_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:26:79 [INFO] [stdout] | [INFO] [stdout] 26 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(long_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:31:79 [INFO] [stdout] | [INFO] [stdout] 31 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(invalid_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value(json!(invalid_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | let from_serde: $type = serde_json::from_value(json!(simple_0x_str)).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:21:79 [INFO] [stdout] | [INFO] [stdout] 21 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(short_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:26:79 [INFO] [stdout] | [INFO] [stdout] 26 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(long_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:31:79 [INFO] [stdout] | [INFO] [stdout] 31 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(invalid_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value(json!(invalid_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | let from_serde: $type = serde_json::from_value(json!(simple_0x_str)).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:21:79 [INFO] [stdout] | [INFO] [stdout] 21 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(short_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:26:79 [INFO] [stdout] | [INFO] [stdout] 26 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(long_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:31:79 [INFO] [stdout] | [INFO] [stdout] 31 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(invalid_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/tests/serde.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value(json!(invalid_0x_str)); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | let from_serde: $type = serde_json::from_value(json!(simple_0x_str)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(short_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(long_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(invalid_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value(json!(invalid_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 44 | add_tests!(test_h160, H160, 20); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | let from_serde: $type = serde_json::from_value(json!(simple_0x_str)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(short_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(long_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(invalid_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value(json!(invalid_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 45 | add_tests!(test_h256, H256, 32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | let from_serde: $type = serde_json::from_value(json!(simple_0x_str)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(short_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(long_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(invalid_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value(json!(invalid_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 46 | add_tests!(test_h512, H512, 64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | let from_serde: $type = serde_json::from_value(json!(simple_0x_str)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(short_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(long_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | let from_serde_res: Result<$type, _> = serde_json::from_value(json!(invalid_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/tests/serde.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | serde_json::from_value(json!(invalid_0x_str)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] ... [INFO] [stdout] 47 | add_tests!(test_h520, H520, 65); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors [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 `ckb-fixed-hash-core` due to 42 previous errors [INFO] running `Command { std: "docker" "inspect" "fb21d7029c2669fa2fe438f209bbbf6071a5a76ac77917759b85fc1407e2c60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb21d7029c2669fa2fe438f209bbbf6071a5a76ac77917759b85fc1407e2c60b", kill_on_drop: false }` [INFO] [stdout] fb21d7029c2669fa2fe438f209bbbf6071a5a76ac77917759b85fc1407e2c60b