[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#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafalopilowski1%2Fcurse-downloader-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafalopilowski1/curse-downloader-rs on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] Downloading crates ... [INFO] [stderr] Downloaded string_cache v0.8.1 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded tokio-util v0.6.6 [INFO] [stderr] Downloaded derive_more v0.99.13 [INFO] [stderr] Downloaded thin-slice v0.1.1 [INFO] [stderr] Downloaded reqwest v0.11.3 [INFO] [stderr] Downloaded cssparser-macros v0.6.0 [INFO] [stderr] Downloaded dtoa-short v0.3.3 [INFO] [stderr] Downloaded cssparser v0.27.2 [INFO] [stderr] Downloaded markup5ever v0.10.1 [INFO] [stderr] Downloaded servo_arc v0.1.1 [INFO] [stderr] Downloaded utf-8 v0.7.6 [INFO] [stderr] Downloaded phf_macros v0.8.0 [INFO] [stderr] Downloaded kuchiki v0.8.1 [INFO] [stderr] Downloaded tendril v0.4.2 [INFO] [stderr] Downloaded mio v0.7.11 [INFO] [stderr] Downloaded sct v0.6.1 [INFO] [stderr] Downloaded webpki v0.21.4 [INFO] [stderr] Downloaded selectors v0.22.0 [INFO] [stderr] Downloaded siphasher v0.3.5 [INFO] [stderr] Downloaded h2 v0.3.2 [INFO] [stderr] Downloaded ring v0.16.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff505a848cea1102a7d493dd4386c02059d2d01a79632b28b8d00a6e3d93fa75 [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" "ff505a848cea1102a7d493dd4386c02059d2d01a79632b28b8d00a6e3d93fa75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff505a848cea1102a7d493dd4386c02059d2d01a79632b28b8d00a6e3d93fa75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff505a848cea1102a7d493dd4386c02059d2d01a79632b28b8d00a6e3d93fa75", kill_on_drop: false }` [INFO] [stdout] ff505a848cea1102a7d493dd4386c02059d2d01a79632b28b8d00a6e3d93fa75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77a3ea938ab8559f1175772c8d9e988695f26247fdc35805a791f6a935159be9 [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" "77a3ea938ab8559f1175772c8d9e988695f26247fdc35805a791f6a935159be9", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.features [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling getrandom v0.1.16 [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] Compiling openssl v0.10.33 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking rustls v0.19.1 [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] Compiling markup5ever v0.10.1 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [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.13 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking kuchiki v0.8.1 [INFO] [stderr] Checking hyper v0.14.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.3 [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[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] 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] 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: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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "77a3ea938ab8559f1175772c8d9e988695f26247fdc35805a791f6a935159be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a3ea938ab8559f1175772c8d9e988695f26247fdc35805a791f6a935159be9", kill_on_drop: false }` [INFO] [stdout] 77a3ea938ab8559f1175772c8d9e988695f26247fdc35805a791f6a935159be9