[INFO] fetching crate ckb-jsonrpc-types 0.101.2-testnet1... [INFO] testing ckb-jsonrpc-types-0.101.2-testnet1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate ckb-jsonrpc-types 0.101.2-testnet1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ckb-jsonrpc-types 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-jsonrpc-types 0.101.2-testnet1 [INFO] finished tweaking crates.io crate ckb-jsonrpc-types 0.101.2-testnet1 [INFO] tweaked toml for crates.io crate ckb-jsonrpc-types 0.101.2-testnet1 written to /workspace/builds/worker-1/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cb30bf6e883750a61de2c8fb6ca65f589442463a6481d497c93b8f39592fbf01 [INFO] running `Command { std: "docker" "start" "-a" "cb30bf6e883750a61de2c8fb6ca65f589442463a6481d497c93b8f39592fbf01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb30bf6e883750a61de2c8fb6ca65f589442463a6481d497c93b8f39592fbf01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb30bf6e883750a61de2c8fb6ca65f589442463a6481d497c93b8f39592fbf01", kill_on_drop: false }` [INFO] [stdout] cb30bf6e883750a61de2c8fb6ca65f589442463a6481d497c93b8f39592fbf01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 384b4c6b3c01c766b0c79755b96886b74bc3954ab540ad862fcc5856b3bfb9f6 [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" "384b4c6b3c01c766b0c79755b96886b74bc3954ab540ad862fcc5856b3bfb9f6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling ckb-hash v0.101.2-testnet1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling numext-fixed-uint-core v0.1.6 [INFO] [stderr] Compiling ckb-occupied-capacity-core v0.101.2-testnet1 [INFO] [stderr] Compiling ckb-fixed-hash-core v0.101.2-testnet1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.101.2-testnet1 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.101.2-testnet1 [INFO] [stderr] Compiling molecule v0.7.2 [INFO] [stderr] Compiling ckb-occupied-capacity v0.101.2-testnet1 [INFO] [stderr] Compiling ckb-error v0.101.2-testnet1 [INFO] [stderr] Compiling ckb-fixed-hash v0.101.2-testnet1 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Compiling numext-fixed-uint v0.1.6 [INFO] [stderr] Compiling ckb-rational v0.101.2-testnet1 [INFO] [stderr] Compiling ckb-types v0.101.2-testnet1 [INFO] [stderr] Compiling ckb-jsonrpc-types v0.101.2-testnet1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "384b4c6b3c01c766b0c79755b96886b74bc3954ab540ad862fcc5856b3bfb9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384b4c6b3c01c766b0c79755b96886b74bc3954ab540ad862fcc5856b3bfb9f6", kill_on_drop: false }` [INFO] [stdout] 384b4c6b3c01c766b0c79755b96886b74bc3954ab540ad862fcc5856b3bfb9f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] 9f34d5bd79aaaa93686f40483664d3189d95439b6b328bc923c4856aeab85fa3 [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" "9f34d5bd79aaaa93686f40483664d3189d95439b6b328bc923c4856aeab85fa3", kill_on_drop: false }` [INFO] [stderr] Compiling ckb-jsonrpc-types v0.101.2-testnet1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest` [INFO] [stdout] --> src/tests/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proptest::{collection::size_range, prelude::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `proptest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/tests/bytes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `lazy_static`, `proptest::collection::size_range` [INFO] [stdout] --> src/tests/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `lazy_static` [INFO] [stdout] 3 | use proptest::{collection::size_range, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/tests/blockchain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `prop_assert_eq` in this scope [INFO] [stdout] --> src/tests/blockchain.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | prop_assert_eq!(decode_block.data(), block.data()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `prop_assert_eq` in this scope [INFO] [stdout] --> src/tests/blockchain.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | prop_assert_eq!(decode_block, block); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `lazy_static` [INFO] [stdout] --> src/tests/blockchain.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> src/tests/blockchain.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestCaseError` in this scope [INFO] [stdout] --> src/tests/blockchain.rs:144:63 [INFO] [stdout] | [INFO] [stdout] 144 | fn _test_block_convert(data: Bytes, arg: Bytes) -> Result<(), TestCaseError> { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RE` in this scope [INFO] [stdout] --> src/tests/blockchain.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | for caps in RE.captures_iter(json) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ckb-jsonrpc-types` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "9f34d5bd79aaaa93686f40483664d3189d95439b6b328bc923c4856aeab85fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f34d5bd79aaaa93686f40483664d3189d95439b6b328bc923c4856aeab85fa3", kill_on_drop: false }` [INFO] [stdout] 9f34d5bd79aaaa93686f40483664d3189d95439b6b328bc923c4856aeab85fa3