[INFO] fetching crate ckb-resource 0.118.0-rc2...
[INFO] checking ckb-resource-0.118.0-rc2 against try#47af3d0de9d26c7deba4cfb203b710cc3f764e91 for pr-130443
[INFO] extracting crate ckb-resource 0.118.0-rc2 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate ckb-resource 0.118.0-rc2 on toolchain 47af3d0de9d26c7deba4cfb203b710cc3f764e91
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ckb-resource 0.118.0-rc2
[INFO] finished tweaking crates.io crate ckb-resource 0.118.0-rc2
[INFO] tweaked toml for crates.io crate ckb-resource 0.118.0-rc2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 94 packages to latest compatible versions
[INFO] [stderr]       Adding bit-vec v0.6.3 (available: v0.8.0)
[INFO] [stderr]       Adding ckb-channel v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-constant v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-error v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-fixed-hash v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-fixed-hash-core v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-fixed-hash-macros v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-gen-types v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-hash v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-merkle-mountain-range v0.5.2 (available: v0.6.0)
[INFO] [stderr]       Adding ckb-occupied-capacity v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-occupied-capacity-core v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-occupied-capacity-macros v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-rational v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding ckb-types v0.118.0-rc2 (available: v0.118.0)
[INFO] [stderr]       Adding derive_more v0.99.18 (available: v1.0.0)
[INFO] [stderr]       Adding faster-hex v0.6.1 (available: v0.10.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (available: v0.2.15)
[INFO] [stderr]       Adding phf v0.8.0 (available: v0.11.2)
[INFO] [stderr]       Adding phf_codegen v0.8.0 (available: v0.11.2)
[INFO] [stderr]       Adding phf_generator v0.8.0 (available: v0.11.2)
[INFO] [stderr]       Adding phf_shared v0.8.0 (available: v0.11.2)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (available: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (available: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (available: v0.3.2)
[INFO] [stderr]       Adding rand_pcg v0.2.1 (available: v0.3.1)
[INFO] [stderr]       Adding serde_derive_internals v0.26.0 (available: v0.29.1)
[INFO] [stderr]       Adding siphasher v0.3.11 (available: v1.0.1)
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.77)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 66ef520e8f2d24e845319271e0c97bd4ba02abbbc661cb4c0c9da948574a33ac
[INFO] running `Command { std: "docker" "start" "-a" "66ef520e8f2d24e845319271e0c97bd4ba02abbbc661cb4c0c9da948574a33ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66ef520e8f2d24e845319271e0c97bd4ba02abbbc661cb4c0c9da948574a33ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66ef520e8f2d24e845319271e0c97bd4ba02abbbc661cb4c0c9da948574a33ac", kill_on_drop: false }`
[INFO] [stdout] 66ef520e8f2d24e845319271e0c97bd4ba02abbbc661cb4c0c9da948574a33ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27e8e0df196b513ed0cc86fc1092d41b63c8f68d75e5f7f51b02279f082de1ff
[INFO] running `Command { std: "docker" "start" "-a" "27e8e0df196b513ed0cc86fc1092d41b63c8f68d75e5f7f51b02279f082de1ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling heapsize v0.4.2
[INFO] [stderr]    Compiling faster-hex v0.6.1
[INFO] [stderr]    Compiling ckb_schemars v0.8.19
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling blake2b-rs v0.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling blake2b-ref v0.3.1
[INFO] [stderr]    Compiling golomb-coded-set v0.2.1
[INFO] [stderr]    Compiling ckb-merkle-mountain-range v0.5.2
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling merkle-cbt v0.3.2
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling ckb-constant v0.118.0-rc2
[INFO] [stderr]    Compiling includedir v0.6.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling ckb-hash v0.118.0-rc2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling ckb-channel v0.118.0-rc2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling numext-constructor v0.1.6
[INFO] [stderr]    Compiling ckb_schemars_derive v0.8.19
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling serde v1.0.210
[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 serde_json v1.0.128
[INFO] [stderr]     Checking numext-fixed-uint-core v0.1.6
[INFO] [stderr]     Checking ckb-occupied-capacity-core v0.118.0-rc2
[INFO] [stderr]     Checking bytes v1.7.2
[INFO] [stderr]     Checking molecule v0.8.0
[INFO] [stderr]    Compiling ckb-occupied-capacity-macros v0.118.0-rc2
[INFO] [stderr]    Compiling ckb-occupied-capacity v0.118.0-rc2
[INFO] [stderr]    Compiling ckb-error v0.118.0-rc2
[INFO] [stderr]     Checking ckb-fixed-hash-core v0.118.0-rc2
[INFO] [stderr]    Compiling ckb-fixed-hash-macros v0.118.0-rc2
[INFO] [stderr]    Compiling ckb-fixed-hash v0.118.0-rc2
[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.118.0-rc2
[INFO] [stderr]    Compiling ckb-gen-types v0.118.0-rc2
[INFO] [stderr]     Checking ckb-types v0.118.0-rc2
[INFO] [stderr]    Compiling ckb-resource v0.118.0-rc2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `docker`
[INFO] [stdout]    --> src/template.rs:132:11
[INFO] [stdout]     |
[INFO] [stdout] 132 |     #[cfg(docker)]
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docker)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docker)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]  --> src/tests.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     tempfile::Builder::new()
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::thread::Builder;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use ckb_types::prelude::Builder;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Builder`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 -     tempfile::Builder::new()
[INFO] [stdout] 7 +     Builder::new()
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docker`
[INFO] [stdout]    --> src/template.rs:132:11
[INFO] [stdout]     |
[INFO] [stdout] 132 |     #[cfg(docker)]
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docker)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docker)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]  --> src/tests.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn mkdir() -> tempfile::TempDir {
[INFO] [stdout]   |               ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[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-resource` (lib test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "27e8e0df196b513ed0cc86fc1092d41b63c8f68d75e5f7f51b02279f082de1ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27e8e0df196b513ed0cc86fc1092d41b63c8f68d75e5f7f51b02279f082de1ff", kill_on_drop: false }`
[INFO] [stdout] 27e8e0df196b513ed0cc86fc1092d41b63c8f68d75e5f7f51b02279f082de1ff
