[INFO] fetching crate rstreams 0.1.0... [INFO] building rstreams-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rstreams 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rstreams 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rstreams 0.1.0 [INFO] tweaked toml for crates.io crate rstreams 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rstreams 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rstreams 0.1.0 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.198 [INFO] [stderr] Downloaded fork_stream v0.1.0 [INFO] [stderr] Downloaded nombytes v0.1.1 [INFO] [stderr] Downloaded serde v1.0.198 [INFO] [stderr] Downloaded redb v2.0.0 [INFO] [stderr] Downloaded samsa v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7b0ab64db13dde17f7e7f26170dfb3a172410f159fc395c8482ada9119532a4 [INFO] running `Command { std: "docker" "start" "-a" "c7b0ab64db13dde17f7e7f26170dfb3a172410f159fc395c8482ada9119532a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7b0ab64db13dde17f7e7f26170dfb3a172410f159fc395c8482ada9119532a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b0ab64db13dde17f7e7f26170dfb3a172410f159fc395c8482ada9119532a4", kill_on_drop: false }` [INFO] [stdout] c7b0ab64db13dde17f7e7f26170dfb3a172410f159fc395c8482ada9119532a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bdd0735e83351b6f06939c148728f595f3f6a6c80771fec5502fd08ca570f64 [INFO] running `Command { std: "docker" "start" "-a" "1bdd0735e83351b6f06939c148728f595f3f6a6c80771fec5502fd08ca570f64", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling redb v2.0.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling rstreams v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.00s [INFO] running `Command { std: "docker" "inspect" "1bdd0735e83351b6f06939c148728f595f3f6a6c80771fec5502fd08ca570f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bdd0735e83351b6f06939c148728f595f3f6a6c80771fec5502fd08ca570f64", kill_on_drop: false }` [INFO] [stdout] 1bdd0735e83351b6f06939c148728f595f3f6a6c80771fec5502fd08ca570f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93abca1c7fd1ea8ba2d6ff921705c54c0ecfb0f38b510bd91a7c736286c15c68 [INFO] running `Command { std: "docker" "start" "-a" "93abca1c7fd1ea8ba2d6ff921705c54c0ecfb0f38b510bd91a7c736286c15c68", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rstreams v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling fork_stream v0.1.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `samsa` [INFO] [stdout] --> example/loader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use samsa::prelude::{ProduceMessage, ProducerBuilder}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `samsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `samsa`, use `cargo add samsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `samsa` [INFO] [stdout] --> example/tpipe2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use samsa::prelude::ConsumerBuilder; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `samsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `samsa`, use `cargo add samsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/loader.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | .map_err(|e| tracing::error!("{:?}", e))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `samsa` [INFO] [stdout] --> example/tpipe.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use samsa::prelude::ConsumerBuilder; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `samsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `samsa`, use `cargo add samsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/loader.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let producer_client = ProducerBuilder::new(bootstrap_addrs, topics) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | .produce(ProduceMessage { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `producer_client` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let producer_client: /* Type */ = ProducerBuilder::new(bootstrap_addrs, topics) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `samsa` [INFO] [stdout] --> example/stocks.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use samsa::prelude::{ConsumerBuilder, ProduceMessage, ProducerBuilder}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `samsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `samsa`, use `cargo add samsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rstreams::into_flat_stream` [INFO] [stdout] --> example/stocks.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | erase_stream_type, from_bytes, into_flat_stream, to_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `into_flat_stream` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(feature = "kafka")] [INFO] [stdout] | ----------------- the item is gated behind the `kafka` feature [INFO] [stdout] 45 | pub fn into_flat_stream( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let input1 = Actor::spawn(input_stream1, buffer_size, "first-partition-input").await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | let translator_stream1 = input1.map(|record| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input1` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let input1: /* Type */ = Actor::spawn(input_stream1, buffer_size, "first-partition-input").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let input2 = Actor::spawn(input_stream2, buffer_size, "second-partition-input").await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | let translator_stream2 = input2.map(|record| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input2` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let input2: /* Type */ = Actor::spawn(input_stream2, buffer_size, "second-partition-input").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let input3 = Actor::spawn(input_stream3, buffer_size, "third-partition-input").await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | let translator_stream3 = input3.map(|record| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input3` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let input3: /* Type */ = Actor::spawn(input_stream3, buffer_size, "third-partition-input").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let input4 = Actor::spawn(input_stream4, buffer_size, "fourth-partition-input").await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | let translator_stream4 = input4.map(|record| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input4` an explicit type [INFO] [stdout] | [INFO] [stdout] 72 | let input4: /* Type */ = Actor::spawn(input_stream4, buffer_size, "fourth-partition-input").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let translator1 = Actor::spawn(translator_stream1, buffer_size, "first-translator").await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | .take(200000) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `translator1` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let translator1: /* Type */ = Actor::spawn(translator_stream1, buffer_size, "first-translator").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | .fold(HashMap::new(), |mut counter, word| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 110 | if let Some(count) = counter.get(&word) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | .fold(HashMap::new(), |mut counter: /* Type */, word| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let translator2 = Actor::spawn(translator_stream2, buffer_size, "first-translator").await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | .take(200000) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `translator2` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let translator2: /* Type */ = Actor::spawn(translator_stream2, buffer_size, "first-translator").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | .fold(HashMap::new(), |mut counter, word| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 122 | if let Some(count) = counter.get(&word) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | .fold(HashMap::new(), |mut counter: /* Type */, word| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let translator3 = Actor::spawn(translator_stream3, buffer_size, "first-translator").await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | .take(200000) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `translator3` an explicit type [INFO] [stdout] | [INFO] [stdout] 104 | let translator3: /* Type */ = Actor::spawn(translator_stream3, buffer_size, "first-translator").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstreams` (example "loader") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | .fold(HashMap::new(), |mut counter, word| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 134 | if let Some(count) = counter.get(&word) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 133 | .fold(HashMap::new(), |mut counter: /* Type */, word| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let translator4 = Actor::spawn(translator_stream4, buffer_size, "first-translator").await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | .take(200000) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `translator4` an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | let translator4: /* Type */ = Actor::spawn(translator_stream4, buffer_size, "first-translator").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | .fold(HashMap::new(), |mut counter, word| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 146 | if let Some(count) = counter.get(&word) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 145 | .fold(HashMap::new(), |mut counter: /* Type */, word| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let counter1 = translator1 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | let mut hash_vec: Vec<(&String, &u32)> = counter1.iter().collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter1` an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | let counter1: /* Type */ = translator1 [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let counter2 = translator2 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | let mut hash_vec: Vec<(&String, &u32)> = counter2.iter().collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter2` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let counter2: /* Type */ = translator2 [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let counter3 = translator3 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | let mut hash_vec: Vec<(&String, &u32)> = counter3.iter().collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter3` an explicit type [INFO] [stdout] | [INFO] [stdout] 131 | let counter3: /* Type */ = translator3 [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe2.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let counter4 = translator4 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | let mut hash_vec: Vec<(&String, &u32)> = counter4.iter().collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter4` an explicit type [INFO] [stdout] | [INFO] [stdout] 143 | let counter4: /* Type */ = translator4 [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let input1 = Actor::spawn(input_stream1, buffer_size, "first-partition-input").await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | let translator_stream1 = input1.map(|record| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input1` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let input1: /* Type */ = Actor::spawn(input_stream1, buffer_size, "first-partition-input").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let input2 = Actor::spawn(input_stream2, buffer_size, "second-partition-input").await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | let translator_stream2 = input2.map(|record| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input2` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let input2: /* Type */ = Actor::spawn(input_stream2, buffer_size, "second-partition-input").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let input3 = Actor::spawn(input_stream3, buffer_size, "third-partition-input").await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | let translator_stream3 = input3.map(|record| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input3` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let input3: /* Type */ = Actor::spawn(input_stream3, buffer_size, "third-partition-input").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let input4 = Actor::spawn(input_stream4, buffer_size, "fourth-partition-input").await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | let translator_stream4 = input4.map(|record| { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input4` an explicit type [INFO] [stdout] | [INFO] [stdout] 72 | let input4: /* Type */ = Actor::spawn(input_stream4, buffer_size, "fourth-partition-input").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let translator1 = Actor::spawn(translator_stream1, buffer_size, "first-translator").await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | .merge(translator2) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `translator1` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let translator1: /* Type */ = Actor::spawn(translator_stream1, buffer_size, "first-translator").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | .fold(HashMap::new(), |mut counter, word| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 113 | if let Some(count) = counter.get(&word) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 112 | .fold(HashMap::new(), |mut counter: /* Type */, word| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/tpipe.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let counter = translator1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | let mut hash_vec: Vec<(&String, &u32)> = counter.iter().collect(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter` an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | let counter: /* Type */ = translator1 [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstreams` (example "tpipe2") due to 21 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstreams` (example "tpipe") due to 12 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/stocks.rs:144:6 [INFO] [stdout] | [INFO] [stdout] 144 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> example/stocks.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | .map_err(|err| tracing::error!("{:?}", err))? [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstreams` (example "stocks") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "93abca1c7fd1ea8ba2d6ff921705c54c0ecfb0f38b510bd91a7c736286c15c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93abca1c7fd1ea8ba2d6ff921705c54c0ecfb0f38b510bd91a7c736286c15c68", kill_on_drop: false }` [INFO] [stdout] 93abca1c7fd1ea8ba2d6ff921705c54c0ecfb0f38b510bd91a7c736286c15c68