[INFO] cloning repository https://github.com/rust-game/server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-game/server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-game%2Fserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-game%2Fserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0ed3951bc3c0de197093d5a8fc4ac5cc6100dfa [INFO] checking rust-game/server against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-game%2Fserver" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-game/server on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rust-game/server [INFO] finished tweaking git repo https://github.com/rust-game/server [INFO] tweaked toml for git repo https://github.com/rust-game/server written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/rust-game/server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf32f31c0eebbc5a0f32cf3d3acf60e8655e80a9e87ea2831500e3130a2bf57 [INFO] running `Command { std: "docker" "start" "-a" "ebf32f31c0eebbc5a0f32cf3d3acf60e8655e80a9e87ea2831500e3130a2bf57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf32f31c0eebbc5a0f32cf3d3acf60e8655e80a9e87ea2831500e3130a2bf57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf32f31c0eebbc5a0f32cf3d3acf60e8655e80a9e87ea2831500e3130a2bf57", kill_on_drop: false }` [INFO] [stdout] ebf32f31c0eebbc5a0f32cf3d3acf60e8655e80a9e87ea2831500e3130a2bf57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95d6a09b2a84b7601a38cde02e3b147ea368f343331378313dc644d150299cb4 [INFO] running `Command { std: "docker" "start" "-a" "95d6a09b2a84b7601a38cde02e3b147ea368f343331378313dc644d150299cb4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking leaf v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/route.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K, V) {} [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K: TypeName, V) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, _: K, V) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/route.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K, V) {} [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K: TypeName, V) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, _: K, V) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/route.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K, V) {} [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K, V: TypeName) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K, _: V) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/route.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn get(&self, K) -> Option { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 8 | fn get(&self, K: TypeName) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 8 | fn get(&self, _: K) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/route.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K, V) {} [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K, V: TypeName) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 7 | fn set(&mut self, K, _: V) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/route.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn get(&self, K) -> Option { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 8 | fn get(&self, K: TypeName) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 8 | fn get(&self, _: K) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `middleware` [INFO] [stdout] --> src/app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use middleware::Middleware; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::middleware` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `app` [INFO] [stdout] --> src/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use app::AppData; [INFO] [stdout] | ^^^ help: a similar path exists: `crate::app` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `response` [INFO] [stdout] --> src/middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use response::Response; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `crate::response` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `request` [INFO] [stdout] --> src/middleware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use request::Request; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::request` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `context` [INFO] [stdout] --> src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use context::Context; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::context` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `handle` [INFO] [stdout] --> src/route.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use handle::Handle; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `crate::handle` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `middleware` [INFO] [stdout] --> src/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use middleware::Middleware; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::middleware` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `request` [INFO] [stdout] --> src/logger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use request::Request; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::request` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `context` [INFO] [stdout] --> src/logger.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use context::Context; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::context` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `middleware` [INFO] [stdout] --> src/app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use middleware::Middleware; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::middleware` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `app` [INFO] [stdout] --> src/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use app::AppData; [INFO] [stdout] | ^^^ help: a similar path exists: `crate::app` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `response` [INFO] [stdout] --> src/middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use response::Response; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `crate::response` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `request` [INFO] [stdout] --> src/middleware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use request::Request; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::request` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `context` [INFO] [stdout] --> src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use context::Context; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::context` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `handle` [INFO] [stdout] --> src/route.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use handle::Handle; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `crate::handle` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `middleware` [INFO] [stdout] --> src/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use middleware::Middleware; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::middleware` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `request` [INFO] [stdout] --> src/logger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use request::Request; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::request` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `context` [INFO] [stdout] --> src/logger.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use context::Context; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `crate::context` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> src/app.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl App{ [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/response.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | impl Response{ [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Body` in this scope [INFO] [stdout] --> src/response.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | body:Body [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found type parameter `V` [INFO] [stdout] --> src/route.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(V) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | impl Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/route.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Route for Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/route.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | impl Route for Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | impl Route for Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/route.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | impl Route for Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn set(&mut self, k: K, v: V) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/route.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn set(&mut self, k: K, v: V) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | fn get(&self, k: K) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> src/logger.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 15 | impl Middleware for Logger{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | fn handle(&self, req: &Request>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result` [INFO] [stdout] --> src/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> src/app.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl App{ [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/response.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | impl Response{ [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Body` in this scope [INFO] [stdout] --> src/response.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | body:Body [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found type parameter `V` [INFO] [stdout] --> src/route.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(V) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | impl Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/route.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | impl Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Route for Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/route.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | impl Route for Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | impl Route for Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/route.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | impl Route for Router { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn set(&mut self, k: K, v: V) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `V` in this scope [INFO] [stdout] --> src/route.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn set(&mut self, k: K, v: V) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `K` in this scope [INFO] [stdout] --> src/route.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | fn get(&self, k: K) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> src/logger.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 15 | impl Middleware for Logger{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | fn handle(&self, req: &Request>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result` [INFO] [stdout] --> src/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leaf` due to 27 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "95d6a09b2a84b7601a38cde02e3b147ea368f343331378313dc644d150299cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d6a09b2a84b7601a38cde02e3b147ea368f343331378313dc644d150299cb4", kill_on_drop: false }` [INFO] [stdout] 95d6a09b2a84b7601a38cde02e3b147ea368f343331378313dc644d150299cb4