[INFO] fetching crate actix_tera_page 0.1.0... [INFO] testing actix_tera_page-0.1.0 against 1.77.0 for beta-1.78-1 [INFO] extracting crate actix_tera_page 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate actix_tera_page 0.1.0 on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix_tera_page 0.1.0 [INFO] finished tweaking crates.io crate actix_tera_page 0.1.0 [INFO] tweaked toml for crates.io crate actix_tera_page 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate actix_tera_page 0.1.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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded slug v0.1.4 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded tera v1.19.1 [INFO] [stderr] Downloaded phf_generator v0.11.2 [INFO] [stderr] Downloaded siphasher v0.3.11 [INFO] [stderr] Downloaded pkg-config v0.3.27 [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded indexmap v1.9.3 [INFO] [stderr] Downloaded brotli-decompressor v2.5.0 [INFO] [stderr] Downloaded brotli v3.4.0 [INFO] [stderr] Downloaded zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Downloaded chrono-tz v0.8.3 [INFO] [stderr] Downloaded bstr v1.6.2 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded regex-automata v0.3.9 [INFO] [stderr] Downloaded regex v1.9.6 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded h2 v0.3.21 [INFO] [stderr] Downloaded zstd v0.12.4 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded pest v2.7.4 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded deunicode v0.4.4 [INFO] [stderr] Downloaded phf_codegen v0.11.2 [INFO] [stderr] Downloaded ignore v0.4.20 [INFO] [stderr] Downloaded pest_meta v2.7.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded zstd-safe v6.0.6 [INFO] [stderr] Downloaded jobserver v0.1.26 [INFO] [stderr] Downloaded chrono-tz-build v0.2.0 [INFO] [stderr] Downloaded phf_shared v0.11.2 [INFO] [stderr] Downloaded phf v0.11.2 [INFO] [stderr] Downloaded globset v0.4.13 [INFO] [stderr] Downloaded same-file v1.0.6 [INFO] [stderr] Downloaded walkdir v2.4.0 [INFO] [stderr] Downloaded pest_generator v2.7.4 [INFO] [stderr] Downloaded pest_derive v2.7.4 [INFO] [stderr] Downloaded thread_local v1.1.7 [INFO] [stderr] Downloaded globwalk v0.8.1 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 082ac9f9799d9844ffffd2a98920e8a59f202ea3d05efd265fb8a62890207ca8 [INFO] running `Command { std: "docker" "start" "-a" "082ac9f9799d9844ffffd2a98920e8a59f202ea3d05efd265fb8a62890207ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "082ac9f9799d9844ffffd2a98920e8a59f202ea3d05efd265fb8a62890207ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082ac9f9799d9844ffffd2a98920e8a59f202ea3d05efd265fb8a62890207ca8", kill_on_drop: false }` [INFO] [stdout] 082ac9f9799d9844ffffd2a98920e8a59f202ea3d05efd265fb8a62890207ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7c8bcfe7cf74188c3022c287400f858b31b74744d1b51ee27139a51751c4562 [INFO] running `Command { std: "docker" "start" "-a" "d7c8bcfe7cf74188c3022c287400f858b31b74744d1b51ee27139a51751c4562", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling bstr v1.6.2 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v2.5.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.13 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling time v0.3.29 [INFO] [stderr] Compiling local-channel v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.0 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling deunicode v0.4.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling chrono-tz v0.8.3 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling pest v2.7.4 [INFO] [stderr] Compiling pest_meta v2.7.4 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling pest_generator v2.7.4 [INFO] [stderr] Compiling pest_derive v2.7.4 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling tera v1.19.1 [INFO] [stderr] Compiling actix-http v3.4.0 [INFO] [stderr] Compiling actix-web v4.4.0 [INFO] [stderr] Compiling actix_tera_page v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.07s [INFO] running `Command { std: "docker" "inspect" "d7c8bcfe7cf74188c3022c287400f858b31b74744d1b51ee27139a51751c4562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7c8bcfe7cf74188c3022c287400f858b31b74744d1b51ee27139a51751c4562", kill_on_drop: false }` [INFO] [stdout] d7c8bcfe7cf74188c3022c287400f858b31b74744d1b51ee27139a51751c4562 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a651f85718db2d59f54f0b7c7fec6ab4be88b8b545fdface1a7b41116fea974a [INFO] running `Command { std: "docker" "start" "-a" "a651f85718db2d59f54f0b7c7fec6ab4be88b8b545fdface1a7b41116fea974a", kill_on_drop: false }` [INFO] [stderr] Compiling actix_tera_page v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.45s [INFO] running `Command { std: "docker" "inspect" "a651f85718db2d59f54f0b7c7fec6ab4be88b8b545fdface1a7b41116fea974a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a651f85718db2d59f54f0b7c7fec6ab4be88b8b545fdface1a7b41116fea974a", kill_on_drop: false }` [INFO] [stdout] a651f85718db2d59f54f0b7c7fec6ab4be88b8b545fdface1a7b41116fea974a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3524ff2d353a8968ae33758ffd837427be979b6e4099c06c1e23ae7cd36dda13 [INFO] running `Command { std: "docker" "start" "-a" "3524ff2d353a8968ae33758ffd837427be979b6e4099c06c1e23ae7cd36dda13", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_tera_page-520cdfb5155bfd9a) [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 actix_tera_page [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[get("/complex-page")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpRequest` in this scope [INFO] [stdout] --> src/lib.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 6 | async fn base_context(req: HttpRequest) -> Context { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 6 | async fn base_context(req: HttpRequest) -> Context { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 + use tera::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> src/lib.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 7 | let state = req.app_data::>().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::web::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> src/lib.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 8 | let mut context = Context::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 + use tera::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web` [INFO] [stdout] --> src/lib.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 18 | async fn complex_page(tera: web::Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^ use of undeclared crate or module `web` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::web; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tera` in this scope [INFO] [stdout] --> src/lib.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 18 | async fn complex_page(tera: web::Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tera::Tera; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpRequest` in this scope [INFO] [stdout] --> src/lib.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 18 | async fn complex_page(tera: web::Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Responder` in this scope [INFO] [stdout] --> src/lib.rs:27:72 [INFO] [stdout] | [INFO] [stdout] 18 | async fn complex_page(tera: web::Data, req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::Responder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web` [INFO] [stdout] --> src/lib.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 28 | let state = web::Data::new(State { [INFO] [stdout] | ^^^ use of undeclared crate or module `web` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::web::Data; [INFO] [stdout] | [INFO] [stdout] help: if you import `Data`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - let state = web::Data::new(State { [INFO] [stdout] 28 + let state = Data::new(State { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web` [INFO] [stdout] --> src/lib.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 32 | let tera = web::Data::new(match Tera::new("templates/**/*.html") { [INFO] [stdout] | ^^^ use of undeclared crate or module `web` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::web::Data; [INFO] [stdout] | [INFO] [stdout] help: if you import `Data`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - let tera = web::Data::new(match Tera::new("templates/**/*.html") { [INFO] [stdout] 32 + let tera = Data::new(match Tera::new("templates/**/*.html") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tera` [INFO] [stdout] --> src/lib.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 32 | let tera = web::Data::new(match Tera::new("templates/**/*.html") { [INFO] [stdout] | ^^^^ use of undeclared type `Tera` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tera::Tera; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServer` [INFO] [stdout] --> src/lib.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 40 | HttpServer::new(move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HttpServer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpServer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/lib.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 41 | App::new() [INFO] [stdout] | ^^^ use of undeclared type `App` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TeraPage` [INFO] [stdout] --> src/lib.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 45 | .wrap(TeraPage::new("pages", base_context)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TeraPage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use actix_tera_page::TeraPage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3524ff2d353a8968ae33758ffd837427be979b6e4099c06c1e23ae7cd36dda13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3524ff2d353a8968ae33758ffd837427be979b6e4099c06c1e23ae7cd36dda13", kill_on_drop: false }` [INFO] [stdout] 3524ff2d353a8968ae33758ffd837427be979b6e4099c06c1e23ae7cd36dda13