[INFO] fetching crate spaceship 0.1.1... [INFO] testing spaceship-0.1.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate spaceship 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate spaceship 0.1.1 [INFO] finished tweaking crates.io crate spaceship 0.1.1 [INFO] tweaked toml for crates.io crate spaceship 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spaceship 0.1.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spaceship 0.1.1 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 172e0960aea728835af25527e0206b475cc217fc3ec80ed9efb78f9b0c7facf1 [INFO] running `Command { std: "docker" "start" "-a" "172e0960aea728835af25527e0206b475cc217fc3ec80ed9efb78f9b0c7facf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "172e0960aea728835af25527e0206b475cc217fc3ec80ed9efb78f9b0c7facf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "172e0960aea728835af25527e0206b475cc217fc3ec80ed9efb78f9b0c7facf1", kill_on_drop: false }` [INFO] [stdout] 172e0960aea728835af25527e0206b475cc217fc3ec80ed9efb78f9b0c7facf1 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43d1bbac68c3fb1ec3b2b420a733efe07a27e758afb71da4cd59cbf587d1696c [INFO] running `Command { std: "docker" "start" "-a" "43d1bbac68c3fb1ec3b2b420a733efe07a27e758afb71da4cd59cbf587d1696c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.74 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling tokio v1.31.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling spaceship-derive v0.1.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling spaceship v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `handler` is never used [INFO] [stdout] --> src/errors/mod.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | async fn handler() -> HandlerResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user` is never used [INFO] [stdout] --> src/errors/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_user() -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.10s [INFO] running `Command { std: "docker" "inspect" "43d1bbac68c3fb1ec3b2b420a733efe07a27e758afb71da4cd59cbf587d1696c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d1bbac68c3fb1ec3b2b420a733efe07a27e758afb71da4cd59cbf587d1696c", kill_on_drop: false }` [INFO] [stdout] 43d1bbac68c3fb1ec3b2b420a733efe07a27e758afb71da4cd59cbf587d1696c [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dba0c2c850238cbec7d3e160c5f690c5ec935e0b61dda6f95ec4014243f436c8 [INFO] running `Command { std: "docker" "start" "-a" "dba0c2c850238cbec7d3e160c5f690c5ec935e0b61dda6f95ec4014243f436c8", kill_on_drop: false }` [INFO] [stderr] Compiling spaceship v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `handler` is never used [INFO] [stdout] --> src/errors/mod.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | async fn handler() -> HandlerResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user` is never used [INFO] [stdout] --> src/errors/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_user() -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handler` is never used [INFO] [stdout] --> src/errors/mod.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | async fn handler() -> HandlerResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user` is never used [INFO] [stdout] --> src/errors/mod.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_user() -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "dba0c2c850238cbec7d3e160c5f690c5ec935e0b61dda6f95ec4014243f436c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dba0c2c850238cbec7d3e160c5f690c5ec935e0b61dda6f95ec4014243f436c8", kill_on_drop: false }` [INFO] [stdout] dba0c2c850238cbec7d3e160c5f690c5ec935e0b61dda6f95ec4014243f436c8 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 02cc4f50dd707c55afa242a4037663a912dbec9b162a9aa45561a03f882e2842 [INFO] running `Command { std: "docker" "start" "-a" "02cc4f50dd707c55afa242a4037663a912dbec9b162a9aa45561a03f882e2842", kill_on_drop: false }` [INFO] [stderr] warning: function `handler` is never used [INFO] [stderr] --> src/errors/mod.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | async fn handler() -> HandlerResult<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_user` is never used [INFO] [stderr] --> src/errors/mod.rs:113:4 [INFO] [stderr] | [INFO] [stderr] 113 | fn get_user() -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spaceship` (lib) generated 2 warnings [INFO] [stderr] warning: `spaceship` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spaceship-b02bd92ce334b0c7) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spaceship-84c94c140e338fad) [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 spaceship [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/errors/error_response.rs - errors::error_response::ErrorResponse (line 16) ... FAILED [INFO] [stdout] test src/errors/mod.rs - errors::internal_error (line 41) ... FAILED [INFO] [stdout] test src/errors/mod.rs - errors::failure (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/errors/error_response.rs - errors::error_response::ErrorResponse (line 16) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/errors/error_response.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 16 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 16 - ... [INFO] [stdout] 16 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 16 - ... [INFO] [stdout] 16 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/errors/error_response.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 16 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 16 - ... [INFO] [stdout] 16 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ErrorResponse` in this scope [INFO] [stdout] --> src/errors/error_response.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(ErrorResponse)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use spaceship::errors::ErrorResponse; [INFO] [stdout] | [INFO] [stdout] 2 + use spaceship_derive::ErrorResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `err` in this scope [INFO] [stdout] --> src/errors/error_response.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[err(status = 400, message = "This name is already taken")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `err` in this scope [INFO] [stdout] --> src/errors/error_response.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[err(status = 400, message = "This username is too short. Use at least 8 characters.")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `name_is_taken` in this scope [INFO] [stdout] --> src/errors/error_response.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 12 | if name_is_taken() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/errors/mod.rs - errors::internal_error (line 41) stdout ---- [INFO] [stdout] error: cannot find macro `internal_error` in this scope [INFO] [stdout] --> src/errors/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 4 | internal_error!("Something went very wrong!") [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use spaceship::internal_error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HandlerResult` in this scope [INFO] [stdout] --> src/errors/mod.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handler() -> HandlerResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use spaceship::errors::HandlerResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/errors/mod.rs - errors::failure (line 13) stdout ---- [INFO] [stdout] error: cannot find macro `failure` in this scope [INFO] [stdout] --> src/errors/mod.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 7 | return failure!("User not authenticated").status(StatusCode::UNAUTHORIZED); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use spaceship::failure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HandlerResult` in this scope [INFO] [stdout] --> src/errors/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 3 | async fn handler() -> HandlerResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use spaceship::errors::HandlerResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_user` in this scope [INFO] [stdout] --> src/errors/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 4 | let user = get_user(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/errors/mod.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 7 | return failure!("User not authenticated").status(StatusCode::UNAUTHORIZED); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/errors/error_response.rs - errors::error_response::ErrorResponse (line 16) [INFO] [stdout] src/errors/mod.rs - errors::failure (line 13) [INFO] [stdout] src/errors/mod.rs - errors::internal_error (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "02cc4f50dd707c55afa242a4037663a912dbec9b162a9aa45561a03f882e2842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02cc4f50dd707c55afa242a4037663a912dbec9b162a9aa45561a03f882e2842", kill_on_drop: false }` [INFO] [stdout] 02cc4f50dd707c55afa242a4037663a912dbec9b162a9aa45561a03f882e2842