[INFO] updating cached repository https://github.com/e-max/grin-map [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d80741ecf919162bf6adf07c2a8d46044cf81f8c [INFO] testing e-max/grin-map against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-max%2Fgrin-map" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/e-max/grin-map on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 997f04e0647f9844a1b2ab9cc7774872d9050194f9119d07425d11dc59bc1170 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "997f04e0647f9844a1b2ab9cc7774872d9050194f9119d07425d11dc59bc1170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "997f04e0647f9844a1b2ab9cc7774872d9050194f9119d07425d11dc59bc1170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997f04e0647f9844a1b2ab9cc7774872d9050194f9119d07425d11dc59bc1170", kill_on_drop: false }` [INFO] [stdout] 997f04e0647f9844a1b2ab9cc7774872d9050194f9119d07425d11dc59bc1170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e946616be0d31a8bc6c8cfa0772be011599e06eea576fcc8ea0d962ac20125c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e946616be0d31a8bc6c8cfa0772be011599e06eea576fcc8ea0d962ac20125c6", kill_on_drop: false }` [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.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling supercow v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling lru-cache v0.1.2 [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 block-buffer v0.3.3 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling zip v0.5.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling ripemd160 v0.7.0 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling lmdb-zero v0.4.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling zeroize v0.9.3 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling log4rs v0.12.0 [INFO] [stderr] Compiling grin_util v4.0.2 [INFO] [stderr] Compiling grin_keychain v4.0.2 [INFO] [stderr] Compiling croaring-sys-mw v0.4.5 [INFO] [stderr] Compiling croaring-mw v0.4.5 [INFO] [stderr] Compiling grin_core v4.0.2 [INFO] [stderr] Compiling grin_store v4.0.2 [INFO] [stderr] Compiling grin_chain v4.0.2 [INFO] [stderr] Compiling grin_p2p v4.0.2 [INFO] [stderr] Compiling grin-map v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `grin_core::global::set_mining_mode` [INFO] [stdout] --> src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use grin_core::global::{set_mining_mode, ChainTypes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `set_mining_mode` in `global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `kernel_data_read` is not a member of trait `ChainAdapter` [INFO] [stdout] --> src/adapter.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / fn kernel_data_read(&self) -> Result { [INFO] [stdout] 86 | | unimplemented!() [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ not a member of trait `ChainAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `kernel_data_write` is not a member of trait `ChainAdapter` [INFO] [stdout] --> src/adapter.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stdout] 89 | | unimplemented!() [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ not a member of trait `ChainAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `RwLock` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `P2PConfig`, `ReasonForBan` [INFO] [stdout] --> src/adapter.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | Capabilities, ChainAdapter, Error, NetAdapter, P2PConfig, PeerAddr, PeerInfo, ReasonForBan, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/adapter.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/adapter.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | fn kernel_data_write(&self, _reader: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `block_received` has an incompatible type for trait [INFO] [stdout] --> src/adapter.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | fn block_received(&self, _: core::Block, _: &PeerInfo, _: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `grin_chain::Options`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&adapter::FakeAdapter, grin_core::core::Block, &grin_p2p::PeerInfo, grin_chain::Options) -> std::result::Result<_, _>` [INFO] [stdout] found fn pointer `fn(&adapter::FakeAdapter, grin_core::core::Block, &grin_p2p::PeerInfo, bool) -> std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `txhashset_archive_header` [INFO] [stdout] --> src/adapter.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | impl ChainAdapter for FakeAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `txhashset_archive_header` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn txhashset_archive_header(&self) -> std::result::Result { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0407, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grin-map`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e946616be0d31a8bc6c8cfa0772be011599e06eea576fcc8ea0d962ac20125c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e946616be0d31a8bc6c8cfa0772be011599e06eea576fcc8ea0d962ac20125c6", kill_on_drop: false }` [INFO] [stdout] e946616be0d31a8bc6c8cfa0772be011599e06eea576fcc8ea0d962ac20125c6