[INFO] fetching crate ferrum-router 0.2.1... [INFO] testing ferrum-router-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ferrum-router 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ferrum-router 0.2.1 [INFO] finished tweaking crates.io crate ferrum-router 0.2.1 [INFO] tweaked toml for crates.io crate ferrum-router 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ferrum-router 0.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.2) [INFO] [stderr] Adding route-recognizer v0.1.13 (available: v0.3.1) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 516dca3ca77991b8454998f8919cd88812766811fadb934fa2dbf2693afa47be [INFO] running `Command { std: "docker" "start" "-a" "516dca3ca77991b8454998f8919cd88812766811fadb934fa2dbf2693afa47be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "516dca3ca77991b8454998f8919cd88812766811fadb934fa2dbf2693afa47be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "516dca3ca77991b8454998f8919cd88812766811fadb934fa2dbf2693afa47be", kill_on_drop: false }` [INFO] [stdout] 516dca3ca77991b8454998f8919cd88812766811fadb934fa2dbf2693afa47be [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cbe7f4b8e2fec4c90764bf5934a88cc9b863b6574b557d3df275e81fe002561 [INFO] running `Command { std: "docker" "start" "-a" "4cbe7f4b8e2fec4c90764bf5934a88cc9b863b6574b557d3df275e81fe002561", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling ferrum-plugin v0.3.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling ferrum v0.2.1 [INFO] [stderr] Compiling ferrum-router v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/router/mod.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/recognizer/matcher.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.57s [INFO] running `Command { std: "docker" "inspect" "4cbe7f4b8e2fec4c90764bf5934a88cc9b863b6574b557d3df275e81fe002561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cbe7f4b8e2fec4c90764bf5934a88cc9b863b6574b557d3df275e81fe002561", kill_on_drop: false }` [INFO] [stdout] 4cbe7f4b8e2fec4c90764bf5934a88cc9b863b6574b557d3df275e81fe002561 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9a36c23b442b13e3c2b306535fe19cf0e40a5e917b38dd017c99201a0974fbe [INFO] running `Command { std: "docker" "start" "-a" "c9a36c23b442b13e3c2b306535fe19cf0e40a5e917b38dd017c99201a0974fbe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/router/mod.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/recognizer/matcher.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ferrum-router v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub handler: &'a Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/matcher.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/recognizer/mod.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub type RecognizerResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/router/mod.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn recognize(&self, method: &Method, path: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/recognizer/matcher.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(!regex.is_match(""), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 87 | assert!(!regex.is_match(""), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(!regex.is_match("test"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 88 | assert!(!regex.is_match("test"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(!regex.is_match("/"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 89 | assert!(!regex.is_match("/"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | assert!(regex.is_match("/posts/12"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 90 | assert!(regex.is_match("/posts/12"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(regex.is_match("/posts/12/"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 91 | assert!(regex.is_match("/posts/12/"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(!regex.is_match("/posts/12a"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 92 | assert!(!regex.is_match("/posts/12a"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | assert!(!regex.is_match("/posts/12/test"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 93 | assert!(!regex.is_match("/posts/12/test"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:94:48 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(!regex.is_match("/posts/new"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 94 | assert!(!regex.is_match("/posts/new"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(!regex.is_match("/posts/new/"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 95 | assert!(!regex.is_match("/posts/new/"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/recognizer/tests.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(!regex.is_match("/posts/new/test"), glob); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 96 | assert!(!regex.is_match("/posts/new/test"), "{}", glob); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.47s [INFO] running `Command { std: "docker" "inspect" "c9a36c23b442b13e3c2b306535fe19cf0e40a5e917b38dd017c99201a0974fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a36c23b442b13e3c2b306535fe19cf0e40a5e917b38dd017c99201a0974fbe", kill_on_drop: false }` [INFO] [stdout] c9a36c23b442b13e3c2b306535fe19cf0e40a5e917b38dd017c99201a0974fbe [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf1678daffafe6781dc6e20594b8260320bc01202b246fe6dfab5d662428b87b [INFO] running `Command { std: "docker" "start" "-a" "bf1678daffafe6781dc6e20594b8260320bc01202b246fe6dfab5d662428b87b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/recognizer/matcher.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | pub handler: &'a Box, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 | pub handler: &'a Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/recognizer/mod.rs:26:22 [INFO] [stderr] | [INFO] [stderr] 26 | pub handler: Box, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 | pub handler: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/recognizer/matcher.rs:12:33 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/recognizer/mod.rs:34:47 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 | pub fn new(glob: G, handler: Box, types: Option<&Store>) -> RecognizerResult [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/recognizer/mod.rs:14:59 [INFO] [stderr] | [INFO] [stderr] 14 | pub type RecognizerResult = Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | pub type RecognizerResult = Result>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/router/mod.rs:204:18 [INFO] [stderr] | [INFO] [stderr] 204 | fn recognize(&self, method: &Method, path: &str) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 204 | fn recognize(&self, method: &Method, path: &str) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/recognizer/matcher.rs:12:62 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(handler: &'a Box, params: Params) -> RouteMatch<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:87:38 [INFO] [stderr] | [INFO] [stderr] 87 | assert!(!regex.is_match(""), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 87 | assert!(!regex.is_match(""), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:88:42 [INFO] [stderr] | [INFO] [stderr] 88 | assert!(!regex.is_match("test"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 88 | assert!(!regex.is_match("test"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:89:39 [INFO] [stderr] | [INFO] [stderr] 89 | assert!(!regex.is_match("/"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 89 | assert!(!regex.is_match("/"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:90:46 [INFO] [stderr] | [INFO] [stderr] 90 | assert!(regex.is_match("/posts/12"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 90 | assert!(regex.is_match("/posts/12"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:91:47 [INFO] [stderr] | [INFO] [stderr] 91 | assert!(regex.is_match("/posts/12/"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 91 | assert!(regex.is_match("/posts/12/"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:92:48 [INFO] [stderr] | [INFO] [stderr] 92 | assert!(!regex.is_match("/posts/12a"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 92 | assert!(!regex.is_match("/posts/12a"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:93:52 [INFO] [stderr] | [INFO] [stderr] 93 | assert!(!regex.is_match("/posts/12/test"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 93 | assert!(!regex.is_match("/posts/12/test"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:94:48 [INFO] [stderr] | [INFO] [stderr] 94 | assert!(!regex.is_match("/posts/new"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 94 | assert!(!regex.is_match("/posts/new"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:95:49 [INFO] [stderr] | [INFO] [stderr] 95 | assert!(!regex.is_match("/posts/new/"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 95 | assert!(!regex.is_match("/posts/new/"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/recognizer/tests.rs:96:53 [INFO] [stderr] | [INFO] [stderr] 96 | assert!(!regex.is_match("/posts/new/test"), glob); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 96 | assert!(!regex.is_match("/posts/new/test"), "{}", glob); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `ferrum-router` (lib) generated 7 warnings (run `cargo fix --lib -p ferrum-router` to apply 7 suggestions) [INFO] [stderr] warning: `ferrum-router` (lib test) generated 17 warnings (7 duplicates) (run `cargo fix --lib -p ferrum-router --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ferrum_router-a28e850f6c769318) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test recognizer::types::tests::use_different_glob_types ... ok [INFO] [stdout] test macros::tests::test_uri_for ... ok [INFO] [stdout] test router::tests::test_glob_types ... ok [INFO] [stdout] test router::tests::test_handle_options_get_head ... ok [INFO] [stdout] test router::tests::test_handle_options_post ... ok [INFO] [stdout] test router::tests::test_not_found ... ok [INFO] [stdout] test router::tests::test_request ... ok [INFO] [stdout] test recognizer::tests::parse_glob_direct ... ok [INFO] [stdout] test router::tests::test_wildcard_regression ... ok [INFO] [stdout] test router::tests::test_route_ids ... ok [INFO] [stdout] test router::tests::test_handle_any_ok ... ok [INFO] [stdout] test macros::tests::test_methods_expand ... ok [INFO] [stdout] test recognizer::tests::parse_glob_single_param ... ok [INFO] [stdout] test recognizer::glob::tests::glob_from ... ok [INFO] [stdout] test uri_for::tests::test_uri_generate ... ok [INFO] [stdout] test router::tests::test_same_route_id - should panic ... ok [INFO] [stdout] test uri_for::tests::test_generate_for_regex_captures ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests ferrum_router [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/macros.rs - macros::router (line 13) ... ignored [INFO] [stdout] test src/macros.rs - macros::router (line 3) ... ignored [INFO] [stdout] test src/macros.rs - macros::uri_for (line 44) ... ignored [INFO] [stdout] test src/macros.rs - macros::uri_for (line 52) ... ignored [INFO] [stdout] test src/router/mod.rs - router::Router::route (line 63) ... ignored [INFO] [stdout] test src/router/mod.rs - router::Router::new (line 35) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.73s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bf1678daffafe6781dc6e20594b8260320bc01202b246fe6dfab5d662428b87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1678daffafe6781dc6e20594b8260320bc01202b246fe6dfab5d662428b87b", kill_on_drop: false }` [INFO] [stdout] bf1678daffafe6781dc6e20594b8260320bc01202b246fe6dfab5d662428b87b