[INFO] fetching crate ckb-fixed-hash-core 0.112.1...
[INFO] checking ckb-fixed-hash-core-0.112.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate ckb-fixed-hash-core 0.112.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate ckb-fixed-hash-core 0.112.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ckb-fixed-hash-core 0.112.1
[INFO] finished tweaking crates.io crate ckb-fixed-hash-core 0.112.1
[INFO] tweaked toml for crates.io crate ckb-fixed-hash-core 0.112.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded faster-hex v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c95a01a66dff03fd1dfff953d1fc7ffab73690af025d7f782b0a3ce56c8d55c2
[INFO] running `Command { std: "docker" "start" "-a" "c95a01a66dff03fd1dfff953d1fc7ffab73690af025d7f782b0a3ce56c8d55c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c95a01a66dff03fd1dfff953d1fc7ffab73690af025d7f782b0a3ce56c8d55c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c95a01a66dff03fd1dfff953d1fc7ffab73690af025d7f782b0a3ce56c8d55c2", kill_on_drop: false }`
[INFO] [stdout] c95a01a66dff03fd1dfff953d1fc7ffab73690af025d7f782b0a3ce56c8d55c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a466b3b8ce60703480c385debd0028cec77791892bfd1c99246d2d465759316f
[INFO] running `Command { std: "docker" "start" "-a" "a466b3b8ce60703480c385debd0028cec77791892bfd1c99246d2d465759316f", kill_on_drop: false }`
[INFO] [stderr]     Checking faster-hex v0.6.1
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking ckb-fixed-hash-core v0.112.1 (/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[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 21 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` (lib test) due to 22 previous errors
[INFO] running `Command { std: "docker" "inspect" "a466b3b8ce60703480c385debd0028cec77791892bfd1c99246d2d465759316f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a466b3b8ce60703480c385debd0028cec77791892bfd1c99246d2d465759316f", kill_on_drop: false }`
[INFO] [stdout] a466b3b8ce60703480c385debd0028cec77791892bfd1c99246d2d465759316f
[INFO] checking ckb-fixed-hash-core-0.112.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate ckb-fixed-hash-core 0.112.1 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate ckb-fixed-hash-core 0.112.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ckb-fixed-hash-core 0.112.1
[INFO] finished tweaking crates.io crate ckb-fixed-hash-core 0.112.1
[INFO] tweaked toml for crates.io crate ckb-fixed-hash-core 0.112.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cd3c8393679eaa70246d29ccae986522ac234bb6b6fa1fc896ed93a9b6c723fc
[INFO] running `Command { std: "docker" "start" "-a" "cd3c8393679eaa70246d29ccae986522ac234bb6b6fa1fc896ed93a9b6c723fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd3c8393679eaa70246d29ccae986522ac234bb6b6fa1fc896ed93a9b6c723fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd3c8393679eaa70246d29ccae986522ac234bb6b6fa1fc896ed93a9b6c723fc", kill_on_drop: false }`
[INFO] [stdout] cd3c8393679eaa70246d29ccae986522ac234bb6b6fa1fc896ed93a9b6c723fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e144e22fddf28b2701a2defaf91f0ee866b3f3fabc0a3da2d781d6431ddc52f
[INFO] running `Command { std: "docker" "start" "-a" "9e144e22fddf28b2701a2defaf91f0ee866b3f3fabc0a3da2d781d6431ddc52f", kill_on_drop: false }`
[INFO] [stderr]     Checking faster-hex v0.6.1
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking ckb-fixed-hash-core v0.112.1 (/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[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 21 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` (lib test) due to 22 previous errors
[INFO] running `Command { std: "docker" "inspect" "9e144e22fddf28b2701a2defaf91f0ee866b3f3fabc0a3da2d781d6431ddc52f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e144e22fddf28b2701a2defaf91f0ee866b3f3fabc0a3da2d781d6431ddc52f", kill_on_drop: false }`
[INFO] [stdout] 9e144e22fddf28b2701a2defaf91f0ee866b3f3fabc0a3da2d781d6431ddc52f
