[INFO] fetching crate tela 0.1.3... [INFO] testing tela-0.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tela 0.1.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate tela 0.1.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tela 0.1.3 [INFO] tweaked toml for crates.io crate tela 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tela 0.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tela 0.1.3 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono-tz-build v0.0.2 [INFO] [stderr] Downloaded http-body v1.0.0-rc.2 [INFO] [stderr] Downloaded serde_plain v1.0.1 [INFO] [stderr] Downloaded http-body-util v0.1.0-rc.3 [INFO] [stderr] Downloaded tela-macros v0.1.2 [INFO] [stderr] Downloaded deunicode v0.4.4 [INFO] [stderr] Downloaded serde v1.0.180 [INFO] [stderr] Downloaded tera v1.19.0 [INFO] [stderr] Downloaded hyper v1.0.0-rc.4 [INFO] [stderr] Downloaded serde_derive v1.0.180 [INFO] [stderr] Downloaded chrono-tz v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9040f0e0a96f4703ce85ddcdab5950d0b6e6bdfa4b70b225a8f0a3ab10749958 [INFO] running `Command { std: "docker" "start" "-a" "9040f0e0a96f4703ce85ddcdab5950d0b6e6bdfa4b70b225a8f0a3ab10749958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9040f0e0a96f4703ce85ddcdab5950d0b6e6bdfa4b70b225a8f0a3ab10749958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9040f0e0a96f4703ce85ddcdab5950d0b6e6bdfa4b70b225a8f0a3ab10749958", kill_on_drop: false }` [INFO] [stdout] 9040f0e0a96f4703ce85ddcdab5950d0b6e6bdfa4b70b225a8f0a3ab10749958 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57d1636b94812947d6e3795a571501cebc6d01ab5a111d8af5bb89446dfea933 [INFO] running `Command { std: "docker" "start" "-a" "57d1636b94812947d6e3795a571501cebc6d01ab5a111d8af5bb89446dfea933", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.0-rc.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_plain v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tela-macros v0.1.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling syn-rsx v0.9.0 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling html-to-string-macro v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling http-body-util v0.1.0-rc.3 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.0.0-rc.4 [INFO] [stderr] Compiling tela v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::response::template::TemplateEngine` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::response::template::TemplateEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.34s [INFO] running `Command { std: "docker" "inspect" "57d1636b94812947d6e3795a571501cebc6d01ab5a111d8af5bb89446dfea933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d1636b94812947d6e3795a571501cebc6d01ab5a111d8af5bb89446dfea933", kill_on_drop: false }` [INFO] [stdout] 57d1636b94812947d6e3795a571501cebc6d01ab5a111d8af5bb89446dfea933 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6419ddf2b00c4dc1df1042638760b4c1cf558a177c632fb441dfed30a8e2a634 [INFO] running `Command { std: "docker" "start" "-a" "6419ddf2b00c4dc1df1042638760b4c1cf558a177c632fb441dfed30a8e2a634", kill_on_drop: false }` [INFO] [stderr] Compiling tela v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::response::template::TemplateEngine` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::response::template::TemplateEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::response::template::TemplateEngine` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::response::template::TemplateEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "6419ddf2b00c4dc1df1042638760b4c1cf558a177c632fb441dfed30a8e2a634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6419ddf2b00c4dc1df1042638760b4c1cf558a177c632fb441dfed30a8e2a634", kill_on_drop: false }` [INFO] [stdout] 6419ddf2b00c4dc1df1042638760b4c1cf558a177c632fb441dfed30a8e2a634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11ba70cd73e649d1239a36bdf428496815245a022ef945ca8c7f6193af679ab6 [INFO] running `Command { std: "docker" "start" "-a" "11ba70cd73e649d1239a36bdf428496815245a022ef945ca8c7f6193af679ab6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::response::template::TemplateEngine` [INFO] [stderr] --> src/server.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::response::template::TemplateEngine; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `tela` (lib) generated 1 warning (run `cargo fix --lib -p tela` to apply 1 suggestion) [INFO] [stderr] warning: `tela` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tela-8bde580070c2ad68) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tela [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/server.rs - server::Server::serve (line 211) ... FAILED [INFO] [stdout] test src/server.rs - server::Server::routes (line 133) ... FAILED [INFO] [stdout] test src/server.rs - server::Server::catches (line 184) ... FAILED [INFO] [stdout] test src/server.rs - server::Server::catch (line 160) ... FAILED [INFO] [stdout] test src/server.rs - server::Server::route (line 109) ... FAILED [INFO] [stdout] test src/server.rs - server::Server (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/server.rs - server::Server::serve (line 211) stdout ---- [INFO] [stdout] error: expected item after attributes [INFO] [stdout] --> src/server.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[tela::main] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::routes (line 133) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/server.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 3 | fn home() -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - fn home() -> String { ... } [INFO] [stdout] 3 + fn home() -> String { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - fn home() -> String { ... } [INFO] [stdout] 3 + fn home() -> String { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/server.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 3 | fn home() -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - fn home() -> String { ... } [INFO] [stdout] 3 + fn home() -> String { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/server.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 5 | fn blog() -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 5 - fn blog() -> String { ... } [INFO] [stdout] 5 + fn blog() -> String { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 5 - fn blog() -> String { ... } [INFO] [stdout] 5 + fn blog() -> String { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/server.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 5 | fn blog() -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 5 - fn blog() -> String { ... } [INFO] [stdout] 5 + fn blog() -> String { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `async` [INFO] [stdout] --> src/server.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 7 | async main() { [INFO] [stdout] | ^^^^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::catches (line 184) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/server.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn not_found(...) -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - fn not_found(...) -> String { ... } [INFO] [stdout] 3 + fn not_found(...) -> String { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - fn not_found(...) -> String { ... } [INFO] [stdout] 3 + fn not_found(...) -> String { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/server.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn not_found(...) -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - fn not_found(...) -> String { ... } [INFO] [stdout] 3 + fn not_found(...) -> String { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/server.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 5 | fn internal_server(...) -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 5 - fn internal_server(...) -> String { ... } [INFO] [stdout] 5 + fn internal_server(...) -> String { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 5 - fn internal_server(...) -> String { ... } [INFO] [stdout] 5 + fn internal_server(...) -> String { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/server.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 5 | fn internal_server(...) -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 5 - fn internal_server(...) -> String { ... } [INFO] [stdout] 5 + fn internal_server(...) -> String { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `async` [INFO] [stdout] --> src/server.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 7 | async main() { [INFO] [stdout] | ^^^^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::catch (line 160) stdout ---- [INFO] [stdout] error: mismatched closing delimiter: `]` [INFO] [stdout] --> src/server.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 7 | .catch(not_found] [INFO] [stdout] | ^ ^ mismatched closing delimiter [INFO] [stdout] | | [INFO] [stdout] | unclosed delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::route (line 109) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/server.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 3 | fn home() -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - fn home() -> String { ... } [INFO] [stdout] 3 + fn home() -> String { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - fn home() -> String { ... } [INFO] [stdout] 3 + fn home() -> String { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/server.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 3 | fn home() -> String { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - fn home() -> String { ... } [INFO] [stdout] 3 + fn home() -> String { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `async` [INFO] [stdout] --> src/server.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 5 | async main() { [INFO] [stdout] | ^^^^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server (line 38) stdout ---- [INFO] [stdout] error: expected literal [INFO] [stdout] --> src/server.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 8 | html!(

"Hello, world"!

) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HTML` in this scope [INFO] [stdout] --> src/server.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn home() -> HTML { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use crate::response::HTML; [INFO] [stdout] | [INFO] [stdout] 4 + use tela::response::HTML; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/server.rs - server::Server (line 38) [INFO] [stdout] src/server.rs - server::Server::catch (line 160) [INFO] [stdout] src/server.rs - server::Server::catches (line 184) [INFO] [stdout] src/server.rs - server::Server::route (line 109) [INFO] [stdout] src/server.rs - server::Server::routes (line 133) [INFO] [stdout] src/server.rs - server::Server::serve (line 211) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "11ba70cd73e649d1239a36bdf428496815245a022ef945ca8c7f6193af679ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ba70cd73e649d1239a36bdf428496815245a022ef945ca8c7f6193af679ab6", kill_on_drop: false }` [INFO] [stdout] 11ba70cd73e649d1239a36bdf428496815245a022ef945ca8c7f6193af679ab6