[INFO] fetching crate ontio-std 0.5.0...
[INFO] checking ontio-std-0.5.0 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate ontio-std 0.5.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate ontio-std 0.5.0 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ontio-std 0.5.0
[INFO] finished tweaking crates.io crate ontio-std 0.5.0
[INFO] tweaked toml for crates.io crate ontio-std 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 56 packages to latest compatible versions
[INFO] [stderr]       Adding cfg-if v0.1.10 (available: v1.0.0)
[INFO] [stderr]       Adding fixed-hash v0.4.0 (available: v0.8.0)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.8.5)
[INFO] [stderr]       Adding sha2 v0.9.9 (available: v0.10.8)
[INFO] [stderr]       Adding uint v0.8.5 (available: v0.10.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ontio-bump-alloc v0.1.0
[INFO] [stderr]   Downloaded ontio-codegen v0.2.1
[INFO] [stderr]   Downloaded ontio-derive-codec v0.2.0
[INFO] [stderr]   Downloaded fixed-hash v0.4.0
[INFO] [stderr]   Downloaded uint v0.8.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 511906e2353d478e1605a44006c9e9c2333bb11e3b63ea2e5d3847c0a231288f
[INFO] running `Command { std: "docker" "start" "-a" "511906e2353d478e1605a44006c9e9c2333bb11e3b63ea2e5d3847c0a231288f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "511906e2353d478e1605a44006c9e9c2333bb11e3b63ea2e5d3847c0a231288f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "511906e2353d478e1605a44006c9e9c2333bb11e3b63ea2e5d3847c0a231288f", kill_on_drop: false }`
[INFO] [stdout] 511906e2353d478e1605a44006c9e9c2333bb11e3b63ea2e5d3847c0a231288f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b6a59a9b2412a0e073428923c3eac3e61ec9d1bd8d9d0687a665e1615f02b5f
[INFO] running `Command { std: "docker" "start" "-a" "1b6a59a9b2412a0e073428923c3eac3e61ec9d1bd8d9d0687a665e1615f02b5f", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking static_assertions v0.2.5
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking fixed-hash v0.4.0
[INFO] [stderr]     Checking uint v0.8.5
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling num v0.3.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling ontio-derive-codec v0.2.0
[INFO] [stderr]    Compiling ontio-codegen v0.2.1
[INFO] [stderr]     Checking ontio-std v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `alloc::prelude`
[INFO] [stdout]   --> src/lib.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub use alloc::prelude::*;
[INFO] [stdout]    |                    ^^^^^^^ could not find `prelude` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alloc::prelude`
[INFO] [stdout]   --> src/lib.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub use alloc::prelude::*;
[INFO] [stdout]    |                    ^^^^^^^ could not find `prelude` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(lang_items)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(core_intrinsics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dev`
[INFO] [stdout]   --> src/types.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | / construct_fixed_hash! {
[INFO] [stdout] 5  | | /// A byte array of length 32 representing the block hash, etc.
[INFO] [stdout] 6  | | ///
[INFO] [stdout] 7  | | /// # Example
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     pub struct H256(32);
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `bump-alloc`, `mock`, `ontio-bump-alloc`, `sha2`, and `std`
[INFO] [stdout]    = help: consider adding `dev` as a feature in `Cargo.toml`
[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]    = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dev`
[INFO] [stdout]   --> src/types.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | / construct_fixed_hash! {
[INFO] [stdout] 19 | | /// A byte array of length 20 representing the Address.
[INFO] [stdout] 20 | | ///
[INFO] [stdout] 21 | |     pub struct H160(20);
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `bump-alloc`, `mock`, `ontio-bump-alloc`, `sha2`, and `std`
[INFO] [stdout]    = help: consider adding `dev` as a feature in `Cargo.toml`
[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: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0522]: definition of an unknown lang item: `oom`
[INFO] [stdout]   --> src/lib.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         #[lang = "oom"]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ definition of unknown lang item `oom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(lang_items)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(core_intrinsics)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dev`
[INFO] [stdout]   --> src/types.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | / construct_fixed_hash! {
[INFO] [stdout] 5  | | /// A byte array of length 32 representing the block hash, etc.
[INFO] [stdout] 6  | | ///
[INFO] [stdout] 7  | | /// # Example
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     pub struct H256(32);
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `bump-alloc`, `mock`, `ontio-bump-alloc`, `sha2`, and `std`
[INFO] [stdout]    = help: consider adding `dev` as a feature in `Cargo.toml`
[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]    = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dev`
[INFO] [stdout]   --> src/types.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | / construct_fixed_hash! {
[INFO] [stdout] 19 | | /// A byte array of length 20 representing the Address.
[INFO] [stdout] 20 | | ///
[INFO] [stdout] 21 | |     pub struct H160(20);
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `bump-alloc`, `mock`, `ontio-bump-alloc`, `sha2`, and `std`
[INFO] [stdout]    = help: consider adding `dev` as a feature in `Cargo.toml`
[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: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | /         pub fn panic_fmt(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 33 | |             let msg = info.message().map(|msg| format!("{}", msg)).unwrap_or_default();
[INFO] [stdout] 34 | |             let (file, line) = if let Some(loc) = info.location() {
[INFO] [stdout] 35 | |                 (loc.file(), loc.line())
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             runtime::panic(&panic_msg)
[INFO] [stdout] 43 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/39cb3386ddc6c71657418be28dbb3987eea4aa4b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cb5ec2ef594bb30c.rlib
[INFO] [stdout]    = note: second definition in the local crate (`ontio_std`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ontio-std` (lib test) due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(exclusive_range_pattern)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![feature(panic_info_message)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `alloc_prelude`
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(alloc_prelude)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `PanicMessage<'_>` is not an iterator
[INFO] [stdout]   --> src/lib.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let msg = info.message().map(|msg| format!("{}", msg)).unwrap_or_default();
[INFO] [stdout]    |                                      ^^^ `PanicMessage<'_>` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `PanicMessage<'_>: core::iter::Iterator`
[INFO] [stdout]            which is required by `&mut PanicMessage<'_>: core::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/database/list.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let mut bulk = &mut self.index_size[ind];
[INFO] [stdout]     |                 ----^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/database/list.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 |             let mut last_index_count = self.index_size.last_mut().unwrap();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0522, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ontio-std` (lib) due to 4 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1b6a59a9b2412a0e073428923c3eac3e61ec9d1bd8d9d0687a665e1615f02b5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b6a59a9b2412a0e073428923c3eac3e61ec9d1bd8d9d0687a665e1615f02b5f", kill_on_drop: false }`
[INFO] [stdout] 1b6a59a9b2412a0e073428923c3eac3e61ec9d1bd8d9d0687a665e1615f02b5f
