[INFO] fetching crate squall-router 0.2.2... [INFO] testing squall-router-0.2.2 against 1.91.0 for beta-1.92-2 [INFO] extracting crate squall-router 0.2.2 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate squall-router 0.2.2 [INFO] finished tweaking crates.io crate squall-router 0.2.2 [INFO] tweaked toml for crates.io crate squall-router 0.2.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate squall-router 0.2.2 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate squall-router 0.2.2 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded firestorm v0.4.6 [INFO] [stderr] Downloaded matchit v0.4.4 [INFO] [stderr] Downloaded rgb v0.8.31 [INFO] [stderr] Downloaded proc-macro2 v1.0.34 [INFO] [stderr] Downloaded firestorm-enabled v0.4.3 [INFO] [stderr] Downloaded structopt v0.3.25 [INFO] [stderr] Downloaded bytestring v1.0.0 [INFO] [stderr] Downloaded inferno v0.10.8 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded once_cell v1.9.0 [INFO] [stderr] Downloaded semver v1.0.4 [INFO] [stderr] Downloaded http v0.2.5 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded bumpalo v3.8.0 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.78 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded js-sys v0.3.55 [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded serde_json v1.0.73 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded libc v0.2.112 [INFO] [stderr] Downloaded serde v1.0.132 [INFO] [stderr] Downloaded num-format v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.78 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded bytemuck v1.7.3 [INFO] [stderr] Downloaded crossbeam-deque v0.8.1 [INFO] [stderr] Downloaded web-sys v0.3.55 [INFO] [stderr] Downloaded serde_derive v1.0.132 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] [stderr] Downloaded firestorm-enabled v0.3.1 [INFO] [stderr] Downloaded dashmap v4.0.2 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.78 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.78 [INFO] [stderr] Downloaded firestorm v0.3.1 [INFO] [stderr] Downloaded actix-router v0.4.0 [INFO] [stderr] Downloaded firestorm-core v0.1.1 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85355b5b32fe3c4c4710b87a3ff7e308598a8ece0639005a16a93c486bc14373 [INFO] running `Command { std: "docker" "start" "-a" "85355b5b32fe3c4c4710b87a3ff7e308598a8ece0639005a16a93c486bc14373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85355b5b32fe3c4c4710b87a3ff7e308598a8ece0639005a16a93c486bc14373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85355b5b32fe3c4c4710b87a3ff7e308598a8ece0639005a16a93c486bc14373", kill_on_drop: false }` [INFO] [stdout] 85355b5b32fe3c4c4710b87a3ff7e308598a8ece0639005a16a93c486bc14373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77d0098a1f88dea0ff02af4b5d930b99b2c798baedf7a52bb23ffeb2fa7c585d [INFO] running `Command { std: "docker" "start" "-a" "77d0098a1f88dea0ff02af4b5d930b99b2c798baedf7a52bb23ffeb2fa7c585d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling firestorm v0.4.6 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling squall-router v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_octets(&self, path: &str) -> Result>, String> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 80 | fn get_octets(&self, path: &str) -> Result>, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | fn get_params(&self, path: &str) -> Result<(Vec>, Vec), String> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn get_params(&self, path: &str) -> Result<(Vec>, Vec), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:266:28 [INFO] [stdout] | [INFO] [stdout] 263 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 264 | method: &str, [INFO] [stdout] 265 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 266 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 266 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 291 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 292 | method: &str, [INFO] [stdout] 293 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 294 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 294 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:310:28 [INFO] [stdout] | [INFO] [stdout] 307 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 308 | method: &str, [INFO] [stdout] 309 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 310 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 310 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:362:28 [INFO] [stdout] | [INFO] [stdout] 359 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 360 | method: &str, [INFO] [stdout] 361 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 362 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 362 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "77d0098a1f88dea0ff02af4b5d930b99b2c798baedf7a52bb23ffeb2fa7c585d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77d0098a1f88dea0ff02af4b5d930b99b2c798baedf7a52bb23ffeb2fa7c585d", kill_on_drop: false }` [INFO] [stdout] 77d0098a1f88dea0ff02af4b5d930b99b2c798baedf7a52bb23ffeb2fa7c585d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fc628166090aae572b441227436d3983fcffc843f4ced94909fbd1f7ae44374 [INFO] running `Command { std: "docker" "start" "-a" "5fc628166090aae572b441227436d3983fcffc843f4ced94909fbd1f7ae44374", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_octets(&self, path: &str) -> Result>, String> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 80 | fn get_octets(&self, path: &str) -> Result>, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | fn get_params(&self, path: &str) -> Result<(Vec>, Vec), String> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn get_params(&self, path: &str) -> Result<(Vec>, Vec), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:266:28 [INFO] [stdout] | [INFO] [stdout] 263 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 264 | method: &str, [INFO] [stdout] 265 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 266 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 266 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 291 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 292 | method: &str, [INFO] [stdout] 293 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 294 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 294 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:310:28 [INFO] [stdout] | [INFO] [stdout] 307 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 308 | method: &str, [INFO] [stdout] 309 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 310 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 310 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:362:28 [INFO] [stdout] | [INFO] [stdout] 359 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 360 | method: &str, [INFO] [stdout] 361 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 362 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 362 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling actix-router v0.4.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling squall-router v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> examples/flamegraph.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | std::array::IntoIter::new(arr) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | for route in register!(brackets) { [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/flamegraph.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | router.add_route(String::from("GET"), route.to_string(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 159 | let _ = router.add_route(String::from("GET"), route.to_string(), 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_octets(&self, path: &str) -> Result>, String> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 80 | fn get_octets(&self, path: &str) -> Result>, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/path.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | fn get_params(&self, path: &str) -> Result<(Vec>, Vec), String> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn get_params(&self, path: &str) -> Result<(Vec>, Vec), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:266:28 [INFO] [stdout] | [INFO] [stdout] 263 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 264 | method: &str, [INFO] [stdout] 265 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 266 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 266 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 291 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 292 | method: &str, [INFO] [stdout] 293 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 294 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 294 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:310:28 [INFO] [stdout] | [INFO] [stdout] 307 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 308 | method: &str, [INFO] [stdout] 309 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 310 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 310 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/router.rs:362:28 [INFO] [stdout] | [INFO] [stdout] 359 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 360 | method: &str, [INFO] [stdout] 361 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 362 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stdout] | ^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided 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] 362 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "5fc628166090aae572b441227436d3983fcffc843f4ced94909fbd1f7ae44374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc628166090aae572b441227436d3983fcffc843f4ced94909fbd1f7ae44374", kill_on_drop: false }` [INFO] [stdout] 5fc628166090aae572b441227436d3983fcffc843f4ced94909fbd1f7ae44374 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2c6e26c5054b566e7481a43904782dd785e0299543499e34faae6ddb477ba7a [INFO] running `Command { std: "docker" "start" "-a" "d2c6e26c5054b566e7481a43904782dd785e0299543499e34faae6ddb477ba7a", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/path.rs:80:19 [INFO] [stderr] | [INFO] [stderr] 80 | fn get_octets(&self, path: &str) -> Result>, String> { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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] 80 | fn get_octets(&self, path: &str) -> Result>, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/path.rs:120:19 [INFO] [stderr] | [INFO] [stderr] 120 | fn get_params(&self, path: &str) -> Result<(Vec>, Vec), String> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 120 | fn get_params(&self, path: &str) -> Result<(Vec>, Vec), String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/router.rs:266:28 [INFO] [stderr] | [INFO] [stderr] 263 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 264 | method: &str, [INFO] [stderr] 265 | path: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 266 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stderr] | ^^^^ -- the same lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is elided 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] 266 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/router.rs:294:28 [INFO] [stderr] | [INFO] [stderr] 291 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 292 | method: &str, [INFO] [stderr] 293 | path: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 294 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stderr] | ^^^^ -- the same lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is elided 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] 294 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/router.rs:310:28 [INFO] [stderr] | [INFO] [stderr] 307 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 308 | method: &str, [INFO] [stderr] 309 | path: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 310 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stderr] | ^^^^ -- the same lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is elided 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] 310 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/router.rs:362:28 [INFO] [stderr] | [INFO] [stderr] 359 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 360 | method: &str, [INFO] [stderr] 361 | path: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 362 | ) -> Option<(i32, Vec<(&str, &'a str)>)> { [INFO] [stderr] | ^^^^ -- the same lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is elided 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] 362 | ) -> Option<(i32, Vec<(&'a str, &'a str)>)> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `squall-router` (lib) generated 6 warnings (run `cargo fix --lib -p squall-router` to apply 6 suggestions) [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> examples/flamegraph.rs:144:31 [INFO] [stderr] | [INFO] [stderr] 144 | std::array::IntoIter::new(arr) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | for route in register!(brackets) { [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/flamegraph.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | router.add_route(String::from("GET"), route.to_string(), 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 159 | let _ = router.add_route(String::from("GET"), route.to_string(), 0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `squall-router` (example "flamegraph") generated 2 warnings [INFO] [stderr] warning: `squall-router` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/squall_router-9ba20cf6acae673d) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test path::tests::test_add_validator_error ... ok [INFO] [stdout] test path::tests::test_dynamic_path_parse_absent_validator ... ok [INFO] [stdout] test router::tests::test_wrong_validator ... ok [INFO] [stdout] test path::tests::test_dynamic_path_parse_without_validators ... ok [INFO] [stdout] test path::tests::test_set_ignore_trailing_slashes ... ok [INFO] [stdout] test path::tests::test_dynamic_path_parse_with_validators ... ok [INFO] [stdout] test router::tests::test_ignore_trailing_slashes_enabled ... ok [INFO] [stdout] test router::tests::test_ignore_trailing_slashes_disabled ... ok [INFO] [stdout] test router::tests::test_absent_validator ... ok [INFO] [stdout] test router::tests::test_resolve_no_validators ... ok [INFO] [stdout] test router::tests::test_resolve_with_validators ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests squall_router [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/router.rs - router::SquallRouter::set_ignore_trailing_slashes (line 82) ... ok [INFO] [stdout] test src/path.rs - path::PathParser::get_octets (line 76) ... ok [INFO] [stdout] test src/router.rs - router::SquallRouter::add_route (line 124) ... ok [INFO] [stdout] test src/router.rs - router::SquallRouter::add_location (line 206) ... ok [INFO] [stdout] test src/router.rs - router::SquallRouter::add_validator (line 102) ... ok [INFO] [stdout] test src/path.rs - path::PathParser::parse (line 181) ... ok [INFO] [stdout] test src/router.rs - router::SquallRouter::add_route (line 133) ... ok [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] test src/router.rs - router::SquallRouter::resolve (line 251) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.99s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2c6e26c5054b566e7481a43904782dd785e0299543499e34faae6ddb477ba7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2c6e26c5054b566e7481a43904782dd785e0299543499e34faae6ddb477ba7a", kill_on_drop: false }` [INFO] [stdout] d2c6e26c5054b566e7481a43904782dd785e0299543499e34faae6ddb477ba7a