[INFO] fetching crate connect 0.1.1... [INFO] checking connect-0.1.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate connect 0.1.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate connect 0.1.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate connect 0.1.1 [INFO] finished tweaking crates.io crate connect 0.1.1 [INFO] tweaked toml for crates.io crate connect 0.1.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7a35cd0a5eb8b4372304c5ebad39e13dce94488c1c4537d549bf72e9aaffdb6 [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" "d7a35cd0a5eb8b4372304c5ebad39e13dce94488c1c4537d549bf72e9aaffdb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7a35cd0a5eb8b4372304c5ebad39e13dce94488c1c4537d549bf72e9aaffdb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a35cd0a5eb8b4372304c5ebad39e13dce94488c1c4537d549bf72e9aaffdb6", kill_on_drop: false }` [INFO] [stdout] d7a35cd0a5eb8b4372304c5ebad39e13dce94488c1c4537d549bf72e9aaffdb6 [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efb35599ca6d10c3bebbd8349ec30302cb21dbc7f86a7ccf2ff160813db1908d [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" "efb35599ca6d10c3bebbd8349ec30302cb21dbc7f86a7ccf2ff160813db1908d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking memchr v2.3.4 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking config v0.8.0 [INFO] [stderr] Checking log4rs v0.8.3 [INFO] [stderr] Checking connect v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/consensus/node_state.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn add_logs(&mut self, index: LogIndex, mut logs: Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_indexes` [INFO] [stdout] --> src/consensus/state_machine.rs:754:17 [INFO] [stdout] | [INFO] [stdout] 754 | match_indexes, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `match_indexes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/executor/client_server_executor.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let handle = connection.handle(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/consensus/node_state.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn add_logs(&mut self, index: LogIndex, mut logs: Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_indexes` [INFO] [stdout] --> src/consensus/state_machine.rs:754:17 [INFO] [stdout] | [INFO] [stdout] 754 | match_indexes, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `match_indexes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/executor/client_server_executor.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let handle = connection.handle(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/consensus/state_machine.rs:581:33 [INFO] [stdout] | [INFO] [stdout] 581 | ... let mut current_match_index = [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/consensus/state_machine.rs:583:33 [INFO] [stdout] | [INFO] [stdout] 583 | ... let mut current_next_index = [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/consensus/state_machine.rs:603:33 [INFO] [stdout] | [INFO] [stdout] 603 | ... let mut next_index = next_indexes.get_mut(&from_node_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/consensus/state_machine.rs:581:33 [INFO] [stdout] | [INFO] [stdout] 581 | ... let mut current_match_index = [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/consensus/state_machine.rs:583:33 [INFO] [stdout] | [INFO] [stdout] 583 | ... let mut current_next_index = [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/consensus/state_machine.rs:603:33 [INFO] [stdout] | [INFO] [stdout] 603 | ... let mut next_index = next_indexes.get_mut(&from_node_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_last_applied` [INFO] [stdout] --> src/consensus/node_state.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_last_applied(&self) -> LogIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_last_applied` [INFO] [stdout] --> src/consensus/node_state.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn set_last_applied(&mut self, last_applied: LogIndex) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_read` [INFO] [stdout] --> src/server/server.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) on_read: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_write` [INFO] [stdout] --> src/server/server.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) on_write: W, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `service_type` [INFO] [stdout] --> src/server/server.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) service_type: ServiceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_last_applied` [INFO] [stdout] --> src/consensus/node_state.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_last_applied(&self) -> LogIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_last_applied` [INFO] [stdout] --> src/consensus/node_state.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn set_last_applied(&mut self, last_applied: LogIndex) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_read` [INFO] [stdout] --> src/server/server.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) on_read: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_write` [INFO] [stdout] --> src/server/server.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) on_write: W, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `service_type` [INFO] [stdout] --> src/server/server.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) service_type: ServiceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.61s [INFO] running `Command { std: "docker" "inspect" "efb35599ca6d10c3bebbd8349ec30302cb21dbc7f86a7ccf2ff160813db1908d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb35599ca6d10c3bebbd8349ec30302cb21dbc7f86a7ccf2ff160813db1908d", kill_on_drop: false }` [INFO] [stdout] efb35599ca6d10c3bebbd8349ec30302cb21dbc7f86a7ccf2ff160813db1908d