[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaudiacay%2Fhedgebot" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laudiacay/hedgebot on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-13/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a62ee4b96bcfc6879a77b92d70617ce8043177f2cf6798265d93bbbd68cded43 [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" "a62ee4b96bcfc6879a77b92d70617ce8043177f2cf6798265d93bbbd68cded43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a62ee4b96bcfc6879a77b92d70617ce8043177f2cf6798265d93bbbd68cded43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a62ee4b96bcfc6879a77b92d70617ce8043177f2cf6798265d93bbbd68cded43", kill_on_drop: false }` [INFO] [stdout] a62ee4b96bcfc6879a77b92d70617ce8043177f2cf6798265d93bbbd68cded43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c840fa0aa521766f6bc6f6ede31e61a16670892f59e5d93805d08af6c0bb8098 [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" "c840fa0aa521766f6bc6f6ede31e61a16670892f59e5d93805d08af6c0bb8098", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling byte-slice-cast v1.2.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ranges v0.3.3 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.136 [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 serde v1.0.136 [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] | ^^^^^^^^^^^ move occurs because `self.ranges` has type `Ranges`, which does not implement the `Copy` trait [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" "c840fa0aa521766f6bc6f6ede31e61a16670892f59e5d93805d08af6c0bb8098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c840fa0aa521766f6bc6f6ede31e61a16670892f59e5d93805d08af6c0bb8098", kill_on_drop: false }` [INFO] [stdout] c840fa0aa521766f6bc6f6ede31e61a16670892f59e5d93805d08af6c0bb8098