[INFO] cloning repository https://github.com/tlatawiec/rscrape [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlatawiec/rscrape" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlatawiec%2Frscrape", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlatawiec%2Frscrape'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fca99b3860f5f8c6013db925f98ae1fe48512bd7 [INFO] checking tlatawiec/rscrape against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlatawiec%2Frscrape" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tlatawiec/rscrape [INFO] finished tweaking git repo https://github.com/tlatawiec/rscrape [INFO] tweaked toml for git repo https://github.com/tlatawiec/rscrape written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tlatawiec/rscrape on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tlatawiec/rscrape 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a2d7ca4373a7f9a7ec5e0de362006074b1a53c63d3abe7b91122c836142c930 [INFO] running `Command { std: "docker" "start" "-a" "0a2d7ca4373a7f9a7ec5e0de362006074b1a53c63d3abe7b91122c836142c930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a2d7ca4373a7f9a7ec5e0de362006074b1a53c63d3abe7b91122c836142c930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a2d7ca4373a7f9a7ec5e0de362006074b1a53c63d3abe7b91122c836142c930", kill_on_drop: false }` [INFO] [stdout] 0a2d7ca4373a7f9a7ec5e0de362006074b1a53c63d3abe7b91122c836142c930 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abc4513c789605d840d8283158195b78225ef937cedeac5bfa43cd6574649ac0 [INFO] running `Command { std: "docker" "start" "-a" "abc4513c789605d840d8283158195b78225ef937cedeac5bfa43cd6574649ac0", kill_on_drop: false }` [INFO] [stderr] Checking rscrape v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `scraper` [INFO] [stdout] --> src/data_scraper/html_processing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `super::scraper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scraper` [INFO] [stdout] --> src/data_scraper/html_processing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `super::scraper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/data_scraper/html_processing.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{ [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 `reqwest` [INFO] [stdout] --> src/data_scraper/web_fetch.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ no external crate `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/data_scraper/html_processing.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{ [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 `scraper` [INFO] [stdout] --> src/data_scraper/web_fetch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use scraper::Html; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `super::scraper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scraper` [INFO] [stdout] --> src/data_scraper/scraper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `super::scraper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> src/data_scraper/web_fetch.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ no external crate `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/data_scraper/scraper.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scraper` [INFO] [stdout] --> src/data_scraper/web_fetch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use scraper::Html; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `super::scraper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dotenv` [INFO] [stdout] --> src/data_scraper/scraper.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dotenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenv`, use `cargo add dotenv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/database/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{ params, Connection, Result }; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scraper` [INFO] [stdout] --> src/data_scraper/scraper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `super::scraper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/database/queries.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{ Connection, Result }; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/database/queries.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{ Duration, Utc }; [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 `rusqlite` [INFO] [stdout] --> src/data_scraper/scraper.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` 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 `rusqlite` [INFO] [stdout] --> src/models/politician.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dotenv` [INFO] [stdout] --> src/data_scraper/scraper.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dotenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenv`, use `cargo add dotenv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/models/politician.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/database/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{ params, Connection, Result }; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/database/queries.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{ Connection, Result }; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` 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 `rusqlite` [INFO] [stdout] --> src/models/trade.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/database/queries.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{ Duration, Utc }; [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 `rusqlite` [INFO] [stdout] --> src/models/politician.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/models/trade.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/models/politician.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/api/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` 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 `rusqlite` [INFO] [stdout] --> src/models/trade.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/models/trade.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/api/response.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web:: { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite` [INFO] [stdout] --> src/api/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/api/serialization.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::HttpResponse; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/api/response.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web:: { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` 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:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio::time::{interval, Duration}; [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 `actix_web` [INFO] [stdout] --> src/api/serialization.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::HttpResponse; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` 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:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio::time::{interval, Duration}; [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 `actix_web` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` 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/api/serialization.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/api/serialization.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] --> src/main.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[actix_web::main] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] --> src/main.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[actix_web::main] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | tokio::task::spawn_blocking(|| { [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 `rusqlite` [INFO] [stdout] --> src/models/politician.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | rusqlite::Error::InvalidColumnType(0, "Expected House or Senate".to_string(), value.data_type()), [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::models::politician::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - rusqlite::Error::InvalidColumnType(0, "Expected House or Senate".to_string(), value.data_type()), [INFO] [stdout] 52 + Error::InvalidColumnType(0, "Expected House or Senate".to_string(), value.data_type()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] --> src/models/politician.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | rusqlite::Error::InvalidColumnType(0, "Expected Republican, Democrat, or Independent".to_string(), value.data_type()), [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::models::politician::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 93 - rusqlite::Error::InvalidColumnType(0, "Expected Republican, Democrat, or Independent".to_string(), value.data_type()), [INFO] [stdout] 93 + Error::InvalidColumnType(0, "Expected Republican, Democrat, or Independent".to_string(), value.data_type()), [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:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | tokio::task::spawn_blocking(|| { [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 `rusqlite` [INFO] [stdout] --> src/models/politician.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | rusqlite::Error::InvalidColumnType(0, "Expected House or Senate".to_string(), value.data_type()), [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::models::politician::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - rusqlite::Error::InvalidColumnType(0, "Expected House or Senate".to_string(), value.data_type()), [INFO] [stdout] 52 + Error::InvalidColumnType(0, "Expected House or Senate".to_string(), value.data_type()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] --> src/models/politician.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | rusqlite::Error::InvalidColumnType(0, "Expected Republican, Democrat, or Independent".to_string(), value.data_type()), [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rusqlite` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rusqlite`, use `cargo add rusqlite` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::models::politician::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 93 - rusqlite::Error::InvalidColumnType(0, "Expected Republican, Democrat, or Independent".to_string(), value.data_type()), [INFO] [stdout] 93 + Error::InvalidColumnType(0, "Expected Republican, Democrat, or Independent".to_string(), value.data_type()), [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/api/serialization.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_trade(trade: &Trade) -> serde_json::Value { [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 `tokio` [INFO] [stdout] --> src/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let scraper_handle = tokio::spawn(async { [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/api/serialization.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn serialize_trade(trade: &Trade) -> serde_json::Value { [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 `tokio` [INFO] [stdout] --> src/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let scraper_handle = tokio::spawn(async { [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rscrape` (bin "rscrape" test) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rscrape` (bin "rscrape") due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "abc4513c789605d840d8283158195b78225ef937cedeac5bfa43cd6574649ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc4513c789605d840d8283158195b78225ef937cedeac5bfa43cd6574649ac0", kill_on_drop: false }` [INFO] [stdout] abc4513c789605d840d8283158195b78225ef937cedeac5bfa43cd6574649ac0