[INFO] fetching crate rustless 0.10.0... [INFO] checking rustless-0.10.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate rustless 0.10.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rustless 0.10.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustless 0.10.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustless 0.10.0 [INFO] tweaked toml for crates.io crate rustless 0.10.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-0/source/tests/serializers.rs [INFO] [stderr] * /workspace/builds/worker-0/source/tests/redirect.rs [INFO] [stderr] * /workspace/builds/worker-0/source/tests/params.rs [INFO] [stderr] * /workspace/builds/worker-0/source/tests/callbacks.rs [INFO] [stderr] * /workspace/builds/worker-0/source/tests/namespace.rs [INFO] [stderr] * /workspace/builds/worker-0/source/tests/versioning.rs [INFO] [stderr] * /workspace/builds/worker-0/source/tests/prefix.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded persistent v0.2.1 [INFO] [stderr] Downloaded uuid v0.3.1 [INFO] [stderr] Downloaded valico v1.0.1 [INFO] [stderr] Downloaded jsonway v1.0.1 [INFO] [stderr] Downloaded traitobject v0.0.3 [INFO] [stderr] Downloaded bodyparser v0.4.1 [INFO] [stderr] Downloaded queryst v1.0.1 [INFO] [stderr] Downloaded cookie v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83cdd37a4d23514c2b9377f22ef72bbc85c679bb657ece8d2d81b8122c698c49 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "83cdd37a4d23514c2b9377f22ef72bbc85c679bb657ece8d2d81b8122c698c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83cdd37a4d23514c2b9377f22ef72bbc85c679bb657ece8d2d81b8122c698c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83cdd37a4d23514c2b9377f22ef72bbc85c679bb657ece8d2d81b8122c698c49", kill_on_drop: false }` [INFO] [stdout] 83cdd37a4d23514c2b9377f22ef72bbc85c679bb657ece8d2d81b8122c698c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--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] 947f0ca7080152a0abe825211338675ac86e51d99794d8c6a4c8bcb759c92154 [INFO] running `Command { std: "docker" "start" "-a" "947f0ca7080152a0abe825211338675ac86e51d99794d8c6a4c8bcb759c92154", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/serializers.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/redirect.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/params.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/callbacks.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/namespace.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/versioning.rs [INFO] [stderr] * /opt/rustwide/workdir/tests/prefix.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking dtoa v0.2.2 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking traitobject v0.0.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking traitobject v0.0.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling valico v1.0.1 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking uuid v0.3.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_json v0.8.6 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Checking jsonway v1.0.1 [INFO] [stderr] Checking cookie v0.2.5 [INFO] [stderr] Checking queryst v1.0.1 [INFO] [stderr] Checking cookie v0.3.1 [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Checking iron v0.4.0 [INFO] [stderr] Checking persistent v0.2.1 [INFO] [stderr] Checking bodyparser v0.4.1 [INFO] [stderr] Checking rustless v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | self.body = Box::new(try!(File::open(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(writeln!(f, "SimpleRequest ->")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(writeln!(f, " url: {}", self.url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | try!(writeln!(f, " method: {}", self.method())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | try!(writeln!(f, " path: {:?}", self.url.path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(writeln!(f, " query: {:?}", self.url.query())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(writeln!(f, " remote_addr: {}", self.remote_addr())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(Endpoint::call_callbacks(parent.get_before(), &mut client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(Endpoint::call_callbacks(parent.get_before_validation(), &mut client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.validate(params, info.app.ext.get::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(Endpoint::call_callbacks(parent.get_after_validation(), &mut client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | let mut client = try!((handler.unwrap())(client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | try!(Endpoint::call_callbacks(parent.get_after(), &mut client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(cb(client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/namespace.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | try!(self.validate(params, info.app.ext.get::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let maybe_body = try!(req.read_to_end().map_err(|err| error_response_boxed!(err))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let maybe_body = try!(req.read_to_end().map_err(|err| error_response_boxed!(err))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | try!(parse_query(&req.url().query().as_ref().unwrap(), params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | try!(parse_json_body(req, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | try!(parse_urlencoded_body(req, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | try!(build_schemes(&mut api.handlers, scope)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | try!(coercer.build_schemes(scope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | try!(build_schemes(&mut namespace.handlers, scope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | try!(coercer.build_schemes(scope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | try!(build_schemes(&mut app.root_api.handlers, &mut scope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub error: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub error: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Body for Box { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Read + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn url(&self) -> &AsUrl; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn AsUrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | fn body(&self) -> &Body; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn body_mut(&mut self) -> &mut Body; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_to_end(&mut self) -> Result, Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub body: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Read + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | fn url(&self) -> &AsUrl { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn AsUrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn body(&self) -> &request::Body { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn request::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | fn body_mut(&mut self) -> &mut request::Body { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn request::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | fn read_to_end(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | .map_err(|err| Box::new(err) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/response.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub body: Option>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn WriteBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/response.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from(status: status::StatusCode, body: Box) -> Response { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn WriteBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/response.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn replace_body(&mut self, body: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn WriteBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn url(&self) -> &backend::AsUrl { &self.url } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::AsUrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | fn body(&self) -> &request::Body { &self.body } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn request::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | fn body_mut(&mut self) -> &mut request::Body { &mut self.body } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn request::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | fn read_to_end(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:52:74 [INFO] [stdout] | [INFO] [stdout] 52 | self.get::().map_err(|err| Box::new(err) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/nesting.rs:129:95 [INFO] [stdout] | [INFO] [stdout] 129 | fn call_handlers<'a, 'r>(&'a self, rest_path: &str, params: &mut JsonValue, req: &'r mut (backend::Request + 'r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/nesting.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api_handler.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | fn api_call<'a, 'b>(&'a self, &str, &mut JsonValue, &'b mut (backend::Request + 'b), &mut CallInfo<'a>) -> backend::HandleResult src/framework/api_handler.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl ApiHandler { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ApiHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api_handler.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub type ApiHandlers = Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ApiHandler + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | where F: Fn(&errors::Error, &media::Media) -> Option + Send+Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | fn handle_error(&self, err: &errors::Error, media: &media::Media) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | fn extract_media(&self, req: &backend::Request) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | req: &'r mut (backend::Request + 'r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | _ => return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | ... return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | None => return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | None => return Err(error_response!(errors::NotAcceptable)) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/endpoint.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | ...er = Box Fn(framework::Client<'a>, &JsonValue) -> backend::HandleResult> + 'static + Sync>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> Fn(framework::Client<'a>, &JsonValue) -> backend::HandleResult> + 'static + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/endpoint.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub type EndpointBuilder = FnOnce(&mut Endpoint) -> EndpointHandlerPresent + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce(&mut Endpoint) -> EndpointHandlerPresent + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/endpoint.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | Err(error_response!(errors::Validation{ reason: state.errors })) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/endpoint.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | req: &'a mut (backend::Request + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/endpoint.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | req: &'r mut (backend::Request + 'r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/endpoint.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/endpoint.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | None => Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/namespace.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | Err(error_response!(errors::Validation{ reason: state.errors })) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/namespace.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | req: &'r mut (backend::Request + 'r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/namespace.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | None => return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/client.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub request: &'a mut (backend::Request + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/client.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | request: &'a mut (backend::Request + 'r), media: &'a media::Media) -> Client<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/client.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | Err(error_response!(error)) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/client.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | return Err(error_response!(errors::File(err))); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/client.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | return Err(error_response!(errors::File(err))); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | fn call_internal<'a>(&self, req: &'a mut (backend::Request + 'a)) -> backend::HandleResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn call<'a>(&self, req: &'a mut (backend::Request + 'a)) -> backend::HandleResultStrict { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let response = if (&*error as &errors::Error).is::() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | } else if (&*error as &errors::Error).is::() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/app.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | return Err(error_response!(errors::QueryString)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn parse_json_body(req: &mut backend::Request, params: &mut JsonValue) -> backend::HandleSuccessResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/app.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | Err(e) => return Err(error_response!(errors::Body::new(format!("Invalid JSON: {}", e)))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | fn parse_urlencoded_body(req: &mut backend::Request, params: &mut JsonValue) -> backend::HandleSuccessResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/app.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | Err(_) => return Err(error_response!(errors::Body::new(format!("Invalid encoded data")))) [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_request(req: &mut backend::Request, params: &mut JsonValue) -> backend::HandleSuccessResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/mod.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | pub parents: Vec<&'a (nesting::Node + 'static)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn nesting::Node + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/mod.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub type Callback = Box Fn(&'a mut client::Client, &JsonValue) -> backend::HandleSuccessResult + 'static + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> Fn(&'a mut client::Client, &JsonValue) -> backend::HandleSuccessResult + 'static + Sync + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/mod.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ErrorFormatter = Box Option + 'static + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&errors::Error, &media::Media) -> Option + 'static + Sync + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/mod.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ErrorFormatter = Box Option + 'static + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/batteries/cookie.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'r> CookieExt for (backend::Request + 'r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/batteries/cookie.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let maybe_jar = (req as &mut backend::Request).find_cookie_jar(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/batteries/swagger.rs:433:39 [INFO] [stdout] | [INFO] [stdout] 433 | let handler = &**handler_ as &framework::ApiHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn framework::ApiHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/batteries/schemes.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | let mut handler = &mut **handler_ as &mut framework::ApiHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn framework::ApiHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | self.body = Box::new(try!(File::open(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(writeln!(f, "SimpleRequest ->")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(writeln!(f, " url: {}", self.url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | try!(writeln!(f, " method: {}", self.method())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/framework/media.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref MEDIA_REGEX: regex::Regex = regex::Regex::new(r"vnd\.(?P[a-zA-Z_-]+)(?:\.(?P[a-zA-Z0-9]+)(?:\.(?P[... [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/framework/path.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | pub static ref MATCHER: regex::Regex = regex::Regex::new(r":([a-z][a-z_]*)").unwrap(); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/batteries/swagger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | try!(writeln!(f, " path: {:?}", self.url.path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(writeln!(f, " query: {:?}", self.url.query())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend/simple_request.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(writeln!(f, " remote_addr: {}", self.remote_addr())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(Endpoint::call_callbacks(parent.get_before(), &mut client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(Endpoint::call_callbacks(parent.get_before_validation(), &mut client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.validate(params, info.app.ext.get::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(Endpoint::call_callbacks(parent.get_after_validation(), &mut client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | let mut client = try!((handler.unwrap())(client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | try!(Endpoint::call_callbacks(parent.get_after(), &mut client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/endpoint.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(cb(client, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/namespace.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | try!(self.validate(params, info.app.ext.get::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let maybe_body = try!(req.read_to_end().map_err(|err| error_response_boxed!(err))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let maybe_body = try!(req.read_to_end().map_err(|err| error_response_boxed!(err))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | try!(parse_query(&req.url().query().as_ref().unwrap(), params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | try!(parse_json_body(req, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/framework/app.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | try!(parse_urlencoded_body(req, params)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | try!(build_schemes(&mut api.handlers, scope)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | try!(coercer.build_schemes(scope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | try!(build_schemes(&mut namespace.handlers, scope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | try!(coercer.build_schemes(scope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/batteries/schemes.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | try!(build_schemes(&mut app.root_api.handlers, &mut scope)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub error: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub error: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Body for Box { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Read + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn url(&self) -> &AsUrl; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn AsUrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | fn body(&self) -> &Body; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn body_mut(&mut self) -> &mut Body; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/request.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_to_end(&mut self) -> Result, Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub body: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Read + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | fn url(&self) -> &AsUrl { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn AsUrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | fn body(&self) -> &request::Body { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn request::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | fn body_mut(&mut self) -> &mut request::Body { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn request::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | fn read_to_end(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/simple_request.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | .map_err(|err| Box::new(err) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/response.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub body: Option>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn WriteBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/response.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from(status: status::StatusCode, body: Box) -> Response { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn WriteBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/response.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn replace_body(&mut self, body: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn WriteBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn url(&self) -> &backend::AsUrl { &self.url } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::AsUrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | fn body(&self) -> &request::Body { &self.body } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn request::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | fn body_mut(&mut self) -> &mut request::Body { &mut self.body } [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn request::Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | fn read_to_end(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/iron.rs:52:74 [INFO] [stdout] | [INFO] [stdout] 52 | self.get::().map_err(|err| Box::new(err) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/nesting.rs:129:95 [INFO] [stdout] | [INFO] [stdout] 129 | fn call_handlers<'a, 'r>(&'a self, rest_path: &str, params: &mut JsonValue, req: &'r mut (backend::Request + 'r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/nesting.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api_handler.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | fn api_call<'a, 'b>(&'a self, &str, &mut JsonValue, &'b mut (backend::Request + 'b), &mut CallInfo<'a>) -> backend::HandleResult src/framework/api_handler.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl ApiHandler { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ApiHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api_handler.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub type ApiHandlers = Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ApiHandler + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | where F: Fn(&errors::Error, &media::Media) -> Option + Send+Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | fn handle_error(&self, err: &errors::Error, media: &media::Media) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | fn extract_media(&self, req: &backend::Request) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/api.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | req: &'r mut (backend::Request + 'r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | _ => return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | ... return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | None => return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/api.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | None => return Err(error_response!(errors::NotAcceptable)) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/endpoint.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | ...er = Box Fn(framework::Client<'a>, &JsonValue) -> backend::HandleResult> + 'static + Sync>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> Fn(framework::Client<'a>, &JsonValue) -> backend::HandleResult> + 'static + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/endpoint.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | pub type EndpointBuilder = FnOnce(&mut Endpoint) -> EndpointHandlerPresent + 'static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce(&mut Endpoint) -> EndpointHandlerPresent + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/endpoint.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | Err(error_response!(errors::Validation{ reason: state.errors })) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/endpoint.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | req: &'a mut (backend::Request + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/endpoint.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | req: &'r mut (backend::Request + 'r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/endpoint.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/endpoint.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | None => Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/namespace.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | Err(error_response!(errors::Validation{ reason: state.errors })) [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/namespace.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | req: &'r mut (backend::Request + 'r), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/namespace.rs:86:32 [INFO] [stdout] | [INFO] [stdout] 86 | None => return Err(error_response!(errors::NotMatch)) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/client.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub request: &'a mut (backend::Request + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/client.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | request: &'a mut (backend::Request + 'r), media: &'a media::Media) -> Client<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/client.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | Err(error_response!(error)) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/client.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | return Err(error_response!(errors::File(err))); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/client.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | return Err(error_response!(errors::File(err))); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | fn call_internal<'a>(&self, req: &'a mut (backend::Request + 'a)) -> backend::HandleResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn call<'a>(&self, req: &'a mut (backend::Request + 'a)) -> backend::HandleResultStrict { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let response = if (&*error as &errors::Error).is::() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | } else if (&*error as &errors::Error).is::() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/app.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | return Err(error_response!(errors::QueryString)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn parse_json_body(req: &mut backend::Request, params: &mut JsonValue) -> backend::HandleSuccessResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/app.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | Err(e) => return Err(error_response!(errors::Body::new(format!("Invalid JSON: {}", e)))) [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | fn parse_urlencoded_body(req: &mut backend::Request, params: &mut JsonValue) -> backend::HandleSuccessResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | error: Box::new($error) as Box<$crate::errors::Error + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn $crate::errors::Error + Send` [INFO] [stdout] | [INFO] [stdout] ::: src/framework/app.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | Err(_) => return Err(error_response!(errors::Body::new(format!("Invalid encoded data")))) [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/app.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_request(req: &mut backend::Request, params: &mut JsonValue) -> backend::HandleSuccessResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/mod.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | pub parents: Vec<&'a (nesting::Node + 'static)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn nesting::Node + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/mod.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub type Callback = Box Fn(&'a mut client::Client, &JsonValue) -> backend::HandleSuccessResult + 'static + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> Fn(&'a mut client::Client, &JsonValue) -> backend::HandleSuccessResult + 'static + Sync + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/mod.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ErrorFormatter = Box Option + 'static + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&errors::Error, &media::Media) -> Option + 'static + Sync + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework/mod.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ErrorFormatter = Box Option + 'static + Sync + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn errors::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/batteries/cookie.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'r> CookieExt for (backend::Request + 'r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request + 'r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/batteries/cookie.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let maybe_jar = (req as &mut backend::Request).find_cookie_jar(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backend::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/batteries/swagger.rs:433:39 [INFO] [stdout] | [INFO] [stdout] 433 | let handler = &**handler_ as &framework::ApiHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn framework::ApiHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/batteries/schemes.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | let mut handler = &mut **handler_ as &mut framework::ApiHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn framework::ApiHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/framework/media.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref MEDIA_REGEX: regex::Regex = regex::Regex::new(r"vnd\.(?P[a-zA-Z_-]+)(?:\.(?P[a-zA-Z0-9]+)(?:\.(?P[... [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/framework/path.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | pub static ref MATCHER: regex::Regex = regex::Regex::new(r":([a-z][a-z_]*)").unwrap(); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/batteries/swagger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | impl_basic_err!(NotMatch, "NotMatch"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | impl_basic_err!(NotFound, "NotFound"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl_basic_err!(QueryString, "QueryString"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl_basic_err!(Validation, "Validation"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | impl_basic_err!(Body, "Body"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl_basic_err!(File, "File"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | impl_basic_err!(NotAcceptable, "NotAcceptable"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | impl_basic_err!(NotMatch, "NotMatch"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | impl_basic_err!(NotFound, "NotFound"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | impl_basic_err!(QueryString, "QueryString"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl_basic_err!(Validation, "Validation"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | impl_basic_err!(Body, "Body"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | impl_basic_err!(File, "File"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/errors.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | impl_basic_err!(NotAcceptable, "NotAcceptable"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/batteries/swagger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/batteries/swagger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/batteries/schemes.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut handler = &mut **handler_ as &mut framework::ApiHandler; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 106 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/simple.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/simple.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | error: Box::new(UnauthorizedError) as Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] --> examples/simple.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/batteries/schemes.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut handler = &mut **handler_ as &mut framework::ApiHandler; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/tests.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/callbacks.rs:54:63 [INFO] [stdout] | [INFO] [stdout] 54 | error: Box::new(UnauthorizedError) as Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 106 warnings emitted [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] --> tests/callbacks.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | self.description().fmt(formatter) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.97s [INFO] running `Command { std: "docker" "inspect" "947f0ca7080152a0abe825211338675ac86e51d99794d8c6a4c8bcb759c92154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947f0ca7080152a0abe825211338675ac86e51d99794d8c6a4c8bcb759c92154", kill_on_drop: false }` [INFO] [stdout] 947f0ca7080152a0abe825211338675ac86e51d99794d8c6a4c8bcb759c92154