[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealaravinth%2Fmap-reduce-count-distinct" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/realaravinth/map-reduce-count-distinct on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.2.6 [INFO] [stderr] Downloaded futures-task v0.3.14 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded futures-macro v0.3.14 [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded ahash v0.7.2 [INFO] [stderr] Downloaded thread_local v1.1.3 [INFO] [stderr] Downloaded slog-term v2.8.0 [INFO] [stderr] Downloaded futures-channel v0.3.14 [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded futures-executor v0.3.14 [INFO] [stderr] Downloaded futures-core v0.3.14 [INFO] [stderr] Downloaded futures v0.3.14 [INFO] [stderr] Downloaded tokio v1.5.0 [INFO] [stderr] Downloaded futures-sink v0.3.14 [INFO] [stderr] Downloaded libc v0.2.93 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded futures-util v0.3.14 [INFO] [stderr] Downloaded syn v1.0.70 [INFO] [stderr] Downloaded slog-async v2.6.0 [INFO] [stderr] Downloaded lock_api v0.4.3 [INFO] [stderr] Downloaded memoffset v0.6.3 [INFO] [stderr] Downloaded futures-io v0.3.14 [INFO] [stderr] Downloaded mio v0.7.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61414b002984ec78a39829e555b9c478a64ae1b327d2c55c359d87c2528542e9 [INFO] running `Command { std: "docker" "start" "-a" "61414b002984ec78a39829e555b9c478a64ae1b327d2c55c359d87c2528542e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61414b002984ec78a39829e555b9c478a64ae1b327d2c55c359d87c2528542e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61414b002984ec78a39829e555b9c478a64ae1b327d2c55c359d87c2528542e9", kill_on_drop: false }` [INFO] [stdout] 61414b002984ec78a39829e555b9c478a64ae1b327d2c55c359d87c2528542e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35411782f1b50753816617845e5159dc2c467c6a258083d976fea4ed26d95ccc [INFO] running `Command { std: "docker" "start" "-a" "35411782f1b50753816617845e5159dc2c467c6a258083d976fea4ed26d95ccc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [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 memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [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 getrandom v0.2.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [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 threadpool v1.8.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling slog-async v2.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 `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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [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 4` [INFO] running `Command { std: "docker" "inspect" "35411782f1b50753816617845e5159dc2c467c6a258083d976fea4ed26d95ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35411782f1b50753816617845e5159dc2c467c6a258083d976fea4ed26d95ccc", kill_on_drop: false }` [INFO] [stdout] 35411782f1b50753816617845e5159dc2c467c6a258083d976fea4ed26d95ccc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da04c1058184a1c934b5d9c2e65862a12d5cec5aa0d417c61a00ae57267bf472 [INFO] running `Command { std: "docker" "start" "-a" "da04c1058184a1c934b5d9c2e65862a12d5cec5aa0d417c61a00ae57267bf472", 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/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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 `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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [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 4` [INFO] running `Command { std: "docker" "inspect" "da04c1058184a1c934b5d9c2e65862a12d5cec5aa0d417c61a00ae57267bf472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da04c1058184a1c934b5d9c2e65862a12d5cec5aa0d417c61a00ae57267bf472", kill_on_drop: false }` [INFO] [stdout] da04c1058184a1c934b5d9c2e65862a12d5cec5aa0d417c61a00ae57267bf472