[INFO] cloning repository https://github.com/xuxian73/6.824 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xuxian73/6.824" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuxian73%2F6.824", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuxian73%2F6.824'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a885669792a0f4b801fc01d25ff51d49e1b8af2 [INFO] checking xuxian73/6.824 against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuxian73%2F6.824" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xuxian73/6.824 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/xuxian73/6.824 [INFO] finished tweaking git repo https://github.com/xuxian73/6.824 [INFO] tweaked toml for git repo https://github.com/xuxian73/6.824 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xuxian73/6.824 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 wasm-bindgen-shared v0.2.61 [INFO] [stderr] Downloaded memoffset v0.5.4 [INFO] [stderr] Downloaded prost-types v0.6.1 [INFO] [stderr] Downloaded multimap v0.8.1 [INFO] [stderr] Downloaded oorandom v11.1.0 [INFO] [stderr] Downloaded prost v0.6.1 [INFO] [stderr] Downloaded criterion-plot v0.4.2 [INFO] [stderr] Downloaded tinytemplate v1.0.4 [INFO] [stderr] Downloaded js-sys v0.3.38 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded serde_json v1.0.52 [INFO] [stderr] Downloaded bumpalo v3.2.1 [INFO] [stderr] Downloaded criterion v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.61 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded hermit-abi v0.1.12 [INFO] [stderr] Downloaded syn v1.0.18 [INFO] [stderr] Downloaded anyhow v1.0.28 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.61 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.61 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.61 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded petgraph v0.5.0 [INFO] [stderr] Downloaded prost-derive v0.6.1 [INFO] [stderr] Downloaded bstr v0.2.12 [INFO] [stderr] Downloaded web-sys v0.3.38 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded plotters v0.2.12 [INFO] [stderr] Downloaded prost-build v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 47f2d5d65dfebddf63e47aacfaf2bdb33ce2e59a38d13dfc9138264b04f8286c [INFO] running `Command { std: "docker" "start" "-a" "47f2d5d65dfebddf63e47aacfaf2bdb33ce2e59a38d13dfc9138264b04f8286c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47f2d5d65dfebddf63e47aacfaf2bdb33ce2e59a38d13dfc9138264b04f8286c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47f2d5d65dfebddf63e47aacfaf2bdb33ce2e59a38d13dfc9138264b04f8286c", kill_on_drop: false }` [INFO] [stdout] 47f2d5d65dfebddf63e47aacfaf2bdb33ce2e59a38d13dfc9138264b04f8286c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c80b400d5627d19499868934ea0be5d3fbdb22531401073bda6882b4ab8a8193 [INFO] running `Command { std: "docker" "start" "-a" "c80b400d5627d19499868934ea0be5d3fbdb22531401073bda6882b4ab8a8193", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking linearizability v0.1.0 (/opt/rustwide/workdir/linearizability) [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [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 labrpc v0.1.0 (/opt/rustwide/workdir/labrpc) [INFO] [stdout] warning: unused imports: `Service` and `add_service as add_tso_service` [INFO] [stdout] --> percolator/src/service.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub use timestamp::{add_service as add_tso_service, Client as TSOClient, Service}; [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:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub use transaction::{add_service as add_transaction_service, Client as TransactionClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Service` [INFO] [stdout] --> percolator/src/service.rs:12:74 [INFO] [stdout] | [INFO] [stdout] 12 | pub use timestamp::{add_service as add_tso_service, Client as TSOClient, Service}; [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_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:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> raft/src/kvraft/client.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Put(String, String), [INFO] [stdout] | --- ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 6 | Put((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> raft/src/kvraft/client.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Append(String, String), [INFO] [stdout] | ------ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | Append((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_request_vote` and `on_append_entries` are never used [INFO] [stdout] --> raft/src/raft/mod.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl Raft { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | fn on_request_vote(&mut self, args: RequestVoteArgs) -> labrpc::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | fn on_append_entries(&mut self, args: AppendEntriesArgs) -> labrpc::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `executor` is never read [INFO] [stdout] --> raft/src/raft/mod.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 487 | executor: ThreadPool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> raft/src/kvraft/client.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Put(String, String), [INFO] [stdout] | --- ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 6 | Put((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> raft/src/kvraft/client.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Append(String, String), [INFO] [stdout] | ------ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | Append((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `executor` is never read [INFO] [stdout] --> raft/src/raft/mod.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 481 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 487 | executor: ThreadPool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c80b400d5627d19499868934ea0be5d3fbdb22531401073bda6882b4ab8a8193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80b400d5627d19499868934ea0be5d3fbdb22531401073bda6882b4ab8a8193", kill_on_drop: false }` [INFO] [stdout] c80b400d5627d19499868934ea0be5d3fbdb22531401073bda6882b4ab8a8193 [INFO] checking xuxian73/6.824 against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuxian73%2F6.824" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xuxian73/6.824 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/xuxian73/6.824 [INFO] finished tweaking git repo https://github.com/xuxian73/6.824 [INFO] tweaked toml for git repo https://github.com/xuxian73/6.824 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xuxian73/6.824 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 46fc10f134eb53a71d884457baab5f93d209490c192cca254731e1361efc92ed [INFO] running `Command { std: "docker" "start" "-a" "46fc10f134eb53a71d884457baab5f93d209490c192cca254731e1361efc92ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46fc10f134eb53a71d884457baab5f93d209490c192cca254731e1361efc92ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46fc10f134eb53a71d884457baab5f93d209490c192cca254731e1361efc92ed", kill_on_drop: false }` [INFO] [stdout] 46fc10f134eb53a71d884457baab5f93d209490c192cca254731e1361efc92ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e1b321c7a8a875f9213fbdd277f21a8afeb3de3e09c60011ba9f9db1b8dbe224 [INFO] running `Command { std: "docker" "start" "-a" "e1b321c7a8a875f9213fbdd277f21a8afeb3de3e09c60011ba9f9db1b8dbe224", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking linearizability v0.1.0 (/opt/rustwide/workdir/linearizability) [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [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 criterion v0.3.2 [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.4/src/future/future/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 140 | fn then(self, f: F) -> Then [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 141 | where [INFO] [stdout] 142 | 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 `Then, 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-f6d2b6013595276b.long-type-2859905169941789643.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-f6d2b6013595276b.long-type-13772784229415710724.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" "e1b321c7a8a875f9213fbdd277f21a8afeb3de3e09c60011ba9f9db1b8dbe224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b321c7a8a875f9213fbdd277f21a8afeb3de3e09c60011ba9f9db1b8dbe224", kill_on_drop: false }` [INFO] [stdout] e1b321c7a8a875f9213fbdd277f21a8afeb3de3e09c60011ba9f9db1b8dbe224