[INFO] cloning 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" "clone" "--bare" "https://github.com/e-max/grin-map" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-max%2Fgrin-map", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-max%2Fgrin-map'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d80741ecf919162bf6adf07c2a8d46044cf81f8c [INFO] testing e-max/grin-map against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-max%2Fgrin-map" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/e-max/grin-map on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-3/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" "+1.49.0" "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-3/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" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9b7d16f6b2f62fc85e41d9ad20a4bf07f85cd8a86b0759844fa69851a6aac1b1 [INFO] running `Command { std: "docker" "start" "-a" "9b7d16f6b2f62fc85e41d9ad20a4bf07f85cd8a86b0759844fa69851a6aac1b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b7d16f6b2f62fc85e41d9ad20a4bf07f85cd8a86b0759844fa69851a6aac1b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7d16f6b2f62fc85e41d9ad20a4bf07f85cd8a86b0759844fa69851a6aac1b1", kill_on_drop: false }` [INFO] [stdout] 9b7d16f6b2f62fc85e41d9ad20a4bf07f85cd8a86b0759844fa69851a6aac1b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e46d7b7828ae35d6b6882e80f24bafd2b623a83797920d2787a67a712ea1ebd [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" "6e46d7b7828ae35d6b6882e80f24bafd2b623a83797920d2787a67a712ea1ebd", 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 syn v1.0.58 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling supercow v0.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.10 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling ripemd160 v0.7.0 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling zeroize v0.9.3 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling lmdb-zero v0.4.4 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling zip v0.5.9 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.8.15 [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 v5.0.0 [INFO] [stderr] Compiling grin_keychain v5.0.0 [INFO] [stderr] Compiling croaring-sys-mw v0.4.5 [INFO] [stderr] Compiling croaring-mw v0.4.5 [INFO] [stderr] Compiling grin_core v5.0.0 [INFO] [stderr] Compiling grin_store v5.0.0 [INFO] [stderr] Compiling grin_chain v5.0.0 [INFO] [stderr] Compiling grin_p2p v5.0.0 [INFO] [stderr] Compiling grin-map v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `grin_core::genesis::genesis_floo` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use grin_core::genesis::{genesis_floo, genesis_main}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `genesis_floo` in `genesis` [INFO] [stdout] | help: a similar name exists in the module: `genesis_dev` [INFO] [stdout] [INFO] [stdout] [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 `Options`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&FakeAdapter, grin_core::core::Block, &PeerInfo, Options) -> std::result::Result<_, _>` [INFO] [stdout] found fn pointer `fn(&FakeAdapter, grin_core::core::Block, &PeerInfo, bool) -> std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `get_block` has 2 parameters but the declaration in trait `get_block` has 3 [INFO] [stdout] --> src/adapter.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_block(&self, _: Hash) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `get_block` from trait: `fn(&Self, grin_core::core::hash::Hash, &PeerInfo) -> Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `txhashset_archive_header`, `get_kernel_segment`, `get_bitmap_segment`, `get_output_segment`, `get_rangeproof_segment` [INFO] [stdout] --> src/adapter.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | impl ChainAdapter for FakeAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `txhashset_archive_header`, `get_kernel_segment`, `get_bitmap_segment`, `get_output_segment`, `get_rangeproof_segment` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn txhashset_archive_header(&self) -> std::result::Result { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_kernel_segment(&self, _: grin_core::core::hash::Hash, _: SegmentIdentifier) -> std::result::Result, grin_chain::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_bitmap_segment(&self, _: grin_core::core::hash::Hash, _: SegmentIdentifier) -> std::result::Result<(Segment, grin_core::core::hash::Hash), grin_chain::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_output_segment(&self, _: grin_core::core::hash::Hash, _: SegmentIdentifier) -> std::result::Result<(Segment, grin_core::core::hash::Hash), grin_chain::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_rangeproof_segment(&self, _: grin_core::core::hash::Hash, _: SegmentIdentifier) -> std::result::Result, grin_chain::Error> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Floonet` found for enum `ChainTypes` in the current scope [INFO] [stdout] --> src/main.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | set_mining_mode(ChainTypes::Floonet); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `ChainTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | Difficulty::min(), [INFO] [stdout] | ^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/adapter.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(Difficulty::min()) [INFO] [stdout] | ^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0050, E0053, E0061, E0407, E0432, E0599. [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" "6e46d7b7828ae35d6b6882e80f24bafd2b623a83797920d2787a67a712ea1ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e46d7b7828ae35d6b6882e80f24bafd2b623a83797920d2787a67a712ea1ebd", kill_on_drop: false }` [INFO] [stdout] 6e46d7b7828ae35d6b6882e80f24bafd2b623a83797920d2787a67a712ea1ebd