[INFO] cloning repository https://github.com/rafalopilowski1/curse-downloader-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rafalopilowski1/curse-downloader-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafalopilowski1%2Fcurse-downloader-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafalopilowski1%2Fcurse-downloader-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eca9ea2a8233dc9d59c8ccf10d99b6dc5e007abd [INFO] checking rafalopilowski1/curse-downloader-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafalopilowski1%2Fcurse-downloader-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafalopilowski1/curse-downloader-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.features [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kuchiki v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d5b87979cc9ce34fc23d4fdfda13f810bb732440d12af7d7c36af7cbfc9210e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d5b87979cc9ce34fc23d4fdfda13f810bb732440d12af7d7c36af7cbfc9210e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d5b87979cc9ce34fc23d4fdfda13f810bb732440d12af7d7c36af7cbfc9210e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d5b87979cc9ce34fc23d4fdfda13f810bb732440d12af7d7c36af7cbfc9210e", kill_on_drop: false }` [INFO] [stdout] 6d5b87979cc9ce34fc23d4fdfda13f810bb732440d12af7d7c36af7cbfc9210e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 702f9f68177683f1792a7d45aca7722891facdc569816b7e9a826e5b9e668946 [INFO] running `Command { std: "docker" "start" "-a" "702f9f68177683f1792a7d45aca7722891facdc569816b7e9a826e5b9e668946", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.features [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mio v0.7.10 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.7 [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.6.4 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking kuchiki v0.8.1 [INFO] [stderr] Checking reqwest v0.11.2 [INFO] [stderr] Checking curse-downloader-rs v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `reqwest::async` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use reqwest::r#async::*; [INFO] [stdout] | ^^^^^^^ could not find `async` in `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::prelude` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest::async` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use reqwest::r#async::*; [INFO] [stdout] | ^^^^^^^ could not find `async` in `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::prelude` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stream` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | stream::iter_ok(mod_pack.files) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `codec` in `tokio` [INFO] [stdout] --> src/main.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let sink = tokio::codec::FramedWrite::new(writer, tokio::codec::BytesCodec::new()) [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `codec` in `tokio` [INFO] [stdout] --> src/main.rs:151:62 [INFO] [stdout] | [INFO] [stdout] 151 | let sink = tokio::codec::FramedWrite::new(writer, tokio::codec::BytesCodec::new()) [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stream` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | stream::iter_ok(mod_pack.files) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async` in `reqwest` [INFO] [stdout] --> src/main.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | .with(|byte: reqwest::r#async::Chunk| Ok::<_, std::io::Error>(byte.as_bytes()[..].into())); [INFO] [stdout] | ^^^^^^^ could not find `async` in `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Client::builder() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in crate `tokio` [INFO] [stdout] --> src/main.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | tokio::run( [INFO] [stdout] | ^^^ not found in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/main.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_cookie(client: Arc, mod_file: Modfile) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_cookie(client: Arc, mod_file: Modfile) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/main.rs:88:77 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_cookie(client: Arc, mod_file: Modfile) -> impl Future { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | fn done_print(path: S) -> impl Future [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | fn create_file(path: S) -> impl Future [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/main.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | client: Arc, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | cookie: Response, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | ) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | ) -> impl Future { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decoder` in this scope [INFO] [stdout] --> src/main.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn save_file(file: std::fs::File, body: Decoder) -> impl Future { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:139:62 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn save_file(file: std::fs::File, body: Decoder) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `fs` in `tokio` [INFO] [stdout] --> src/main.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let file = tokio::fs::File::from_std(file); [INFO] [stdout] | ^^^^ not found in `tokio::fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::futures::Stream` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::futures::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `codec` in `tokio` [INFO] [stdout] --> src/main.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let sink = tokio::codec::FramedWrite::new(writer, tokio::codec::BytesCodec::new()) [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `codec` in `tokio` [INFO] [stdout] --> src/main.rs:151:62 [INFO] [stdout] | [INFO] [stdout] 151 | let sink = tokio::codec::FramedWrite::new(writer, tokio::codec::BytesCodec::new()) [INFO] [stdout] | ^^^^^ could not find `codec` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async` in `reqwest` [INFO] [stdout] --> src/main.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | .with(|byte: reqwest::r#async::Chunk| Ok::<_, std::io::Error>(byte.as_bytes()[..].into())); [INFO] [stdout] | ^^^^^^^ could not find `async` in `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Client::builder() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in crate `tokio` [INFO] [stdout] --> src/main.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | tokio::run( [INFO] [stdout] | ^^^ not found in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/main.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_cookie(client: Arc, mod_file: Modfile) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_cookie(client: Arc, mod_file: Modfile) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/main.rs:88:77 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_cookie(client: Arc, mod_file: Modfile) -> impl Future { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | fn done_print(path: S) -> impl Future [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | fn create_file(path: S) -> impl Future [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/main.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | client: Arc, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | cookie: Response, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | ) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | ) -> impl Future { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decoder` in this scope [INFO] [stdout] --> src/main.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn save_file(file: std::fs::File, body: Decoder) -> impl Future { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/main.rs:139:62 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn save_file(file: std::fs::File, body: Decoder) -> impl Future { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::macros::support::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `fs` in `tokio` [INFO] [stdout] --> src/main.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let file = tokio::fs::File::from_std(file); [INFO] [stdout] | ^^^^ not found in `tokio::fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::futures::Stream` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::futures::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [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] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "702f9f68177683f1792a7d45aca7722891facdc569816b7e9a826e5b9e668946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702f9f68177683f1792a7d45aca7722891facdc569816b7e9a826e5b9e668946", kill_on_drop: false }` [INFO] [stdout] 702f9f68177683f1792a7d45aca7722891facdc569816b7e9a826e5b9e668946