[INFO] cloning repository https://github.com/idoflax/rust_circuit_breaker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idoflax/rust_circuit_breaker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidoflax%2Frust_circuit_breaker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidoflax%2Frust_circuit_breaker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3300bf8d477e6816078d7a5cee860dce10fa98f4
[INFO] checking idoflax/rust_circuit_breaker against 24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidoflax%2Frust_circuit_breaker" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/idoflax/rust_circuit_breaker
[INFO] finished tweaking git repo https://github.com/idoflax/rust_circuit_breaker
[INFO] tweaked toml for git repo https://github.com/idoflax/rust_circuit_breaker written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/idoflax/rust_circuit_breaker on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/idoflax/rust_circuit_breaker already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743
[INFO] running `Command { std: "docker" "start" "9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking circuit_breaker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type alias `Action` is never used
[INFO] [stdout]   --> src/circuit_breaker.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | type Action<T, E> = Box<dyn Fn() -> Result<T, E>>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CircuitBreakerResult` is never used
[INFO] [stdout]   --> src/circuit_breaker.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type CircuitBreakerResult<T, E> = Result<T, CircuitBreakerError<E>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CircuitBreaker` is never constructed
[INFO] [stdout]   --> src/circuit_breaker.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct CircuitBreaker {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `guard`, `attempt_action`, and `open_circuit` are never used
[INFO] [stdout]   --> src/circuit_breaker.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl CircuitBreaker {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |   pub fn new(failure_threshold: i8, half_open_attempts: i8, timeout: Duration) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |   pub fn guard<T, E: Display>(&mut self, action: Action<T, E>) -> CircuitBreakerResult<T, E> {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |   fn attempt_action<T, E: Display>(
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |   fn open_circuit(&mut self) {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CircuitBreakerState` is never used
[INFO] [stdout]    --> src/circuit_breaker.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 | enum CircuitBreakerState {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CircuitBreakerError` is never used
[INFO] [stdout]  --> src/circuit_breaker_error.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum CircuitBreakerError<E: Display> {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> src/circuit_breaker.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     mem::drop(state);
[INFO] [stdout]    |     ^^^^^^^^^^-----^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               argument has type `CircuitBreakerState`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 52 -     mem::drop(state);
[INFO] [stdout] 52 +     let _ = state;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> src/circuit_breaker.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     mem::drop(state);
[INFO] [stdout]    |     ^^^^^^^^^^-----^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               argument has type `CircuitBreakerState`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 52 -     mem::drop(state);
[INFO] [stdout] 52 +     let _ = state;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.40s
[INFO] running `Command { std: "docker" "inspect" "9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743", kill_on_drop: false }`
[INFO] [stdout] 9b1b02ecbefad4ac45aa004190e6683090c6de19b39c7b1f65383f764e6aa743
