[INFO] cloning repository https://github.com/realaravinth/map-reduce-count-distinct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realaravinth/map-reduce-count-distinct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealaravinth%2Fmap-reduce-count-distinct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealaravinth%2Fmap-reduce-count-distinct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10c05d6667eed5517dde5ad5368f5c69c1a31f59 [INFO] building realaravinth/map-reduce-count-distinct against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealaravinth%2Fmap-reduce-count-distinct" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/realaravinth/map-reduce-count-distinct [INFO] finished tweaking git repo https://github.com/realaravinth/map-reduce-count-distinct [INFO] tweaked toml for git repo https://github.com/realaravinth/map-reduce-count-distinct written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/realaravinth/map-reduce-count-distinct on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/realaravinth/map-reduce-count-distinct 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a5d17c2499f5a1a9c7ff8ed1e4d1b605faea79942f008095f8ffa454504e3b3 [INFO] running `Command { std: "docker" "start" "-a" "1a5d17c2499f5a1a9c7ff8ed1e4d1b605faea79942f008095f8ffa454504e3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a5d17c2499f5a1a9c7ff8ed1e4d1b605faea79942f008095f8ffa454504e3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5d17c2499f5a1a9c7ff8ed1e4d1b605faea79942f008095f8ffa454504e3b3", kill_on_drop: false }` [INFO] [stdout] 1a5d17c2499f5a1a9c7ff8ed1e4d1b605faea79942f008095f8ffa454504e3b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944e021dbd91844cc6ea962fc5046760ed50f8c79df711716d3b1b47a47be7ab [INFO] running `Command { std: "docker" "start" "-a" "944e021dbd91844cc6ea962fc5046760ed50f8c79df711716d3b1b47a47be7ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling slog-async v2.6.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling slog-term v2.8.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling jemallocator v0.3.2 [INFO] [stderr] Compiling map-reduce v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/dash.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 86 | / unimplemented!( [INFO] [stdout] 87 | | "threads aren't sharing hashmap in this version, shoud change that. Use locks perhaps" [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 89 | let map = Map::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WordPair` is never constructed [INFO] [stdout] --> src/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct WordPair(&'static str, usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl WordPair { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 57 | #[inline] [INFO] [stdout] 58 | fn new(word: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_map_reduce` is never used [INFO] [stdout] --> src/utils.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn prepare_map_reduce() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quota` is never read [INFO] [stdout] --> src/pool.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ParallelRunner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 20 | pub quota: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quota` is never read [INFO] [stdout] --> src/dash.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ParallelRunner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 48 | pub quota: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `join_handle` and `pool_tx` are never read [INFO] [stdout] --> src/threads.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub join_handle: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub tx: Option>, [INFO] [stdout] 9 | pub pool_tx: Option)>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quota` is never read [INFO] [stdout] --> src/parallel.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ParallelRunner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 26 | pub quota: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/threads.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 55 | pub workers: Vec, [INFO] [stdout] 56 | pub tx: Option)>>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "944e021dbd91844cc6ea962fc5046760ed50f8c79df711716d3b1b47a47be7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944e021dbd91844cc6ea962fc5046760ed50f8c79df711716d3b1b47a47be7ab", kill_on_drop: false }` [INFO] [stdout] 944e021dbd91844cc6ea962fc5046760ed50f8c79df711716d3b1b47a47be7ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 975b49bca8eb4e2d9299d0e1050881ba465f2d6c7b17354acc020b6b4690f340 [INFO] running `Command { std: "docker" "start" "-a" "975b49bca8eb4e2d9299d0e1050881ba465f2d6c7b17354acc020b6b4690f340", kill_on_drop: false }` [INFO] [stderr] Compiling map-reduce v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/dash.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 86 | / unimplemented!( [INFO] [stdout] 87 | | "threads aren't sharing hashmap in this version, shoud change that. Use locks perhaps" [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 89 | let map = Map::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quota` is never read [INFO] [stdout] --> src/pool.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ParallelRunner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 20 | pub quota: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `join_handle` and `pool_tx` are never read [INFO] [stdout] --> src/threads.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub join_handle: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub tx: Option>, [INFO] [stdout] 9 | pub pool_tx: Option)>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/threads.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 55 | pub workers: Vec, [INFO] [stdout] 56 | pub tx: Option)>>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quota` is never read [INFO] [stdout] --> src/dash.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ParallelRunner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 48 | pub quota: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WordPair` is never constructed [INFO] [stdout] --> src/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct WordPair(&'static str, usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl WordPair { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 57 | #[inline] [INFO] [stdout] 58 | fn new(word: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prepare_map_reduce` is never used [INFO] [stdout] --> src/utils.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn prepare_map_reduce() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quota` is never read [INFO] [stdout] --> src/parallel.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ParallelRunner { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 26 | pub quota: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "975b49bca8eb4e2d9299d0e1050881ba465f2d6c7b17354acc020b6b4690f340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975b49bca8eb4e2d9299d0e1050881ba465f2d6c7b17354acc020b6b4690f340", kill_on_drop: false }` [INFO] [stdout] 975b49bca8eb4e2d9299d0e1050881ba465f2d6c7b17354acc020b6b4690f340