[INFO] cloning repository https://github.com/macshinaider/rustcontroller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/macshinaider/rustcontroller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacshinaider%2Frustcontroller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacshinaider%2Frustcontroller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48e06bc5574dca256b81fe9d8190613bd1d15c73 [INFO] checking macshinaider/rustcontroller against master#8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacshinaider%2Frustcontroller" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/macshinaider/rustcontroller on toolchain 8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/macshinaider/rustcontroller [INFO] finished tweaking git repo https://github.com/macshinaider/rustcontroller [INFO] tweaked toml for git repo https://github.com/macshinaider/rustcontroller written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/macshinaider/rustcontroller 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" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2d29de10138e34441d2698103b2a565933aff2af58c1d163190169db3b88d93 [INFO] running `Command { std: "docker" "start" "-a" "e2d29de10138e34441d2698103b2a565933aff2af58c1d163190169db3b88d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2d29de10138e34441d2698103b2a565933aff2af58c1d163190169db3b88d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d29de10138e34441d2698103b2a565933aff2af58c1d163190169db3b88d93", kill_on_drop: false }` [INFO] [stdout] e2d29de10138e34441d2698103b2a565933aff2af58c1d163190169db3b88d93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dce3ffebc17a5c30ae720d5cedcfe5b47c264645bd30dc9ab534db8cafaf5c6 [INFO] running `Command { std: "docker" "start" "-a" "1dce3ffebc17a5c30ae720d5cedcfe5b47c264645bd30dc9ab534db8cafaf5c6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Checking rustcontroller v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `axum::handler::get` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{handler::get, http::StatusCode, Router, Json, response::IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ no `get` in `handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum::handler::get` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{handler::get, http::StatusCode, Router, Json, response::IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ no `get` in `handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_http::trace` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_http::trace::TraceLayer; [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.2.5/src/lib.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | pub mod trace; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `trace` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.2.5/src/lib.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | #[cfg(feature = "trace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{handler::get, http::StatusCode, Router, Json, response::IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceBuilder` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tower::ServiceBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_http::trace` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_http::trace::TraceLayer; [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.2.5/src/lib.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | pub mod trace; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `trace` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.2.5/src/lib.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | #[cfg(feature = "trace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{handler::get, http::StatusCode, Router, Json, response::IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceBuilder` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tower::ServiceBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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 `rustcontroller` (bin "rustcontroller") due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `rustcontroller` (bin "rustcontroller" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1dce3ffebc17a5c30ae720d5cedcfe5b47c264645bd30dc9ab534db8cafaf5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dce3ffebc17a5c30ae720d5cedcfe5b47c264645bd30dc9ab534db8cafaf5c6", kill_on_drop: false }` [INFO] [stdout] 1dce3ffebc17a5c30ae720d5cedcfe5b47c264645bd30dc9ab534db8cafaf5c6