[INFO] cloning repository https://github.com/dhild/raft-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhild/raft-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhild%2Fraft-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhild%2Fraft-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccc871363fdacca4d0c8d20bd17e5c16f2e8f565 [INFO] checking dhild/raft-rs against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhild%2Fraft-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dhild/raft-rs on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/dhild/raft-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7f2aa7ac0353e22d4d0348e8f056e24e6ee4113073a12fedcf3459bf33c9c9fc [INFO] running `Command { std: "docker" "start" "-a" "7f2aa7ac0353e22d4d0348e8f056e24e6ee4113073a12fedcf3459bf33c9c9fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f2aa7ac0353e22d4d0348e8f056e24e6ee4113073a12fedcf3459bf33c9c9fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2aa7ac0353e22d4d0348e8f056e24e6ee4113073a12fedcf3459bf33c9c9fc", kill_on_drop: false }` [INFO] [stdout] 7f2aa7ac0353e22d4d0348e8f056e24e6ee4113073a12fedcf3459bf33c9c9fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf1c130d7c6e7153683cccde66c7700fdc6eb9afc1e531b79ceee2101df9a02a [INFO] running `Command { std: "docker" "start" "-a" "cf1c130d7c6e7153683cccde66c7700fdc6eb9afc1e531b79ceee2101df9a02a", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking chunked_transfer v1.2.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tiny_http v0.7.0 [INFO] [stderr] Checking http_req v0.6.1 [INFO] [stderr] Checking pontoon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `clap` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate clap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [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 E0463`. [INFO] [stdout] [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] [stdout] error[E0463]: can't find crate for `clap` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate clap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [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 E0463`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raft_rs` [INFO] [stdout] --> tests/common/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raft_rs::*; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `raft_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raft_rs` [INFO] [stdout] --> tests/three_servers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use raft_rs::*; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `raft_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> tests/common/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let (tx, rx) = futures::sync::oneshot::channel::>(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `hyper` [INFO] [stdout] --> tests/common/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | hyper::rt::run(fut); [INFO] [stdout] | ^^^^^ use of undeclared type or module `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Client` [INFO] [stdout] --> tests/three_servers.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let mut client = Client::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `raft` [INFO] [stdout] --> tests/three_servers.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | ... raft::Status { [INFO] [stdout] | ^^^^ use of undeclared type or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `raft` [INFO] [stdout] --> tests/three_servers.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | ... raft::Status { [INFO] [stdout] | ^^^^ use of undeclared type or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `raft` [INFO] [stdout] --> tests/three_servers.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | ... raft::Status { [INFO] [stdout] | ^^^^ use of undeclared type or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Loop` [INFO] [stdout] --> tests/three_servers.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | ... return Ok(Loop::Break(())); [INFO] [stdout] | ^^^^ use of undeclared type or module `Loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Loop` [INFO] [stdout] --> tests/three_servers.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(Loop::Continue((addr1, addr2, addr3, start))) [INFO] [stdout] | ^^^^ use of undeclared type or module `Loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Delay` [INFO] [stdout] --> tests/three_servers.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | .then(|x| Delay::new(Instant::now() + Duration::from_millis(25)).then(|_| x)) [INFO] [stdout] | ^^^^^ use of undeclared type or module `Delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> tests/common/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let server1 = new_server( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RaftConfig` in this scope [INFO] [stdout] --> tests/common/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | RaftConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> tests/common/mod.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let server2 = new_server( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RaftConfig` in this scope [INFO] [stdout] --> tests/common/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RaftConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_server` in this scope [INFO] [stdout] --> tests/common/mod.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let server3 = new_server( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RaftConfig` in this scope [INFO] [stdout] --> tests/common/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | RaftConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoFuture` in this scope [INFO] [stdout] --> tests/common/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::IntoFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/common/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ok(()) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/common/mod.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | let fut = servers.join(test).then(|_| ok(())); [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `loop_fn` in this scope [INFO] [stdout] --> tests/three_servers.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | let check_single_leader = loop_fn( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Health` in this scope [INFO] [stdout] --> tests/three_servers.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Health { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Health` in this scope [INFO] [stdout] --> tests/three_servers.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | Health { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Health` in this scope [INFO] [stdout] --> tests/three_servers.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | Health { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf1c130d7c6e7153683cccde66c7700fdc6eb9afc1e531b79ceee2101df9a02a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf1c130d7c6e7153683cccde66c7700fdc6eb9afc1e531b79ceee2101df9a02a", kill_on_drop: false }` [INFO] [stdout] cf1c130d7c6e7153683cccde66c7700fdc6eb9afc1e531b79ceee2101df9a02a