[INFO] fetching crate ckb-chain-spec 0.119.0... [INFO] checking ckb-chain-spec-0.119.0 against master#8549802939cd01111c46e34a7b67cb1933977af9 for pr-132712 [INFO] extracting crate ckb-chain-spec 0.119.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate ckb-chain-spec 0.119.0 on toolchain 8549802939cd01111c46e34a7b67cb1933977af9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ckb-chain-spec 0.119.0 [INFO] finished tweaking crates.io crate ckb-chain-spec 0.119.0 [INFO] tweaked toml for crates.io crate ckb-chain-spec 0.119.0 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" "+8549802939cd01111c46e34a7b67cb1933977af9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 167 packages to latest compatible versions [INFO] [stderr] Adding cacache v12.0.0 (available: v13.0.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2aa5674ca1a6a7701d2fff7e3d20b7cc54f46f8173b3f5c3a6811e614e9a10a9 [INFO] running `Command { std: "docker" "start" "-a" "2aa5674ca1a6a7701d2fff7e3d20b7cc54f46f8173b3f5c3a6811e614e9a10a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aa5674ca1a6a7701d2fff7e3d20b7cc54f46f8173b3f5c3a6811e614e9a10a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa5674ca1a6a7701d2fff7e3d20b7cc54f46f8173b3f5c3a6811e614e9a10a9", kill_on_drop: false }` [INFO] [stdout] 2aa5674ca1a6a7701d2fff7e3d20b7cc54f46f8173b3f5c3a6811e614e9a10a9 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 064a30b1c4c9ce4dc2abe306b11cde858f1f6f626bfd560934b344dbede94b9b [INFO] running `Command { std: "docker" "start" "-a" "064a30b1c4c9ce4dc2abe306b11cde858f1f6f626bfd560934b344dbede94b9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling ckb_schemars v0.8.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking blake2b-ref v0.3.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking golomb-coded-set v0.2.1 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking ckb-merkle-mountain-range v0.5.2 [INFO] [stderr] Checking ckb-constant v0.119.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling includedir v0.6.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking ckb-channel v0.119.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking eaglesong v0.1.0 [INFO] [stderr] Checking ckb-logger v0.119.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling ckb-hash v0.119.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking reflink-copy v0.1.19 [INFO] [stderr] Compiling ckb_schemars_derive v0.8.19 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling includedir_codegen v0.6.0 [INFO] [stderr] Compiling ckb-system-scripts v0.5.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking numext-fixed-uint-core v0.1.6 [INFO] [stderr] Checking ckb-occupied-capacity-core v0.119.0 [INFO] [stderr] Checking ssri v9.2.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking molecule v0.8.0 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.119.0 [INFO] [stderr] Checking ckb-occupied-capacity v0.119.0 [INFO] [stderr] Compiling ckb-error v0.119.0 [INFO] [stderr] Checking ckb-fixed-hash-core v0.119.0 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.119.0 [INFO] [stderr] Checking ckb-fixed-hash v0.119.0 [INFO] [stderr] Checking ckb-crypto v0.119.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking cacache v12.0.0 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Checking numext-fixed-uint v0.1.6 [INFO] [stderr] Compiling ckb-rational v0.119.0 [INFO] [stderr] Compiling ckb-gen-types v0.119.0 [INFO] [stderr] Checking ckb-types v0.119.0 [INFO] [stderr] Checking ckb-pow v0.119.0 [INFO] [stderr] Checking ckb-traits v0.119.0 [INFO] [stderr] Checking ckb-jsonrpc-types v0.119.0 [INFO] [stderr] Checking ckb-dao-utils v0.119.0 [INFO] [stderr] Compiling ckb-resource v0.119.0 [INFO] [stderr] Checking ckb-chain-spec v0.119.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/tests/../../../docs/hashes.toml`: No such file or directory (os error 2) [INFO] [stdout] --> src/tests/mod.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | toml::from_str(include_str!("../../../docs/hashes.toml")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (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 `tempfile` [INFO] [stdout] --> src/tests/versionbits.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | let tmp_dir = tempfile::tempdir().expect("create tmp_dir failed"); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests/versionbits.rs:303:19 [INFO] [stdout] | [INFO] [stdout] 303 | let tmp_dir = tempfile::tempdir().expect("create tmp_dir failed"); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ckb-chain-spec` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "064a30b1c4c9ce4dc2abe306b11cde858f1f6f626bfd560934b344dbede94b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "064a30b1c4c9ce4dc2abe306b11cde858f1f6f626bfd560934b344dbede94b9b", kill_on_drop: false }` [INFO] [stdout] 064a30b1c4c9ce4dc2abe306b11cde858f1f6f626bfd560934b344dbede94b9b