[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] checking realaravinth/map-reduce-count-distinct against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealaravinth%2Fmap-reduce-count-distinct" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/realaravinth/map-reduce-count-distinct on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-async v2.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff6cd7727e0c74135af01970ad1f06d5810ee7e148352c2b321927971ee2282f [INFO] running `Command { std: "docker" "start" "-a" "ff6cd7727e0c74135af01970ad1f06d5810ee7e148352c2b321927971ee2282f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff6cd7727e0c74135af01970ad1f06d5810ee7e148352c2b321927971ee2282f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff6cd7727e0c74135af01970ad1f06d5810ee7e148352c2b321927971ee2282f", kill_on_drop: false }` [INFO] [stdout] ff6cd7727e0c74135af01970ad1f06d5810ee7e148352c2b321927971ee2282f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d6f8e38d48dc3abf6345d007b5b8e43e92f3aa433d1f6e3c95d19c59f4ef502 [INFO] running `Command { std: "docker" "start" "-a" "2d6f8e38d48dc3abf6345d007b5b8e43e92f3aa433d1f6e3c95d19c59f4ef502", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [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] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.2 [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] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking jemallocator v0.3.2 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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)]` 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/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: 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: 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 `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: 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: 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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.44s [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" "2d6f8e38d48dc3abf6345d007b5b8e43e92f3aa433d1f6e3c95d19c59f4ef502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6f8e38d48dc3abf6345d007b5b8e43e92f3aa433d1f6e3c95d19c59f4ef502", kill_on_drop: false }` [INFO] [stdout] 2d6f8e38d48dc3abf6345d007b5b8e43e92f3aa433d1f6e3c95d19c59f4ef502 [INFO] checking realaravinth/map-reduce-count-distinct against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [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] validating manifest of git repo https://github.com/realaravinth/map-reduce-count-distinct on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 259f9868cf266b5179a7b1c34bbfeec7dad28e2604289abcdc55438bac5d5f05 [INFO] running `Command { std: "docker" "start" "-a" "259f9868cf266b5179a7b1c34bbfeec7dad28e2604289abcdc55438bac5d5f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "259f9868cf266b5179a7b1c34bbfeec7dad28e2604289abcdc55438bac5d5f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "259f9868cf266b5179a7b1c34bbfeec7dad28e2604289abcdc55438bac5d5f05", kill_on_drop: false }` [INFO] [stdout] 259f9868cf266b5179a7b1c34bbfeec7dad28e2604289abcdc55438bac5d5f05 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f3320525b022d2c4045b0e6d17ecfcc5dec20713d7edf5c9e580eeabff7d26 [INFO] running `Command { std: "docker" "start" "-a" "31f3320525b022d2c4045b0e6d17ecfcc5dec20713d7edf5c9e580eeabff7d26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [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] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cc v1.0.67 [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 quote v1.0.9 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking jemallocator v0.3.2 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/map.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn merge(master: WordCount<'a>, hash: WordCount<'a>) -> WordCount<'a> { [INFO] [stdout] | --------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | master.into_iter().chain(hash).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parallel.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | children.drain(0..).for_each(|child| child.join().unwrap()); [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `map-reduce` (bin "map-reduce" test) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/map.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn merge(master: WordCount<'a>, hash: WordCount<'a>) -> WordCount<'a> { [INFO] [stdout] | --------------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | master.into_iter().chain(hash).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parallel.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | children.drain(0..).for_each(|child| child.join().unwrap()); [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `map-reduce` (bin "map-reduce") due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "31f3320525b022d2c4045b0e6d17ecfcc5dec20713d7edf5c9e580eeabff7d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f3320525b022d2c4045b0e6d17ecfcc5dec20713d7edf5c9e580eeabff7d26", kill_on_drop: false }` [INFO] [stdout] 31f3320525b022d2c4045b0e6d17ecfcc5dec20713d7edf5c9e580eeabff7d26