[INFO] fetching crate pen 0.1.0...
[INFO] building pen-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate pen 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate pen 0.1.0
[INFO] finished tweaking crates.io crate pen 0.1.0
[INFO] tweaked toml for crates.io crate pen 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate pen 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 114 packages to latest compatible versions
[INFO] [stderr]       Adding formdata v0.12.3 (available: v0.13.0)
[INFO] [stderr]       Adding hyper v0.10.16 (available: v1.7.0)
[INFO] [stderr]       Adding lazycell v0.5.1 (available: v1.3.0)
[INFO] [stderr]       Adding mime_guess v1.8.8 (available: v2.0.5)
[INFO] [stderr]       Adding regex v0.2.11 (available: v1.11.3)
[INFO] [stderr]       Adding url v1.7.2 (available: v2.5.7)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ucd-util v0.1.10
[INFO] [stderr]   Downloaded utf8-ranges v1.0.5
[INFO] [stderr]   Downloaded lazycell v0.5.1
[INFO] [stderr]   Downloaded encoding_index_tests v0.1.4
[INFO] [stderr]   Downloaded buf-read-ext v0.3.0
[INFO] [stderr]   Downloaded formdata v0.12.3
[INFO] [stderr]   Downloaded language-tags v0.2.2
[INFO] [stderr]   Downloaded mime_guess v1.8.8
[INFO] [stderr]   Downloaded encoding-index-japanese v1.20141219.5
[INFO] [stderr]   Downloaded encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]   Downloaded encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]   Downloaded encoding-index-korean v1.20141219.5
[INFO] [stderr]   Downloaded encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]   Downloaded encoding v0.2.33
[INFO] [stderr]   Downloaded mime_multipart v0.5.2
[INFO] [stderr]   Downloaded hyper v0.10.16
[INFO] [stderr]   Downloaded textnonce v0.6.5
[INFO] [stderr]   Downloaded unsafe-any v0.4.2
[INFO] [stderr]   Downloaded typemap v0.3.3
[INFO] [stderr]   Downloaded typeable v0.1.2
[INFO] [stderr]   Downloaded mime v0.2.6
[INFO] [stderr]   Downloaded traitobject v0.1.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2a4569358caca814c56ef65cd03ce3fad095abf7107f698f4b0e6fb488b57ed
[INFO] running `Command { std: "docker" "start" "-a" "c2a4569358caca814c56ef65cd03ce3fad095abf7107f698f4b0e6fb488b57ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2a4569358caca814c56ef65cd03ce3fad095abf7107f698f4b0e6fb488b57ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2a4569358caca814c56ef65cd03ce3fad095abf7107f698f4b0e6fb488b57ed", kill_on_drop: false }`
[INFO] [stdout] c2a4569358caca814c56ef65cd03ce3fad095abf7107f698f4b0e6fb488b57ed
[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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b58b1dab56fdf0e1be1d07554abbe7a3692823928651401a669d36d78788445e
[INFO] running `Command { std: "docker" "start" "-a" "b58b1dab56fdf0e1be1d07554abbe7a3692823928651401a669d36d78788445e", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling traitobject v0.1.1
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling ucd-util v0.1.10
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling lazycell v0.5.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling buf-read-ext v0.3.0
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling textnonce v0.6.5
[INFO] [stderr]    Compiling mime_multipart v0.5.2
[INFO] [stderr]    Compiling formdata v0.12.3
[INFO] [stderr]    Compiling pen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wrappers.rs:45:56
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut NetworkStream>>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut dyn NetworkStream>>>,
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:228:33
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<Write + 'a>);
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<dyn Write + 'a>);
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:289:26
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<BodyWrite>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<dyn BodyWrite>>,
[INFO] [stdout]     |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:91:30
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = dyn Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:92:29
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = dyn Fn(&Request, &mut Response) + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:94:32
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = dyn Fn(Option<&PenError>) + Send + Sync;
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = dyn Fn(HTTPError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:89:29
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = dyn Fn(UserError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&error::Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&dyn error::Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:208:44
[INFO] [stdout]     |
[INFO] [stdout] 208 |         self.host_url() + self.full_path().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] 208 -         self.host_url() + self.full_path().trim_left_matches('/')
[INFO] [stdout] 208 +         self.host_url() + self.full_path().trim_start_matches('/')
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:212:39
[INFO] [stdout]     |
[INFO] [stdout] 212 |         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 212 -         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout] 212 +         self.host_url() + self.path().trim_start_matches('/')
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/routing.rs:106:54
[INFO] [stdout]     |
[INFO] [stdout] 106 |         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 106 -         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout] 106 +         for (converter, variable) in parse_rule(rule.trim_end_matches('/')) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/routing.rs:272:39
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 272 -         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout] 272 +         let redirect_path = self.path.trim_start_matches('/').to_owned() + "/";
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/helpers.rs:74:93
[INFO] [stdout]    |
[INFO] [stdout] 74 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into());
[INFO] [stdout]    |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/helpers.rs:108:93
[INFO] [stdout]     |
[INFO] [stdout] 108 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()),
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/app.rs:218:79
[INFO] [stdout]     |
[INFO] [stdout] 218 |         eprintln!("Error on {} [{}]: {}", request.path(), request.method(), e.description());
[INFO] [stdout]     |                                                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             PenHTTPError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 62 |             PenUserError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |             PenHTTPError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 |             PenUserError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:77:53
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &error::Error),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &dyn error::Error),
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn iter(&self) -> MultiDictIter<T> {
[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] 69 |     pub fn iter(&self) -> MultiDictIter<'_, T> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn listiter(&self) -> hash_map::Iter<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn listiter(&self) -> hash_map::Iter<'_, String, Vec<T>> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn keys(&self) -> hash_map::Keys<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn keys(&self) -> hash_map::Keys<'_, String, Vec<T>> {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:82:19
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn values(&self) -> MultiDictValues<T> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn values(&self) -> MultiDictValues<'_, T> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:88:23
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn listvalues(&self) -> hash_map::Values<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn listvalues(&self) -> hash_map::Values<'_, String, Vec<T>> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wrappers.rs:88:24
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn url_adapter(&self) -> MapAdapter {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn url_adapter(&self) -> MapAdapter<'_> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/routing.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn bind(&self, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter {
[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] 242 |     pub fn bind(&self, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter<'_> {
[INFO] [stdout]     |                                                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/routing.rs:260:21
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn new(map: &Map, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter {
[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] 260 |     pub fn new(map: &Map, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter<'_> {
[INFO] [stdout]     |                                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.84s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "b58b1dab56fdf0e1be1d07554abbe7a3692823928651401a669d36d78788445e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b58b1dab56fdf0e1be1d07554abbe7a3692823928651401a669d36d78788445e", kill_on_drop: false }`
[INFO] [stdout] b58b1dab56fdf0e1be1d07554abbe7a3692823928651401a669d36d78788445e
[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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93c2fb8c7f0a26af9d6e529ff23a71e17765550c9702edd45e083f28036f4a41
[INFO] running `Command { std: "docker" "start" "-a" "93c2fb8c7f0a26af9d6e529ff23a71e17765550c9702edd45e083f28036f4a41", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wrappers.rs:45:56
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut NetworkStream>>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut dyn NetworkStream>>>,
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:228:33
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<Write + 'a>);
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<dyn Write + 'a>);
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:289:26
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<BodyWrite>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<dyn BodyWrite>>,
[INFO] [stdout]     |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:91:30
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = dyn Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:92:29
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = dyn Fn(&Request, &mut Response) + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:94:32
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = dyn Fn(Option<&PenError>) + Send + Sync;
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = dyn Fn(HTTPError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:89:29
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = dyn Fn(UserError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&error::Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&dyn error::Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:208:44
[INFO] [stdout]     |
[INFO] [stdout] 208 |         self.host_url() + self.full_path().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] 208 -         self.host_url() + self.full_path().trim_left_matches('/')
[INFO] [stdout] 208 +         self.host_url() + self.full_path().trim_start_matches('/')
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:212:39
[INFO] [stdout]     |
[INFO] [stdout] 212 |         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 212 -         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout] 212 +         self.host_url() + self.path().trim_start_matches('/')
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/routing.rs:106:54
[INFO] [stdout]     |
[INFO] [stdout] 106 |         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 106 -         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout] 106 +         for (converter, variable) in parse_rule(rule.trim_end_matches('/')) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/routing.rs:272:39
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 272 -         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout] 272 +         let redirect_path = self.path.trim_start_matches('/').to_owned() + "/";
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/helpers.rs:74:93
[INFO] [stdout]    |
[INFO] [stdout] 74 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into());
[INFO] [stdout]    |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/helpers.rs:108:93
[INFO] [stdout]     |
[INFO] [stdout] 108 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()),
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/app.rs:218:79
[INFO] [stdout]     |
[INFO] [stdout] 218 |         eprintln!("Error on {} [{}]: {}", request.path(), request.method(), e.description());
[INFO] [stdout]     |                                                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             PenHTTPError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 62 |             PenUserError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |             PenHTTPError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 |             PenUserError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:77:53
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &error::Error),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &dyn error::Error),
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn iter(&self) -> MultiDictIter<T> {
[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] 69 |     pub fn iter(&self) -> MultiDictIter<'_, T> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn listiter(&self) -> hash_map::Iter<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn listiter(&self) -> hash_map::Iter<'_, String, Vec<T>> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn keys(&self) -> hash_map::Keys<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn keys(&self) -> hash_map::Keys<'_, String, Vec<T>> {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:82:19
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn values(&self) -> MultiDictValues<T> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn values(&self) -> MultiDictValues<'_, T> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:88:23
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn listvalues(&self) -> hash_map::Values<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn listvalues(&self) -> hash_map::Values<'_, String, Vec<T>> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wrappers.rs:88:24
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn url_adapter(&self) -> MapAdapter {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn url_adapter(&self) -> MapAdapter<'_> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/routing.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn bind(&self, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter {
[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] 242 |     pub fn bind(&self, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter<'_> {
[INFO] [stdout]     |                                                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/routing.rs:260:21
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn new(map: &Map, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter {
[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] 260 |     pub fn new(map: &Map, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter<'_> {
[INFO] [stdout]     |                                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wrappers.rs:45:56
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut NetworkStream>>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut dyn NetworkStream>>>,
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:228:33
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<Write + 'a>);
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<dyn Write + 'a>);
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:289:26
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<BodyWrite>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<dyn BodyWrite>>,
[INFO] [stdout]     |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:91:30
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = dyn Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:92:29
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = dyn Fn(&Request, &mut Response) + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:94:32
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = dyn Fn(Option<&PenError>) + Send + Sync;
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = dyn Fn(HTTPError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:89:29
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = dyn Fn(UserError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&error::Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&dyn error::Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:208:44
[INFO] [stdout]     |
[INFO] [stdout] 208 |         self.host_url() + self.full_path().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] 208 -         self.host_url() + self.full_path().trim_left_matches('/')
[INFO] [stdout] 208 +         self.host_url() + self.full_path().trim_start_matches('/')
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:212:39
[INFO] [stdout]     |
[INFO] [stdout] 212 |         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 212 -         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout] 212 +         self.host_url() + self.path().trim_start_matches('/')
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/routing.rs:106:54
[INFO] [stdout]     |
[INFO] [stdout] 106 |         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 106 -         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout] 106 +         for (converter, variable) in parse_rule(rule.trim_end_matches('/')) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/routing.rs:272:39
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 272 -         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout] 272 +         let redirect_path = self.path.trim_start_matches('/').to_owned() + "/";
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/helpers.rs:74:93
[INFO] [stdout]    |
[INFO] [stdout] 74 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into());
[INFO] [stdout]    |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/helpers.rs:108:93
[INFO] [stdout]     |
[INFO] [stdout] 108 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()),
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/app.rs:218:79
[INFO] [stdout]     |
[INFO] [stdout] 218 |         eprintln!("Error on {} [{}]: {}", request.path(), request.method(), e.description());
[INFO] [stdout]     |                                                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             PenHTTPError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 62 |             PenUserError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |             PenHTTPError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 |             PenUserError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:77:53
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &error::Error),
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &dyn error::Error),
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn iter(&self) -> MultiDictIter<T> {
[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] 69 |     pub fn iter(&self) -> MultiDictIter<'_, T> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn listiter(&self) -> hash_map::Iter<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn listiter(&self) -> hash_map::Iter<'_, String, Vec<T>> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn keys(&self) -> hash_map::Keys<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn keys(&self) -> hash_map::Keys<'_, String, Vec<T>> {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:82:19
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn values(&self) -> MultiDictValues<T> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn values(&self) -> MultiDictValues<'_, T> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/datastructures.rs:88:23
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn listvalues(&self) -> hash_map::Values<String, Vec<T>> {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn listvalues(&self) -> hash_map::Values<'_, String, Vec<T>> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wrappers.rs:88:24
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn url_adapter(&self) -> MapAdapter {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn url_adapter(&self) -> MapAdapter<'_> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/routing.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn bind(&self, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter {
[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] 242 |     pub fn bind(&self, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter<'_> {
[INFO] [stdout]     |                                                                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/routing.rs:260:21
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn new(map: &Map, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter {
[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] 260 |     pub fn new(map: &Map, host: String, path: String, query_string: Option<String>, method: Method) -> MapAdapter<'_> {
[INFO] [stdout]     |                                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "93c2fb8c7f0a26af9d6e529ff23a71e17765550c9702edd45e083f28036f4a41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93c2fb8c7f0a26af9d6e529ff23a71e17765550c9702edd45e083f28036f4a41", kill_on_drop: false }`
[INFO] [stdout] 93c2fb8c7f0a26af9d6e529ff23a71e17765550c9702edd45e083f28036f4a41
