[INFO] fetching crate mapreduce 0.1.0...
[INFO] checking mapreduce-0.1.0 against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] extracting crate mapreduce 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate mapreduce 0.1.0
[INFO] finished tweaking crates.io crate mapreduce 0.1.0
[INFO] tweaked toml for crates.io crate mapreduce 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mapreduce 0.1.0 on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a
[INFO] running `Command { std: "docker" "start" "97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking mapreduce v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapreduce.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type MapFunc<T> = fn(item: T, writer: Writer);
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type MapFunc<T> = fn(item: T, writer: dyn Writer);
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Writer` is not dyn compatible
[INFO] [stdout]   --> src/mapreduce.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type MapFunc<T> = fn(item: T, writer: Writer);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ `Writer` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/mapreduce.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Writer {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout] 19 |     fn write<T>(&self, v: T);
[INFO] [stdout]    |        ^^^^^ ...because method `write` has generic type parameters
[INFO] [stdout]    = help: consider moving `write` to another trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapreduce.rs:13:46
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type MapperFunc<T> = fn(item: T, writer: Writer, cancel: fn(Error));
[INFO] [stdout]    |                                              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type MapperFunc<T> = fn(item: T, writer: dyn Writer, cancel: fn(Error));
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Writer` is not dyn compatible
[INFO] [stdout]   --> src/mapreduce.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type MapperFunc<T> = fn(item: T, writer: Writer, cancel: fn(Error));
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `Writer` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/mapreduce.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Writer {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout] 19 |     fn write<T>(&self, v: T);
[INFO] [stdout]    |        ^^^^^ ...because method `write` has generic type parameters
[INFO] [stdout]    = help: consider moving `write` to another trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapreduce.rs:14:55
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type ReducerFunc<T> = fn(pipe: Sender<T>, writer: Writer, cancel: fn(Error));
[INFO] [stdout]    |                                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type ReducerFunc<T> = fn(pipe: Sender<T>, writer: dyn Writer, cancel: fn(Error));
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Writer` is not dyn compatible
[INFO] [stdout]   --> src/mapreduce.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type ReducerFunc<T> = fn(pipe: Sender<T>, writer: Writer, cancel: fn(Error));
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ `Writer` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/mapreduce.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Writer {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout] 19 |     fn write<T>(&self, v: T);
[INFO] [stdout]    |        ^^^^^ ...because method `write` has generic type parameters
[INFO] [stdout]    = help: consider moving `write` to another trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ch`
[INFO] [stdout]   --> src/mapreduce.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn drain<T>(ch:Receiver<T>){
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ch`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mapreduce` (lib) due to 3 previous errors; 4 warnings emitted
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapreduce.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type MapFunc<T> = fn(item: T, writer: Writer);
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type MapFunc<T> = fn(item: T, writer: dyn Writer);
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0038]: the trait `Writer` is not dyn compatible
[INFO] [stdout]   --> src/mapreduce.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type MapFunc<T> = fn(item: T, writer: Writer);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ `Writer` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/mapreduce.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Writer {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout] 19 |     fn write<T>(&self, v: T);
[INFO] [stdout]    |        ^^^^^ ...because method `write` has generic type parameters
[INFO] [stdout]    = help: consider moving `write` to another trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapreduce.rs:13:46
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type MapperFunc<T> = fn(item: T, writer: Writer, cancel: fn(Error));
[INFO] [stdout]    |                                              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type MapperFunc<T> = fn(item: T, writer: dyn Writer, cancel: fn(Error));
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Writer` is not dyn compatible
[INFO] [stdout]   --> src/mapreduce.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub type MapperFunc<T> = fn(item: T, writer: Writer, cancel: fn(Error));
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `Writer` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/mapreduce.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Writer {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout] 19 |     fn write<T>(&self, v: T);
[INFO] [stdout]    |        ^^^^^ ...because method `write` has generic type parameters
[INFO] [stdout]    = help: consider moving `write` to another trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/mapreduce.rs:14:55
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type ReducerFunc<T> = fn(pipe: Sender<T>, writer: Writer, cancel: fn(Error));
[INFO] [stdout]    |                                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type ReducerFunc<T> = fn(pipe: Sender<T>, writer: dyn Writer, cancel: fn(Error));
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Writer` is not dyn compatible
[INFO] [stdout]   --> src/mapreduce.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type ReducerFunc<T> = fn(pipe: Sender<T>, writer: Writer, cancel: fn(Error));
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ `Writer` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/mapreduce.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Writer {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout] 19 |     fn write<T>(&self, v: T);
[INFO] [stdout]    |        ^^^^^ ...because method `write` has generic type parameters
[INFO] [stdout]    = help: consider moving `write` to another trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ch`
[INFO] [stdout]   --> src/mapreduce.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn drain<T>(ch:Receiver<T>){
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ch`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mapreduce` (lib test) due to 3 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a", kill_on_drop: false }`
[INFO] [stdout] 97ee74ded84ef61f27645b018af802bfdbd55489eb636a5875df3aafc368a55a
