[INFO] cloning repository https://github.com/minsk-dev/link [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minsk-dev/link" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminsk-dev%2Flink", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminsk-dev%2Flink'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba0df71c41e1c8a88f16fee5155bec44cf4029b0 [INFO] checking minsk-dev/link against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminsk-dev%2Flink" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/minsk-dev/link [INFO] finished tweaking git repo https://github.com/minsk-dev/link [INFO] tweaked toml for git repo https://github.com/minsk-dev/link written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/minsk-dev/link on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/minsk-dev/link 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-core v0.3.0-rc.2 [INFO] [stderr] Downloaded matchit v0.6.0 [INFO] [stderr] Downloaded axum v0.6.0-rc.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cf90e8095c9ceba08f40754fd5d74d0fdddc0c585338e0bc6a60c4dd6c89cf0 [INFO] running `Command { std: "docker" "start" "-a" "2cf90e8095c9ceba08f40754fd5d74d0fdddc0c585338e0bc6a60c4dd6c89cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cf90e8095c9ceba08f40754fd5d74d0fdddc0c585338e0bc6a60c4dd6c89cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cf90e8095c9ceba08f40754fd5d74d0fdddc0c585338e0bc6a60c4dd6c89cf0", kill_on_drop: false }` [INFO] [stdout] 2cf90e8095c9ceba08f40754fd5d74d0fdddc0c585338e0bc6a60c4dd6c89cf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 209c6d8271f72537198fef2c6cfa2eb4bf4eaa2e149a4810c6cb0a77fdd51348 [INFO] running `Command { std: "docker" "start" "-a" "209c6d8271f72537198fef2c6cfa2eb4bf4eaa2e149a4810c6cb0a77fdd51348", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking matchit v0.6.0 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking link v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::body::{Bytes, Empty}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::response::Response; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::routing::get; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::extract::{Path, Query}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> server/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::{Router, Server}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> server/src/main.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::body::{Bytes, Empty}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::response::Response; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::routing::get; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::extract::{Path, Query}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> server/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::{Router, Server}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> server/src/main.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | async fn spotify(Path(id): Path, axum::extract::Query(params): axum::extract::Query server/src/main.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | async fn spotify(Path(id): Path, axum::extract::Query(params): axum::extract::Query server/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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 `link` (bin "link-server" test) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> server/src/main.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | async fn spotify(Path(id): Path, axum::extract::Query(params): axum::extract::Query server/src/main.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | async fn spotify(Path(id): Path, axum::extract::Query(params): axum::extract::Query server/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> server/src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `link` (bin "link-server") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "209c6d8271f72537198fef2c6cfa2eb4bf4eaa2e149a4810c6cb0a77fdd51348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "209c6d8271f72537198fef2c6cfa2eb4bf4eaa2e149a4810c6cb0a77fdd51348", kill_on_drop: false }` [INFO] [stdout] 209c6d8271f72537198fef2c6cfa2eb4bf4eaa2e149a4810c6cb0a77fdd51348