[INFO] fetching crate salvo 0.10.4... [INFO] checking salvo-0.10.4 against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] extracting crate salvo 0.10.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate salvo 0.10.4 on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate salvo 0.10.4 [INFO] finished tweaking crates.io crate salvo 0.10.4 [INFO] tweaked toml for crates.io crate salvo 0.10.4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate salvo 0.10.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b323892481051d9927bb8d8f15b3d7fe54c098eb8bb5cd1c4a7f78d932f9be4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b323892481051d9927bb8d8f15b3d7fe54c098eb8bb5cd1c4a7f78d932f9be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b323892481051d9927bb8d8f15b3d7fe54c098eb8bb5cd1c4a7f78d932f9be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b323892481051d9927bb8d8f15b3d7fe54c098eb8bb5cd1c4a7f78d932f9be4", kill_on_drop: false }` [INFO] [stdout] 5b323892481051d9927bb8d8f15b3d7fe54c098eb8bb5cd1c4a7f78d932f9be4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f0ebf36e239bb515ac9a047ad05bd97c0dacb2707214c0f775b5f317845a097b [INFO] running `Command { std: "docker" "start" "-a" "f0ebf36e239bb515ac9a047ad05bd97c0dacb2707214c0f775b5f317845a097b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking display_bytes v0.2.1 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking textnonce v1.0.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling proc-quote v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking double-checked-cell-async v2.0.2 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling salvo_macros v0.10.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.2 [INFO] [stderr] Checking salvo_core v0.10.4 [INFO] [stderr] Checking salvo v0.10.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `extra` in `salvo` [INFO] [stdout] --> examples/size_limiter.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use salvo::extra::size_limiter::max_size; [INFO] [stdout] | ^^^^^ could not find `extra` in `salvo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `max_size` in this scope [INFO] [stdout] --> examples/size_limiter.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | .before(max_size(1024 * 1024 * 10)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra` [INFO] [stdout] --> examples/proxy.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use salvo_extra::proxy::ProxyHandler; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra` [INFO] [stdout] --> examples/ws.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use salvo_extra::ws::WsHandler; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WsHandler` [INFO] [stdout] --> examples/ws.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let fut = WsHandler::new().handle(req, res)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WsHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra` [INFO] [stdout] --> examples/sse.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use salvo_extra::sse::{self, SseEvent}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `salvo_extra` [INFO] [stdout] --> examples/sse.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use salvo_extra::sse::{self, SseEvent}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra` [INFO] [stdout] --> examples/sse_chat.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use salvo_extra::sse::{SseEvent, SseKeepAlive}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProxyHandler` [INFO] [stdout] --> examples/proxy.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | .handle(ProxyHandler::new(vec!["https://www.google.com".into()])), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProxyHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProxyHandler` [INFO] [stdout] --> examples/proxy.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | .handle(ProxyHandler::new(vec!["https://www.baidu.com".into()])), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProxyHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra` [INFO] [stdout] --> examples/unix_socket.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use salvo_extra::serve::StaticDir; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SseEvent` [INFO] [stdout] --> examples/sse_chat.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | Message::UserId(my_id) => Ok::<_, salvo_core::Error>(SseEvent::default().name("user").data(my_id.to_string())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SseEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SseEvent` [INFO] [stdout] --> examples/sse_chat.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | Message::Reply(reply) => Ok(SseEvent::default().data(reply)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SseEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SseKeepAlive` [INFO] [stdout] --> examples/sse_chat.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | SseKeepAlive::new(stream).streaming(res); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SseKeepAlive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> examples/ws.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> examples/ws.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `salvo` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra` [INFO] [stdout] --> examples/compression.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use salvo_extra::serve::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `salvo_extra`, `tracing_subscriber` [INFO] [stdout] --> examples/compression.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use salvo_extra::compression; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] 5 | use salvo_extra::serve::*; [INFO] [stdout] 6 | use tracing_subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `extra` in `salvo` [INFO] [stdout] --> examples/basic_auth.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use salvo::extra::basic_auth::{BasicAuthConfig, BasicAuthHandler}; [INFO] [stdout] | ^^^^^ could not find `extra` in `salvo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `extra` in `salvo` [INFO] [stdout] --> examples/basic_auth.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use salvo::extra::serve::StaticDir; [INFO] [stdout] | ^^^^^ could not find `extra` in `salvo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SseEvent` [INFO] [stdout] --> examples/sse.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(SseEvent::default().data(counter.to_string())) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SseEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SseEvent` in this scope [INFO] [stdout] --> examples/sse.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | fn sse_counter(counter: u64) -> Result { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticDir` [INFO] [stdout] --> examples/unix_socket.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | let router = Router::new().path("files/<*path>").get(StaticDir::new("./static")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StaticDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticFile` [INFO] [stdout] --> examples/compression.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | .get(StaticFile::new("examples/ws_chat.rs")), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StaticFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticFile` [INFO] [stdout] --> examples/compression.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | .get(StaticFile::new("examples/sse_chat.rs")), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StaticFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticFile` [INFO] [stdout] --> examples/compression.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | .get(StaticFile::new("examples/todos.rs")), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StaticFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticDir` [INFO] [stdout] --> examples/compression.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | .get(StaticDir::new("examples/")), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StaticDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicAuthHandler` [INFO] [stdout] --> examples/basic_auth.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | let auth_handler = BasicAuthHandler::new(baconfig); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `BasicAuthHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra` [INFO] [stdout] --> examples/ws_chat.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use salvo_extra::ws::{Message, WsHandler}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticDir` [INFO] [stdout] --> examples/basic_auth.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | .get(StaticDir::new(vec!["examples/static/body", "examples/static/girl"])); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StaticDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BasicAuthConfig` in this scope [INFO] [stdout] --> examples/basic_auth.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let baconfig = BasicAuthConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WsHandler` [INFO] [stdout] --> examples/ws_chat.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let fut = WsHandler::new().handle(req, res)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WsHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/ws_chat.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 19 | type Users = RwLock>>>; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use crate::read_error::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::stream::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/ws_chat.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | async fn user_message(my_id: usize, msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use crate::read_error::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::stream::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> examples/ws_chat.rs:94:52 [INFO] [stdout] | [INFO] [stdout] 94 | if let Err(_disconnected) = tx.send(Ok(Message::text(new_msg.clone()))) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use crate::read_error::io::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::sync::mpsc::stream::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra` [INFO] [stdout] --> examples/file_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use salvo_extra::serve::StaticDir; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `salvo_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tls` found for struct `salvo::Server` in the current scope [INFO] [stdout] --> examples/tls.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .tls() [INFO] [stdout] | ^^^ method not found in `salvo::Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/tls.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/tls.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / Server::new(router) [INFO] [stdout] 22 | | .tls() [INFO] [stdout] 23 | | .cert_path("examples/tls/cert.pem") [INFO] [stdout] 24 | | .key_path("examples/tls/key.rsa") [INFO] [stdout] 25 | | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] 26 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/tls.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/tls.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / Server::new(router) [INFO] [stdout] 22 | | .tls() [INFO] [stdout] 23 | | .cert_path("examples/tls/cert.pem") [INFO] [stdout] 24 | | .key_path("examples/tls/key.rsa") [INFO] [stdout] 25 | | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] 26 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/tls.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/tls.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / Server::new(router) [INFO] [stdout] 22 | | .tls() [INFO] [stdout] 23 | | .cert_path("examples/tls/cert.pem") [INFO] [stdout] 24 | | .key_path("examples/tls/key.rsa") [INFO] [stdout] 25 | | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] 26 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/tls.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/tls.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / Server::new(router) [INFO] [stdout] 22 | | .tls() [INFO] [stdout] 23 | | .cert_path("examples/tls/cert.pem") [INFO] [stdout] 24 | | .key_path("examples/tls/key.rsa") [INFO] [stdout] 25 | | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] 26 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/tls.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/tls.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / Server::new(router) [INFO] [stdout] 22 | | .tls() [INFO] [stdout] 23 | | .cert_path("examples/tls/cert.pem") [INFO] [stdout] 24 | | .key_path("examples/tls/key.rsa") [INFO] [stdout] 25 | | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] 26 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/tls.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/tls.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / Server::new(router) [INFO] [stdout] 22 | | .tls() [INFO] [stdout] 23 | | .cert_path("examples/tls/cert.pem") [INFO] [stdout] 24 | | .key_path("examples/tls/key.rsa") [INFO] [stdout] 25 | | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] 26 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/tls.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/tls.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / Server::new(router) [INFO] [stdout] 22 | | .tls() [INFO] [stdout] 23 | | .cert_path("examples/tls/cert.pem") [INFO] [stdout] 24 | | .key_path("examples/tls/key.rsa") [INFO] [stdout] 25 | | .bind(([0, 0, 0, 0], 7878)) [INFO] [stdout] 26 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticDir` [INFO] [stdout] --> examples/file_list.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | .get(StaticDir::new(vec!["examples/static/body", "examples/static/girl"])); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StaticDir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f0ebf36e239bb515ac9a047ad05bd97c0dacb2707214c0f775b5f317845a097b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0ebf36e239bb515ac9a047ad05bd97c0dacb2707214c0f775b5f317845a097b", kill_on_drop: false }` [INFO] [stdout] f0ebf36e239bb515ac9a047ad05bd97c0dacb2707214c0f775b5f317845a097b