[INFO] cloning repository https://github.com/kjessec/m8t [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjessec/m8t" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjessec%2Fm8t", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjessec%2Fm8t'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2d3e32234179b057f5456670febd4e3fd2b255e [INFO] testing kjessec/m8t against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjessec%2Fm8t" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kjessec/m8t [INFO] finished tweaking git repo https://github.com/kjessec/m8t [INFO] tweaked toml for git repo https://github.com/kjessec/m8t written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kjessec/m8t on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kjessec/m8t 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vfs v0.12.0 [INFO] [stderr] Downloaded clap v4.5.13 [INFO] [stderr] Downloaded syn v2.0.72 [INFO] [stderr] Downloaded hyper-util v0.1.6 [INFO] [stderr] Downloaded indexmap v2.3.0 [INFO] [stderr] Downloaded clap_builder v4.5.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dee19f9ace286a7909c8a40cff2c35e8827ab00e621f0a3ef4caa135ea8a77eb [INFO] running `Command { std: "docker" "start" "-a" "dee19f9ace286a7909c8a40cff2c35e8827ab00e621f0a3ef4caa135ea8a77eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dee19f9ace286a7909c8a40cff2c35e8827ab00e621f0a3ef4caa135ea8a77eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee19f9ace286a7909c8a40cff2c35e8827ab00e621f0a3ef4caa135ea8a77eb", kill_on_drop: false }` [INFO] [stdout] dee19f9ace286a7909c8a40cff2c35e8827ab00e621f0a3ef4caa135ea8a77eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 546d92424f0e23119dbf5c107a8b904c6c7ecd751f992414abfb16d0aa6682e4 [INFO] running `Command { std: "docker" "start" "-a" "546d92424f0e23119dbf5c107a8b904c6c7ecd751f992414abfb16d0aa6682e4", kill_on_drop: false }` [INFO] [stderr] Compiling m8t v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> bin-server/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::RwLock; [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 `clap` [INFO] [stdout] --> bin-server/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::Parser; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` 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 `server` [INFO] [stdout] --> bin-server/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use server::document_resolver::{Backend, DocumentResolver}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `server`, use `cargo add server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server` [INFO] [stdout] --> bin-server/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use server::document_resolver; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `server`, use `cargo add server` 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] --> bin-server/src/main.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[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 `clap` [INFO] [stdout] --> bin-server/src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(clap::Parser, Debug)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> bin-server/src/main.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[command(version, about, long_about = None)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> bin-server/src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[arg(short, long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> bin-server/src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[arg(short, long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `server` [INFO] [stdout] --> bin-server/src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let app_state = server::state::AppState{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `server`, use `cargo add server` 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 `axum` [INFO] [stdout] --> bin-server/src/main.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | let router = axum::Router::new(); [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]: failed to resolve: use of unresolved module or unlinked crate `server` [INFO] [stdout] --> bin-server/src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let router = server::handlers::register(router); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `server`, use `cargo add server` 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] --> bin-server/src/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let listener = tokio::net::TcpListener::bind(args.listen_addr).await.unwrap(); [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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpListener`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - let listener = tokio::net::TcpListener::bind(args.listen_addr).await.unwrap(); [INFO] [stdout] 32 + let listener = TcpListener::bind(args.listen_addr).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Configuration` in the current scope [INFO] [stdout] --> bin-server/src/main.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 9 | struct Configuration { [INFO] [stdout] | -------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | let args = Configuration::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> bin-server/src/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let listener = tokio::net::TcpListener::bind(args.listen_addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> bin-server/src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | axum::serve(listener, router).await.unwrap(); [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[E0282]: type annotations needed [INFO] [stdout] --> bin-server/src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | axum::serve(listener, router).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> bin-server/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: E0282, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `m8t` (bin "server") due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "546d92424f0e23119dbf5c107a8b904c6c7ecd751f992414abfb16d0aa6682e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546d92424f0e23119dbf5c107a8b904c6c7ecd751f992414abfb16d0aa6682e4", kill_on_drop: false }` [INFO] [stdout] 546d92424f0e23119dbf5c107a8b904c6c7ecd751f992414abfb16d0aa6682e4