[INFO] cloning repository https://github.com/eburghar/bitcoin-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eburghar/bitcoin-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feburghar%2Fbitcoin-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feburghar%2Fbitcoin-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85f90f39ddc82a5f505f5c6e2dbcd4f57947d47e [INFO] checking eburghar/bitcoin-exporter against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feburghar%2Fbitcoin-exporter" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eburghar/bitcoin-exporter on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eburghar/bitcoin-exporter [INFO] finished tweaking git repo https://github.com/eburghar/bitcoin-exporter [INFO] tweaked toml for git repo https://github.com/eburghar/bitcoin-exporter written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/eburghar/bitcoin-exporter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 651213984dbbfa7770e7312b044753d6ff69ed704882a0f4e10590a1d1c09817 [INFO] running `Command { std: "docker" "start" "-a" "651213984dbbfa7770e7312b044753d6ff69ed704882a0f4e10590a1d1c09817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "651213984dbbfa7770e7312b044753d6ff69ed704882a0f4e10590a1d1c09817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "651213984dbbfa7770e7312b044753d6ff69ed704882a0f4e10590a1d1c09817", kill_on_drop: false }` [INFO] [stdout] 651213984dbbfa7770e7312b044753d6ff69ed704882a0f4e10590a1d1c09817 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f29d2f1349164cedadee8e7dca28444ff7ac0516fc3c0cfb32331dd2406c905e [INFO] running `Command { std: "docker" "start" "-a" "f29d2f1349164cedadee8e7dca28444ff7ac0516fc3c0cfb32331dd2406c905e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling protobuf v2.25.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling argh_shared v0.1.7 [INFO] [stderr] Compiling prometheus v0.13.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking base64-compat v1.0.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling argh_derive v0.1.7 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking argh v0.1.7 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking jsonrpc v0.12.0 [INFO] [stderr] Checking bitcoin v0.27.1 [INFO] [stderr] Checking bitcoincore-rpc-json v0.14.0 (https://github.com/eburghar/rust-bitcoincore-rpc.git?branch=master#a96d245e) [INFO] [stderr] Checking bitcoincore-rpc v0.14.0 (https://github.com/eburghar/rust-bitcoincore-rpc.git?branch=master#a96d245e) [INFO] [stderr] Checking bitcoin-exporter v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | let server = Server::bind(addr).serve(serve_future); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:46:14: 51:4]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `main`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-exporter` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | let server = Server::bind(addr).serve(serve_future); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:46:14: 51:4]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | Ok::<_, Error>(service_fn(move |req| { [INFO] [stdout] 48 | | let rpc = rpc.clone(); [INFO] [stdout] 49 | | serve_req(req, addr, rpc) [INFO] [stdout] 50 | | })) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `main`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin-exporter` due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f29d2f1349164cedadee8e7dca28444ff7ac0516fc3c0cfb32331dd2406c905e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f29d2f1349164cedadee8e7dca28444ff7ac0516fc3c0cfb32331dd2406c905e", kill_on_drop: false }` [INFO] [stdout] f29d2f1349164cedadee8e7dca28444ff7ac0516fc3c0cfb32331dd2406c905e