[INFO] fetching crate rusty_pipe 0.1.5... [INFO] testing rusty_pipe-0.1.5 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rusty_pipe 0.1.5 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate rusty_pipe 0.1.5 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 crates.io crate rusty_pipe 0.1.5 [INFO] finished tweaking crates.io crate rusty_pipe 0.1.5 [INFO] tweaked toml for crates.io crate rusty_pipe 0.1.5 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 204949e6b012b5612f98aedada5e26957467dfc530bc484ca6fae07c405729f9 [INFO] running `Command { std: "docker" "start" "-a" "204949e6b012b5612f98aedada5e26957467dfc530bc484ca6fae07c405729f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "204949e6b012b5612f98aedada5e26957467dfc530bc484ca6fae07c405729f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204949e6b012b5612f98aedada5e26957467dfc530bc484ca6fae07c405729f9", kill_on_drop: false }` [INFO] [stdout] 204949e6b012b5612f98aedada5e26957467dfc530bc484ca6fae07c405729f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 64442a1ea777dc6e0d138d4618a6ead732c2a7e5d1a9e7a37a258663ed4e4489 [INFO] running `Command { std: "docker" "start" "-a" "64442a1ea777dc6e0d138d4618a6ead732c2a7e5d1a9e7a37a258663ed4e4489", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling rusty_pipe v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:22:57 [INFO] [stdout] | [INFO] [stdout] 22 | pub routers: HashMap>>, [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] 22 - pub routers: HashMap>>, [INFO] [stdout] 22 + pub routers: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub wildcard: Recognizer>, [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] 24 - pub wildcard: Recognizer>, [INFO] [stdout] 24 + pub wildcard: Recognizer>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | -> Option>> { [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] 179 - -> Option>> { [INFO] [stdout] 179 + -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid` [INFO] [stdout] --> src/route_recognizer/nfa.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn valid(string: &str) -> CharacterClass { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invalid` [INFO] [stdout] --> src/route_recognizer/nfa.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn invalid(string: &str) -> CharacterClass { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `str_to_set` [INFO] [stdout] --> src/route_recognizer/nfa.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn str_to_set(string: &str) -> CharSet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/route_recognizer/lib.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | None => panic!(format!("params[{}] did not exist", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 84 - None => panic!(format!("params[{}] did not exist", index)), [INFO] [stdout] 84 + None => panic!("params[{}] did not exist", index), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.48s [INFO] running `Command { std: "docker" "inspect" "64442a1ea777dc6e0d138d4618a6ead732c2a7e5d1a9e7a37a258663ed4e4489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64442a1ea777dc6e0d138d4618a6ead732c2a7e5d1a9e7a37a258663ed4e4489", kill_on_drop: false }` [INFO] [stdout] 64442a1ea777dc6e0d138d4618a6ead732c2a7e5d1a9e7a37a258663ed4e4489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] 5078061ba9098be9055da873909e9a7fe1bb0cb0d7412e39af56193f1273e0f4 [INFO] running `Command { std: "docker" "start" "-a" "5078061ba9098be9055da873909e9a7fe1bb0cb0d7412e39af56193f1273e0f4", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:22:57 [INFO] [stdout] | [INFO] [stdout] 22 | pub routers: HashMap>>, [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] 22 - pub routers: HashMap>>, [INFO] [stdout] 22 + pub routers: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub wildcard: Recognizer>, [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] 24 - pub wildcard: Recognizer>, [INFO] [stdout] 24 + pub wildcard: Recognizer>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | -> Option>> { [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] 179 - -> Option>> { [INFO] [stdout] 179 + -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty_pipe v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `valid` [INFO] [stdout] --> src/route_recognizer/nfa.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn valid(string: &str) -> CharacterClass { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invalid` [INFO] [stdout] --> src/route_recognizer/nfa.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn invalid(string: &str) -> CharacterClass { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `str_to_set` [INFO] [stdout] --> src/route_recognizer/nfa.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn str_to_set(string: &str) -> CharSet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/route_recognizer/lib.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | None => panic!(format!("params[{}] did not exist", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 84 - None => panic!(format!("params[{}] did not exist", index)), [INFO] [stdout] 84 + None => panic!("params[{}] did not exist", index), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:22:57 [INFO] [stdout] | [INFO] [stdout] 22 | pub routers: HashMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [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] 22 - pub routers: HashMap>>, [INFO] [stdout] 22 + pub routers: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub wildcard: Recognizer>, [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] 24 - pub wildcard: Recognizer>, [INFO] [stdout] 24 + pub wildcard: Recognizer>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | -> Option>> { [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] 179 - -> Option>> { [INFO] [stdout] 179 + -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/route_recognizer/lib.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | None => panic!(format!("params[{}] did not exist", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 84 - None => panic!(format!("params[{}] did not exist", index)), [INFO] [stdout] 84 + None => panic!("params[{}] did not exist", index), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.23s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_pipe-a6b4f1a43571c39e) [INFO] running `Command { std: "docker" "inspect" "5078061ba9098be9055da873909e9a7fe1bb0cb0d7412e39af56193f1273e0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5078061ba9098be9055da873909e9a7fe1bb0cb0d7412e39af56193f1273e0f4", kill_on_drop: false }` [INFO] [stdout] 5078061ba9098be9055da873909e9a7fe1bb0cb0d7412e39af56193f1273e0f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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] dd59f5e8d5f4a25f216b8702e91ed04a366b628035e8df082aa3151c59fe9809 [INFO] running `Command { std: "docker" "start" "-a" "dd59f5e8d5f4a25f216b8702e91ed04a366b628035e8df082aa3151c59fe9809", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/router.rs:22:57 [INFO] [stderr] | [INFO] [stderr] 22 | pub routers: HashMap>>, [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] 22 - pub routers: HashMap>>, [INFO] [stderr] 22 + pub routers: HashMap>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/router.rs:24:34 [INFO] [stderr] | [INFO] [stderr] 24 | pub wildcard: Recognizer>, [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] 24 - pub wildcard: Recognizer>, [INFO] [stderr] 24 + pub wildcard: Recognizer>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/router.rs:179:43 [INFO] [stderr] | [INFO] [stderr] 179 | -> Option>> { [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] 179 - -> Option>> { [INFO] [stderr] 179 + -> Option>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `valid` [INFO] [stderr] --> src/route_recognizer/nfa.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn valid(string: &str) -> CharacterClass { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `invalid` [INFO] [stderr] --> src/route_recognizer/nfa.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn invalid(string: &str) -> CharacterClass { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `str_to_set` [INFO] [stderr] --> src/route_recognizer/nfa.rs:114:8 [INFO] [stderr] | [INFO] [stderr] 114 | fn str_to_set(string: &str) -> CharSet { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/route_recognizer/lib.rs:84:28 [INFO] [stderr] | [INFO] [stderr] 84 | None => panic!(format!("params[{}] did not exist", index)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 84 - None => panic!(format!("params[{}] did not exist", index)), [INFO] [stderr] 84 + None => panic!("params[{}] did not exist", index), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/router.rs:22:57 [INFO] [stderr] | [INFO] [stderr] 22 | pub routers: HashMap>>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [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] 22 - pub routers: HashMap>>, [INFO] [stderr] 22 + pub routers: HashMap>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/route_recognizer/lib.rs:84:28 [INFO] [stderr] | [INFO] [stderr] 84 | None => panic!(format!("params[{}] did not exist", index)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 84 - None => panic!(format!("params[{}] did not exist", index)), [INFO] [stderr] 84 + None => panic!("params[{}] did not exist", index), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rusty_pipe` (lib) generated 7 warnings [INFO] [stderr] warning: `rusty_pipe` (lib test) generated 4 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_pipe-a6b4f1a43571c39e) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test route_recognizer::lib::star ... ok [INFO] [stdout] test route_recognizer::lib::empty_route ... ok [INFO] [stdout] test route_recognizer::nfa::capture_mid_match ... ok [INFO] [stdout] test route_recognizer::nfa::capture_multiple_captures ... ok [INFO] [stdout] test route_recognizer::lib::basic_router ... ok [INFO] [stdout] test route_recognizer::lib::ambiguous_router_b ... ok [INFO] [stdout] test route_recognizer::lib::ambiguous_router ... ok [INFO] [stdout] test macros::tests::methods ... ok [INFO] [stdout] test route_recognizer::lib::root_router ... ok [INFO] [stdout] test route_recognizer::lib::multiple_params ... ok [INFO] [stdout] test route_recognizer::nfa::basic_test ... ok [INFO] [stdout] test route_recognizer::lib::empty_path ... ok [INFO] [stdout] test route_recognizer::nfa::captures ... ok [INFO] [stdout] test route_recognizer::nfa::multiple_solutions ... ok [INFO] [stdout] test route_recognizer::nfa::repetitions_with_ambiguous ... ok [INFO] [stdout] test route_recognizer::nfa::repetitions ... ok [INFO] [stdout] test route_recognizer::nfa::multiple_paths ... ok [INFO] [stdout] test route_recognizer::nfa::test_ascii_set ... ok [INFO] [stdout] test router::test::test_handle_options_post ... ok [INFO] [stdout] test router::test::test_handle_any_ok ... ok [INFO] [stdout] test router::test::test_not_found ... ok [INFO] [stdout] test router::test::test_meta_route_id_correct ... ok [INFO] [stdout] test router::test::test_wildcard_regression ... ok [INFO] [stdout] test url_for::test::test_no_trailing_slash ... ok [INFO] [stdout] test url_for::test::test_trailing_slash ... ok [INFO] [stdout] test router::test::test_request ... ok [INFO] [stdout] test router::test::test_handle_options_get_head ... ok [INFO] [stdout] test router::test::test_route_id_correct ... ok [INFO] [stdout] test router::test::test_same_route_id - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests rusty_pipe [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/macros.rs - macros::router (line 11) ... ignored [INFO] [stdout] test src/macros.rs - macros::router (line 3) ... ignored [INFO] [stdout] test src/macros.rs - macros::url_for (line 32) ... ignored [INFO] [stdout] test src/macros.rs - macros::url_for (line 40) ... ignored [INFO] [stdout] test src/router.rs - router::Router::route (line 97) ... ignored [INFO] [stdout] test src/router.rs - router::Router::new (line 65) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.72s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dd59f5e8d5f4a25f216b8702e91ed04a366b628035e8df082aa3151c59fe9809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd59f5e8d5f4a25f216b8702e91ed04a366b628035e8df082aa3151c59fe9809", kill_on_drop: false }` [INFO] [stdout] dd59f5e8d5f4a25f216b8702e91ed04a366b628035e8df082aa3151c59fe9809