[INFO] fetching crate salvo 0.12.2...
[INFO] checking salvo-0.12.2 against 1.55.0 for beta-1.56-3
[INFO] extracting crate salvo 0.12.2 into /workspace/builds/worker-87/source
[INFO] validating manifest of crates.io crate salvo 0.12.2 on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate salvo 0.12.2
[INFO] finished tweaking crates.io crate salvo 0.12.2
[INFO] tweaked toml for crates.io crate salvo 0.12.2 written to /workspace/builds/worker-87/source/Cargo.toml
[INFO] crate crates.io crate salvo 0.12.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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 tokio-util v0.6.6
[INFO] [stderr]   Downloaded time v0.3.1
[INFO] [stderr]   Downloaded h2 v0.3.2
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.23
[INFO] [stderr]   Downloaded httparse v1.3.6
[INFO] [stderr]   Downloaded hyper v0.14.5
[INFO] [stderr]   Downloaded salvo_extra v0.12.0
[INFO] [stderr]   Downloaded tokio v1.5.0
[INFO] [stderr]   Downloaded tokio-stream v0.1.5
[INFO] [stderr]   Downloaded tower v0.4.8
[INFO] [stderr]   Downloaded async-trait v0.1.49
[INFO] [stderr]   Downloaded http-body v0.4.1
[INFO] [stderr]   Downloaded twoway v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 571f5aca4f28410fd08bead4cd1a24f85f08669e5b5d217dc88212e635335aa1
[INFO] running `Command { std: "docker" "start" "-a" "571f5aca4f28410fd08bead4cd1a24f85f08669e5b5d217dc88212e635335aa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "571f5aca4f28410fd08bead4cd1a24f85f08669e5b5d217dc88212e635335aa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "571f5aca4f28410fd08bead4cd1a24f85f08669e5b5d217dc88212e635335aa1", kill_on_drop: false }`
[INFO] [stdout] 571f5aca4f28410fd08bead4cd1a24f85f08669e5b5d217dc88212e635335aa1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a63e6bf3ffdd8c5dcb8aac62f95e35852ded70f9db63d0c08b179ad971a8676
[INFO] running `Command { std: "docker" "start" "-a" "0a63e6bf3ffdd8c5dcb8aac62f95e35852ded70f9db63d0c08b179ad971a8676", 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.69
[INFO] [stderr]    Compiling libc v0.2.100
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking futures-core v0.3.14
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking futures-sink v0.3.14
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking futures-task v0.3.14
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]     Checking futures-io v0.3.14
[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.6
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking regex-syntax v0.6.23
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.33
[INFO] [stderr]    Compiling const_fn v0.4.6
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking unchecked-index v0.2.2
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking openssl-probe v0.1.2
[INFO] [stderr]    Compiling async-trait v0.1.49
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking spin v0.9.2
[INFO] [stderr]     Checking display_bytes v0.2.1
[INFO] [stderr]     Checking time v0.3.1
[INFO] [stderr]     Checking tower-layer v0.3.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 lock_api v0.4.3
[INFO] [stderr]     Checking futures-channel v0.3.14
[INFO] [stderr]     Checking unicode-bidi v0.3.5
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling time v0.2.26
[INFO] [stderr]    Compiling multer v2.0.1
[INFO] [stderr]    Compiling cookie v0.15.0
[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]    Compiling tokio v1.5.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 http v0.2.4
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tinyvec v1.2.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.61
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking twoway v0.2.1
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking regex v1.4.5
[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 unicode-normalization v0.1.17
[INFO] [stderr]    Compiling proc-quote-impl v0.3.2
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking mio v0.7.11
[INFO] [stderr]     Checking socket2 v0.4.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking sha-1 v0.9.4
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking idna v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking headers v0.3.4
[INFO] [stderr]     Checking url v2.2.1
[INFO] [stderr]     Checking textnonce v1.0.0
[INFO] [stderr]    Compiling proc-quote v0.4.0
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.14
[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.14
[INFO] [stderr]     Checking tracing v0.1.25
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]     Checking pin-project v1.0.6
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking futures-executor v0.3.14
[INFO] [stderr]     Checking futures v0.3.14
[INFO] [stderr]     Checking tokio-util v0.6.6
[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 tower v0.4.8
[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]     Checking hyper v0.14.5
[INFO] [stderr]    Compiling proc-macro-crate v1.0.0
[INFO] [stderr]    Compiling salvo_macros v0.12.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.3
[INFO] [stderr]     Checking salvo_core v0.12.2
[INFO] [stderr]     Checking salvo v0.12.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra`
[INFO] [stdout]  --> examples/proxy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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 type `ProxyHandler`
[INFO] [stdout]   --> examples/proxy.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 .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 crate or module `salvo_extra`
[INFO] [stdout]  --> examples/file_list.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use salvo_extra::serve::{Options, 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 `ProxyHandler`
[INFO] [stdout]   --> examples/proxy.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 .handle(ProxyHandler::new(vec!["https://www.baidu.com".into()])),
[INFO] [stdout]    |                         ^^^^^^^^^^^^ use of undeclared type `ProxyHandler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `salvo::anyhow`
[INFO] [stdout]  --> examples/handle_error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use salvo::anyhow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `anyhow` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `anyhow::anyhow`
[INFO] [stdout]   --> examples/handle_error.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Err(anyhow::anyhow!("anyhow error"))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `extra` in `salvo`
[INFO] [stdout]   --> examples/sse_chat.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use salvo::extra::sse::{SseEvent, SseKeepAlive};
[INFO] [stdout]    |            ^^^^^ could not find `extra` in `salvo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo_extra`
[INFO] [stdout]   --> examples/sse.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 type `StaticDir`
[INFO] [stdout]  --> examples/file_list.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let router = Router::new().path("<**path>").get(StaticDir::width_options(
[INFO] [stdout]   |                                                     ^^^^^^^^^ use of undeclared type `StaticDir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Options` in this scope
[INFO] [stdout]   --> examples/file_list.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Options {
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `extra` in `salvo`
[INFO] [stdout]  --> examples/ws.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use salvo::extra::ws::WsHandler;
[INFO] [stdout]   |            ^^^^^ could not find `extra` in `salvo`
[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[E0433]: failed to resolve: use of undeclared type `SseEvent`
[INFO] [stdout]   --> examples/sse_chat.rs:72:62
[INFO] [stdout]    |
[INFO] [stdout] 72 |         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:73:37
[INFO] [stdout]    |
[INFO] [stdout] 73 |         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:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 |     SseKeepAlive::new(stream).streaming(res);
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared type `SseKeepAlive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `salvo` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SseEvent`
[INFO] [stdout]   --> examples/sse.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:15:40
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn sse_counter(counter: u64) -> Result<SseEvent, Infallible> {
[INFO] [stdout]    |               -                        ^^^^^^^^ not found in this scope
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: you might be missing a type parameter: `<SseEvent>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `extra` in `salvo`
[INFO] [stdout]  --> examples/compression.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use salvo::extra::serve::*;
[INFO] [stdout]   |            ^^^^^ could not find `extra` in `salvo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `salvo::extra`
[INFO] [stdout]  --> examples/compression.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use salvo::extra::compression;
[INFO] [stdout]   |            ^^^^^ could not find `extra` in `salvo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WsHandler`
[INFO] [stdout]  --> examples/ws.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 |     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: could not find `extra` in `salvo`
[INFO] [stdout]   --> examples/ws_chat.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | use salvo::extra::ws::{Message, WsHandler};
[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/unix_socket.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use salvo::extra::serve::StaticDir;
[INFO] [stdout]   |                ^^^^^ could not find `extra` in `salvo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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: 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 `StaticFile`
[INFO] [stdout]   --> examples/compression.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |                 .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: 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[E0433]: failed to resolve: use of undeclared type `StaticFile`
[INFO] [stdout]   --> examples/compression.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 .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:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 .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:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 .get(StaticDir::new("examples/")),
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `StaticDir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/handle_error.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[fn_handler]
[INFO] [stdout]    | ^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: type must be known at this point
[INFO] [stdout]    = note: this error originates in the attribute macro `fn_handler` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WsHandler`
[INFO] [stdout]   --> examples/ws_chat.rs:33:15
[INFO] [stdout]    |
[INFO] [stdout] 33 |     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 type `Message`
[INFO] [stdout]   --> examples/ws_chat.rs:88:52
[INFO] [stdout]    |
[INFO] [stdout] 88 |             if let Err(_disconnected) = tx.send(Ok(Message::text(new_msg.clone()))) {
[INFO] [stdout]    |                                                    ^^^^^^^ use of undeclared type `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Message` in this scope
[INFO] [stdout]   --> examples/ws_chat.rs:17:65
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Users = RwLock<HashMap<usize, mpsc::UnboundedSender<Result<Message, salvo::Error>>>>;
[INFO] [stdout]    |           -                                                     ^^^^^^^ not found in this scope
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: you might be missing a type parameter: `<Message>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Message` in this scope
[INFO] [stdout]   --> examples/ws_chat.rs:76:42
[INFO] [stdout]    |
[INFO] [stdout] 76 | async fn user_message(my_id: usize, msg: Message) {
[INFO] [stdout]    |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticDir`
[INFO] [stdout]   --> examples/unix_socket.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 |     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 `BasicAuthHandler`
[INFO] [stdout]   --> examples/basic_auth.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |     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 type `StaticDir`
[INFO] [stdout]   --> examples/basic_auth.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |         .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:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let baconfig = BasicAuthConfig {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `max_size` in this scope
[INFO] [stdout]   --> examples/size_limiter.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 .before(max_size(1024 * 1024 * 10))
[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] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[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: 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: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] [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[E0599]: no method named `tls` found for struct `salvo::Server` in the current scope
[INFO] [stdout]   --> examples/tls.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |         .tls()
[INFO] [stdout]    |          ^^^ method not found in `salvo::Server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[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: 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" "0a63e6bf3ffdd8c5dcb8aac62f95e35852ded70f9db63d0c08b179ad971a8676", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a63e6bf3ffdd8c5dcb8aac62f95e35852ded70f9db63d0c08b179ad971a8676", kill_on_drop: false }`
[INFO] [stdout] 0a63e6bf3ffdd8c5dcb8aac62f95e35852ded70f9db63d0c08b179ad971a8676
