[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] testing rafalopilowski1/curse-downloader-rs against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafalopilowski1%2Fcurse-downloader-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rafalopilowski1/curse-downloader-rs on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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] [stderr] Downloaded selectors v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 834732916ea731cebbfcfb30b61f992e26c5a459b6df91c9b98c37741eaa9e8a [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" "834732916ea731cebbfcfb30b61f992e26c5a459b6df91c9b98c37741eaa9e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "834732916ea731cebbfcfb30b61f992e26c5a459b6df91c9b98c37741eaa9e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834732916ea731cebbfcfb30b61f992e26c5a459b6df91c9b98c37741eaa9e8a", kill_on_drop: false }` [INFO] [stdout] 834732916ea731cebbfcfb30b61f992e26c5a459b6df91c9b98c37741eaa9e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--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] 959c8f485bd502149f5e7f98a4c25de38bfa51ab3437d2ff995630c05d02b80f [INFO] running `Command { std: "docker" "start" "-a" "959c8f485bd502149f5e7f98a4c25de38bfa51ab3437d2ff995630c05d02b80f", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.features [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling dtoa-short v0.3.2 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling rustls v0.18.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling tendril v0.4.1 [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] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [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.9 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling kuchiki v0.8.1 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.7 [INFO] [stderr] Compiling 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[E0433]: failed to resolve: use of undeclared type 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 type 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 or module `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 19 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] running `Command { std: "docker" "inspect" "959c8f485bd502149f5e7f98a4c25de38bfa51ab3437d2ff995630c05d02b80f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "959c8f485bd502149f5e7f98a4c25de38bfa51ab3437d2ff995630c05d02b80f", kill_on_drop: false }` [INFO] [stdout] 959c8f485bd502149f5e7f98a4c25de38bfa51ab3437d2ff995630c05d02b80f