[INFO] cloning repository https://github.com/fin-ger/simple-raft-node [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fin-ger/simple-raft-node" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffin-ger%2Fsimple-raft-node", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffin-ger%2Fsimple-raft-node'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ae32e1719b8164535b855207287b7cd248e1370 [INFO] testing fin-ger/simple-raft-node against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffin-ger%2Fsimple-raft-node" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fin-ger/simple-raft-node on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fin-ger/simple-raft-node [INFO] finished tweaking git repo https://github.com/fin-ger/simple-raft-node [INFO] tweaked toml for git repo https://github.com/fin-ger/simple-raft-node written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/fin-ger/simple-raft-node already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/pingcap/raft-rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/pingcap/raft-rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 361f85b76afe1e034ea03ad0f3cea04282d5801bc035c709c554bfaecaed16cc [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" "361f85b76afe1e034ea03ad0f3cea04282d5801bc035c709c554bfaecaed16cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "361f85b76afe1e034ea03ad0f3cea04282d5801bc035c709c554bfaecaed16cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361f85b76afe1e034ea03ad0f3cea04282d5801bc035c709c554bfaecaed16cc", kill_on_drop: false }` [INFO] [stdout] 361f85b76afe1e034ea03ad0f3cea04282d5801bc035c709c554bfaecaed16cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16192f37a82687bde617b0ee7e80e1511c1bf3edb30867c8e967489b0ec6e2db [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" "16192f37a82687bde617b0ee7e80e1511c1bf3edb30867c8e967489b0ec6e2db", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling protobuf v2.16.2 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling async-datagram v3.0.0 [INFO] [stderr] Compiling async-ready v3.0.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling rmp v0.8.9 [INFO] [stderr] Compiling slog-stdlog v4.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling juliex v0.3.0-alpha.8 [INFO] [stderr] Compiling futures-timer v0.3.0 [INFO] [stderr] Compiling runtime-raw v0.3.0-alpha.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling slog-term v2.6.0 [INFO] [stderr] Compiling protobuf-codegen v2.16.2 [INFO] [stderr] Compiling romio v0.3.0-alpha.10 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling runtime-native v0.3.0-alpha.6 [INFO] [stderr] Compiling protobuf-build v0.11.4 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha (https://github.com/pingcap/raft-rs?branch=master#4764a3b5) [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Compiling runtime-attributes v0.3.0-alpha.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling raft v0.6.0-alpha (https://github.com/pingcap/raft-rs?branch=master#4764a3b5) [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling runtime v0.3.0-alpha.8 [INFO] [stderr] Compiling rmp-serde v0.14.4 [INFO] [stderr] Compiling simple-raft-node v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0609]: no field `nodes` on type `&raft::prelude::ConfState` [INFO] [stdout] --> src/node_core.rs:313:73 [INFO] [stdout] | [INFO] [stdout] 313 | let nodes = &self.raft_node.mut_store().writable().conf_state().nodes; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `voters`, `learners`, `voters_outgoing`, `learners_next`, `auto_leave` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `nodes` on type `&raft::prelude::ConfState` [INFO] [stdout] --> src/node_core.rs:402:49 [INFO] [stdout] | [INFO] [stdout] 402 | ... node_id, conf_state.nodes.clone(), conf_state.learners.clone() [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `voters`, `learners`, `voters_outgoing`, `learners_next`, `auto_leave` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `raft::Raft>` in the current scope [INFO] [stdout] --> src/node_core.rs:421:49 [INFO] [stdout] | [INFO] [stdout] 421 | ... self.raft_node.raft.add_node(node) [INFO] [stdout] | ^^^^^^^^ method not found in `raft::Raft>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_learner` found for struct `raft::Raft>` in the current scope [INFO] [stdout] --> src/node_core.rs:431:49 [INFO] [stdout] | [INFO] [stdout] 431 | ... self.raft_node.raft.add_learner(learner) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `raft::Raft>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::vec::Vec::::remove_item': Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/node_core.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | self.proposed.remove_item(&proposal_id); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `BeginMembershipChange` found for enum `raft::prelude::ConfChangeType` in the current scope [INFO] [stdout] --> src/node_core.rs:822:45 [INFO] [stdout] | [INFO] [stdout] 822 | ... ConfChangeType::BeginMembershipChange [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `raft::prelude::ConfChangeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FinalizeMembershipChange` found for enum `raft::prelude::ConfChangeType` in the current scope [INFO] [stdout] --> src/node_core.rs:823:51 [INFO] [stdout] | [INFO] [stdout] 823 | ... | ConfChangeType::FinalizeMembershipChange => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `raft::prelude::ConfChangeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `raft::Raft>` in the current scope [INFO] [stdout] --> src/node_core.rs:772:53 [INFO] [stdout] | [INFO] [stdout] 772 | ... self.raft_node.raft.add_node(node_id) [INFO] [stdout] | ^^^^^^^^ method not found in `raft::Raft>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_node` found for struct `raft::Raft>` in the current scope [INFO] [stdout] --> src/node_core.rs:789:63 [INFO] [stdout] | [INFO] [stdout] 789 | ... let res = self.raft_node.raft.remove_node(node_id); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `raft::Raft>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_learner` found for struct `raft::Raft>` in the current scope [INFO] [stdout] --> src/node_core.rs:820:53 [INFO] [stdout] | [INFO] [stdout] 820 | ... self.raft_node.raft.add_learner(node_id) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `raft::Raft>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `configuration` found for reference `&raft::ProgressTracker` in the current scope [INFO] [stdout] --> src/node_core.rs:834:30 [INFO] [stdout] | [INFO] [stdout] 834 | ... .configuration() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&raft::ProgressTracker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::vec::Vec::::remove_item': Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/node_core.rs:880:35 [INFO] [stdout] | [INFO] [stdout] 880 | self.proposed.remove_item(&proposal_id); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-raft-node`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "16192f37a82687bde617b0ee7e80e1511c1bf3edb30867c8e967489b0ec6e2db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16192f37a82687bde617b0ee7e80e1511c1bf3edb30867c8e967489b0ec6e2db", kill_on_drop: false }` [INFO] [stdout] 16192f37a82687bde617b0ee7e80e1511c1bf3edb30867c8e967489b0ec6e2db