[INFO] fetching crate actix-test 0.1.5... [INFO] testing actix-test-0.1.5 against beta-2025-06-26 for beta-1.89-1 [INFO] extracting crate actix-test 0.1.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate actix-test 0.1.5 [INFO] finished tweaking crates.io crate actix-test 0.1.5 [INFO] tweaked toml for crates.io crate actix-test 0.1.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate actix-test 0.1.5 on toolchain beta-2025-06-26 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 192 packages to latest compatible versions [INFO] [stderr] Adding rustls v0.20.9 (available: v0.23.28) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.28) [INFO] [stderr] Adding rustls v0.22.4 (available: v0.23.28) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+beta-2025-06-26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c85664383aa2713533c2eaf865dd8a456f8246a575d650802bf91457a32defb [INFO] running `Command { std: "docker" "start" "-a" "4c85664383aa2713533c2eaf865dd8a456f8246a575d650802bf91457a32defb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c85664383aa2713533c2eaf865dd8a456f8246a575d650802bf91457a32defb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c85664383aa2713533c2eaf865dd8a456f8246a575d650802bf91457a32defb", kill_on_drop: false }` [INFO] [stdout] 4c85664383aa2713533c2eaf865dd8a456f8246a575d650802bf91457a32defb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c250984071273067b1882c88450e445bece5597ce06ca9a8dcff51b4f07c18 [INFO] running `Command { std: "docker" "start" "-a" "e2c250984071273067b1882c88450e445bece5597ce06ca9a8dcff51b4f07c18", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling awc v3.7.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-http-test v3.2.0 [INFO] [stderr] Compiling actix-test v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "e2c250984071273067b1882c88450e445bece5597ce06ca9a8dcff51b4f07c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c250984071273067b1882c88450e445bece5597ce06ca9a8dcff51b4f07c18", kill_on_drop: false }` [INFO] [stdout] e2c250984071273067b1882c88450e445bece5597ce06ca9a8dcff51b4f07c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b566bc1ca8daa822405e2524b6fac265f14598e68cfb26fd57d2ccc6b82e4674 [INFO] running `Command { std: "docker" "start" "-a" "b566bc1ca8daa822405e2524b6fac265f14598e68cfb26fd57d2ccc6b82e4674", kill_on_drop: false }` [INFO] [stderr] Compiling actix-test v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "b566bc1ca8daa822405e2524b6fac265f14598e68cfb26fd57d2ccc6b82e4674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b566bc1ca8daa822405e2524b6fac265f14598e68cfb26fd57d2ccc6b82e4674", kill_on_drop: false }` [INFO] [stdout] b566bc1ca8daa822405e2524b6fac265f14598e68cfb26fd57d2ccc6b82e4674 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a990603b73f5844fc2e25c3b818150431bf2314b27fb5a84c2695713b1220e75 [INFO] running `Command { std: "docker" "start" "-a" "a990603b73f5844fc2e25c3b818150431bf2314b27fb5a84c2695713b1220e75", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_test-6f8be039badd981a) [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_test [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - start (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - start_with (line 101) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `actix_web::get` [INFO] [stdout] --> src/lib.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{get, web, test, App, HttpResponse, Error, Responder}; [INFO] [stdout] | ^^^ no `get` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | codegen_reexport!(get); [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | codegen_reexport!(get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `codegen_reexport` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - start (line 62) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `actix_web::get` [INFO] [stdout] --> src/lib.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{get, web, test, App, HttpResponse, Error, Responder}; [INFO] [stdout] | ^^^ no `get` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | codegen_reexport!(get); [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | codegen_reexport!(get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `codegen_reexport` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | codegen_reexport!(test); [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | codegen_reexport!(test); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `codegen_reexport` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl Future {my_handler}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> src/lib.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 15 | App::new().service(my_handler) [INFO] [stdout] | ------- ^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for fn item `fn() -> impl Future> {my_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `HttpServiceFactory`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 8 others [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/app.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn service(mut self, factory: F) -> Self [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] 238 | where [INFO] [stdout] 239 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestn6xYBs/rust_out.long-type-11579824942382464985.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - start_with (line 101) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `actix_web::get` [INFO] [stdout] --> src/lib.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{get, web, test, App, HttpResponse, Error, Responder}; [INFO] [stdout] | ^^^ no `get` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | codegen_reexport!(get); [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | codegen_reexport!(get); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `codegen_reexport` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/lib.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | codegen_reexport!(test); [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | codegen_reexport!(test); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `codegen_reexport` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl Future {my_handler}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> src/lib.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 15 | App::new().service(my_handler) [INFO] [stdout] | ------- ^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for fn item `fn() -> impl Future> {my_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `HttpServiceFactory`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 8 others [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/app.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn service(mut self, factory: F) -> Self [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] 238 | where [INFO] [stdout] 239 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestVPjXDR/rust_out.long-type-17090516260201764.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/lib.rs - start (line 62) [INFO] [stdout] src/lib.rs - start_with (line 101) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 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" "a990603b73f5844fc2e25c3b818150431bf2314b27fb5a84c2695713b1220e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a990603b73f5844fc2e25c3b818150431bf2314b27fb5a84c2695713b1220e75", kill_on_drop: false }` [INFO] [stdout] a990603b73f5844fc2e25c3b818150431bf2314b27fb5a84c2695713b1220e75