[INFO] fetching crate pen 0.1.0... [INFO] testing pen-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate pen 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate pen 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textnonce v0.6.5 [INFO] [stderr] Downloaded lazycell v0.5.1 [INFO] [stderr] Downloaded mime_multipart v0.5.2 [INFO] [stderr] Downloaded formdata v0.12.3 [INFO] [stderr] Downloaded buf-read-ext v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e639bad65dd8fccb01e3d60277c742c0956d020aab2b2a18f9281e85b8676bc [INFO] running `Command { std: "docker" "start" "-a" "6e639bad65dd8fccb01e3d60277c742c0956d020aab2b2a18f9281e85b8676bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e639bad65dd8fccb01e3d60277c742c0956d020aab2b2a18f9281e85b8676bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e639bad65dd8fccb01e3d60277c742c0956d020aab2b2a18f9281e85b8676bc", kill_on_drop: false }` [INFO] [stdout] 6e639bad65dd8fccb01e3d60277c742c0956d020aab2b2a18f9281e85b8676bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1e7d770f41a7c0de3122bb6aefc6f3957584d1cfaf279f5802ba7b70a6a9427 [INFO] running `Command { std: "docker" "start" "-a" "b1e7d770f41a7c0de3122bb6aefc6f3957584d1cfaf279f5802ba7b70a6a9427", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling lazycell v0.5.1 [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 unsafe-any v0.4.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling buf-read-ext v0.3.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_multipart v0.5.2 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling formdata v0.12.3 [INFO] [stderr] Compiling pen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `ptr_arg` [INFO] [stdout] --> src/datastructures.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | #[allow(ptr_arg)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [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>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - body: RefCell>>, [INFO] [stdout] 45 + body: RefCell>>, [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); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 - pub struct ResponseBody<'a>(Box); [INFO] [stdout] 228 + pub struct ResponseBody<'a>(Box); [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>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - pub body: Option>, [INFO] [stdout] 289 + pub body: Option>, [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 + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub type BeforeRequestFunc = Fn(&mut Request) -> Option + Send + Sync; [INFO] [stdout] 91 + pub type BeforeRequestFunc = dyn Fn(&mut Request) -> Option + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 75 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/wrappers.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | self.host_url() + self.full_path().trim_left_matches('/') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/routing.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | for (converter, variable) in parse_rule(rule.trim_right_matches('/')) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - PenHTTPError(ref err) => Some(&*err as &error::Error), [INFO] [stdout] 77 + PenHTTPError(ref err) => Some(&*err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.85s [INFO] running `Command { std: "docker" "inspect" "b1e7d770f41a7c0de3122bb6aefc6f3957584d1cfaf279f5802ba7b70a6a9427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1e7d770f41a7c0de3122bb6aefc6f3957584d1cfaf279f5802ba7b70a6a9427", kill_on_drop: false }` [INFO] [stdout] b1e7d770f41a7c0de3122bb6aefc6f3957584d1cfaf279f5802ba7b70a6a9427 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7c87182423099f2f1a7cdc0ff1a30ec3f97812ab4b906031479946edb732b5fb [INFO] running `Command { std: "docker" "start" "-a" "7c87182423099f2f1a7cdc0ff1a30ec3f97812ab4b906031479946edb732b5fb", kill_on_drop: false }` [INFO] [stdout] warning: unknown lint: `ptr_arg` [INFO] [stdout] --> src/datastructures.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | #[allow(ptr_arg)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [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>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - body: RefCell>>, [INFO] [stdout] 45 + body: RefCell>>, [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); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 - pub struct ResponseBody<'a>(Box); [INFO] [stdout] 228 + pub struct ResponseBody<'a>(Box); [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>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - pub body: Option>, [INFO] [stdout] 289 + pub body: Option>, [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 + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub type BeforeRequestFunc = Fn(&mut Request) -> Option + Send + Sync; [INFO] [stdout] 91 + pub type BeforeRequestFunc = dyn Fn(&mut Request) -> Option + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync; [INFO] [stdout] 94 + pub type TeardownRequestFunc = dyn Fn(Option<&PenError>) + Send + Sync; [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/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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 75 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/wrappers.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | self.host_url() + self.full_path().trim_left_matches('/') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/routing.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | for (converter, variable) in parse_rule(rule.trim_right_matches('/')) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - PenHTTPError(ref err) => Some(&*err as &error::Error), [INFO] [stdout] 77 + PenHTTPError(ref err) => Some(&*err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `ptr_arg` [INFO] [stdout] --> src/datastructures.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | #[allow(ptr_arg)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [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>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - body: RefCell>>, [INFO] [stdout] 45 + body: RefCell>>, [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); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 - pub struct ResponseBody<'a>(Box); [INFO] [stdout] 228 + pub struct ResponseBody<'a>(Box); [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>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - pub body: Option>, [INFO] [stdout] 289 + pub body: Option>, [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 + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - pub type BeforeRequestFunc = Fn(&mut Request) -> Option + Send + Sync; [INFO] [stdout] 91 + pub type BeforeRequestFunc = dyn Fn(&mut Request) -> Option + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 75 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/wrappers.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | self.host_url() + self.full_path().trim_left_matches('/') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/routing.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | for (converter, variable) in parse_rule(rule.trim_right_matches('/')) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_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] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - PenHTTPError(ref err) => Some(&*err as &error::Error), [INFO] [stdout] 77 + PenHTTPError(ref err) => Some(&*err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "7c87182423099f2f1a7cdc0ff1a30ec3f97812ab4b906031479946edb732b5fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c87182423099f2f1a7cdc0ff1a30ec3f97812ab4b906031479946edb732b5fb", kill_on_drop: false }` [INFO] [stdout] 7c87182423099f2f1a7cdc0ff1a30ec3f97812ab4b906031479946edb732b5fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5fce52f542c5e97f155f8fea1139f78ce277bf2d64d3b860693ef1d8b1b1ddb6 [INFO] running `Command { std: "docker" "start" "-a" "5fce52f542c5e97f155f8fea1139f78ce277bf2d64d3b860693ef1d8b1b1ddb6", kill_on_drop: false }` [INFO] [stderr] warning: unknown lint: `ptr_arg` [INFO] [stderr] --> src/datastructures.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | #[allow(ptr_arg)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wrappers.rs:45:56 [INFO] [stderr] | [INFO] [stderr] 45 | body: RefCell>>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - body: RefCell>>, [INFO] [stderr] 45 + body: RefCell>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wrappers.rs:228:33 [INFO] [stderr] | [INFO] [stderr] 228 | pub struct ResponseBody<'a>(Box); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 228 - pub struct ResponseBody<'a>(Box); [INFO] [stderr] 228 + pub struct ResponseBody<'a>(Box); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/wrappers.rs:289:26 [INFO] [stderr] | [INFO] [stderr] 289 | pub body: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 289 - pub body: Option>, [INFO] [stderr] 289 + pub body: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:91:30 [INFO] [stderr] | [INFO] [stderr] 91 | pub type BeforeRequestFunc = Fn(&mut Request) -> Option + Send + Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 91 - pub type BeforeRequestFunc = Fn(&mut Request) -> Option + Send + Sync; [INFO] [stderr] 91 + pub type BeforeRequestFunc = dyn Fn(&mut Request) -> Option + Send + Sync; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 92 - pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync; [INFO] [stderr] 92 + pub type AfterRequestFunc = dyn Fn(&Request, &mut Response) + Send + Sync; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:94:32 [INFO] [stderr] | [INFO] [stderr] 94 | pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 94 - pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync; [INFO] [stderr] 94 + pub type TeardownRequestFunc = dyn Fn(Option<&PenError>) + Send + Sync; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:88:29 [INFO] [stderr] | [INFO] [stderr] 88 | pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 88 - pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync; [INFO] [stderr] 88 + pub type HTTPErrorHandler = dyn Fn(HTTPError) -> PenResult + Send + Sync; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:89:29 [INFO] [stderr] | [INFO] [stderr] 89 | pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 - pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync; [INFO] [stderr] 89 + pub type UserErrorHandler = dyn Fn(UserError) -> PenResult + Send + Sync; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:75:32 [INFO] [stderr] | [INFO] [stderr] 75 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 75 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/wrappers.rs:208:44 [INFO] [stderr] | [INFO] [stderr] 208 | self.host_url() + self.full_path().trim_left_matches('/') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/wrappers.rs:212:39 [INFO] [stderr] | [INFO] [stderr] 212 | self.host_url() + self.path().trim_left_matches('/') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/routing.rs:106:54 [INFO] [stderr] | [INFO] [stderr] 106 | for (converter, variable) in parse_rule(rule.trim_right_matches('/')) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/routing.rs:272:39 [INFO] [stderr] | [INFO] [stderr] 272 | let redirect_path = self.path.trim_left_matches('/').to_owned() + "/"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/helpers.rs:74:93 [INFO] [stderr] | [INFO] [stderr] 74 | return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/helpers.rs:108:93 [INFO] [stderr] | [INFO] [stderr] 108 | return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/app.rs:218:79 [INFO] [stderr] | [INFO] [stderr] 218 | eprintln!("Error on {} [{}]: {}", request.path(), request.method(), e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/types.rs:61:54 [INFO] [stderr] | [INFO] [stderr] 61 | PenHTTPError(ref err) => f.write_str(err.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/types.rs:62:54 [INFO] [stderr] | [INFO] [stderr] 62 | PenUserError(ref err) => f.write_str(err.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/types.rs:70:42 [INFO] [stderr] | [INFO] [stderr] 70 | PenHTTPError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/types.rs:71:42 [INFO] [stderr] | [INFO] [stderr] 71 | PenUserError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:77:53 [INFO] [stderr] | [INFO] [stderr] 77 | PenHTTPError(ref err) => Some(&*err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 - PenHTTPError(ref err) => Some(&*err as &error::Error), [INFO] [stderr] 77 + PenHTTPError(ref err) => Some(&*err as &dyn error::Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pen` (lib) generated 22 warnings [INFO] [stderr] warning: `pen` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pen-e0fe1988e0e31be2) [INFO] [stdout] [INFO] [stderr] Doc-tests pen [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unknown lint: `ptr_arg` [INFO] [stderr] --> /opt/rustwide/workdir/src/datastructures.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | #[allow(ptr_arg)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5fce52f542c5e97f155f8fea1139f78ce277bf2d64d3b860693ef1d8b1b1ddb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fce52f542c5e97f155f8fea1139f78ce277bf2d64d3b860693ef1d8b1b1ddb6", kill_on_drop: false }` [INFO] [stdout] 5fce52f542c5e97f155f8fea1139f78ce277bf2d64d3b860693ef1d8b1b1ddb6