[INFO] cloning repository https://github.com/seokjin0414/rust_awesome [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seokjin0414/rust_awesome" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseokjin0414%2Frust_awesome", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseokjin0414%2Frust_awesome'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/applypatch-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseokjin0414%2Frust_awesome/hooks/applypatch-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/seokjin0414/rust_awesome [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seokjin0414/rust_awesome" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseokjin0414%2Frust_awesome", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseokjin0414%2Frust_awesome'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69b2d41e41c8cb6459ea9f81e2b4c35b9c122e55 [INFO] checking seokjin0414/rust_awesome against master#69fd5e4059f8840f09f60269bcda23dcdcb77151 for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseokjin0414%2Frust_awesome" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seokjin0414/rust_awesome on toolchain 69fd5e4059f8840f09f60269bcda23dcdcb77151 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seokjin0414/rust_awesome [INFO] finished tweaking git repo https://github.com/seokjin0414/rust_awesome [INFO] tweaked toml for git repo https://github.com/seokjin0414/rust_awesome written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/seokjin0414/rust_awesome already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d3568252d29cfac482bb430507c0d7df8e5200ed227a98bf34740c422a7cbef [INFO] running `Command { std: "docker" "start" "-a" "2d3568252d29cfac482bb430507c0d7df8e5200ed227a98bf34740c422a7cbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d3568252d29cfac482bb430507c0d7df8e5200ed227a98bf34740c422a7cbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3568252d29cfac482bb430507c0d7df8e5200ed227a98bf34740c422a7cbef", kill_on_drop: false }` [INFO] [stdout] 2d3568252d29cfac482bb430507c0d7df8e5200ed227a98bf34740c422a7cbef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a558eec2a2e066c755b90f2653644f91aed01e84e09bd71869ac2a6d482c5a0 [INFO] running `Command { std: "docker" "start" "-a" "0a558eec2a2e066c755b90f2653644f91aed01e84e09bd71869ac2a6d482c5a0", kill_on_drop: false }` [INFO] [stderr] Checking rust_awesome v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/bin/hacktoberfest.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Duration, Local}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/bin/hacktoberfest.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{select_all, BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `failure` [INFO] [stdout] --> src/bin/hacktoberfest.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use failure::{format_err, Error, Fail}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `failure` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `failure`, use `cargo add failure` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/bin/hacktoberfest.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/bin/hacktoberfest.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, warn}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pulldown_cmark` [INFO] [stdout] --> src/bin/hacktoberfest.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pulldown_cmark::{Event, Parser, Tag}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pulldown_cmark` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pulldown_cmark`, use `cargo add pulldown_cmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/bin/hacktoberfest.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::redirect::Policy; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/bin/hacktoberfest.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `regex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> src/bin/hacktoberfest.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/bin/hacktoberfest.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/bin/hacktoberfest.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::SemaphorePermit; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/bin/hacktoberfest.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/bin/hacktoberfest.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/bin/hacktoberfest.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Duration, Local}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/bin/hacktoberfest.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{select_all, BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `failure` [INFO] [stdout] --> src/bin/hacktoberfest.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use failure::{format_err, Error, Fail}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `failure` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `failure`, use `cargo add failure` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/bin/hacktoberfest.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/bin/hacktoberfest.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, warn}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pulldown_cmark` [INFO] [stdout] --> src/bin/hacktoberfest.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pulldown_cmark::{Event, Parser, Tag}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pulldown_cmark` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pulldown_cmark`, use `cargo add pulldown_cmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/bin/hacktoberfest.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::redirect::Policy; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/bin/hacktoberfest.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `regex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> src/bin/hacktoberfest.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/bin/hacktoberfest.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/bin/hacktoberfest.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::SemaphorePermit; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/bin/hacktoberfest.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/bin/hacktoberfest.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[fail(display = "http error: {}", status)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Duration, Local}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diffy` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diffy::create_patch; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `diffy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `diffy`, use `cargo add diffy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{select_all, BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `failure` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use failure::{format_err, Error, Fail}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `failure` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `failure`, use `cargo add failure` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pulldown_cmark` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pulldown_cmark::{Event, Parser, Tag}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pulldown_cmark` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pulldown_cmark`, use `cargo add pulldown_cmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `regex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reqwest::{header, redirect::Policy, Client, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reqwest::{header, redirect::Policy, Client, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::SemaphorePermit; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:357:3 [INFO] [stdout] | [INFO] [stdout] 357 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Duration, Local}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `diffy` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diffy::create_patch; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `diffy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `diffy`, use `cargo add diffy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{select_all, BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `failure` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use failure::{format_err, Error, Fail}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `failure` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `failure`, use `cargo add failure` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `lazy_static` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lazy_static`, use `cargo add lazy_static` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pulldown_cmark` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pulldown_cmark::{Event, Parser, Tag}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pulldown_cmark` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pulldown_cmark`, use `cargo add pulldown_cmark` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `regex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reqwest::{header, redirect::Policy, Client, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reqwest::{header, redirect::Policy, Client, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let rewritten = GITHUB_REPO_REGEX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let mut req = CLIENT.get(&rewritten); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HANDLES` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let _handle = HANDLES.get().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | if GITHUB_REPO_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/bin/hacktoberfest.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u8` [INFO] [stdout] --> src/bin/hacktoberfest.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::SemaphorePermit; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:357:3 [INFO] [stdout] | [INFO] [stdout] 357 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[fail(display = "http error: {}", status)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/bin/hacktoberfest.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | match serde_json::from_str::(&raw) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> src/bin/hacktoberfest.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[fail(display = "failed to try url")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/bin/hacktoberfest.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | .and_then(|x| serde_yaml::from_str(&x).map_err(|e| format_err!("{}", e))) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[fail(display = "http error: {}", status)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/bin/hacktoberfest.rs:204:39 [INFO] [stdout] | [INFO] [stdout] 204 | fs::write("results/results.yaml", serde_yaml::to_string(&results)?)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[fail(display = "failed to try url")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[fail(display = "too many requests")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[fail(display = "reqwest error: {}", error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[fail(display = "http error: {}", status)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[fail(display = "too many requests")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/bin/hacktoberfest.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | serde_yaml::to_string(&results)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/bin/hacktoberfest.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | serde_yaml::to_string(&results)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[fail(display = "travis build is unknown")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[fail(display = "reqwest error: {}", error)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[fail(display = "travis build is unknown")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[fail(display = "travis build image with no branch")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/bin/hacktoberfest.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> src/main.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[fail(display = "travis build image with no branch")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/main.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | #[serde(rename = "crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/main.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | #[serde(rename = "crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boxed` found for `async` block `{async block@src/bin/hacktoberfest.rs:128:5: 128:15}` in the current scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 128 | / async move { [INFO] [stdout] 129 | | let _handle = HANDLES.get().await; [INFO] [stdout] 130 | | return (url.clone(), get_hacktoberfest_core(url).await); [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | .boxed() [INFO] [stdout] | | -^^^^^ method not found in `{async block@src/bin/hacktoberfest.rs:128:5: 128:15}` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_awesome` (bin "hacktoberfest") due to 26 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let rewritten = GITHUB_REPO_REGEX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let mut req = CLIENT.get(&rewritten); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HANDLES` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let _handle = HANDLES.get().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | if GITHUB_REPO_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/bin/hacktoberfest.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u8` [INFO] [stdout] --> src/bin/hacktoberfest.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/bin/hacktoberfest.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | match serde_json::from_str::(&raw) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> src/bin/hacktoberfest.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/bin/hacktoberfest.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | .and_then(|x| serde_yaml::from_str(&x).map_err(|e| format_err!("{}", e))) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/bin/hacktoberfest.rs:204:39 [INFO] [stdout] | [INFO] [stdout] 204 | fs::write("results/results.yaml", serde_yaml::to_string(&results)?)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono_humanize` [INFO] [stdout] --> src/main.rs:711:25 [INFO] [stdout] | [INFO] [stdout] 711 | chrono_humanize::HumanTime::from(-since), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `chrono_humanize` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono_humanize`, use `cargo add chrono_humanize` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HANDLES` in this scope [INFO] [stdout] --> src/main.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let _handle = HANDLES.get().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | let rewritten = GITHUB_REPO_REGEX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT` in this scope [INFO] [stdout] --> src/main.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | let mut req = CLIENT.get(&rewritten); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CRATE_REGEX` in this scope [INFO] [stdout] --> src/main.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let rewritten = CRATE_REGEX [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT` in this scope [INFO] [stdout] --> src/main.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | let req = CLIENT.get(&rewritten); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:222:99 [INFO] [stdout] | [INFO] [stdout] 222 | if env::var("USERNAME_FOR_GITHUB").is_ok() && env::var("TOKEN_FOR_GITHUB").is_ok() && GITHUB_REPO_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | let rewritten = GITHUB_REPO_REGEX.replace_all(&url, "https://api.github.com/repos/$org/$repo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT` in this scope [INFO] [stdout] --> src/main.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | let mut req = CLIENT [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_API_REGEX` in this scope [INFO] [stdout] --> src/main.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | if GITHUB_API_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ACTIONS_REGEX` in this scope [INFO] [stdout] --> src/main.rs:259:63 [INFO] [stdout] | [INFO] [stdout] 259 | if status == StatusCode::NOT_FOUND && ACTIONS_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ACTIONS_REGEX` in this scope [INFO] [stdout] --> src/main.rs:260:45 [INFO] [stdout] | [INFO] [stdout] 260 | ... let rewritten = ACTIONS_REGEX.replace_all(&url, "https://github.com/$org/$repo"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUTUBE_VIDEO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:265:59 [INFO] [stdout] | [INFO] [stdout] 265 | if status == StatusCode::FOUND && YOUTUBE_VIDEO_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUTUBE_VIDEO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:269:45 [INFO] [stdout] | [INFO] [stdout] 269 | ... let rewritten = YOUTUBE_VIDEO_REGEX.replace_all(&url, "http://img.youtube.com/vi/$video_id/mqdefault.jpg"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUTUBE_PLAYLIST_REGEX` in this scope [INFO] [stdout] --> src/main.rs:274:59 [INFO] [stdout] | [INFO] [stdout] 274 | if status == StatusCode::FOUND && YOUTUBE_PLAYLIST_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUTUBE_CONSENT_REGEX` in this scope [INFO] [stdout] --> src/main.rs:276:32 [INFO] [stdout] | [INFO] [stdout] 276 | ... if YOUTUBE_CONSENT_REGEX.is_match(location) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AZURE_BUILD_REGEX` in this scope [INFO] [stdout] --> src/main.rs:281:59 [INFO] [stdout] | [INFO] [stdout] 281 | if status == StatusCode::FOUND && AZURE_BUILD_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRAVIS_IMG_REGEX` in this scope [INFO] [stdout] --> src/main.rs:312:44 [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(matches) = TRAVIS_IMG_REGEX.captures(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POPULARITY_OVERRIDES` in this scope [INFO] [stdout] --> src/main.rs:427:32 [INFO] [stdout] | [INFO] [stdout] 427 | ... if POPULARITY_OVERRIDES.contains(&new_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:429:39 [INFO] [stdout] | [INFO] [stdout] 429 | ... } else if GITHUB_REPO_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:430:50 [INFO] [stdout] | [INFO] [stdout] 430 | ... let github_url = GITHUB_REPO_REGEX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CRATE_REGEX` in this scope [INFO] [stdout] --> src/main.rs:455:32 [INFO] [stdout] | [INFO] [stdout] 455 | ... if CRATE_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/bin/hacktoberfest.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | serde_yaml::to_string(&results)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/bin/hacktoberfest.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | serde_yaml::to_string(&results)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/main.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | let data = match serde_json::from_str::(&raw) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> src/main.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | .and_then(|x| serde_yaml::from_str(&x).map_err(|e| format_err!("{}", e))) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boxed` found for `async` block `{async block@src/bin/hacktoberfest.rs:128:5: 128:15}` in the current scope [INFO] [stdout] --> src/bin/hacktoberfest.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 128 | / async move { [INFO] [stdout] 129 | | let _handle = HANDLES.get().await; [INFO] [stdout] 130 | | return (url.clone(), get_hacktoberfest_core(url).await); [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | .boxed() [INFO] [stdout] | | -^^^^^ method not found in `{async block@src/bin/hacktoberfest.rs:128:5: 128:15}` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:371:23 [INFO] [stdout] | [INFO] [stdout] 371 | .and_then(|x| serde_yaml::from_str(&x).map_err(|e| format_err!("{}", e))) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:447:49 [INFO] [stdout] | [INFO] [stdout] 447 | ... serde_yaml::to_string(&popularity_data)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:471:49 [INFO] [stdout] | [INFO] [stdout] 471 | ... serde_yaml::to_string(&popularity_data)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | serde_yaml::to_string(&popularity_data)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:626:39 [INFO] [stdout] | [INFO] [stdout] 626 | fs::write("results/results.yaml", serde_yaml::to_string(&results)?)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:674:47 [INFO] [stdout] | [INFO] [stdout] 674 | fs::write("results/results.yaml", serde_yaml::to_string(&results)?)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:679:39 [INFO] [stdout] | [INFO] [stdout] 679 | fs::write("results/results.yaml", serde_yaml::to_string(&results)?)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_awesome` (bin "hacktoberfest" test) due to 25 previous errors; 2 warnings emitted [INFO] [stdout] error[E0599]: no method named `boxed` found for `async` block `{async block@src/main.rs:129:5: 129:15}` in the current scope [INFO] [stdout] --> src/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 129 | / async move { [INFO] [stdout] 130 | | let _handle = HANDLES.get().await; [INFO] [stdout] 131 | | return get_url_core(url).await; [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | .boxed() [INFO] [stdout] | | -^^^^^ method not found in `{async block@src/main.rs:129:5: 129:15}` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono_humanize` [INFO] [stdout] --> src/main.rs:711:25 [INFO] [stdout] | [INFO] [stdout] 711 | chrono_humanize::HumanTime::from(-since), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `chrono_humanize` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono_humanize`, use `cargo add chrono_humanize` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HANDLES` in this scope [INFO] [stdout] --> src/main.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let _handle = HANDLES.get().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | let rewritten = GITHUB_REPO_REGEX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT` in this scope [INFO] [stdout] --> src/main.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | let mut req = CLIENT.get(&rewritten); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CRATE_REGEX` in this scope [INFO] [stdout] --> src/main.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let rewritten = CRATE_REGEX [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT` in this scope [INFO] [stdout] --> src/main.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | let req = CLIENT.get(&rewritten); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:222:99 [INFO] [stdout] | [INFO] [stdout] 222 | if env::var("USERNAME_FOR_GITHUB").is_ok() && env::var("TOKEN_FOR_GITHUB").is_ok() && GITHUB_REPO_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | let rewritten = GITHUB_REPO_REGEX.replace_all(&url, "https://api.github.com/repos/$org/$repo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLIENT` in this scope [INFO] [stdout] --> src/main.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | let mut req = CLIENT [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_API_REGEX` in this scope [INFO] [stdout] --> src/main.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | if GITHUB_API_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ACTIONS_REGEX` in this scope [INFO] [stdout] --> src/main.rs:259:63 [INFO] [stdout] | [INFO] [stdout] 259 | if status == StatusCode::NOT_FOUND && ACTIONS_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ACTIONS_REGEX` in this scope [INFO] [stdout] --> src/main.rs:260:45 [INFO] [stdout] | [INFO] [stdout] 260 | ... let rewritten = ACTIONS_REGEX.replace_all(&url, "https://github.com/$org/$repo"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUTUBE_VIDEO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:265:59 [INFO] [stdout] | [INFO] [stdout] 265 | if status == StatusCode::FOUND && YOUTUBE_VIDEO_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUTUBE_VIDEO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:269:45 [INFO] [stdout] | [INFO] [stdout] 269 | ... let rewritten = YOUTUBE_VIDEO_REGEX.replace_all(&url, "http://img.youtube.com/vi/$video_id/mqdefault.jpg"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUTUBE_PLAYLIST_REGEX` in this scope [INFO] [stdout] --> src/main.rs:274:59 [INFO] [stdout] | [INFO] [stdout] 274 | if status == StatusCode::FOUND && YOUTUBE_PLAYLIST_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YOUTUBE_CONSENT_REGEX` in this scope [INFO] [stdout] --> src/main.rs:276:32 [INFO] [stdout] | [INFO] [stdout] 276 | ... if YOUTUBE_CONSENT_REGEX.is_match(location) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AZURE_BUILD_REGEX` in this scope [INFO] [stdout] --> src/main.rs:281:59 [INFO] [stdout] | [INFO] [stdout] 281 | if status == StatusCode::FOUND && AZURE_BUILD_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRAVIS_IMG_REGEX` in this scope [INFO] [stdout] --> src/main.rs:312:44 [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(matches) = TRAVIS_IMG_REGEX.captures(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POPULARITY_OVERRIDES` in this scope [INFO] [stdout] --> src/main.rs:427:32 [INFO] [stdout] | [INFO] [stdout] 427 | ... if POPULARITY_OVERRIDES.contains(&new_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:429:39 [INFO] [stdout] | [INFO] [stdout] 429 | ... } else if GITHUB_REPO_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GITHUB_REPO_REGEX` in this scope [INFO] [stdout] --> src/main.rs:430:50 [INFO] [stdout] | [INFO] [stdout] 430 | ... let github_url = GITHUB_REPO_REGEX [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CRATE_REGEX` in this scope [INFO] [stdout] --> src/main.rs:455:32 [INFO] [stdout] | [INFO] [stdout] 455 | ... if CRATE_REGEX.is_match(&url) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boxed` found for `async` block `{async block@src/main.rs:218:5: 218:15}` in the current scope [INFO] [stdout] --> src/main.rs:333:7 [INFO] [stdout] | [INFO] [stdout] 218 | / async move { [INFO] [stdout] 219 | | let mut res = Err(CheckerError::NotTried); [INFO] [stdout] 220 | | for _ in 0..5u8 { [INFO] [stdout] 221 | | debug!("Running {}", url); [INFO] [stdout] ... | [INFO] [stdout] 332 | | (url, res) [INFO] [stdout] 333 | | }.boxed() [INFO] [stdout] | | -^^^^^ method not found in `{async block@src/main.rs:218:5: 218:15}` [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/main.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | let data = match serde_json::from_str::(&raw) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> src/main.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_awesome` (bin "rust_awesome" test) due to 55 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | .and_then(|x| serde_yaml::from_str(&x).map_err(|e| format_err!("{}", e))) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:371:23 [INFO] [stdout] | [INFO] [stdout] 371 | .and_then(|x| serde_yaml::from_str(&x).map_err(|e| format_err!("{}", e))) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:447:49 [INFO] [stdout] | [INFO] [stdout] 447 | ... serde_yaml::to_string(&popularity_data)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:471:49 [INFO] [stdout] | [INFO] [stdout] 471 | ... serde_yaml::to_string(&popularity_data)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | serde_yaml::to_string(&popularity_data)?, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:626:39 [INFO] [stdout] | [INFO] [stdout] 626 | fs::write("results/results.yaml", serde_yaml::to_string(&results)?)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:674:47 [INFO] [stdout] | [INFO] [stdout] 674 | fs::write("results/results.yaml", serde_yaml::to_string(&results)?)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] --> src/main.rs:679:39 [INFO] [stdout] | [INFO] [stdout] 679 | fs::write("results/results.yaml", serde_yaml::to_string(&results)?)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_yaml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_yaml`, use `cargo add serde_yaml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boxed` found for `async` block `{async block@src/main.rs:129:5: 129:15}` in the current scope [INFO] [stdout] --> src/main.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 129 | / async move { [INFO] [stdout] 130 | | let _handle = HANDLES.get().await; [INFO] [stdout] 131 | | return get_url_core(url).await; [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | .boxed() [INFO] [stdout] | | -^^^^^ method not found in `{async block@src/main.rs:129:5: 129:15}` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boxed` found for `async` block `{async block@src/main.rs:218:5: 218:15}` in the current scope [INFO] [stdout] --> src/main.rs:333:7 [INFO] [stdout] | [INFO] [stdout] 218 | / async move { [INFO] [stdout] 219 | | let mut res = Err(CheckerError::NotTried); [INFO] [stdout] 220 | | for _ in 0..5u8 { [INFO] [stdout] 221 | | debug!("Running {}", url); [INFO] [stdout] ... | [INFO] [stdout] 332 | | (url, res) [INFO] [stdout] 333 | | }.boxed() [INFO] [stdout] | | -^^^^^ method not found in `{async block@src/main.rs:218:5: 218:15}` [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_awesome` (bin "rust_awesome") due to 56 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0a558eec2a2e066c755b90f2653644f91aed01e84e09bd71869ac2a6d482c5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a558eec2a2e066c755b90f2653644f91aed01e84e09bd71869ac2a6d482c5a0", kill_on_drop: false }` [INFO] [stdout] 0a558eec2a2e066c755b90f2653644f91aed01e84e09bd71869ac2a6d482c5a0