[INFO] updating cached repository https://github.com/e-max/grin-map [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d80741ecf919162bf6adf07c2a8d46044cf81f8c [INFO] checking e-max/grin-map against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-max%2Fgrin-map" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/e-max/grin-map on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/e-max/grin-map [INFO] removed path dependency grin_chain from git repo https://github.com/e-max/grin-map [INFO] removed path dependency grin_core from git repo https://github.com/e-max/grin-map [INFO] removed path dependency grin_p2p from git repo https://github.com/e-max/grin-map [INFO] removed path dependency grin_util from git repo https://github.com/e-max/grin-map [INFO] finished tweaking git repo https://github.com/e-max/grin-map [INFO] tweaked toml for git repo https://github.com/e-max/grin-map written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/e-max/grin-map already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (grin_chain) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_core) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_p2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_util) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (grin_chain) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_core) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_p2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_util) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d8547be027bea68c2f2d30a123f803173a1afccfa5f90ef5137c1330e7070d96 [INFO] running `"docker" "start" "-a" "d8547be027bea68c2f2d30a123f803173a1afccfa5f90ef5137c1330e7070d96"` [INFO] [stderr] warning: dependency (grin_chain) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_core) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_p2p) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (grin_util) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.9 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking zip v0.5.5 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking ripemd160 v0.7.0 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking lmdb-zero v0.4.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking log4rs v0.8.3 [INFO] [stderr] Checking grin_util v3.1.0 [INFO] [stderr] Checking grin_keychain v3.1.0 [INFO] [stderr] Compiling croaring-sys v0.4.4 [INFO] [stderr] Checking croaring v0.4.4 [INFO] [stderr] Checking grin_core v3.1.0 [INFO] [stderr] Checking grin_store v3.1.0 [INFO] [stderr] Checking grin_chain v3.1.0 [INFO] [stderr] Checking grin_p2p v3.1.0 [INFO] [stderr] Checking grin-map v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `Mutex`, `RwLock` [INFO] [stderr] --> src/main.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `VecDeque` [INFO] [stderr] --> src/main.rs:15:33 [INFO] [stderr] | [INFO] [stderr] 15 | use std::collections::{HashMap, VecDeque}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `P2PConfig`, `ReasonForBan` [INFO] [stderr] --> src/adapter.rs:7:33 [INFO] [stderr] | [INFO] [stderr] 7 | Capabilities, ChainAdapter, Error, NetAdapter, P2PConfig, PeerAddr, PeerInfo, ReasonForBan, [INFO] [stderr] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/adapter.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:88:47 [INFO] [stderr] | [INFO] [stderr] 88 | fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Mutex`, `RwLock` [INFO] [stderr] --> src/main.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `VecDeque` [INFO] [stderr] --> src/main.rs:15:33 [INFO] [stderr] | [INFO] [stderr] 15 | use std::collections::{HashMap, VecDeque}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `P2PConfig`, `ReasonForBan` [INFO] [stderr] --> src/adapter.rs:7:33 [INFO] [stderr] | [INFO] [stderr] 7 | Capabilities, ChainAdapter, Error, NetAdapter, P2PConfig, PeerAddr, PeerInfo, ReasonForBan, [INFO] [stderr] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/adapter.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::{self, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/adapter.rs:88:47 [INFO] [stderr] | [INFO] [stderr] 88 | fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0053]: method `block_received` has an incompatible type for trait [INFO] [stderr] --> src/adapter.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | fn block_received(&self, _: core::Block, _: &PeerInfo, _: bool) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `grin_chain::types::Options`, found `bool` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&adapter::FakeAdapter, grin_core::core::block::Block, &grin_p2p::types::PeerInfo, grin_chain::types::Options) -> std::result::Result<_, _>` [INFO] [stderr] found fn pointer `fn(&adapter::FakeAdapter, grin_core::core::block::Block, &grin_p2p::types::PeerInfo, bool) -> std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `txhashset_archive_header` [INFO] [stderr] --> src/adapter.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | impl ChainAdapter for FakeAdapter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `txhashset_archive_header` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn txhashset_archive_header(&self) -> std::result::Result { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `block_received` has an incompatible type for trait [INFO] [stderr] --> src/adapter.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | fn block_received(&self, _: core::Block, _: &PeerInfo, _: bool) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `grin_chain::types::Options`, found `bool` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&adapter::FakeAdapter, grin_core::core::block::Block, &grin_p2p::types::PeerInfo, grin_chain::types::Options) -> std::result::Result<_, _>` [INFO] [stderr] found fn pointer `fn(&adapter::FakeAdapter, grin_core::core::block::Block, &grin_p2p::types::PeerInfo, bool) -> std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `txhashset_archive_header` [INFO] [stderr] --> src/adapter.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | impl ChainAdapter for FakeAdapter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `txhashset_archive_header` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn txhashset_archive_header(&self) -> std::result::Result { todo!() }` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0053. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: could not compile `grin-map`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0053. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: could not compile `grin-map`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d8547be027bea68c2f2d30a123f803173a1afccfa5f90ef5137c1330e7070d96"` [INFO] running `"docker" "rm" "-f" "d8547be027bea68c2f2d30a123f803173a1afccfa5f90ef5137c1330e7070d96"` [INFO] [stdout] d8547be027bea68c2f2d30a123f803173a1afccfa5f90ef5137c1330e7070d96