[INFO] fetching crate ontio-std 0.5.0...
[INFO] checking ontio-std-0.5.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate ontio-std 0.5.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate ontio-std 0.5.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "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-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 54 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding block-buffer v0.9.0 (latest: v0.10.4)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding cloudabi v0.0.3 (latest: v0.1.0)
[INFO] [stderr]       Adding digest v0.9.0 (latest: v0.10.7)
[INFO] [stderr]       Adding fixed-hash v0.4.0 (latest: v0.8.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.14)
[INFO] [stderr]       Adding heck v0.3.3 (latest: v0.5.0)
[INFO] [stderr]       Adding num v0.3.1 (latest: v0.4.2)
[INFO] [stderr]       Adding num-bigint v0.3.3 (latest: v0.4.4)
[INFO] [stderr]       Adding num-complex v0.3.1 (latest: v0.4.5)
[INFO] [stderr]       Adding num-rational v0.3.2 (latest: v0.4.1)
[INFO] [stderr]       Adding rand v0.5.6 (latest: v0.8.5)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.3.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_core v0.4.2 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding sha2 v0.9.9 (latest: v0.10.8)
[INFO] [stderr]       Adding static_assertions v0.2.5 (latest: v1.1.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding uint v0.8.5 (latest: v0.9.5)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[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] [stderr]   Downloaded ontio-codegen v0.2.1
[INFO] [stderr]   Downloaded ontio-bump-alloc v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa7906e12deceb6077286f5b98943dc9414a8a534f323c11cc19265c3f40cb9d
[INFO] running `Command { std: "docker" "start" "-a" "aa7906e12deceb6077286f5b98943dc9414a8a534f323c11cc19265c3f40cb9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa7906e12deceb6077286f5b98943dc9414a8a534f323c11cc19265c3f40cb9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa7906e12deceb6077286f5b98943dc9414a8a534f323c11cc19265c3f40cb9d", kill_on_drop: false }`
[INFO] [stdout] aa7906e12deceb6077286f5b98943dc9414a8a534f323c11cc19265c3f40cb9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 922a7d7c772e1ba8a0a71938af40844c6170568a2f70359d1503d4409d96b591
[INFO] running `Command { std: "docker" "start" "-a" "922a7d7c772e1ba8a0a71938af40844c6170568a2f70359d1503d4409d96b591", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking static_assertions v0.2.5
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking fixed-hash v0.4.0
[INFO] [stderr]     Checking rand v0.7.3
[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 sha2 v0.9.9
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling num v0.3.1
[INFO] [stderr]    Compiling ontio-codegen v0.2.1
[INFO] [stderr]    Compiling ontio-derive-codec v0.2.0
[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] 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] 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/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9579298f7adeed43.rlib
[INFO] [stdout]    = note: second definition in the local crate (`ontio_std`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[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 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] 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] error: aborting due to 3 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0522, 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; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "922a7d7c772e1ba8a0a71938af40844c6170568a2f70359d1503d4409d96b591", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "922a7d7c772e1ba8a0a71938af40844c6170568a2f70359d1503d4409d96b591", kill_on_drop: false }`
[INFO] [stdout] 922a7d7c772e1ba8a0a71938af40844c6170568a2f70359d1503d4409d96b591
