[INFO] fetching crate blockchain-runtime 0.1.0...
[INFO] testing blockchain-runtime-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate blockchain-runtime 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate blockchain-runtime 0.1.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate blockchain-runtime 0.1.0
[INFO] tweaked toml for crates.io crate blockchain-runtime 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate blockchain-runtime 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate blockchain-runtime 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ecda26d40fb27ff6ae5c6da67b1f97f522efd461952b79800d5baef43f42ab5b
[INFO] running `Command { std: "docker" "start" "-a" "ecda26d40fb27ff6ae5c6da67b1f97f522efd461952b79800d5baef43f42ab5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecda26d40fb27ff6ae5c6da67b1f97f522efd461952b79800d5baef43f42ab5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecda26d40fb27ff6ae5c6da67b1f97f522efd461952b79800d5baef43f42ab5b", kill_on_drop: false }`
[INFO] [stdout] ecda26d40fb27ff6ae5c6da67b1f97f522efd461952b79800d5baef43f42ab5b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41f68ea802fa2a60ccc89238d7fa507ba5b1a846333ceb27b62e636b1c12d483
[INFO] running `Command { std: "docker" "start" "-a" "41f68ea802fa2a60ccc89238d7fa507ba5b1a846333ceb27b62e636b1c12d483", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.102
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling blockchain-runtime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused macro definition: `info`
[INFO] [stdout]   --> src/lib.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | macro_rules! info {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/runtime.rs:151:40
[INFO] [stdout]     |
[INFO] [stdout] 151 |     async fn create_environment(&self, config: RuntimeConfig) -> Result<RuntimeEnvironment> {
[INFO] [stdout]     |                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_PATH_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const MAX_PATH_LENGTH: usize = 4096;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SYMLINK_CHAIN_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const MAX_SYMLINK_CHAIN_LENGTH: usize = 100;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.92s
[INFO] running `Command { std: "docker" "inspect" "41f68ea802fa2a60ccc89238d7fa507ba5b1a846333ceb27b62e636b1c12d483", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41f68ea802fa2a60ccc89238d7fa507ba5b1a846333ceb27b62e636b1c12d483", kill_on_drop: false }`
[INFO] [stdout] 41f68ea802fa2a60ccc89238d7fa507ba5b1a846333ceb27b62e636b1c12d483
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 58af3eccce7966e510f692958c0b81f5371bb303204a94aebb431eb91336c7ce
[INFO] running `Command { std: "docker" "start" "-a" "58af3eccce7966e510f692958c0b81f5371bb303204a94aebb431eb91336c7ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling blockchain-runtime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused macro definition: `info`
[INFO] [stdout]   --> src/lib.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | macro_rules! info {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/runtime.rs:151:40
[INFO] [stdout]     |
[INFO] [stdout] 151 |     async fn create_environment(&self, config: RuntimeConfig) -> Result<RuntimeEnvironment> {
[INFO] [stdout]     |                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_PATH_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const MAX_PATH_LENGTH: usize = 4096;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SYMLINK_CHAIN_LENGTH` is never used
[INFO] [stdout]   --> src/constants.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const MAX_SYMLINK_CHAIN_LENGTH: usize = 100;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StateChange`
[INFO] [stdout]  --> examples/simple_runtime.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     RuntimeMetricDefinition, RuntimeType, StateChange, MetricType,
[INFO] [stdout]   |                                           ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `execute_secure`, `check_reentrancy`, `detect_overflow`, `verify_access_control`, `enforce_resource_limits`, `get_security_report`
[INFO] [stdout]   --> examples/simple_runtime.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl BlockchainRuntime for MockRuntime {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `execute_secure`, `check_reentrancy`, `detect_overflow`, `verify_access_control`, `enforce_resource_limits`, `get_security_report` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn execute_secure<'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, 'async_trait>(&'life0 self, _: &'life1 RuntimeEnvironment, _: &'life2 Path, _: &'life3 ExecutionInputs, _: &'life4 SecurityConfig) -> Pin<Box<(dyn Future<Output = Result<ExecutionResult, anyhow::Error>> + Send + 'async_trait)>> { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn check_reentrancy<'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, 'async_trait>(&'life0 self, _: &'life1 RuntimeEnvironment, _: &'life2 str, _: &'life3 str, _: &'life4 [std::string::String]) -> Pin<Box<(dyn Future<Output = Result<bool, anyhow::Error>> + Send + 'async_trait)>> { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn detect_overflow<'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'async_trait>(&'life0 self, _: &'life1 RuntimeEnvironment, _: &'life2 str, _: &'life3 [i64]) -> Pin<Box<(dyn Future<Output = Result<bool, anyhow::Error>> + Send + 'async_trait)>> { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn verify_access_control<'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, 'async_trait>(&'life0 self, _: &'life1 RuntimeEnvironment, _: &'life2 str, _: &'life3 str, _: Option<&'life4 str>) -> Pin<Box<(dyn Future<Output = Result<bool, anyhow::Error>> + Send + 'async_trait)>> { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn enforce_resource_limits<'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'async_trait>(&'life0 self, _: &'life1 RuntimeEnvironment, _: u64, _: u64, _: u32, _: u32, _: &'life2 SecurityConfig) -> Pin<Box<(dyn Future<Output = Result<Vec<SecurityViolation>, anyhow::Error>> + Send + 'async_trait)>> { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn get_security_report<'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'async_trait>(&'life0 self, _: &'life1 RuntimeEnvironment, _: &'life2 str) -> Pin<Box<(dyn Future<Output = Result<HashMap<std::string::String, Value>, anyhow::Error>> + Send + 'async_trait)>> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `security_context` and `security_violations` in initializer of `ExecutionResult`
[INFO] [stdout]   --> examples/simple_runtime.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         Ok(ExecutionResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ missing `security_context` and `security_violations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `security_config` in initializer of `RuntimeConfig`
[INFO] [stdout]    --> examples/simple_runtime.rs:167:18
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let config = RuntimeConfig {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ missing `security_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0063.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain-runtime` (example "simple_runtime") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/lib.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |             metadata: HashMap::new(),
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 60 +     use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/lib.rs:93:22
[INFO] [stdout]    |
[INFO] [stdout] 93 |             metrics: HashMap::new(),
[INFO] [stdout]    |                      ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 60 +     use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]    --> src/lib.rs:179:24
[INFO] [stdout]     |
[INFO] [stdout] 179 |             timestamp: SystemTime::now()
[INFO] [stdout]     |                        ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::time::SystemTime;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `UNIX_EPOCH` in this scope
[INFO] [stdout]    --> src/lib.rs:180:33
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 .duration_since(UNIX_EPOCH)
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::time::UNIX_EPOCH;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]    --> src/lib.rs:183:22
[INFO] [stdout]     |
[INFO] [stdout] 183 |             context: HashMap::new(),
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]    --> src/lib.rs:214:30
[INFO] [stdout]     |
[INFO] [stdout] 214 |             check_timestamp: SystemTime::now()
[INFO] [stdout]     |                              ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::time::SystemTime;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `UNIX_EPOCH` in this scope
[INFO] [stdout]    --> src/lib.rs:215:33
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 .duration_since(UNIX_EPOCH)
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::time::UNIX_EPOCH;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]    --> src/lib.rs:233:24
[INFO] [stdout]     |
[INFO] [stdout] 233 |             timestamp: SystemTime::now()
[INFO] [stdout]     |                        ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::time::SystemTime;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `UNIX_EPOCH` in this scope
[INFO] [stdout]    --> src/lib.rs:234:33
[INFO] [stdout]     |
[INFO] [stdout] 234 |                 .duration_since(UNIX_EPOCH)
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::time::UNIX_EPOCH;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]    --> src/lib.rs:237:22
[INFO] [stdout]     |
[INFO] [stdout] 237 |             context: HashMap::new(),
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]    --> src/lib.rs:245:22
[INFO] [stdout]     |
[INFO] [stdout] 245 |             metrics: HashMap::new(),
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  60 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `info`
[INFO] [stdout]   --> src/lib.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | macro_rules! info {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `security_context` and `security_violations` in initializer of `types::ExecutionResult`
[INFO] [stdout]   --> src/lib.rs:88:22
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let result = ExecutionResult {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ missing `security_context` and `security_violations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/runtime.rs:151:40
[INFO] [stdout]     |
[INFO] [stdout] 151 |     async fn create_environment(&self, config: RuntimeConfig) -> Result<RuntimeEnvironment> {
[INFO] [stdout]     |                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain-runtime` (lib test) due to 12 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "58af3eccce7966e510f692958c0b81f5371bb303204a94aebb431eb91336c7ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58af3eccce7966e510f692958c0b81f5371bb303204a94aebb431eb91336c7ce", kill_on_drop: false }`
[INFO] [stdout] 58af3eccce7966e510f692958c0b81f5371bb303204a94aebb431eb91336c7ce
