[INFO] fetching crate ontio-std 0.5.0...
[INFO] checking ontio-std-0.5.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate ontio-std 0.5.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate ontio-std 0.5.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded static_assertions v0.2.5
[INFO] [stderr]   Downloaded ontio-codegen v0.2.1
[INFO] [stderr]   Downloaded fixed-hash v0.4.0
[INFO] [stderr]   Downloaded ontio-bump-alloc v0.1.0
[INFO] [stderr]   Downloaded ontio-derive-codec v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f6d6e8548a1e896f6e9c97e1bd42af8e920bf03b3e8359eaef8f0dcb248360f1
[INFO] running `Command { std: "docker" "start" "-a" "f6d6e8548a1e896f6e9c97e1bd42af8e920bf03b3e8359eaef8f0dcb248360f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f6d6e8548a1e896f6e9c97e1bd42af8e920bf03b3e8359eaef8f0dcb248360f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6d6e8548a1e896f6e9c97e1bd42af8e920bf03b3e8359eaef8f0dcb248360f1", kill_on_drop: false }`
[INFO] [stdout] f6d6e8548a1e896f6e9c97e1bd42af8e920bf03b3e8359eaef8f0dcb248360f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67c1a7fda7b466ea8263d07d131703f923c4d164775c815e0b4b13db6caa2395
[INFO] running `Command { std: "docker" "start" "-a" "67c1a7fda7b466ea8263d07d131703f923c4d164775c815e0b4b13db6caa2395", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking static_assertions v0.2.5
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking fixed-hash v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[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-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: the item `Address` is imported redundantly
[INFO] [stdout]  --> src/abi/codec.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `Address` is already imported here
[INFO] [stdout] 7 | use crate::types::{Address, H256};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `H256` is imported redundantly
[INFO] [stdout]  --> src/abi/codec.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `H256` is already imported here
[INFO] [stdout] 7 | use crate::types::{Address, H256};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Address` is imported redundantly
[INFO] [stdout]  --> src/abi/sink.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `Address` is already imported here
[INFO] [stdout] 3 | use crate::types::Address;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Address` is imported redundantly
[INFO] [stdout]    --> src/contract.rs:288:24
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use crate::prelude::*;
[INFO] [stdout]     |         ----------------- the item `Address` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 288 |     use crate::types::{Address, U128};
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `U128` is imported redundantly
[INFO] [stdout]    --> src/contract.rs:288:33
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use crate::prelude::*;
[INFO] [stdout]     |         ----------------- the item `U128` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 288 |     use crate::types::{Address, U128};
[INFO] [stdout]     |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> src/database/list.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `PartialEq` is already imported here
[INFO] [stdout] 4 | use alloc::collections::BTreeMap;
[INFO] [stdout] 5 | use cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0522]: definition of an unknown language item: `oom`
[INFO] [stdout]   --> src/lib.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         #[lang = "oom"]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ definition of unknown language 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: the item `Address` is imported redundantly
[INFO] [stdout]  --> src/abi/codec.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `Address` is already imported here
[INFO] [stdout] 7 | use crate::types::{Address, H256};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `H256` is imported redundantly
[INFO] [stdout]  --> src/abi/codec.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `H256` is already imported here
[INFO] [stdout] 7 | use crate::types::{Address, H256};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Address` is imported redundantly
[INFO] [stdout]  --> src/abi/sink.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `Address` is already imported here
[INFO] [stdout] 3 | use crate::types::Address;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Address` is imported redundantly
[INFO] [stdout]    --> src/contract.rs:288:24
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use crate::prelude::*;
[INFO] [stdout]     |         ----------------- the item `Address` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 288 |     use crate::types::{Address, U128};
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `U128` is imported redundantly
[INFO] [stdout]    --> src/contract.rs:288:33
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use crate::prelude::*;
[INFO] [stdout]     |         ----------------- the item `U128` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 288 |     use crate::types::{Address, U128};
[INFO] [stdout]     |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> src/database/list.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `PartialEq` is already imported here
[INFO] [stdout] 4 | use alloc::collections::BTreeMap;
[INFO] [stdout] 5 | use cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.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; 8 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; 8 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; 10 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; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "67c1a7fda7b466ea8263d07d131703f923c4d164775c815e0b4b13db6caa2395", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67c1a7fda7b466ea8263d07d131703f923c4d164775c815e0b4b13db6caa2395", kill_on_drop: false }`
[INFO] [stdout] 67c1a7fda7b466ea8263d07d131703f923c4d164775c815e0b4b13db6caa2395
[INFO] checking ontio-std-0.5.0 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate ontio-std 0.5.0 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate ontio-std 0.5.0 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 86a1a894f4a586b678e1269b507ca9c324c334c667dd98fb95604a4e78e06360
[INFO] running `Command { std: "docker" "start" "-a" "86a1a894f4a586b678e1269b507ca9c324c334c667dd98fb95604a4e78e06360", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86a1a894f4a586b678e1269b507ca9c324c334c667dd98fb95604a4e78e06360", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86a1a894f4a586b678e1269b507ca9c324c334c667dd98fb95604a4e78e06360", kill_on_drop: false }`
[INFO] [stdout] 86a1a894f4a586b678e1269b507ca9c324c334c667dd98fb95604a4e78e06360
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 573922bca60eecdf63bda2d224f9563a29eced0e7e732c0660d3b9a40ca494d7
[INFO] running `Command { std: "docker" "start" "-a" "573922bca60eecdf63bda2d224f9563a29eced0e7e732c0660d3b9a40ca494d7", 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 generic-array v0.14.7
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking static_assertions v0.2.5
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking fixed-hash v0.4.0
[INFO] [stderr]     Checking uint v0.8.5
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer 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] warning: the item `Address` is imported redundantly
[INFO] [stdout]  --> src/abi/codec.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `Address` is already imported here
[INFO] [stdout] 7 | use crate::types::{Address, H256};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `H256` is imported redundantly
[INFO] [stdout]  --> src/abi/codec.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `H256` is already imported here
[INFO] [stdout] 7 | use crate::types::{Address, H256};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Address` is imported redundantly
[INFO] [stdout]  --> src/abi/sink.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `Address` is already imported here
[INFO] [stdout] 3 | use crate::types::Address;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Address` is imported redundantly
[INFO] [stdout]    --> src/contract.rs:288:24
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use crate::prelude::*;
[INFO] [stdout]     |         ----------------- the item `Address` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 288 |     use crate::types::{Address, U128};
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `U128` is imported redundantly
[INFO] [stdout]    --> src/contract.rs:288:33
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use crate::prelude::*;
[INFO] [stdout]     |         ----------------- the item `U128` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 288 |     use crate::types::{Address, U128};
[INFO] [stdout]     |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> src/database/list.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `PartialEq` is already imported here
[INFO] [stdout] 4 | use alloc::collections::BTreeMap;
[INFO] [stdout] 5 | use cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0522]: definition of an unknown language item: `oom`
[INFO] [stdout]   --> src/lib.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         #[lang = "oom"]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ definition of unknown language 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: the item `Address` is imported redundantly
[INFO] [stdout]  --> src/abi/codec.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `Address` is already imported here
[INFO] [stdout] 7 | use crate::types::{Address, H256};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `H256` is imported redundantly
[INFO] [stdout]  --> src/abi/codec.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `H256` is already imported here
[INFO] [stdout] 7 | use crate::types::{Address, H256};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Address` is imported redundantly
[INFO] [stdout]  --> src/abi/sink.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `Address` is already imported here
[INFO] [stdout] 3 | use crate::types::Address;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Address` is imported redundantly
[INFO] [stdout]    --> src/contract.rs:288:24
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use crate::prelude::*;
[INFO] [stdout]     |         ----------------- the item `Address` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 288 |     use crate::types::{Address, U128};
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `U128` is imported redundantly
[INFO] [stdout]    --> src/contract.rs:288:33
[INFO] [stdout]     |
[INFO] [stdout] 285 |     use crate::prelude::*;
[INFO] [stdout]     |         ----------------- the item `U128` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 288 |     use crate::types::{Address, U128};
[INFO] [stdout]     |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]  --> src/database/list.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::prelude::*;
[INFO] [stdout]   |     ----------------- the item `PartialEq` is already imported here
[INFO] [stdout] 4 | use alloc::collections::BTreeMap;
[INFO] [stdout] 5 | use cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[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/72eda894eb3548c7ba774079ce0afab42958d4ee/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.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; 8 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; 8 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; 10 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; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "573922bca60eecdf63bda2d224f9563a29eced0e7e732c0660d3b9a40ca494d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "573922bca60eecdf63bda2d224f9563a29eced0e7e732c0660d3b9a40ca494d7", kill_on_drop: false }`
[INFO] [stdout] 573922bca60eecdf63bda2d224f9563a29eced0e7e732c0660d3b9a40ca494d7
