[INFO] cloning repository https://github.com/Implodent/insan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Implodent/insan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImplodent%2Finsan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImplodent%2Finsan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d9c5285f4be9f98023459200aa030106b2b0dca [INFO] checking Implodent/insan against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImplodent%2Finsan" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Implodent/insan on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Implodent/insan [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Implodent/insan [INFO] tweaked toml for git repo https://github.com/Implodent/insan written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Implodent/insan 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" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Implodent/insan against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImplodent%2Finsan" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Implodent/insan on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Implodent/insan [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Implodent/insan [INFO] tweaked toml for git repo https://github.com/Implodent/insan written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Implodent/insan 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" "+32f93a5733992b29f321831b7e26c1f7d7205013" "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 async-global-executor v2.4.0 [INFO] [stderr] Downloaded async-io v2.2.2 [INFO] [stderr] Downloaded value-bag v1.4.3 [INFO] [stderr] Downloaded async-tungstenite v0.24.0 [INFO] [stderr] Downloaded async-tls v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d585fc84f69c83bf9d5b9a369238874ecac75f9b03ee4ad454dba56d507fc689 [INFO] running `Command { std: "docker" "start" "-a" "d585fc84f69c83bf9d5b9a369238874ecac75f9b03ee4ad454dba56d507fc689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d585fc84f69c83bf9d5b9a369238874ecac75f9b03ee4ad454dba56d507fc689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d585fc84f69c83bf9d5b9a369238874ecac75f9b03ee4ad454dba56d507fc689", kill_on_drop: false }` [INFO] [stdout] d585fc84f69c83bf9d5b9a369238874ecac75f9b03ee4ad454dba56d507fc689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a4e9cdd823d2ccd615306362afeb53becb202e47be6176402720cc60f6d275d [INFO] running `Command { std: "docker" "start" "-a" "4a4e9cdd823d2ccd615306362afeb53becb202e47be6176402720cc60f6d275d", kill_on_drop: false }` [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking value-bag v1.4.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking proc-macro2 v1.0.70 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking event-listener v4.0.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking async-dup v1.2.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking acril-macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking async-io v2.2.2 [INFO] [stderr] Checking async-global-executor v2.4.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking acril v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> examples/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_std::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `acril::prelude::http` [INFO] [stdout] --> examples/server.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use acril::prelude::http::*; [INFO] [stdout] | ^^^^ could not find `http` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> examples/server.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[async_std::main] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope [INFO] [stdout] --> examples/server.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl Service for HelloService { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use acril::Service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpContext` in this scope [INFO] [stdout] --> examples/server.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | type Context = HttpContext; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/server.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl Handler for HelloService { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use acril::Handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/server.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | impl Handler for HelloService { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> examples/server.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | impl Handler for HelloService { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 25 | impl Handler for HelloService { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> examples/server.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | mut req: Request, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> examples/server.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 25 | impl Handler for HelloService { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> examples/server.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | return Err(http_types::Error::from_str( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - return Err(http_types::Error::from_str( [INFO] [stdout] 45 + return Err(Error::from_str( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> examples/server.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | return Err(http_types::Error::from_str( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - return Err(http_types::Error::from_str( [INFO] [stdout] 51 + return Err(Error::from_str( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> examples/server.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | async_std::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use futures::task; [INFO] [stdout] | [INFO] [stdout] help: if you import `task`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - async_std::task::spawn(async move { [INFO] [stdout] 72 + task::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> examples/server.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error::Error, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/server.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> examples/server.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 14 | async fn started(&mut self, _cx: &Self::Context) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 14 | async fn started(&mut self, _cx: &Self::Context) -> Result<(), ::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 14 | async fn started(&mut self, _cx: &Self::Context) -> Result<(), ::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 14 | async fn started(&mut self, _cx: &Self::Context) -> Result<(), ::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 14 | async fn started(&mut self, _cx: &Self::Context) -> Result<(), ::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> examples/server.rs:19:69 [INFO] [stdout] | [INFO] [stdout] 19 | async fn stopping(&mut self, _cx: &Self::Context) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 19 | async fn stopping(&mut self, _cx: &Self::Context) -> Result<(), ::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 19 | async fn stopping(&mut self, _cx: &Self::Context) -> Result<(), ::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 19 | async fn stopping(&mut self, _cx: &Self::Context) -> Result<(), ::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 19 | async fn stopping(&mut self, _cx: &Self::Context) -> Result<(), ::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> examples/server.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 30 | ) -> Result::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 30 | ) -> Result::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 30 | ) -> Result::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 30 | ) -> Result::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> examples/server.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | if let Err(e) = Server::new(HelloService, stream).run().await { [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> examples/server.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | type Error = http_types::Error; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/server.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let mut resp = Response::new(StatusCode::Ok); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/server.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | let mut resp = Response::new(StatusCode::Ok); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> examples/server.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | (Method::Get, "/") => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mime` [INFO] [stdout] --> examples/server.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | resp.set_content_type(Mime::from_str("text/html").unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type `Mime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> examples/server.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | (Method::Post, "/say_hello") => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mime` [INFO] [stdout] --> examples/server.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | resp.set_content_type(Mime::from_str("text/html").unwrap()); [INFO] [stdout] | ^^^^ use of undeclared type `Mime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/server.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | StatusCode::MethodNotAllowed, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/server.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | StatusCode::NotFound, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `acril` (example "server") due to 27 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4a4e9cdd823d2ccd615306362afeb53becb202e47be6176402720cc60f6d275d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4e9cdd823d2ccd615306362afeb53becb202e47be6176402720cc60f6d275d", kill_on_drop: false }` [INFO] [stdout] 4a4e9cdd823d2ccd615306362afeb53becb202e47be6176402720cc60f6d275d