[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.features [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] efe539d67917d2ac75144a222a3af5e435ad5321e284eeab97fbb815195697cf [INFO] running `Command { std: "docker" "start" "-a" "efe539d67917d2ac75144a222a3af5e435ad5321e284eeab97fbb815195697cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efe539d67917d2ac75144a222a3af5e435ad5321e284eeab97fbb815195697cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe539d67917d2ac75144a222a3af5e435ad5321e284eeab97fbb815195697cf", kill_on_drop: false }` [INFO] [stdout] efe539d67917d2ac75144a222a3af5e435ad5321e284eeab97fbb815195697cf [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 974dfa3ffb495dab35b98e94338faf099577e89e6ba53defa91302934268ef06 [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" "974dfa3ffb495dab35b98e94338faf099577e89e6ba53defa91302934268ef06", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.features [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking regex v1.4.2 [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 string_cache v0.8.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [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 phf v0.8.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking kuchiki v0.8.1 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [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: 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: 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[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | tokio::spawn( [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::spawn; [INFO] [stdout] | [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[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[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 `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 `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] 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[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/main.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | tokio::spawn( [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::spawn; [INFO] [stdout] | [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] 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[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 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 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] 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "974dfa3ffb495dab35b98e94338faf099577e89e6ba53defa91302934268ef06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974dfa3ffb495dab35b98e94338faf099577e89e6ba53defa91302934268ef06", kill_on_drop: false }` [INFO] [stdout] 974dfa3ffb495dab35b98e94338faf099577e89e6ba53defa91302934268ef06