[INFO] fetching crate salvo 0.12.2... [INFO] testing salvo-0.12.2 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate salvo 0.12.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate salvo 0.12.2 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-7/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v1.0.6 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded pin-project v1.0.6 [INFO] [stderr] Downloaded tower v0.4.8 [INFO] [stderr] Downloaded futures-executor v0.3.14 [INFO] [stderr] Downloaded salvo_extra v0.12.0 [INFO] [stderr] Downloaded http-body v0.4.1 [INFO] [stderr] Downloaded ipnet v2.3.0 [INFO] [stderr] Downloaded security-framework v2.2.0 [INFO] [stderr] Downloaded async-compression v0.3.7 [INFO] [stderr] Downloaded async-trait v0.1.49 [INFO] [stderr] Downloaded const_fn v0.4.6 [INFO] [stderr] Downloaded hyper v0.14.5 [INFO] [stderr] Downloaded time v0.3.1 [INFO] [stderr] Downloaded tokio v1.5.0 [INFO] [stderr] Downloaded futures-macro v0.3.14 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.23 [INFO] [stderr] Downloaded reqwest v0.11.3 [INFO] [stderr] Downloaded h2 v0.3.2 [INFO] [stderr] Downloaded openssl v0.10.33 [INFO] [stderr] Downloaded futures v0.3.14 [INFO] [stderr] Downloaded httparse v1.3.6 [INFO] [stderr] Downloaded twoway v0.2.1 [INFO] [stderr] Downloaded redox_syscall v0.2.6 [INFO] [stderr] Downloaded lock_api v0.4.3 [INFO] [stderr] Downloaded tracing-serde v0.1.2 [INFO] [stderr] Downloaded futures-util v0.3.14 [INFO] [stderr] Downloaded futures-task v0.3.14 [INFO] [stderr] Downloaded futures-sink v0.3.14 [INFO] [stderr] Downloaded libc v0.2.100 [INFO] [stderr] Downloaded futures-core v0.3.14 [INFO] [stderr] Downloaded rustls v0.19.0 [INFO] [stderr] Downloaded futures-io v0.3.14 [INFO] [stderr] Downloaded security-framework-sys v2.2.0 [INFO] [stderr] Downloaded matchers v0.0.1 [INFO] [stderr] Downloaded tokio-stream v0.1.5 [INFO] [stderr] Downloaded futures-channel v0.3.14 [INFO] [stderr] Downloaded tokio-util v0.6.6 [INFO] [stderr] Downloaded tracing-log v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", 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] 4b8b0f3bebe50b5158e0148582714988b5da7f637bc44f7741bc26c30deca504 [INFO] running `Command { std: "docker" "start" "-a" "4b8b0f3bebe50b5158e0148582714988b5da7f637bc44f7741bc26c30deca504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b8b0f3bebe50b5158e0148582714988b5da7f637bc44f7741bc26c30deca504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8b0f3bebe50b5158e0148582714988b5da7f637bc44f7741bc26c30deca504", kill_on_drop: false }` [INFO] [stdout] 4b8b0f3bebe50b5158e0148582714988b5da7f637bc44f7741bc26c30deca504 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "build" "--frozen" "--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] 88c88976cfaf50006302cbb811958f9ede23b9e5c83e1ab8bbee9439c7e7f315 [INFO] running `Command { std: "docker" "start" "-a" "88c88976cfaf50006302cbb811958f9ede23b9e5c83e1ab8bbee9439c7e7f315", 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] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling display_bytes v0.2.1 [INFO] [stderr] Compiling time v0.3.1 [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 tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling textnonce v1.0.0 [INFO] [stderr] Compiling proc-quote v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling salvo_macros v0.12.0 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling salvo_core v0.12.2 [INFO] [stderr] Compiling salvo v0.12.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "88c88976cfaf50006302cbb811958f9ede23b9e5c83e1ab8bbee9439c7e7f315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c88976cfaf50006302cbb811958f9ede23b9e5c83e1ab8bbee9439c7e7f315", kill_on_drop: false }` [INFO] [stdout] 88c88976cfaf50006302cbb811958f9ede23b9e5c83e1ab8bbee9439c7e7f315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--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] e00e72597843833ac104c5f7142781b66492dea3977e7eacd20d22927e386c9d [INFO] running `Command { std: "docker" "start" "-a" "e00e72597843833ac104c5f7142781b66492dea3977e7eacd20d22927e386c9d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.17 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling salvo v0.12.2 (/opt/rustwide/workdir) [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 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] [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] [stderr] error: could not compile `salvo` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `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: 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[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: 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/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[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 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: 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[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>>>; [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[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 `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: 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 `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: 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 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[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 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" "e00e72597843833ac104c5f7142781b66492dea3977e7eacd20d22927e386c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00e72597843833ac104c5f7142781b66492dea3977e7eacd20d22927e386c9d", kill_on_drop: false }` [INFO] [stdout] e00e72597843833ac104c5f7142781b66492dea3977e7eacd20d22927e386c9d