[INFO] fetching crate sdcons 0.1.0... [INFO] checking sdcons-0.1.0 against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] extracting crate sdcons 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sdcons 0.1.0 on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf8467db879898b2781736a839470d931331e52da0e33516ea1bcd3cab666137 [INFO] running `Command { std: "docker" "start" "-a" "bf8467db879898b2781736a839470d931331e52da0e33516ea1bcd3cab666137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf8467db879898b2781736a839470d931331e52da0e33516ea1bcd3cab666137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8467db879898b2781736a839470d931331e52da0e33516ea1bcd3cab666137", kill_on_drop: false }` [INFO] [stdout] bf8467db879898b2781736a839470d931331e52da0e33516ea1bcd3cab666137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccb8d4c46208a6c6a848c898b28777a525fca5dea1e37ffbe69a4a6f02301a55 [INFO] running `Command { std: "docker" "start" "-a" "ccb8d4c46208a6c6a848c898b28777a525fca5dea1e37ffbe69a4a6f02301a55", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking libc v0.2.102 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking log v0.4.14 [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] Checking serde v1.0.130 [INFO] [stderr] Checking serde_json v1.0.68 [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: 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: 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: field is never read: `choosen_id` [INFO] [stdout] --> src/sdcons/cons.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | choosen_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_id` [INFO] [stdout] --> src/sdcons/cons.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 476 | pending_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `applied_id` [INFO] [stdout] --> src/sdcons/cons.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | applied_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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: field is never read: `member_id` [INFO] [stdout] --> src/sdcons/storage.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub member_id: 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: `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: 24 warnings emitted [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: field is never read: `choosen_id` [INFO] [stdout] --> src/sdcons/cons.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | choosen_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_id` [INFO] [stdout] --> src/sdcons/cons.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 476 | pending_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `applied_id` [INFO] [stdout] --> src/sdcons/cons.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | applied_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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: field is never read: `member_id` [INFO] [stdout] --> src/sdcons/storage.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub member_id: 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.51s [INFO] running `Command { std: "docker" "inspect" "ccb8d4c46208a6c6a848c898b28777a525fca5dea1e37ffbe69a4a6f02301a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb8d4c46208a6c6a848c898b28777a525fca5dea1e37ffbe69a4a6f02301a55", kill_on_drop: false }` [INFO] [stdout] ccb8d4c46208a6c6a848c898b28777a525fca5dea1e37ffbe69a4a6f02301a55