[INFO] cloning repository https://github.com/hazyfossa/flute [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hazyfossa/flute" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhazyfossa%2Fflute", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhazyfossa%2Fflute'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 428da476719cb69a44f0a7192894b3e2f79cfcdb [INFO] testing hazyfossa/flute against 1.95.0 for beta-1.96-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhazyfossa%2Fflute" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hazyfossa/flute [INFO] finished tweaking git repo https://github.com/hazyfossa/flute [INFO] tweaked toml for git repo https://github.com/hazyfossa/flute written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hazyfossa/flute on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hazyfossa/flute 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-io v0.6.1 [INFO] [stderr] Downloaded snafu-derive v0.8.9 [INFO] [stderr] Downloaded memchr v2.7.6 [INFO] [stderr] Downloaded gloo-utils v0.2.0 [INFO] [stderr] Downloaded gloo-net v0.6.0 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded snafu v0.8.9 [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded kanal v0.1.1 [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded zmij v1.0.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 572404c48d0f9abcbbef692c71913b35afc13708e7d090a29d922bdc8a0a3035 [INFO] running `Command { std: "docker" "start" "-a" "572404c48d0f9abcbbef692c71913b35afc13708e7d090a29d922bdc8a0a3035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "572404c48d0f9abcbbef692c71913b35afc13708e7d090a29d922bdc8a0a3035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572404c48d0f9abcbbef692c71913b35afc13708e7d090a29d922bdc8a0a3035", kill_on_drop: false }` [INFO] [stdout] 572404c48d0f9abcbbef692c71913b35afc13708e7d090a29d922bdc8a0a3035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bafffd1c5b587728f61f2ec7befd3c461e927da535d27e6902713f84f6c47cc4 [INFO] running `Command { std: "docker" "start" "-a" "bafffd1c5b587728f61f2ec7befd3c461e927da535d27e6902713f84f6c47cc4", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling snafu v0.8.9 [INFO] [stderr] Compiling flute v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.31s [INFO] running `Command { std: "docker" "inspect" "bafffd1c5b587728f61f2ec7befd3c461e927da535d27e6902713f84f6c47cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafffd1c5b587728f61f2ec7befd3c461e927da535d27e6902713f84f6c47cc4", kill_on_drop: false }` [INFO] [stdout] bafffd1c5b587728f61f2ec7befd3c461e927da535d27e6902713f84f6c47cc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b0eac159bc83968a4864af42813d4adfb493a8e4328db7c5d53bcad0bf9cdb [INFO] running `Command { std: "docker" "start" "-a" "d0b0eac159bc83968a4864af42813d4adfb493a8e4328db7c5d53bcad0bf9cdb", kill_on_drop: false }` [INFO] [stderr] Compiling flute v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `flute::compat::json`, `flute::compat::kanal` [INFO] [stdout] --> examples/rpc_proto.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | compat::{json::json, kanal}, [INFO] [stdout] | ^^^^ ^^^^^ no `kanal` in `compat` [INFO] [stdout] | | [INFO] [stdout] | could not find `json` in `compat` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/compat.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg(feature = "data-json")] [INFO] [stdout] | --------------------- the item is gated behind the `data-json` feature [INFO] [stdout] 101 | pub mod json { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/compat.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature = "kanal")] [INFO] [stdout] | ----------------- the item is gated behind the `kanal` feature [INFO] [stdout] 64 | pub mod kanal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> examples/axum.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use axum::{Json, Router, extract, routing::get}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file examples/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> examples/axum.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use axum::{Json, Router, extract, routing::get}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file examples/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/axum.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flute::tools::in_memory` [INFO] [stdout] --> examples/rpc.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use flute::{define_rpc, rpc::RpcResult, tools::in_memory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `in_memory` in `tools` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/tools.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "kanal")] [INFO] [stdout] | ----------------- the item is gated behind the `kanal` feature [INFO] [stdout] 2 | pub mod in_memory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/rpc.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[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 `tokio` in this scope [INFO] [stdout] --> examples/rpc.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let _ = tokio::spawn(server).await; [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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/rpc.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flute` (example "rpc_proto") due to 1 previous error [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> examples/axum.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let listener = tokio::net::TcpListener::bind("0.0.0.0:8080").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] 5 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpListener`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - let listener = tokio::net::TcpListener::bind("0.0.0.0:8080").await.unwrap(); [INFO] [stdout] 75 + let listener = TcpListener::bind("0.0.0.0:8080").await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stderr] error: could not compile `flute` (example "rpc") due to 4 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope [INFO] [stdout] --> examples/axum.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | axum::serve(listener, router).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file examples/axum.rs, use `mod axum` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 5 + mod axum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/axum.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | 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 `flute` (example "axum") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "d0b0eac159bc83968a4864af42813d4adfb493a8e4328db7c5d53bcad0bf9cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b0eac159bc83968a4864af42813d4adfb493a8e4328db7c5d53bcad0bf9cdb", kill_on_drop: false }` [INFO] [stdout] d0b0eac159bc83968a4864af42813d4adfb493a8e4328db7c5d53bcad0bf9cdb