[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubnt-intrepid%2Fhyper-router" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ubnt-intrepid/hyper-router on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-108/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c3a7129800200570d4b43b85df421a6c45825cd27ab07c2f5224b706bad05cc [INFO] running `Command { std: "docker" "start" "-a" "3c3a7129800200570d4b43b85df421a6c45825cd27ab07c2f5224b706bad05cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c3a7129800200570d4b43b85df421a6c45825cd27ab07c2f5224b706bad05cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c3a7129800200570d4b43b85df421a6c45825cd27ab07c2f5224b706bad05cc", kill_on_drop: false }` [INFO] [stdout] 3c3a7129800200570d4b43b85df421a6c45825cd27ab07c2f5224b706bad05cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f40923ae297f08797964cac2ae5ff35135383085ecf0eedf71c78baeda5d68b [INFO] running `Command { std: "docker" "start" "-a" "0f40923ae297f08797964cac2ae5ff35135383085ecf0eedf71c78baeda5d68b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling cfg-if v0.1.1 [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 smallvec v0.2.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling httparse v1.2.3 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.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 memchr v1.0.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling bytes v0.4.4 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling futures-cpupool v0.1.5 [INFO] [stderr] Compiling mio v0.6.9 [INFO] [stderr] Compiling unicase v2.0.0 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.2 [INFO] [stderr] Compiling tokio-core v0.1.8 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling mime v0.3.2 [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/regex.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - handler: Box>, [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/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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - ) -> Result<(&RouteHandler, Self::Captures), StatusCode>; [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - ) -> Result<(&RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] 61 + ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.78s [INFO] running `Command { std: "docker" "inspect" "0f40923ae297f08797964cac2ae5ff35135383085ecf0eedf71c78baeda5d68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f40923ae297f08797964cac2ae5ff35135383085ecf0eedf71c78baeda5d68b", kill_on_drop: false }` [INFO] [stdout] 0f40923ae297f08797964cac2ae5ff35135383085ecf0eedf71c78baeda5d68b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 185bceaa577c8867ea324403139ed2d64231bfae6f5b3d2c51da96970f58f303 [INFO] running `Command { std: "docker" "start" "-a" "185bceaa577c8867ea324403139ed2d64231bfae6f5b3d2c51da96970f58f303", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - handler: Box>, [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/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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - ) -> Result<(&RouteHandler, Self::Captures), StatusCode>; [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - ) -> Result<(&RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] 61 + ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-router v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 6 warnings emitted [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - handler: Box>, [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/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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - ) -> Result<(&RouteHandler, Self::Captures), StatusCode>; [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - ) -> Result<(&RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] 61 + ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.73s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyper_router-02fbb39881450469) [INFO] running `Command { std: "docker" "inspect" "185bceaa577c8867ea324403139ed2d64231bfae6f5b3d2c51da96970f58f303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185bceaa577c8867ea324403139ed2d64231bfae6f5b3d2c51da96970f58f303", kill_on_drop: false }` [INFO] [stdout] 185bceaa577c8867ea324403139ed2d64231bfae6f5b3d2c51da96970f58f303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12fb9a76f55ee54e49e349ee3ef96018e17b281e4b3d45e04ffa9d32f30a7df8 [INFO] running `Command { std: "docker" "start" "-a" "12fb9a76f55ee54e49e349ee3ef96018e17b281e4b3d45e04ffa9d32f30a7df8", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - handler: Box>, [INFO] [stderr] 17 + handler: Box>, [INFO] [stderr] | [INFO] [stderr] [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - ) -> Result<(&RouteHandler, Self::Captures), StatusCode>; [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: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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 - ) -> Result<(&RouteHandler, Self::Captures), StatusCode> { [INFO] [stderr] 61 + ) -> Result<(&dyn RouteHandler, Self::Captures), StatusCode> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: `hyper-router` (lib) generated 6 warnings [INFO] [stderr] warning: `hyper-router` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyper_router-02fbb39881450469) [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" "12fb9a76f55ee54e49e349ee3ef96018e17b281e4b3d45e04ffa9d32f30a7df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12fb9a76f55ee54e49e349ee3ef96018e17b281e4b3d45e04ffa9d32f30a7df8", kill_on_drop: false }` [INFO] [stdout] 12fb9a76f55ee54e49e349ee3ef96018e17b281e4b3d45e04ffa9d32f30a7df8