[INFO] cloning repository https://github.com/makisevon/dss [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/makisevon/dss" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakisevon%2Fdss", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakisevon%2Fdss'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb2093a91f440c6d2aecb091d3d5bdcd92181a3b [INFO] checking makisevon/dss against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakisevon%2Fdss" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/makisevon/dss on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/makisevon/dss [INFO] finished tweaking git repo https://github.com/makisevon/dss [INFO] tweaked toml for git repo https://github.com/makisevon/dss written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/makisevon/dss already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-types v0.6.1 [INFO] [stderr] Downloaded prost-derive v0.6.1 [INFO] [stderr] Downloaded plotters-svg v0.3.3 [INFO] [stderr] Downloaded plotters-backend v0.3.4 [INFO] [stderr] Downloaded prost v0.6.1 [INFO] [stderr] Downloaded anyhow v1.0.62 [INFO] [stderr] Downloaded plotters v0.3.3 [INFO] [stderr] Downloaded prost-build v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7d2584c6ead1c9aae946609699846da77fa884e56840430a21376e70b5de518 [INFO] running `Command { std: "docker" "start" "-a" "e7d2584c6ead1c9aae946609699846da77fa884e56840430a21376e70b5de518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7d2584c6ead1c9aae946609699846da77fa884e56840430a21376e70b5de518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d2584c6ead1c9aae946609699846da77fa884e56840430a21376e70b5de518", kill_on_drop: false }` [INFO] [stdout] e7d2584c6ead1c9aae946609699846da77fa884e56840430a21376e70b5de518 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fb794791f5184f7fb6f96b4caa7e4a7211ebca565deebd9ea2e80b9008a7dd2 [INFO] running `Command { std: "docker" "start" "-a" "7fb794791f5184f7fb6f96b4caa7e4a7211ebca565deebd9ea2e80b9008a7dd2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking linearizability v0.1.0 (/opt/rustwide/workdir/linearizability) [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking plotters v0.3.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling labcodec v0.1.0 (/opt/rustwide/workdir/labcodec) [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir/raft) [INFO] [stderr] Compiling percolator v0.1.0 (/opt/rustwide/workdir/percolator) [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking labrpc v0.1.0 (/opt/rustwide/workdir/labrpc) [INFO] [stdout] warning: unused import: `add_service as add_tso_service` [INFO] [stdout] --> percolator/src/service.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | add_service as add_tso_service, Client as TsoClient, Service as TsoService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_service as add_transaction_service` [INFO] [stdout] --> percolator/src/service.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | add_service as add_transaction_service, Client as TxnClient, Service as TxnService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_service as add_raft_service` [INFO] [stdout] --> raft/src/proto/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | add_service as add_raft_service, Client as RaftClient, Service as RaftService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_service as add_kv_service` [INFO] [stdout] --> raft/src/proto/mod.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub use self::kv::{add_service as add_kv_service, Client as KvClient, Service as KvService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> percolator/src/server.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TimestampOracle { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 21 | timestamp: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimestampOracle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `store` is never read [INFO] [stdout] --> percolator/src/server.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MemoryStorage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | store: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryStorage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `CHECK_PERIOD_MILLIS` and `CHECK_PERIOD` are never used [INFO] [stdout] --> percolator/src/server.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 38 | impl MemoryStorage { [INFO] [stdout] | ------------------ associated constants in this implementation [INFO] [stdout] 39 | const CHECK_PERIOD_MILLIS: u64 = 50; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | const CHECK_PERIOD: Duration = Duration::from_millis(Self::CHECK_PERIOD_MILLIS); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> percolator/src/server.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl GetReply { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 136 | fn new(value: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> percolator/src/server.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | impl PrewriteReply { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 142 | fn new(success: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> percolator/src/server.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 147 | impl CommitReply { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 148 | fn new(success: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lock`, `write`, and `data` are never read [INFO] [stdout] --> percolator/src/server.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | struct Store { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 155 | lock: Table, [INFO] [stdout] | ^^^^ [INFO] [stdout] 156 | [INFO] [stdout] 157 | write: Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | data: Table>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table` is never read [INFO] [stdout] --> percolator/src/server.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 162 | table: BTreeMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Primary` and `Secondary` are never constructed [INFO] [stdout] --> percolator/src/server.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 172 | enum Lock { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 173 | Primary(Instant), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 174 | Secondary(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read`, `write`, and `erase` are never used [INFO] [stdout] --> percolator/src/server.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 177 | impl Table { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 178 | fn read(&self, key: &[u8], timestamps: impl RangeBounds) -> Option<(&Key, &T)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn write(&mut self, key: Key, value: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn erase(&mut self, key: &Key) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `LOCK_TTL` and `expire` are never used [INFO] [stdout] --> percolator/src/server.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 205 | impl Table { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 206 | const LOCK_TTL: Duration = Duration::from_millis(MemoryStorage::CHECK_PERIOD_MILLIS << 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 207 | [INFO] [stdout] 208 | fn expire(&mut self, key: &Key) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> percolator/src/server.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 231 | impl Key { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 232 | fn new(key: Vec, timestamp: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `REPLY_TIMEOUT` is never used [INFO] [stdout] --> raft/src/kvraft/server.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 91 | impl Node { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 92 | const REPLY_TIMEOUT: Duration = Duration::from_millis(500); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> raft/src/kvraft/server.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 145 | impl GetReply { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 146 | fn new(is_leader: bool, value: &str, error: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> raft/src/kvraft/server.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 156 | impl PutAppendReply { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 157 | fn new(is_leader: bool, error: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> raft/src/raft/mod.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 317 | impl RequestVoteReply { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 318 | fn new(term: u64, vote_granted: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> raft/src/raft/mod.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 323 | impl AppendEntriesReply { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 324 | fn new(term: u64, success: bool, conflicting_term: u64, first_conflicted: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> raft/src/raft/mod.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 336 | impl InstallSnapshotReply { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 337 | fn new(term: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append`, `truncate`, and `reset` are never used [INFO] [stdout] --> raft/src/raft/mod.rs:819:8 [INFO] [stdout] | [INFO] [stdout] 789 | impl Log { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 819 | fn append(&mut self, other: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | fn truncate(&mut self, len: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | fn reset(&mut self, term: u64, index: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.90s [INFO] running `Command { std: "docker" "inspect" "7fb794791f5184f7fb6f96b4caa7e4a7211ebca565deebd9ea2e80b9008a7dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb794791f5184f7fb6f96b4caa7e4a7211ebca565deebd9ea2e80b9008a7dd2", kill_on_drop: false }` [INFO] [stdout] 7fb794791f5184f7fb6f96b4caa7e4a7211ebca565deebd9ea2e80b9008a7dd2 [INFO] checking makisevon/dss against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakisevon%2Fdss" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/makisevon/dss on toolchain 357cc345f0a672ac4bee347eb89b7552541416c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/makisevon/dss [INFO] finished tweaking git repo https://github.com/makisevon/dss [INFO] tweaked toml for git repo https://github.com/makisevon/dss written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/makisevon/dss already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fe2460cd4ac3083768643915da23e9ec59c4307032790c7c2bf6d9d6a61fd65 [INFO] running `Command { std: "docker" "start" "-a" "2fe2460cd4ac3083768643915da23e9ec59c4307032790c7c2bf6d9d6a61fd65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fe2460cd4ac3083768643915da23e9ec59c4307032790c7c2bf6d9d6a61fd65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe2460cd4ac3083768643915da23e9ec59c4307032790c7c2bf6d9d6a61fd65", kill_on_drop: false }` [INFO] [stdout] 2fe2460cd4ac3083768643915da23e9ec59c4307032790c7c2bf6d9d6a61fd65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 411631c2689be762f9a7c76e8abeede5f9a3107a3050df32eed399150e936e89 [INFO] running `Command { std: "docker" "start" "-a" "411631c2689be762f9a7c76e8abeede5f9a3107a3050df32eed399150e936e89", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking linearizability v0.1.0 (/opt/rustwide/workdir/linearizability) [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking plotters v0.3.3 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling labcodec v0.1.0 (/opt/rustwide/workdir/labcodec) [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir/raft) [INFO] [stderr] Compiling percolator v0.1.0 (/opt/rustwide/workdir/percolator) [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking labrpc v0.1.0 (/opt/rustwide/workdir/labrpc) [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> labrpc/src/client.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Ok(resp)) => labcodec::decode(&resp).map_err(Error::Decode), [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> labrpc/src/client.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Ok(resp)) => labcodec::decode(&resp).map_err(Error::Decode), [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> labrpc/src/client.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | Box::pin(rx.then(|res| async move { [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `std::result::Result` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/result.rs:527:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> labrpc/src/client.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(Err(e)) => Err(e), [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Err` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/result.rs:536:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> labrpc/src/client.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | Box::pin(rx.then(|res| async move { [INFO] [stdout] | _____________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 77 | | match res { [INFO] [stdout] 78 | | Ok(Ok(resp)) => labcodec::decode(&resp).map_err(Error::Decode), [INFO] [stdout] 79 | | Ok(Err(e)) => Err(e), [INFO] [stdout] 80 | | Err(e) => Err(Error::Recv(e)), [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected due to this [INFO] [stdout] | found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(std::result::Result, _>, _>) -> _` [INFO] [stdout] found function signature `fn(std::result::Result, _>) -> _` [INFO] [stdout] note: required by a bound in `futures::FutureExt::then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.23/src/future/future/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 191 | fn then(self, f: F) -> Then [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 192 | where [INFO] [stdout] 193 | F: FnOnce(Self::Output) -> Fut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FutureExt::then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> labrpc/src/client.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / Box::pin(rx.then(|res| async move { [INFO] [stdout] 77 | | match res { [INFO] [stdout] 78 | | Ok(Ok(resp)) => labcodec::decode(&resp).map_err(Error::Decode), [INFO] [stdout] 79 | | Ok(Err(e)) => Err(e), [INFO] [stdout] 80 | | Err(e) => Err(Error::Recv(e)), [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |___________expected due to this [INFO] [stdout] | found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(std::result::Result, _>, _>) -> _` [INFO] [stdout] found function signature `fn(std::result::Result, _>) -> _` [INFO] [stdout] = note: required for `{async closure@labrpc/src/client.rs:76:26: 76:31}` to implement `futures_util::fns::FnOnce1, error::Error>, Canceled>>` [INFO] [stdout] = note: required for `Map, Error>>, {async closure@client.rs:76:26}>` to implement `futures::Future` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Flatten, Error>>, {async closure@client.rs:76:26}>, _>` to implement `futures::Future` [INFO] [stdout] = note: required for the cast from `Pin, Error>>, _, {async closure@client.rs:76:26}>>>` to `Pin> + std::marker::Send + 'static)>>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/labrpc-a17ebb9aecc28c88.long-type-16394052951560982645.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/labrpc-a17ebb9aecc28c88.long-type-7362126309413210806.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `labrpc` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "411631c2689be762f9a7c76e8abeede5f9a3107a3050df32eed399150e936e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411631c2689be762f9a7c76e8abeede5f9a3107a3050df32eed399150e936e89", kill_on_drop: false }` [INFO] [stdout] 411631c2689be762f9a7c76e8abeede5f9a3107a3050df32eed399150e936e89