[INFO] fetching crate sailfish-web 0.2.0... [INFO] testing sailfish-web-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate sailfish-web 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sailfish-web 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sailfish-web 0.2.0 [INFO] tweaked toml for crates.io crate sailfish-web 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sailfish-web 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sailfish-web 0.2.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is-terminal v0.4.15 [INFO] [stderr] Downloaded wit-bindgen-rt v0.33.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.9 [INFO] [stderr] Downloaded data-encoding v2.7.0 [INFO] [stderr] Downloaded sailfish v0.9.0 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded sailfish-compiler v0.9.0 [INFO] [stderr] Downloaded sailfish-macros v0.9.0 [INFO] [stderr] Downloaded httparse v1.10.0 [INFO] [stderr] Downloaded matchit v0.7.3 [INFO] [stderr] Downloaded async-trait v0.1.86 [INFO] [stderr] Downloaded getrandom v0.3.1 [INFO] [stderr] Downloaded pin-project v1.1.9 [INFO] [stderr] Downloaded itoap v1.0.1 [INFO] [stderr] Downloaded cc v1.2.12 [INFO] [stderr] Downloaded miniz_oxide v0.8.3 [INFO] [stderr] Downloaded toml_edit v0.22.23 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded wasi v0.13.3+wasi-0.2.2 [INFO] [stderr] Downloaded winnow v0.7.1 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded tokio-util v0.7.13 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56d92f89a0108ffe1e29d4aa8d2bd60dbe950cd966096751c4d2dad31de0ffd0 [INFO] running `Command { std: "docker" "start" "-a" "56d92f89a0108ffe1e29d4aa8d2bd60dbe950cd966096751c4d2dad31de0ffd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56d92f89a0108ffe1e29d4aa8d2bd60dbe950cd966096751c4d2dad31de0ffd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d92f89a0108ffe1e29d4aa8d2bd60dbe950cd966096751c4d2dad31de0ffd0", kill_on_drop: false }` [INFO] [stdout] 56d92f89a0108ffe1e29d4aa8d2bd60dbe950cd966096751c4d2dad31de0ffd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 46593c0a3898043194734dad3eff1e935ff055505d6ccf6fba332a98bf4537d8 [INFO] running `Command { std: "docker" "start" "-a" "46593c0a3898043194734dad3eff1e935ff055505d6ccf6fba332a98bf4537d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Compiling sailfish-compiler v0.9.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling itoap v1.0.1 [INFO] [stderr] Compiling sailfish v0.9.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling sailfish-macros v0.9.0 [INFO] [stderr] Compiling sailfish-web v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/web_servers_support/template.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TemplateWrapper { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | pub(crate) template: T, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.94s [INFO] running `Command { std: "docker" "inspect" "46593c0a3898043194734dad3eff1e935ff055505d6ccf6fba332a98bf4537d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46593c0a3898043194734dad3eff1e935ff055505d6ccf6fba332a98bf4537d8", kill_on_drop: false }` [INFO] [stdout] 46593c0a3898043194734dad3eff1e935ff055505d6ccf6fba332a98bf4537d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4d47c31cf711a41a3365136f498e904d36cfc26592f60e9ab8f9f2d6bc9247c7 [INFO] running `Command { std: "docker" "start" "-a" "4d47c31cf711a41a3365136f498e904d36cfc26592f60e9ab8f9f2d6bc9247c7", kill_on_drop: false }` [INFO] [stderr] Compiling sailfish-web v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/web_servers_support/template.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TemplateWrapper { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | pub(crate) template: T, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Template file "test.stpl" not found [INFO] [stdout] --> examples/warp.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[template(path = "test.stpl")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/warp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::Filter; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Template file "test.stpl" not found [INFO] [stdout] --> examples/rocket.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | #[template(path = "test.stpl")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket` [INFO] [stdout] --> examples/rocket.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::get; [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket` [INFO] [stdout] --> examples/rocket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::launch; [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> examples/rocket.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::response::content::RawHtml; [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket` [INFO] [stdout] --> examples/rocket.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::routes; [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/warp.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket` [INFO] [stdout] --> examples/rocket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::Response; [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> examples/warp.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let hello = warp::path!("hello" / String) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Template file "test2.stpl" not found [INFO] [stdout] --> examples/res.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[template(path = "test2.stpl")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sailfish_web::option_result` [INFO] [stdout] --> examples/res.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use sailfish_web::option_result::Res; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `option_result` in `sailfish_web` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod option_result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `option_result` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "option_result")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/web_servers_support/template.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TemplateWrapper { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 5 | pub(crate) template: T, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rocket` [INFO] [stdout] --> examples/rocket.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/rocket.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> examples/rocket.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | rocket::build().mount("/", routes![hello]) [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> examples/rocket.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestTemplate<'_>: TemplateSimple` is not satisfied [INFO] [stdout] --> examples/warp.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|name: String| TemplateWrapper::from(TestTemplate { s: &name }).into_resp()); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TemplateSimple` is not implemented for `TestTemplate<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TemplateWrapper::::from` [INFO] [stdout] --> /opt/rustwide/workdir/src/web_servers_support/template.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl TemplateWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `TemplateWrapper::::from` [INFO] [stdout] 19 | /// Create an AxumTemplate from a TemplateSimple struct [INFO] [stdout] 20 | pub fn from(template: T) -> Self { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestTemplate<'_>: TemplateSimple` is not satisfied [INFO] [stdout] --> examples/rocket.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | TemplateWrapper::from(TestTemplate { s: "test" }).into() [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TemplateSimple` is not implemented for `TestTemplate<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TemplateWrapper::::from` [INFO] [stdout] --> /opt/rustwide/workdir/src/web_servers_support/template.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl TemplateWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `TemplateWrapper::::from` [INFO] [stdout] 19 | /// Create an AxumTemplate from a TemplateSimple struct [INFO] [stdout] 20 | pub fn from(template: T) -> Self { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Template file "test2.stpl" not found [INFO] [stdout] --> examples/opt.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[template(path = "test2.stpl")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestTemplate<'_>: TemplateSimple` is not satisfied [INFO] [stdout] --> examples/rocket.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TemplateWrapper::from(TestTemplate { s: "test" }).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TemplateSimple` is not implemented for `TestTemplate<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TemplateWrapper` [INFO] [stdout] --> /opt/rustwide/workdir/src/web_servers_support/template.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TemplateWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `TemplateWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestTemplate<'_>: TemplateSimple` is not satisfied [INFO] [stdout] --> examples/rocket.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TemplateWrapper::from(TestTemplate { s: "test" }).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TemplateSimple` is not implemented for `TestTemplate<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TemplateWrapper` [INFO] [stdout] --> /opt/rustwide/workdir/src/web_servers_support/template.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TemplateWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `TemplateWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sailfish_web::option_result` [INFO] [stdout] --> examples/opt.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use sailfish_web::option_result::Opt; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `option_result` in `sailfish_web` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod option_result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `option_result` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "option_result")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Template file "test.stpl" not found [INFO] [stdout] --> examples/axum.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | #[template(path = "test.stpl")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/axum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{response::IntoResponse, routing::get, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/axum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> examples/axum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{response::IntoResponse, routing::get, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/axum.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0277, E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sailfish-web` (example "rocket") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `into_resp` found for struct `TemplateWrapper` in the current scope [INFO] [stdout] --> examples/warp.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|name: String| TemplateWrapper::from(TestTemplate { s: &name }).into_resp()); [INFO] [stdout] | ^^^^^^^^^ method not found in `TemplateWrapper>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestTemplate<'_>: TemplateSimple` is not satisfied [INFO] [stdout] --> examples/warp.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|name: String| TemplateWrapper::from(TestTemplate { s: &name }).into_resp()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TemplateSimple` is not implemented for `TestTemplate<'_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TemplateWrapper` [INFO] [stdout] --> /opt/rustwide/workdir/src/web_servers_support/template.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TemplateWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `TemplateWrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> examples/warp.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | warp::serve(hello).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/warp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_once` found for struct `TestTemplate` in the current scope [INFO] [stdout] --> examples/res.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 10 | struct TestTemplate { [INFO] [stdout] | ------------------- method `render_once` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | / TestTemplate { [INFO] [stdout] 18 | | s: Ok("world".to_string()).into() [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | .render_once() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `TestTemplate` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `render_once`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `TemplateOnce` [INFO] [stdout] candidate #2: `TemplateSimple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/axum.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | axum::serve(listener, app.into_make_service()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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[E0599]: no method named `render_once` found for struct `TestTemplate` in the current scope [INFO] [stdout] --> examples/res.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 10 | struct TestTemplate { [INFO] [stdout] | ------------------- method `render_once` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | TestTemplate { s: Err(123).into() }.render_once().unwrap() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `TestTemplate` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `render_once`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `TemplateOnce` [INFO] [stdout] candidate #2: `TemplateSimple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_once` found for struct `TestTemplate` in the current scope [INFO] [stdout] --> examples/opt.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 10 | struct TestTemplate { [INFO] [stdout] | ------------------- method `render_once` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | / TestTemplate { [INFO] [stdout] 18 | | s: Some("world".to_string()).into() [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | .render_once() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `TestTemplate` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `render_once`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `TemplateOnce` [INFO] [stdout] candidate #2: `TemplateSimple` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sailfish-web` (example "warp") due to 9 previous errors [INFO] [stderr] error: could not compile `sailfish-web` (example "axum") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `render_once` found for struct `TestTemplate` in the current scope [INFO] [stdout] --> examples/opt.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 10 | struct TestTemplate { [INFO] [stdout] | ------------------- method `render_once` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | print!("{}", TestTemplate { s: None.into() }.render_once().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `TestTemplate` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `render_once`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `TemplateOnce` [INFO] [stdout] candidate #2: `TemplateSimple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sailfish-web` (example "res") due to 4 previous errors [INFO] [stderr] error: could not compile `sailfish-web` (example "opt") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4d47c31cf711a41a3365136f498e904d36cfc26592f60e9ab8f9f2d6bc9247c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d47c31cf711a41a3365136f498e904d36cfc26592f60e9ab8f9f2d6bc9247c7", kill_on_drop: false }` [INFO] [stdout] 4d47c31cf711a41a3365136f498e904d36cfc26592f60e9ab8f9f2d6bc9247c7