[INFO] fetching crate pillow-routing 0.4.2... [INFO] testing pillow-routing-0.4.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate pillow-routing 0.4.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pillow-routing 0.4.2 [INFO] finished tweaking crates.io crate pillow-routing 0.4.2 [INFO] tweaked toml for crates.io crate pillow-routing 0.4.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pillow-routing 0.4.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 154 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1afe54ff9ecb39dd57fcbc0b357b90f3237366d70f384bab2237d9bd27ff2eb6 [INFO] running `Command { std: "docker" "start" "-a" "1afe54ff9ecb39dd57fcbc0b357b90f3237366d70f384bab2237d9bd27ff2eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1afe54ff9ecb39dd57fcbc0b357b90f3237366d70f384bab2237d9bd27ff2eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afe54ff9ecb39dd57fcbc0b357b90f3237366d70f384bab2237d9bd27ff2eb6", kill_on_drop: false }` [INFO] [stdout] 1afe54ff9ecb39dd57fcbc0b357b90f3237366d70f384bab2237d9bd27ff2eb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09b5c100d3c5b433bdd7fe0766a8795a79ca8068fd091183da7a53ce8aa385dc [INFO] running `Command { std: "docker" "start" "-a" "09b5c100d3c5b433bdd7fe0766a8795a79ca8068fd091183da7a53ce8aa385dc", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pillow-fs v0.4.1 [INFO] [stderr] Compiling pillow-fs v4.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling pillow-env v4.1.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling handlebars v4.5.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling pillow-templates v0.4.1 [INFO] [stderr] Compiling pillow-http v0.4.2 [INFO] [stderr] Compiling pillow-routing v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `win` [INFO] [stdout] --> src/server.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(not(win))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(win)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(win)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.05s [INFO] running `Command { std: "docker" "inspect" "09b5c100d3c5b433bdd7fe0766a8795a79ca8068fd091183da7a53ce8aa385dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b5c100d3c5b433bdd7fe0766a8795a79ca8068fd091183da7a53ce8aa385dc", kill_on_drop: false }` [INFO] [stdout] 09b5c100d3c5b433bdd7fe0766a8795a79ca8068fd091183da7a53ce8aa385dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 910c29a1303ac2786d1c59d4074e2cb18ecac22fef6e3db6f5941fee971f843e [INFO] running `Command { std: "docker" "start" "-a" "910c29a1303ac2786d1c59d4074e2cb18ecac22fef6e3db6f5941fee971f843e", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `win` [INFO] [stdout] --> src/server.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(not(win))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(win)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(win)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pillow-routing v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `win` [INFO] [stdout] --> src/server.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(not(win))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(win)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(win)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "910c29a1303ac2786d1c59d4074e2cb18ecac22fef6e3db6f5941fee971f843e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "910c29a1303ac2786d1c59d4074e2cb18ecac22fef6e3db6f5941fee971f843e", kill_on_drop: false }` [INFO] [stdout] 910c29a1303ac2786d1c59d4074e2cb18ecac22fef6e3db6f5941fee971f843e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5d8314a2df0197b2fca2abc86eb5c7e41e192d402213f2ce3ebae57bcfecc38 [INFO] running `Command { std: "docker" "start" "-a" "d5d8314a2df0197b2fca2abc86eb5c7e41e192d402213f2ce3ebae57bcfecc38", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `win` [INFO] [stderr] --> src/server.rs:79:19 [INFO] [stderr] | [INFO] [stderr] 79 | #[cfg(not(win))] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(win)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(win)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `pillow-routing` (lib) generated 1 warning [INFO] [stderr] warning: `pillow-routing` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pillow_routing-9caa5621f2b45567) [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 pillow_routing [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/router.rs - router::MainRouter::static_files (line 260) ... FAILED [INFO] [stdout] test src/router.rs - router::MainRouter (line 10) ... FAILED [INFO] [stdout] test src/server.rs - server::Server::run (line 129) ... FAILED [INFO] [stdout] test src/router.rs - router::MainRouter::add_route (line 203) ... FAILED [INFO] [stdout] test src/route.rs - route::Route::new (line 67) ... FAILED [INFO] [stdout] test src/router.rs - router::MainRouter::assets (line 243) ... FAILED [INFO] [stdout] test src/router.rs - router::MainRouter::public (line 227) ... FAILED [INFO] [stdout] test src/server.rs - server::Server::new (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/server.rs - server::Server::default (line 45) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/router.rs - router::MainRouter::static_files (line 260) stdout ---- [INFO] [stdout] error: expected identifier, found `(` [INFO] [stdout] --> src/router.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn (&mut self) { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/router.rs - router::MainRouter (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MainRouter` [INFO] [stdout] --> src/router.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 4 | let mut router = MainRouter::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MainRouter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_routing::MainRouter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::run (line 129) stdout ---- [INFO] [stdout] error: expected item after attributes [INFO] [stdout] --> src/server.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/router.rs - router::MainRouter::add_route (line 203) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pillow` [INFO] [stdout] --> src/router.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pillow::http::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pillow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pillow`, use `cargo add pillow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `controller` in this scope [INFO] [stdout] --> src/router.rs:206:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[controller(method = "GET", path = "/")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `route` in this scope [INFO] [stdout] --> src/router.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 13 | router.add_route(route!(index {})); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/router.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 5 | fn index (_: Request) -> Response { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_http::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/router.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 5 | fn index (_: Request) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_http::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/router.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 6 | Response::text("hello") [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_http::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MainRouter` [INFO] [stdout] --> src/router.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 11 | let mut router = MainRouter::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MainRouter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_routing::MainRouter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/route.rs - route::Route::new (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route` [INFO] [stdout] --> src/route.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 3 | Route::new("/".to_string(), pillow::http::HttpMethods::GET, |request| Response::text("hello")) [INFO] [stdout] | ^^^^^ use of undeclared type `Route` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_routing::Route; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pillow` [INFO] [stdout] --> src/route.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 3 | Route::new("/".to_string(), pillow::http::HttpMethods::GET, |request| Response::text("hello")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pillow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pillow`, use `cargo add pillow` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_http::http_methods::HttpMethods; [INFO] [stdout] | [INFO] [stdout] help: if you import `HttpMethods`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - Route::new("/".to_string(), pillow::http::HttpMethods::GET, |request| Response::text("hello")) [INFO] [stdout] 3 + Route::new("/".to_string(), HttpMethods::GET, |request| Response::text("hello")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/route.rs:68:71 [INFO] [stdout] | [INFO] [stdout] 3 | Route::new("/".to_string(), pillow::http::HttpMethods::GET, |request| Response::text("hello")) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_http::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/router.rs - router::MainRouter::assets (line 243) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pillow` [INFO] [stdout] --> src/router.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pillow::http::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pillow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pillow`, use `cargo add pillow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MainRouter` [INFO] [stdout] --> src/router.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 6 | let mut router = MainRouter::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MainRouter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_routing::MainRouter; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/router.rs - router::MainRouter::public (line 227) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pillow` [INFO] [stdout] --> src/router.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pillow::http::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pillow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pillow`, use `cargo add pillow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MainRouter` [INFO] [stdout] --> src/router.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 6 | let mut router = MainRouter::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MainRouter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_routing::MainRouter; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::new (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> src/server.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 4 | let server = Server::new(3000).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_routing::Server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pillow_routing::router::Router` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pillow_routing::router::Router; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Route` [INFO] [stdout] | no `Router` in `router` [INFO] [stdout] [INFO] [stdout] error[E0603]: module `router` is private [INFO] [stdout] --> src/lib.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use pillow_routing::router::Router; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `router` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod router; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server.rs - server::Server::default (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> src/server.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 4 | let server = Server::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pillow_routing::Server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 3) [INFO] [stdout] src/route.rs - route::Route::new (line 67) [INFO] [stdout] src/router.rs - router::MainRouter (line 10) [INFO] [stdout] src/router.rs - router::MainRouter::add_route (line 203) [INFO] [stdout] src/router.rs - router::MainRouter::assets (line 243) [INFO] [stdout] src/router.rs - router::MainRouter::public (line 227) [INFO] [stdout] src/router.rs - router::MainRouter::static_files (line 260) [INFO] [stdout] src/server.rs - server::Server::default (line 45) [INFO] [stdout] src/server.rs - server::Server::new (line 65) [INFO] [stdout] src/server.rs - server::Server::run (line 129) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d5d8314a2df0197b2fca2abc86eb5c7e41e192d402213f2ce3ebae57bcfecc38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5d8314a2df0197b2fca2abc86eb5c7e41e192d402213f2ce3ebae57bcfecc38", kill_on_drop: false }` [INFO] [stdout] d5d8314a2df0197b2fca2abc86eb5c7e41e192d402213f2ce3ebae57bcfecc38