[INFO] updating cached repository https://github.com/rafalopilowski1/curse-downloader-rs
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] eca9ea2a8233dc9d59c8ccf10d99b6dc5e007abd
[INFO] checking rafalopilowski1/curse-downloader-rs against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafalopilowski1%2Fcurse-downloader-rs" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rafalopilowski1/curse-downloader-rs on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/rafalopilowski1/curse-downloader-rs
[INFO] finished tweaking git repo https://github.com/rafalopilowski1/curse-downloader-rs
[INFO] tweaked toml for git repo https://github.com/rafalopilowski1/curse-downloader-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: unused manifest key: package.features
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7127b621c78456d4ff2361d520d42b4df273c1277538f2d326a38eee9272b698
[INFO] running `"docker" "start" "-a" "7127b621c78456d4ff2361d520d42b4df273c1277538f2d326a38eee9272b698"`
[INFO] [stderr] warning: unused manifest key: package.features
[INFO] [stderr]     Checking dtoa-short v0.3.2
[INFO] [stderr]     Checking string_cache v0.8.0
[INFO] [stderr]    Compiling serde_json v1.0.51
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]     Checking tokio v0.2.18
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]     Checking rustls v0.17.0
[INFO] [stderr]     Checking native-tls v0.2.4
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.1
[INFO] [stderr]    Compiling selectors v0.22.0
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-tls v0.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling phf_macros v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling cssparser v0.27.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling html5ever v0.25.1
[INFO] [stderr]    Compiling cssparser-macros v0.6.0
[INFO] [stderr]    Compiling derive_more v0.99.5
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking h2 v0.2.4
[INFO] [stderr]     Checking futures-executor v0.3.4
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]    Compiling markup5ever v0.10.0
[INFO] [stderr]     Checking hyper v0.13.4
[INFO] [stderr]     Checking hyper-tls v0.4.1
[INFO] [stderr]     Checking reqwest v0.10.4
[INFO] [stderr]     Checking kuchiki v0.8.0
[INFO] [stderr]     Checking curse-downloader-rs v2.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `reqwest::async`
[INFO] [stderr]   --> src/main.rs:20:14
[INFO] [stderr]    |
[INFO] [stderr] 20 | use reqwest::r#async::*;
[INFO] [stderr]    |              ^^^^^^^ could not find `async` in `reqwest`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Client`
[INFO] [stderr]   --> src/main.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |         Client::builder()
[INFO] [stderr]    |         ^^^^^^ use of undeclared type or module `Client`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `stream`
[INFO] [stderr]   --> src/main.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |         stream::iter_ok(mod_pack.files)
[INFO] [stderr]    |         ^^^^^^ use of undeclared type or module `stream`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `fs` in `tokio`
[INFO] [stderr]    --> src/main.rs:141:23
[INFO] [stderr]     |
[INFO] [stderr] 141 |     let file = tokio::fs::File::from_std(file);
[INFO] [stderr]     |                       ^^ could not find `fs` in `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `codec` in `tokio`
[INFO] [stderr]    --> src/main.rs:151:23
[INFO] [stderr]     |
[INFO] [stderr] 151 |     let sink = tokio::codec::FramedWrite::new(writer, tokio::codec::BytesCodec::new())
[INFO] [stderr]     |                       ^^^^^ could not find `codec` in `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `codec` in `tokio`
[INFO] [stderr]    --> src/main.rs:151:62
[INFO] [stderr]     |
[INFO] [stderr] 151 |     let sink = tokio::codec::FramedWrite::new(writer, tokio::codec::BytesCodec::new())
[INFO] [stderr]     |                                                              ^^^^^ could not find `codec` in `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `async` in `reqwest`
[INFO] [stderr]    --> src/main.rs:152:31
[INFO] [stderr]     |
[INFO] [stderr] 152 |         .with(|byte: reqwest::r#async::Chunk| Ok::<_, std::io::Error>(byte.as_bytes()[..].into()));
[INFO] [stderr]     |                               ^^^^^^^ could not find `async` in `reqwest`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `run` in crate `tokio`
[INFO] [stderr]   --> src/main.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 60 |     tokio::run(
[INFO] [stderr]    |            ^^^ not found in `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Client` in this scope
[INFO] [stderr]   --> src/main.rs:88:27
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn get_cookie(client: Arc<Client>, mod_file: Modfile) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 12 | use reqwest::Client;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn get_cookie<Client>(client: Arc<Client>, mod_file: Modfile) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]    |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]   --> src/main.rs:88:63
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn get_cookie(client: Arc<Client>, mod_file: Modfile) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]    |                                                               ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::Future;
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::core_reexport::future::Future;
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::future::Future;
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::prelude::Future;
[INFO] [stderr]    |
[INFO] [stderr]      and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Response` in this scope
[INFO] [stderr]   --> src/main.rs:88:77
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn get_cookie(client: Arc<Client>, mod_file: Modfile) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]    |                                                                             ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 12 | use reqwest::Response;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]    --> src/main.rs:101:35
[INFO] [stderr]     |
[INFO] [stderr] 101 | fn done_print<S>(path: S) -> impl Future<Item = (), Error = ()>
[INFO] [stderr]     |                                   ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::core_reexport::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::prelude::Future;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]    --> src/main.rs:109:36
[INFO] [stderr]     |
[INFO] [stderr] 109 | fn create_file<S>(path: S) -> impl Future<Item = std::fs::File, Error = ()>
[INFO] [stderr]     |                                    ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::core_reexport::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::prelude::Future;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Client` in this scope
[INFO] [stderr]    --> src/main.rs:123:17
[INFO] [stderr]     |
[INFO] [stderr] 123 |     client: Arc<Client>,
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use reqwest::Client;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 121 | fn download_mod_file<Client>(
[INFO] [stderr]     |                     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Response` in this scope
[INFO] [stderr]    --> src/main.rs:124:13
[INFO] [stderr]     |
[INFO] [stderr] 124 |     cookie: Response,
[INFO] [stderr]     |             ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use reqwest::Response;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]    --> src/main.rs:125:11
[INFO] [stderr]     |
[INFO] [stderr] 125 | ) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]     |           ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::core_reexport::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::prelude::Future;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Response` in this scope
[INFO] [stderr]    --> src/main.rs:125:25
[INFO] [stderr]     |
[INFO] [stderr] 125 | ) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]     |                         ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use reqwest::Response;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decoder` in this scope
[INFO] [stderr]    --> src/main.rs:139:45
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn save_file(file: std::fs::File, body: Decoder) -> impl Future<Item = (), Error = ()> {
[INFO] [stderr]     |                                             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]    --> src/main.rs:139:62
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn save_file(file: std::fs::File, body: Decoder) -> impl Future<Item = (), Error = ()> {
[INFO] [stderr]     |                                                              ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::core_reexport::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::prelude::Future;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::futures::Stream`
[INFO] [stderr]   --> src/main.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use crate::futures::Stream;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 19 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `curse-downloader-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0432]: unresolved import `reqwest::async`
[INFO] [stderr]   --> src/main.rs:20:14
[INFO] [stderr]    |
[INFO] [stderr] 20 | use reqwest::r#async::*;
[INFO] [stderr]    |              ^^^^^^^ could not find `async` in `reqwest`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Client`
[INFO] [stderr]   --> src/main.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |         Client::builder()
[INFO] [stderr]    |         ^^^^^^ use of undeclared type or module `Client`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `stream`
[INFO] [stderr]   --> src/main.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |         stream::iter_ok(mod_pack.files)
[INFO] [stderr]    |         ^^^^^^ use of undeclared type or module `stream`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `fs` in `tokio`
[INFO] [stderr]    --> src/main.rs:141:23
[INFO] [stderr]     |
[INFO] [stderr] 141 |     let file = tokio::fs::File::from_std(file);
[INFO] [stderr]     |                       ^^ could not find `fs` in `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `codec` in `tokio`
[INFO] [stderr]    --> src/main.rs:151:23
[INFO] [stderr]     |
[INFO] [stderr] 151 |     let sink = tokio::codec::FramedWrite::new(writer, tokio::codec::BytesCodec::new())
[INFO] [stderr]     |                       ^^^^^ could not find `codec` in `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `codec` in `tokio`
[INFO] [stderr]    --> src/main.rs:151:62
[INFO] [stderr]     |
[INFO] [stderr] 151 |     let sink = tokio::codec::FramedWrite::new(writer, tokio::codec::BytesCodec::new())
[INFO] [stderr]     |                                                              ^^^^^ could not find `codec` in `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `async` in `reqwest`
[INFO] [stderr]    --> src/main.rs:152:31
[INFO] [stderr]     |
[INFO] [stderr] 152 |         .with(|byte: reqwest::r#async::Chunk| Ok::<_, std::io::Error>(byte.as_bytes()[..].into()));
[INFO] [stderr]     |                               ^^^^^^^ could not find `async` in `reqwest`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `run` in crate `tokio`
[INFO] [stderr]   --> src/main.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 60 |     tokio::run(
[INFO] [stderr]    |            ^^^ not found in `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Client` in this scope
[INFO] [stderr]   --> src/main.rs:88:27
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn get_cookie(client: Arc<Client>, mod_file: Modfile) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 12 | use reqwest::Client;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn get_cookie<Client>(client: Arc<Client>, mod_file: Modfile) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]    |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]   --> src/main.rs:88:63
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn get_cookie(client: Arc<Client>, mod_file: Modfile) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]    |                                                               ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::Future;
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::core_reexport::future::Future;
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::future::Future;
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::prelude::Future;
[INFO] [stderr]    |
[INFO] [stderr]      and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Response` in this scope
[INFO] [stderr]   --> src/main.rs:88:77
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn get_cookie(client: Arc<Client>, mod_file: Modfile) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]    |                                                                             ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 12 | use reqwest::Response;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]    --> src/main.rs:101:35
[INFO] [stderr]     |
[INFO] [stderr] 101 | fn done_print<S>(path: S) -> impl Future<Item = (), Error = ()>
[INFO] [stderr]     |                                   ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::core_reexport::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::prelude::Future;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]    --> src/main.rs:109:36
[INFO] [stderr]     |
[INFO] [stderr] 109 | fn create_file<S>(path: S) -> impl Future<Item = std::fs::File, Error = ()>
[INFO] [stderr]     |                                    ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::core_reexport::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::prelude::Future;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Client` in this scope
[INFO] [stderr]    --> src/main.rs:123:17
[INFO] [stderr]     |
[INFO] [stderr] 123 |     client: Arc<Client>,
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use reqwest::Client;
[INFO] [stderr]     |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]     |
[INFO] [stderr] 121 | fn download_mod_file<Client>(
[INFO] [stderr]     |                     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Response` in this scope
[INFO] [stderr]    --> src/main.rs:124:13
[INFO] [stderr]     |
[INFO] [stderr] 124 |     cookie: Response,
[INFO] [stderr]     |             ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use reqwest::Response;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]    --> src/main.rs:125:11
[INFO] [stderr]     |
[INFO] [stderr] 125 | ) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]     |           ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::core_reexport::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::prelude::Future;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Response` in this scope
[INFO] [stderr]    --> src/main.rs:125:25
[INFO] [stderr]     |
[INFO] [stderr] 125 | ) -> impl Future<Item = Response, Error = ()> {
[INFO] [stderr]     |                         ^^^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use reqwest::Response;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Decoder` in this scope
[INFO] [stderr]    --> src/main.rs:139:45
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn save_file(file: std::fs::File, body: Decoder) -> impl Future<Item = (), Error = ()> {
[INFO] [stderr]     |                                             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stderr]    --> src/main.rs:139:62
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn save_file(file: std::fs::File, body: Decoder) -> impl Future<Item = (), Error = ()> {
[INFO] [stderr]     |                                                              ^^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::core_reexport::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::future::Future;
[INFO] [stderr]     |
[INFO] [stderr] 12  | use futures::prelude::Future;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::futures::Stream`
[INFO] [stderr]   --> src/main.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use crate::futures::Stream;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 19 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `curse-downloader-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "7127b621c78456d4ff2361d520d42b4df273c1277538f2d326a38eee9272b698"`
[INFO] running `"docker" "rm" "-f" "7127b621c78456d4ff2361d520d42b4df273c1277538f2d326a38eee9272b698"`
[INFO] [stdout] 7127b621c78456d4ff2361d520d42b4df273c1277538f2d326a38eee9272b698
