[INFO] updating cached repository https://github.com/dhild/raft-rs
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ccc871363fdacca4d0c8d20bd17e5c16f2e8f565
[INFO] checking dhild/raft-rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhild%2Fraft-rs" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dhild/raft-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/dhild/raft-rs
[INFO] removed workspace from git repo https://github.com/dhild/raft-rs
[INFO] finished tweaking git repo https://github.com/dhild/raft-rs
[INFO] tweaked toml for git repo https://github.com/dhild/raft-rs written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/dhild/raft-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/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 `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0c9b0705b2f6f898ba32039b3b14bbea4ebdc65a1b0f065a3145a543492964a4
[INFO] running `"docker" "start" "-a" "0c9b0705b2f6f898ba32039b3b14bbea4ebdc65a1b0f065a3145a543492964a4"`
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking tiny_http v0.6.2
[INFO] [stderr]     Checking http_req v0.6.1
[INFO] [stderr]     Checking pontoon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0463]: can't find crate for `clap`
[INFO] [stderr]  --> src/main.rs:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | extern crate clap;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0463`.
[INFO] [stderr] error: could not compile `pontoon`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0463]: can't find crate for `clap`
[INFO] [stderr]  --> src/main.rs:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | extern crate clap;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0463`.
[INFO] [stderr] error: could not compile `pontoon`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0432]: unresolved import `raft_rs`
[INFO] [stderr]  --> tests/common/mod.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use raft_rs::*;
[INFO] [stderr]   |     ^^^^^^^ use of undeclared type or module `raft_rs`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `raft_rs`
[INFO] [stderr]  --> tests/three_servers.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use raft_rs::*;
[INFO] [stderr]   |     ^^^^^^^ use of undeclared type or module `raft_rs`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures`
[INFO] [stderr]   --> tests/common/mod.rs:60:20
[INFO] [stderr]    |
[INFO] [stderr] 60 |     let (tx, rx) = futures::sync::oneshot::channel::<Option<E>>();
[INFO] [stderr]    |                    ^^^^^^^ use of undeclared type or module `futures`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `hyper`
[INFO] [stderr]   --> tests/common/mod.rs:72:5
[INFO] [stderr]    |
[INFO] [stderr] 72 |     hyper::rt::run(fut);
[INFO] [stderr]    |     ^^^^^ use of undeclared type or module `hyper`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Client`
[INFO] [stderr]   --> tests/three_servers.rs:20:22
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let mut client = Client::default();
[INFO] [stderr]    |                      ^^^^^^ use of undeclared type or module `Client`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `raft`
[INFO] [stderr]   --> tests/three_servers.rs:32:33
[INFO] [stderr]    |
[INFO] [stderr] 32 | ...                   raft::Status {
[INFO] [stderr]    |                       ^^^^ use of undeclared type or module `raft`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `raft`
[INFO] [stderr]   --> tests/three_servers.rs:38:33
[INFO] [stderr]    |
[INFO] [stderr] 38 | ...                   raft::Status {
[INFO] [stderr]    |                       ^^^^ use of undeclared type or module `raft`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `raft`
[INFO] [stderr]   --> tests/three_servers.rs:44:33
[INFO] [stderr]    |
[INFO] [stderr] 44 | ...                   raft::Status {
[INFO] [stderr]    |                       ^^^^ use of undeclared type or module `raft`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Loop`
[INFO] [stderr]   --> tests/three_servers.rs:51:39
[INFO] [stderr]    |
[INFO] [stderr] 51 | ...                   return Ok(Loop::Break(()));
[INFO] [stderr]    |                                 ^^^^ use of undeclared type or module `Loop`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Loop`
[INFO] [stderr]   --> tests/three_servers.rs:59:24
[INFO] [stderr]    |
[INFO] [stderr] 59 |                     Ok(Loop::Continue((addr1, addr2, addr3, start)))
[INFO] [stderr]    |                        ^^^^ use of undeclared type or module `Loop`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Delay`
[INFO] [stderr]   --> tests/three_servers.rs:61:27
[INFO] [stderr]    |
[INFO] [stderr] 61 |                 .then(|x| Delay::new(Instant::now() + Duration::from_millis(25)).then(|_| x))
[INFO] [stderr]    |                           ^^^^^ use of undeclared type or module `Delay`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]   --> tests/common/mod.rs:13:19
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let server1 = new_server(
[INFO] [stderr]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RaftConfig` in this scope
[INFO] [stderr]   --> tests/common/mod.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |         RaftConfig {
[INFO] [stderr]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]   --> tests/common/mod.rs:20:19
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let server2 = new_server(
[INFO] [stderr]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RaftConfig` in this scope
[INFO] [stderr]   --> tests/common/mod.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |         RaftConfig {
[INFO] [stderr]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `new_server` in this scope
[INFO] [stderr]   --> tests/common/mod.rs:27:19
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let server3 = new_server(
[INFO] [stderr]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RaftConfig` in this scope
[INFO] [stderr]   --> tests/common/mod.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |         RaftConfig {
[INFO] [stderr]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `IntoFuture` in this scope
[INFO] [stderr]   --> tests/common/mod.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 |     F: IntoFuture<Item = (), Error = E>,
[INFO] [stderr]    |        ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `ok` in this scope
[INFO] [stderr]    --> tests/common/mod.rs:69:9
[INFO] [stderr]     |
[INFO] [stderr] 69  |         ok(())
[INFO] [stderr]     |         ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `ok` in this scope
[INFO] [stderr]    --> tests/common/mod.rs:71:43
[INFO] [stderr]     |
[INFO] [stderr] 71  |     let fut = servers.join(test).then(|_| ok(()));
[INFO] [stderr]     |                                           ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `loop_fn` in this scope
[INFO] [stderr]   --> tests/three_servers.rs:22:31
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let check_single_leader = loop_fn(
[INFO] [stderr]    |                               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Health` in this scope
[INFO] [stderr]   --> tests/three_servers.rs:30:25
[INFO] [stderr]    |
[INFO] [stderr] 30 |                         Health {
[INFO] [stderr]    |                         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Health` in this scope
[INFO] [stderr]   --> tests/three_servers.rs:36:25
[INFO] [stderr]    |
[INFO] [stderr] 36 |                         Health {
[INFO] [stderr]    |                         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Health` in this scope
[INFO] [stderr]   --> tests/three_servers.rs:42:25
[INFO] [stderr]    |
[INFO] [stderr] 42 |                         Health {
[INFO] [stderr]    |                         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 24 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0422, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `pontoon`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "0c9b0705b2f6f898ba32039b3b14bbea4ebdc65a1b0f065a3145a543492964a4"`
[INFO] running `"docker" "rm" "-f" "0c9b0705b2f6f898ba32039b3b14bbea4ebdc65a1b0f065a3145a543492964a4"`
[INFO] [stdout] 0c9b0705b2f6f898ba32039b3b14bbea4ebdc65a1b0f065a3145a543492964a4
