[INFO] fetching crate spa-server 0.1.0... [INFO] testing spa-server-0.1.0 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate spa-server 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate spa-server 0.1.0 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate spa-server 0.1.0 [INFO] finished tweaking crates.io crate spa-server 0.1.0 [INFO] tweaked toml for crates.io crate spa-server 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-identity v0.3.1 [INFO] [stderr] Downloaded actix-files v0.6.5 [INFO] [stderr] Downloaded spa-server-derive v0.1.0 [INFO] [stderr] Downloaded actix-cors v0.5.4 [INFO] [stderr] Downloaded v_htmlescape v0.15.8 [INFO] [stderr] Downloaded include-flate v0.1.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab7f221334cda06c61322d63c0a2b931d31b2a9d87bf7aee5b72cd46217c98fb [INFO] running `Command { std: "docker" "start" "-a" "ab7f221334cda06c61322d63c0a2b931d31b2a9d87bf7aee5b72cd46217c98fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab7f221334cda06c61322d63c0a2b931d31b2a9d87bf7aee5b72cd46217c98fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7f221334cda06c61322d63c0a2b931d31b2a9d87bf7aee5b72cd46217c98fb", kill_on_drop: false }` [INFO] [stdout] ab7f221334cda06c61322d63c0a2b931d31b2a9d87bf7aee5b72cd46217c98fb [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 555f303df014059c3b355492ee9852adf46a4f1ac1f40774273fea07501f9d2e [INFO] running `Command { std: "docker" "start" "-a" "555f303df014059c3b355492ee9852adf46a4f1ac1f40774273fea07501f9d2e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling indexmap v2.2.4 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling zstd v0.13.0 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling include-flate-codegen v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling include-flate-codegen-exports v0.1.4 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling spa-server-derive v0.1.0 [INFO] [stderr] Compiling include-flate v0.1.4 [INFO] [stderr] Compiling actix-cors v0.5.4 [INFO] [stderr] Compiling actix-identity v0.3.1 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling actix-files v0.6.5 [INFO] [stderr] Compiling spa-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12m 15s [INFO] running `Command { std: "docker" "inspect" "555f303df014059c3b355492ee9852adf46a4f1ac1f40774273fea07501f9d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555f303df014059c3b355492ee9852adf46a4f1ac1f40774273fea07501f9d2e", kill_on_drop: false }` [INFO] [stdout] 555f303df014059c3b355492ee9852adf46a4f1ac1f40774273fea07501f9d2e [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25e5e1c3aaeb7f1dd45bc1918443293013058088b7f3e55daf0933a3859a8c23 [INFO] running `Command { std: "docker" "start" "-a" "25e5e1c3aaeb7f1dd45bc1918443293013058088b7f3e55daf0933a3859a8c23", kill_on_drop: false }` [INFO] [stderr] Compiling spa-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "25e5e1c3aaeb7f1dd45bc1918443293013058088b7f3e55daf0933a3859a8c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e5e1c3aaeb7f1dd45bc1918443293013058088b7f3e55daf0933a3859a8c23", kill_on_drop: false }` [INFO] [stdout] 25e5e1c3aaeb7f1dd45bc1918443293013058088b7f3e55daf0933a3859a8c23 [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfc13d45a16dd5873efe55d003c7ecc4ee191a30eb6a5334f35bffe170f2e5b6 [INFO] running `Command { std: "docker" "start" "-a" "bfc13d45a16dd5873efe55d003c7ecc4ee191a30eb6a5334f35bffe170f2e5b6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spa_server-d2d9f6db97d2b881) [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 spa-server [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/lib.rs - error_to_json (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - error_to_json (line 80) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: expected one of `!` or `[`, found keyword `use` [INFO] [stdout] --> src/lib.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 30 | use spa_server::re_export::*; # use actix-web symbol directly [INFO] [stdout] | ^^^ expected one of `!` or `[` [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `[`, found `replace` [INFO] [stdout] --> src/lib.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[spa_server::main] # replace actix_web::main with spa_server::main [INFO] [stdout] | ^^^^^^^ expected one of `!` or `[` [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 49 | } _doctest_main_src_lib_rs_5_0() } [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - error_to_json (line 88) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[get("index")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::get; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::get; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server_derive::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResponse` in this scope [INFO] [stdout] --> src/lib.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 4 | async fn test() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/lib.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(HttpResponse::Ok().body(r#"{"errors":[{"detail": "some error"}]}"#)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `HttpResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn test() -> Result { [INFO] [stdout] | ^^^^^^ ------------ supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | async fn test() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - error_to_json (line 80) stdout ---- [INFO] [stdout] error: cannot find attribute `error_to_json` in this scope [INFO] [stdout] --> src/lib.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[error_to_json] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::error_to_json; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server_derive::error_to_json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[get("/index")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::get; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::get; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server_derive::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResponse` in this scope [INFO] [stdout] --> src/lib.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 5 | async fn test() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ErrorInternalServerError` in this scope [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 6 | Err(ErrorInternalServerError("some error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::error::ErrorInternalServerError; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::error::ErrorInternalServerError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn test() -> Result { [INFO] [stdout] | ^^^^^^ ------------ supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 5 | async fn test() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] src/lib.rs - error_to_json (line 80) [INFO] [stdout] src/lib.rs - error_to_json (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bfc13d45a16dd5873efe55d003c7ecc4ee191a30eb6a5334f35bffe170f2e5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc13d45a16dd5873efe55d003c7ecc4ee191a30eb6a5334f35bffe170f2e5b6", kill_on_drop: false }` [INFO] [stdout] bfc13d45a16dd5873efe55d003c7ecc4ee191a30eb6a5334f35bffe170f2e5b6 [INFO] testing spa-server-0.1.0 against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate spa-server 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate spa-server 0.1.0 on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate spa-server 0.1.0 [INFO] finished tweaking crates.io crate spa-server 0.1.0 [INFO] tweaked toml for crates.io crate spa-server 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1889c85388cf309368d0f62626300785e720736a6cbe4724a698e00773ec0d54 [INFO] running `Command { std: "docker" "start" "-a" "1889c85388cf309368d0f62626300785e720736a6cbe4724a698e00773ec0d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1889c85388cf309368d0f62626300785e720736a6cbe4724a698e00773ec0d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1889c85388cf309368d0f62626300785e720736a6cbe4724a698e00773ec0d54", kill_on_drop: false }` [INFO] [stdout] 1889c85388cf309368d0f62626300785e720736a6cbe4724a698e00773ec0d54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfcc4e1e03280410770a138b09af23c7d609ed069f9af38a6412b299ccdb1bea [INFO] running `Command { std: "docker" "start" "-a" "dfcc4e1e03280410770a138b09af23c7d609ed069f9af38a6412b299ccdb1bea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling indexmap v2.2.4 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling zstd v0.13.0 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling include-flate-codegen v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling include-flate-codegen-exports v0.1.4 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling include-flate v0.1.4 [INFO] [stderr] Compiling spa-server-derive v0.1.0 [INFO] [stderr] Compiling actix-identity v0.3.1 [INFO] [stderr] Compiling actix-cors v0.5.4 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling actix-files v0.6.5 [INFO] [stderr] Compiling spa-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11m 39s [INFO] running `Command { std: "docker" "inspect" "dfcc4e1e03280410770a138b09af23c7d609ed069f9af38a6412b299ccdb1bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfcc4e1e03280410770a138b09af23c7d609ed069f9af38a6412b299ccdb1bea", kill_on_drop: false }` [INFO] [stdout] dfcc4e1e03280410770a138b09af23c7d609ed069f9af38a6412b299ccdb1bea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74212d2339a9383597d9c4ec373af54b825baca88b00f7cfbbea13c59e48ad0e [INFO] running `Command { std: "docker" "start" "-a" "74212d2339a9383597d9c4ec373af54b825baca88b00f7cfbbea13c59e48ad0e", kill_on_drop: false }` [INFO] [stderr] Compiling spa-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "74212d2339a9383597d9c4ec373af54b825baca88b00f7cfbbea13c59e48ad0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74212d2339a9383597d9c4ec373af54b825baca88b00f7cfbbea13c59e48ad0e", kill_on_drop: false }` [INFO] [stdout] 74212d2339a9383597d9c4ec373af54b825baca88b00f7cfbbea13c59e48ad0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 203a6e264aeeecf8c91e3ad8f4dff9d6738b966bcc733af58ba849c82f356f7d [INFO] running `Command { std: "docker" "start" "-a" "203a6e264aeeecf8c91e3ad8f4dff9d6738b966bcc733af58ba849c82f356f7d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spa_server-d2d9f6db97d2b881) [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 spa-server [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/lib.rs - error_to_json (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - error_to_json (line 88) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: expected one of `!` or `[`, found keyword `use` [INFO] [stdout] --> src/lib.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 30 | use spa_server::re_export::*; # use actix-web symbol directly [INFO] [stdout] | ^^^ expected one of `!` or `[` [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `[`, found `replace` [INFO] [stdout] --> src/lib.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[spa_server::main] # replace actix_web::main with spa_server::main [INFO] [stdout] | ^^^^^^^ expected one of `!` or `[` [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 49 | } _doctest_main_src_lib_rs_5_0() } [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - error_to_json (line 80) stdout ---- [INFO] [stdout] error: cannot find attribute `error_to_json` in this scope [INFO] [stdout] --> src/lib.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[error_to_json] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::error_to_json; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server_derive::error_to_json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[get("/index")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::get; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::get; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server_derive::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResponse` in this scope [INFO] [stdout] --> src/lib.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 5 | async fn test() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ErrorInternalServerError` in this scope [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 6 | Err(ErrorInternalServerError("some error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::error::ErrorInternalServerError; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::error::ErrorInternalServerError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn test() -> Result { [INFO] [stdout] | ^^^^^^ ------------ supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 5 | async fn test() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - error_to_json (line 88) stdout ---- [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[get("index")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::get; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::get; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server_derive::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HttpResponse` in this scope [INFO] [stdout] --> src/lib.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 4 | async fn test() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse` [INFO] [stdout] --> src/lib.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(HttpResponse::Ok().body(r#"{"errors":[{"detail": "some error"}]}"#)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `HttpResponse` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use actix_web::HttpResponse; [INFO] [stdout] | [INFO] [stdout] 2 + use spa_server::re_export::HttpResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn test() -> Result { [INFO] [stdout] | ^^^^^^ ------------ supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 4 | async fn test() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] src/lib.rs - error_to_json (line 80) [INFO] [stdout] src/lib.rs - error_to_json (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "203a6e264aeeecf8c91e3ad8f4dff9d6738b966bcc733af58ba849c82f356f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "203a6e264aeeecf8c91e3ad8f4dff9d6738b966bcc733af58ba849c82f356f7d", kill_on_drop: false }` [INFO] [stdout] 203a6e264aeeecf8c91e3ad8f4dff9d6738b966bcc733af58ba849c82f356f7d