[INFO] cloning repository https://github.com/laudiacay/hedgebot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laudiacay/hedgebot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaudiacay%2Fhedgebot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaudiacay%2Fhedgebot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de6a444520bda9bd18e8dc8580c4526363e45452 [INFO] testing laudiacay/hedgebot against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaudiacay%2Fhedgebot" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laudiacay/hedgebot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laudiacay/hedgebot [INFO] finished tweaking git repo https://github.com/laudiacay/hedgebot [INFO] tweaked toml for git repo https://github.com/laudiacay/hedgebot written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/laudiacay/hedgebot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b4fc46a94512948fe66e4f75c95d8755035a5f0797a5615c2334e91c641576b [INFO] running `Command { std: "docker" "start" "-a" "7b4fc46a94512948fe66e4f75c95d8755035a5f0797a5615c2334e91c641576b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b4fc46a94512948fe66e4f75c95d8755035a5f0797a5615c2334e91c641576b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4fc46a94512948fe66e4f75c95d8755035a5f0797a5615c2334e91c641576b", kill_on_drop: false }` [INFO] [stdout] 7b4fc46a94512948fe66e4f75c95d8755035a5f0797a5615c2334e91c641576b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 815c1cc70e1ba689efa6522df9701710ef21f58cc28eeedde10a89d0cfd245b8 [INFO] running `Command { std: "docker" "start" "-a" "815c1cc70e1ba689efa6522df9701710ef21f58cc28eeedde10a89d0cfd245b8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling ranges v0.3.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.0.0 [INFO] [stderr] Compiling parity-scale-codec v3.0.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling hedgebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: module `I256` should have a snake case name [INFO] [stdout] --> src/solidints/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod I256; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `i256` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `U160` should have a snake case name [INFO] [stdout] --> src/solidints/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod U160; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `u160` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol_filter` [INFO] [stdout] --> src/ingest_chain/talk_to_sled.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | protocol_filter: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.ranges` which is behind a shared reference [INFO] [stdout] --> src/ingest_chain/blocks.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | ranges: self.ranges.union(rhs.ranges), [INFO] [stdout] | ^^^^^^^^^^^ ----------------- `self.ranges` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.ranges` has type `Ranges`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `self.ranges` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ranges-0.3.3/src/ranges/union.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn union(self, other: R) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `db` [INFO] [stdout] --> src/ingest_chain/talk_to_sled.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 56 | let db = sled::open(sled_path)?; [INFO] [stdout] | -- move occurs because `db` has type `Db`, which does not implement the `Copy` trait [INFO] [stdout] 57 | let handle = SledHandle { [INFO] [stdout] 58 | db, [INFO] [stdout] | -- value moved here [INFO] [stdout] 59 | header_tree: db.open_tree(HEADERS_TREE_KEY)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*block_range` which is behind a shared reference [INFO] [stdout] --> src/ingest_chain/talk_to_sled.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | Ok(*block_range - Blocks::try_from(&ranges_bytes[..])? == Blocks::empty()) [INFO] [stdout] | ^^^^^^^^^^^^ move occurs because `*block_range` has type `blocks::Blocks`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `protocol_filter`, a captured variable in an `FnMut` closure [INFO] [stdout] --> src/ingest_chain/talk_to_sled.rs:137:67 [INFO] [stdout] | [INFO] [stdout] 123 | protocol_filter: HashSet, [INFO] [stdout] | --------------- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 137 | .map(|block_range| self.get_contiguous_time_range(protocol_filter, *block_range)) [INFO] [stdout] | ---------------------------------------------^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | | [INFO] [stdout] | | move occurs because `protocol_filter` has type `HashSet`, which does not implement the `Copy` trait [INFO] [stdout] | captured by this `FnMut` closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hedgebot` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "815c1cc70e1ba689efa6522df9701710ef21f58cc28eeedde10a89d0cfd245b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815c1cc70e1ba689efa6522df9701710ef21f58cc28eeedde10a89d0cfd245b8", kill_on_drop: false }` [INFO] [stdout] 815c1cc70e1ba689efa6522df9701710ef21f58cc28eeedde10a89d0cfd245b8