[INFO] fetching crate glory-routing 0.3.1... [INFO] checking glory-routing-0.3.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate glory-routing 0.3.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate glory-routing 0.3.1 [INFO] finished tweaking crates.io crate glory-routing 0.3.1 [INFO] tweaked toml for crates.io crate glory-routing 0.3.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate glory-routing 0.3.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 246 packages to latest compatible versions [INFO] [stderr] Adding educe v0.5.11 (available: v0.6.0) [INFO] [stderr] Adding http-body v1.0.0-rc.2 (available: v1.0.1) [INFO] [stderr] Adding http-body-util v0.1.0-rc.3 (available: v0.1.3) [INFO] [stderr] Adding hyper v1.0.0-rc.4 (available: v1.7.0) [INFO] [stderr] Adding multimap v0.9.1 (available: v0.10.1) [INFO] [stderr] Adding salvo v0.60.0 (available: v0.82.0) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.11) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salvo_macros v0.60.0 [INFO] [stderr] Downloaded salvo-utils v0.0.6 [INFO] [stderr] Downloaded http-body-util v0.1.0-rc.3 [INFO] [stderr] Downloaded http-body v1.0.0-rc.2 [INFO] [stderr] Downloaded glory-hot-reload v0.3.1 [INFO] [stderr] Downloaded mime-infer v3.0.0 [INFO] [stderr] Downloaded cruet v0.14.0 [INFO] [stderr] Downloaded glory-core v0.3.1 [INFO] [stderr] Downloaded salvo v0.60.0 [INFO] [stderr] Downloaded hyper v1.0.0-rc.4 [INFO] [stderr] Downloaded salvo_core v0.60.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 260f61dbffe6b857846500884e4495a811865cd67e3da1f5f3111f84f4a6a001 [INFO] running `Command { std: "docker" "start" "-a" "260f61dbffe6b857846500884e4495a811865cd67e3da1f5f3111f84f4a6a001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "260f61dbffe6b857846500884e4495a811865cd67e3da1f5f3111f84f4a6a001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260f61dbffe6b857846500884e4495a811865cd67e3da1f5f3111f84f4a6a001", kill_on_drop: false }` [INFO] [stdout] 260f61dbffe6b857846500884e4495a811865cd67e3da1f5f3111f84f4a6a001 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5aabd11d286053dac452074113a32faa8fdb2dc774459d10facee1466fc678e [INFO] running `Command { std: "docker" "start" "-a" "c5aabd11d286053dac452074113a32faa8fdb2dc774459d10facee1466fc678e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rstml v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking multimap v0.9.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking glory-hot-reload v0.3.1 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking glory-core v0.3.1 [INFO] [stderr] Checking glory-routing v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::routing` [INFO] [stdout] --> src/filters/path.rs:893:16 [INFO] [stdout] | [INFO] [stdout] 893 | use crate::routing::{PathFilter, PathState}; [INFO] [stdout] | ^^^^^^^ could not find `routing` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `head` in this scope [INFO] [stdout] --> src/filters/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | assert!(head() == MethodFilter(Method::HEAD)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 104 + use glory_core::web::widgets::head; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/filters/mod.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn has_one(_req: &mut Request, path: &mut PathState) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/filters/mod.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | fn has_two(_req: &mut Request, path: &mut PathState) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/filters/mod.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let mut req = Request::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Request` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/lib.rs:185:62 [INFO] [stdout] | [INFO] [stdout] 185 | stuff = self.stuffs().revise(|mut stuffs| stuffs.remove(graff)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/lib.rs:195:40 [INFO] [stdout] | [INFO] [stdout] 195 | self.stuff_keys().borrow_mut().remove(graff) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocatorModifier` is never constructed [INFO] [stdout] --> src/locator.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LocatorModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get` in this scope [INFO] [stdout] --> src/filters/mod.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(get() == MethodFilter(Method::GET)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/filters/mod.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(get() == MethodFilter(Method::GET)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodFilter` in this scope [INFO] [stdout] --> src/filters/mod.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(get() == MethodFilter(Method::GET)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/filters/mod.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | assert!(head() == MethodFilter(Method::HEAD)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodFilter` in this scope [INFO] [stdout] --> src/filters/mod.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | assert!(head() == MethodFilter(Method::HEAD)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `options` in this scope [INFO] [stdout] --> src/filters/mod.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(options() == MethodFilter(Method::OPTIONS)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/filters/mod.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(options() == MethodFilter(Method::OPTIONS)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodFilter` in this scope [INFO] [stdout] --> src/filters/mod.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(options() == MethodFilter(Method::OPTIONS)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `post` in this scope [INFO] [stdout] --> src/filters/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | assert!(post() == MethodFilter(Method::POST)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/filters/mod.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | assert!(post() == MethodFilter(Method::POST)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodFilter` in this scope [INFO] [stdout] --> src/filters/mod.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | assert!(post() == MethodFilter(Method::POST)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `patch` in this scope [INFO] [stdout] --> src/filters/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn path(path: impl Into) -> PathFilter { [INFO] [stdout] | -------------------------------------------------- similarly named function `path` defined here [INFO] [stdout] ... [INFO] [stdout] 112 | assert!(patch() == MethodFilter(Method::PATCH)); [INFO] [stdout] | ^^^^^ help: a function with a similar name exists: `path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/filters/mod.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(patch() == MethodFilter(Method::PATCH)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodFilter` in this scope [INFO] [stdout] --> src/filters/mod.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(patch() == MethodFilter(Method::PATCH)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `put` in this scope [INFO] [stdout] --> src/filters/mod.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(put() == MethodFilter(Method::PUT)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/filters/mod.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(put() == MethodFilter(Method::PUT)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodFilter` in this scope [INFO] [stdout] --> src/filters/mod.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(put() == MethodFilter(Method::PUT)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete` in this scope [INFO] [stdout] --> src/filters/mod.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(delete() == MethodFilter(Method::DELETE)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/filters/mod.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(delete() == MethodFilter(Method::DELETE)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodFilter` in this scope [INFO] [stdout] --> src/filters/mod.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(delete() == MethodFilter(Method::DELETE)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `filter` not found for this struct because it doesn't satisfy `_: Filter` or `_: Iterator` [INFO] [stdout] ... [INFO] [stdout] 131 | assert!(one_filter.filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>: Iterator` [INFO] [stdout] which is required by `&mut filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `filter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `futures_util::stream::stream::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `filter` not found for this struct because it doesn't satisfy `_: Filter` or `_: Iterator` [INFO] [stdout] ... [INFO] [stdout] 132 | assert!(!two_filter.filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>: Iterator` [INFO] [stdout] which is required by `&mut filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `filter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `futures_util::stream::stream::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `or_else` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `or_else` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 133 | assert!(one_filter.or_else(has_two).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `or_else`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `futures_util::future::try_future::TryFutureExt` [INFO] [stdout] candidate #3: `futures_util::stream::try_stream::TryStreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `or` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `or` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 134 | assert!(one_filter.or(two_filter).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `or`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `nom::error::ParseError` [INFO] [stdout] candidate #3: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and_then` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `and_then` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 135 | assert!(!one_filter.and_then(has_two).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `and_then`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `futures_util::future::try_future::TryFutureExt` [INFO] [stdout] candidate #3: `futures_util::stream::try_stream::TryStreamExt` [INFO] [stdout] candidate #4: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `and` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 136 | assert!(!one_filter.and(two_filter).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `and`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `filter` not found for this struct because it doesn't satisfy `_: Filter` or `_: Iterator` [INFO] [stdout] ... [INFO] [stdout] 139 | assert!(one_filter.filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>: Iterator` [INFO] [stdout] which is required by `&mut filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `filter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `futures_util::stream::stream::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `filter` not found for this struct because it doesn't satisfy `_: Filter` or `_: Iterator` [INFO] [stdout] ... [INFO] [stdout] 140 | assert!(two_filter.filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>: Iterator` [INFO] [stdout] which is required by `&mut filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `filter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `futures_util::stream::stream::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `or_else` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `or_else` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 141 | assert!(one_filter.or_else(has_two).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `or_else`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `futures_util::future::try_future::TryFutureExt` [INFO] [stdout] candidate #3: `futures_util::stream::try_stream::TryStreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `or` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `or` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 142 | assert!(one_filter.or(two_filter).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `or`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `nom::error::ParseError` [INFO] [stdout] candidate #3: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and_then` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `and_then` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 143 | assert!(one_filter.and_then(has_two).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `and_then`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `futures_util::future::try_future::TryFutureExt` [INFO] [stdout] candidate #3: `futures_util::stream::try_stream::TryStreamExt` [INFO] [stdout] candidate #4: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `and` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 144 | assert!(one_filter.and(two_filter).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `and`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `filter` not found for this struct because it doesn't satisfy `_: Filter` or `_: Iterator` [INFO] [stdout] ... [INFO] [stdout] 147 | assert!(!one_filter.filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>: Iterator` [INFO] [stdout] which is required by `&mut filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `filter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `futures_util::stream::stream::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `filter` not found for this struct because it doesn't satisfy `_: Filter` or `_: Iterator` [INFO] [stdout] ... [INFO] [stdout] 148 | assert!(two_filter.filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>: Iterator` [INFO] [stdout] which is required by `&mut filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_two}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `filter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `futures_util::stream::stream::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `or_else` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `or_else` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 149 | assert!(one_filter.or_else(has_two).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `or_else`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `futures_util::future::try_future::TryFutureExt` [INFO] [stdout] candidate #3: `futures_util::stream::try_stream::TryStreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `or` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `or` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 150 | assert!(one_filter.or(two_filter).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `or`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `nom::error::ParseError` [INFO] [stdout] candidate #3: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and_then` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `and_then` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 151 | assert!(!one_filter.and_then(has_two).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `and_then`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `futures_util::future::try_future::TryFutureExt` [INFO] [stdout] candidate #3: `futures_util::stream::try_stream::TryStreamExt` [INFO] [stdout] candidate #4: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and` exists for struct `filters::FnFilter fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/filters/mod.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FnFilter(pub F); [INFO] [stdout] | ---------------------- method `and` not found for this struct because it doesn't satisfy `_: Filter` [INFO] [stdout] ... [INFO] [stdout] 152 | assert!(!one_filter.and(two_filter).filter(&mut req, &mut path_state)); [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one} as FnOnce<(&ssr::Url, &Truck, &mut PathState)>>::Output = bool` [INFO] [stdout] `for<'a, 'b> fn(&'a mut {type error}, &'b mut PathState) -> bool {has_one}: Fn<(&ssr::Url, &Truck, &mut PathState)>` [INFO] [stdout] --> src/filters/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Filter for FnFilter [INFO] [stdout] | ------ ----------- [INFO] [stdout] 80 | where [INFO] [stdout] 81 | F: Fn(&Url, &Truck, &mut PathState) -> bool + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `and`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `filters::Filter` [INFO] [stdout] candidate #2: `nom::internal::Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/lib.rs:185:62 [INFO] [stdout] | [INFO] [stdout] 185 | stuff = self.stuffs().revise(|mut stuffs| stuffs.remove(graff)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/lib.rs:195:40 [INFO] [stdout] | [INFO] [stdout] 195 | self.stuff_keys().borrow_mut().remove(graff) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glory-routing` (lib test) due to 43 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5aabd11d286053dac452074113a32faa8fdb2dc774459d10facee1466fc678e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5aabd11d286053dac452074113a32faa8fdb2dc774459d10facee1466fc678e", kill_on_drop: false }` [INFO] [stdout] c5aabd11d286053dac452074113a32faa8fdb2dc774459d10facee1466fc678e