[INFO] fetching crate sdcons 0.1.0... [INFO] checking sdcons-0.1.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate sdcons 0.1.0 into /workspace/builds/worker-78/source [INFO] validating manifest of crates.io crate sdcons 0.1.0 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sdcons 0.1.0 [INFO] finished tweaking crates.io crate sdcons 0.1.0 [INFO] tweaked toml for crates.io crate sdcons 0.1.0 written to /workspace/builds/worker-78/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--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-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3833bcf483d205d7fa97580d2da3189d99cf55067222b4aac3505c29794defc0 [INFO] running `Command { std: "docker" "start" "-a" "3833bcf483d205d7fa97580d2da3189d99cf55067222b4aac3505c29794defc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3833bcf483d205d7fa97580d2da3189d99cf55067222b4aac3505c29794defc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3833bcf483d205d7fa97580d2da3189d99cf55067222b4aac3505c29794defc0", kill_on_drop: false }` [INFO] [stdout] 3833bcf483d205d7fa97580d2da3189d99cf55067222b4aac3505c29794defc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4ab9430fc0e746ed46c5adfc7e561f24be36bf11f944bf3e102a31cd42bbce3 [INFO] running `Command { std: "docker" "start" "-a" "b4ab9430fc0e746ed46c5adfc7e561f24be36bf11f944bf3e102a31cd42bbce3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking sdcons v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/sdcons/cons.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/sdcons/progress.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::types::{ConfigStage, Entry, EntryMeta, HardState, MemberState}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/sdcons/progress.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::{prelude::*, DateTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/sdcons/progress.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/sdcons/storage.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/sdcons/storage.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/sdcons/cons.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/sdcons/progress.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::types::{ConfigStage, Entry, EntryMeta, HardState, MemberState}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/sdcons/progress.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::{prelude::*, DateTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/sdcons/progress.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/sdcons/storage.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> src/sdcons/storage.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/sdcons/cons.rs:1410:37 [INFO] [stdout] | [INFO] [stdout] 1410 | fn handle_read_reply(&mut self, from: u64, msg: ReadReplyMsg) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sdcons/cons.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn new(channel_id: u64, to: u64) -> TransferingRecord { [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: `is_index_student` [INFO] [stdout] --> src/sdcons/cons.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 589 | fn is_index_student(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_channel_candidate` [INFO] [stdout] --> src/sdcons/cons.rs:603:8 [INFO] [stdout] | [INFO] [stdout] 603 | fn is_channel_candidate(&self, channel_id: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_term` [INFO] [stdout] --> src/sdcons/progress.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn current_term(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_student` [INFO] [stdout] --> src/sdcons/progress.rs:639:12 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn is_student(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_entry_id` [INFO] [stdout] --> src/sdcons/storage.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn first_entry_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_entry_meta` [INFO] [stdout] --> src/sdcons/storage.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn last_entry_meta(&self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_index_of_term` [INFO] [stdout] --> src/sdcons/storage.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn first_index_of_term(&self, channel_term: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_stabled_entry_id` [INFO] [stdout] --> src/sdcons/storage.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn last_stabled_entry_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sdcons/storage.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn new(id: u64) -> MemStorage { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range` [INFO] [stdout] --> src/sdcons/storage.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn range(&self, from: u64, to: u64, max_bytes: u64) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `applied_index_range` [INFO] [stdout] --> src/sdcons/storage.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn applied_index_range(&self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `entry_index_id` [INFO] [stdout] --> src/sdcons/storage.rs:677:12 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn entry_index_id(&self, channel_id: u64, entry_id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/sdcons/cons.rs:1410:37 [INFO] [stdout] | [INFO] [stdout] 1410 | fn handle_read_reply(&mut self, from: u64, msg: ReadReplyMsg) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdcons/cons.rs:4244:13 [INFO] [stdout] | [INFO] [stdout] 4244 | let mut log_meta = init_log_meta_with_default_members(); [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/sdcons/progress.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | let mut hint_id = 5; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sdcons/cons.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn new(channel_id: u64, to: u64) -> TransferingRecord { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `task` [INFO] [stdout] --> src/sdcons/cons.rs:2660:8 [INFO] [stdout] | [INFO] [stdout] 2660 | fn task(value: u8) -> Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_term` [INFO] [stdout] --> src/sdcons/progress.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn current_term(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_entry_id` [INFO] [stdout] --> src/sdcons/storage.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn first_entry_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `last_entry_meta` [INFO] [stdout] --> src/sdcons/storage.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn last_entry_meta(&self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_index_of_term` [INFO] [stdout] --> src/sdcons/storage.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn first_index_of_term(&self, channel_term: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range` [INFO] [stdout] --> src/sdcons/storage.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn range(&self, from: u64, to: u64, max_bytes: u64) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `applied_index_range` [INFO] [stdout] --> src/sdcons/storage.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | pub fn applied_index_range(&self) -> (u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `entry_index_id` [INFO] [stdout] --> src/sdcons/storage.rs:677:12 [INFO] [stdout] | [INFO] [stdout] 677 | pub fn entry_index_id(&self, channel_id: u64, entry_id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.25s [INFO] running `Command { std: "docker" "inspect" "b4ab9430fc0e746ed46c5adfc7e561f24be36bf11f944bf3e102a31cd42bbce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ab9430fc0e746ed46c5adfc7e561f24be36bf11f944bf3e102a31cd42bbce3", kill_on_drop: false }` [INFO] [stdout] b4ab9430fc0e746ed46c5adfc7e561f24be36bf11f944bf3e102a31cd42bbce3