[INFO] cloning repository https://github.com/ubnt-intrepid/hyper-router [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ubnt-intrepid/hyper-router" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubnt-intrepid%2Fhyper-router", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubnt-intrepid%2Fhyper-router'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba0c0a6f6063eeca247ce977c46134679ec222c0 [INFO] testing ubnt-intrepid/hyper-router against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubnt-intrepid%2Fhyper-router" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ubnt-intrepid/hyper-router on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ubnt-intrepid/hyper-router [INFO] finished tweaking git repo https://github.com/ubnt-intrepid/hyper-router [INFO] tweaked toml for git repo https://github.com/ubnt-intrepid/hyper-router written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ubnt-intrepid/hyper-router already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92d93bd10a8056746d84ba3bf7e3fa7c09fb5e5f294d3451935c3d6e8bfd24c4 [INFO] running `Command { std: "docker" "start" "-a" "92d93bd10a8056746d84ba3bf7e3fa7c09fb5e5f294d3451935c3d6e8bfd24c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92d93bd10a8056746d84ba3bf7e3fa7c09fb5e5f294d3451935c3d6e8bfd24c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92d93bd10a8056746d84ba3bf7e3fa7c09fb5e5f294d3451935c3d6e8bfd24c4", kill_on_drop: false }` [INFO] [stdout] 92d93bd10a8056746d84ba3bf7e3fa7c09fb5e5f294d3451935c3d6e8bfd24c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3fa1b8b55bb2fdb3e3e5f61364212f725a2759b94c640ccbbae2bf9257e3ff6 [INFO] running `Command { std: "docker" "start" "-a" "e3fa1b8b55bb2fdb3e3e5f61364212f725a2759b94c640ccbbae2bf9257e3ff6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling cfg-if v0.1.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling percent-encoding v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling httparse v1.2.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling net2 v0.2.29 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling bytes v0.4.4 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling mio v0.6.9 [INFO] [stderr] Compiling unicase v2.0.0 [INFO] [stderr] Compiling mime v0.3.2 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.5 [INFO] [stderr] Compiling tokio-core v0.1.8 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.1 [INFO] [stderr] Compiling hyper-router v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(&RouteHandler, Self::Captures), StatusCode>; [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 | handler: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result<(&RouteHandler, Self::Captures), StatusCode> { [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] 61 | ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/regex.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | .trim_left_matches("^") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 93 - .trim_left_matches("^") [INFO] [stdout] 93 + .trim_start_matches("^") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/regex.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .trim_right_matches("$") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 94 - .trim_right_matches("$") [INFO] [stdout] 94 + .trim_end_matches("$") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/regex.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | .trim_right_matches("/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 95 - .trim_right_matches("/"); [INFO] [stdout] 95 + .trim_end_matches("/"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.72s [INFO] running `Command { std: "docker" "inspect" "e3fa1b8b55bb2fdb3e3e5f61364212f725a2759b94c640ccbbae2bf9257e3ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3fa1b8b55bb2fdb3e3e5f61364212f725a2759b94c640ccbbae2bf9257e3ff6", kill_on_drop: false }` [INFO] [stdout] e3fa1b8b55bb2fdb3e3e5f61364212f725a2759b94c640ccbbae2bf9257e3ff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 646c684d63d1b1650aa86fe1a6e0a275fe74d44c8b0fbab5dd886961ff896bd4 [INFO] running `Command { std: "docker" "start" "-a" "646c684d63d1b1650aa86fe1a6e0a275fe74d44c8b0fbab5dd886961ff896bd4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling hyper-router v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(&RouteHandler, Self::Captures), StatusCode>; [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 | handler: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result<(&RouteHandler, Self::Captures), StatusCode> { [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] 61 | ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/regex.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | .trim_left_matches("^") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 93 - .trim_left_matches("^") [INFO] [stdout] 93 + .trim_start_matches("^") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/regex.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .trim_right_matches("$") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 94 - .trim_right_matches("$") [INFO] [stdout] 94 + .trim_end_matches("$") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/regex.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | .trim_right_matches("/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 95 - .trim_right_matches("/"); [INFO] [stdout] 95 + .trim_end_matches("/"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(&RouteHandler, Self::Captures), StatusCode>; [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 | handler: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/regex.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result<(&RouteHandler, Self::Captures), StatusCode> { [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] 61 | ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/regex.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | .trim_left_matches("^") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 93 - .trim_left_matches("^") [INFO] [stdout] 93 + .trim_start_matches("^") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/regex.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .trim_right_matches("$") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 94 - .trim_right_matches("$") [INFO] [stdout] 94 + .trim_end_matches("$") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/regex.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | .trim_right_matches("/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 95 - .trim_right_matches("/"); [INFO] [stdout] 95 + .trim_end_matches("/"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "646c684d63d1b1650aa86fe1a6e0a275fe74d44c8b0fbab5dd886961ff896bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "646c684d63d1b1650aa86fe1a6e0a275fe74d44c8b0fbab5dd886961ff896bd4", kill_on_drop: false }` [INFO] [stdout] 646c684d63d1b1650aa86fe1a6e0a275fe74d44c8b0fbab5dd886961ff896bd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 512e7c6665f07c4d3878cd04a287b12e2c36d09b36cce1940fea8175a57e75a4 [INFO] running `Command { std: "docker" "start" "-a" "512e7c6665f07c4d3878cd04a287b12e2c36d09b36cce1940fea8175a57e75a4", 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/lib.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | ) -> Result<(&RouteHandler, Self::Captures), StatusCode>; [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)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 | ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/regex.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | 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] 17 | handler: Box>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/regex.rs:61:19 [INFO] [stderr] | [INFO] [stderr] 61 | ) -> Result<(&RouteHandler, Self::Captures), StatusCode> { [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] 61 | ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/regex.rs:93:10 [INFO] [stderr] | [INFO] [stderr] 93 | .trim_left_matches("^") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 93 - .trim_left_matches("^") [INFO] [stderr] 93 + .trim_start_matches("^") [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/regex.rs:94:10 [INFO] [stderr] | [INFO] [stderr] 94 | .trim_right_matches("$") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 94 - .trim_right_matches("$") [INFO] [stderr] 94 + .trim_end_matches("$") [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/regex.rs:95:10 [INFO] [stderr] | [INFO] [stderr] 95 | .trim_right_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 95 - .trim_right_matches("/"); [INFO] [stderr] 95 + .trim_end_matches("/"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hyper-router` (lib) generated 6 warnings (run `cargo fix --lib -p hyper-router` to apply 6 suggestions) [INFO] [stderr] warning: `hyper-router` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyper_router-0cb0d4b54cd059ca) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test regex::tests::normalize_cases ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hyper_router [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "512e7c6665f07c4d3878cd04a287b12e2c36d09b36cce1940fea8175a57e75a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512e7c6665f07c4d3878cd04a287b12e2c36d09b36cce1940fea8175a57e75a4", kill_on_drop: false }` [INFO] [stdout] 512e7c6665f07c4d3878cd04a287b12e2c36d09b36cce1940fea8175a57e75a4