[INFO] cloning repository https://github.com/enochkan/oxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enochkan/oxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenochkan%2Foxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenochkan%2Foxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf428e4a7603d49c5e2599c901b9edb1e8d18786 [INFO] checking enochkan/oxide against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenochkan%2Foxide" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/enochkan/oxide [INFO] finished tweaking git repo https://github.com/enochkan/oxide [INFO] tweaked toml for git repo https://github.com/enochkan/oxide written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/enochkan/oxide on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/enochkan/oxide 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c965056d0d5eda3eea4efd7a0fcebffddd033081618962aea56d8555a0e454a9 [INFO] running `Command { std: "docker" "start" "-a" "c965056d0d5eda3eea4efd7a0fcebffddd033081618962aea56d8555a0e454a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c965056d0d5eda3eea4efd7a0fcebffddd033081618962aea56d8555a0e454a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c965056d0d5eda3eea4efd7a0fcebffddd033081618962aea56d8555a0e454a9", kill_on_drop: false }` [INFO] [stdout] c965056d0d5eda3eea4efd7a0fcebffddd033081618962aea56d8555a0e454a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71ddc46e17f7b8e429f4883bc4c3d89494f9f0e424df7c3c062b6725044b01cd [INFO] running `Command { std: "docker" "start" "-a" "71ddc46e17f7b8e429f4883bc4c3d89494f9f0e424df7c3c062b6725044b01cd", kill_on_drop: false }` [INFO] [stderr] Checking oxide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [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/executor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::process::Command; [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 `warp` [INFO] [stdout] --> src/api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::Filter; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `sqlx` [INFO] [stdout] --> src/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{sqlite::SqlitePoolOptions, Pool, Sqlite}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/dag.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{sqlite::SqlitePoolOptions, Pool, Sqlite}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::Mutex; [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/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::Deserialize; [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:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[tokio::main] [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 `serde_json` [INFO] [stdout] --> src/api.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | .map(|| warp::reply::json(&serde_json::json!({"status": "OK"}))); [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 `warp` [INFO] [stdout] --> src/api.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | let health_route = warp::path!("health") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> src/api.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | .map(|| warp::reply::json(&serde_json::json!({"status": "OK"}))); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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/api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::Mutex; [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/executor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::process::Command; [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 `warp` [INFO] [stdout] --> src/api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::Filter; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `sqlx` [INFO] [stdout] --> src/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{sqlite::SqlitePoolOptions, Pool, Sqlite}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/dag.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/storage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{sqlite::SqlitePoolOptions, Pool, Sqlite}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::Mutex; [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/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::Deserialize; [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:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[tokio::main] [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 `serde_json` [INFO] [stdout] --> src/api.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | .map(|| warp::reply::json(&serde_json::json!({"status": "OK"}))); [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 `warp` [INFO] [stdout] --> src/api.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | let health_route = warp::path!("health") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> src/api.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | warp::serve(routes) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<{type error}, _>` [INFO] [stdout] --> src/executor.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let output = Command::new("sh") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | Err(err) => Err(err.to_string()), [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `output` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 4 | let output: Result<_, E> = Command::new("sh") [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / SqlitePoolOptions::new() [INFO] [stdout] 5 | | .connect("sqlite://oxide.db") [INFO] [stdout] 6 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/storage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | sqlx::query("INSERT INTO task_status (task_id, status) VALUES (?, ?)") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/storage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / sqlx::query("INSERT INTO task_status (task_id, status) VALUES (?, ?)") [INFO] [stdout] 12 | | .bind(task_id) [INFO] [stdout] 13 | | .bind(status) [INFO] [stdout] 14 | | .execute(pool) [INFO] [stdout] 15 | | .await [INFO] [stdout] | |______________^ cannot infer type [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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> src/api.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | .map(|| warp::reply::json(&serde_json::json!({"status": "OK"}))); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `dotenv` [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | dotenv::dotenv().ok(); [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `toml` [INFO] [stdout] --> src/config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | toml::from_str(&config_str).expect("Failed to parse config") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxide` (bin "oxide") due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> src/api.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | warp::serve(routes) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<{type error}, _>` [INFO] [stdout] --> src/executor.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let output = Command::new("sh") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | Err(err) => Err(err.to_string()), [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `output` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 4 | let output: Result<_, E> = Command::new("sh") [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / SqlitePoolOptions::new() [INFO] [stdout] 5 | | .connect("sqlite://oxide.db") [INFO] [stdout] 6 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/storage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | sqlx::query("INSERT INTO task_status (task_id, status) VALUES (?, ?)") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/storage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / sqlx::query("INSERT INTO task_status (task_id, status) VALUES (?, ?)") [INFO] [stdout] 12 | | .bind(task_id) [INFO] [stdout] 13 | | .bind(status) [INFO] [stdout] 14 | | .execute(pool) [INFO] [stdout] 15 | | .await [INFO] [stdout] | |______________^ cannot infer type [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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `dotenv` [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | dotenv::dotenv().ok(); [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `toml` [INFO] [stdout] --> src/config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | toml::from_str(&config_str).expect("Failed to parse config") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxide` (bin "oxide" test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "71ddc46e17f7b8e429f4883bc4c3d89494f9f0e424df7c3c062b6725044b01cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ddc46e17f7b8e429f4883bc4c3d89494f9f0e424df7c3c062b6725044b01cd", kill_on_drop: false }` [INFO] [stdout] 71ddc46e17f7b8e429f4883bc4c3d89494f9f0e424df7c3c062b6725044b01cd