[INFO] fetching crate async_http_router 0.0.4... [INFO] checking async_http_router-0.0.4 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate async_http_router 0.0.4 into /workspace/builds/worker-111/source [INFO] validating manifest of crates.io crate async_http_router 0.0.4 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async_http_router 0.0.4 [INFO] finished tweaking crates.io crate async_http_router 0.0.4 [INFO] tweaked toml for crates.io crate async_http_router 0.0.4 written to /workspace/builds/worker-111/source/Cargo.toml [INFO] crate crates.io crate async_http_router 0.0.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-111/source/tests/test.rs [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35599e73db56a108a5a944ef3d3c039941f769140faa401aea3c1f5b00cefdaa [INFO] running `Command { std: "docker" "start" "-a" "35599e73db56a108a5a944ef3d3c039941f769140faa401aea3c1f5b00cefdaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35599e73db56a108a5a944ef3d3c039941f769140faa401aea3c1f5b00cefdaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35599e73db56a108a5a944ef3d3c039941f769140faa401aea3c1f5b00cefdaa", kill_on_drop: false }` [INFO] [stdout] 35599e73db56a108a5a944ef3d3c039941f769140faa401aea3c1f5b00cefdaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc1c963e1f055c3c0ad4aa3be88728a4737e916b623d3a2338cce620a0bd5f94 [INFO] running `Command { std: "docker" "start" "-a" "dc1c963e1f055c3c0ad4aa3be88728a4737e916b623d3a2338cce620a0bd5f94", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.21: winapi [INFO] [stderr] [INFO] [stderr] warning: file found to be present in multiple build targets: /tmp/fixit/tests/test.rs [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures v0.1.24 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling cc v1.0.24 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling serde v1.0.78 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tokio-executor v0.1.4 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-current-thread v0.1.1 [INFO] [stderr] Checking tokio-timer v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Checking tokio-io v0.1.8 [INFO] [stderr] Checking http v0.1.12 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking tokio-threadpool v0.1.6 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling syn v0.15.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking tokio-reactor v0.1.5 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking tokio-uds v0.2.1 [INFO] [stderr] Checking tokio v0.1.8 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Checking serde_json v1.0.27 [INFO] [stderr] Compiling serde_derive v1.0.78 [INFO] [stderr] Checking hyper v0.12.9 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Checking hyper-tls v0.3.0 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking mylogger v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking async_http_router v0.0.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/router.rs (5 fixes) [INFO] [stderr] Fixed src/class_view.rs (7 fixes) [INFO] [stderr] Fixed src/class_view.rs (1 fix) [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ ...because method `post` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `post` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ ...because method `get` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `get` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ ...because method `default` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `default` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ ...because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `dispatch` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ ...because method `post` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `post` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ ...because method `get` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `get` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ ...because method `default` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `default` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ ...because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `dispatch` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/view.rs from 2018 edition to 2021 [INFO] [stderr] Fixed tests/view.rs (10 fixes) [INFO] [stderr] Fixed tests/test.rs (16 fixes) [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ the trait cannot be made into an object because method `post` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ the trait cannot be made into an object because method `get` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `default` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ the trait cannot be made into an object because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MyResult` [INFO] [stdout] --> tests/test.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type MyResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNIT_AK` [INFO] [stdout] --> tests/test.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | const UNIT_AK: &str = "sss"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNIT_SK` [INFO] [stdout] --> tests/test.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | const UNIT_SK: &str = "sss"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/test.rs (1 fix) [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ the trait cannot be made into an object because method `post` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ the trait cannot be made into an object because method `get` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `default` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ the trait cannot be made into an object because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MyResult` [INFO] [stdout] --> tests/test.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type MyResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ the trait cannot be made into an object because method `post` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ the trait cannot be made into an object because method `get` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `default` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ the trait cannot be made into an object because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MyResult` [INFO] [stdout] --> tests/test.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type MyResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.92s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] warning: file found to be present in multiple build targets: /tmp/fixit/tests/test.rs [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking mylogger v0.2.0 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking async_http_router v0.0.4 (/tmp/fixit) [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ ...because method `post` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `post` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ ...because method `get` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `get` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ ...because method `default` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `default` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ ...because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `dispatch` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ ...because method `post` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `post` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ ...because method `get` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `get` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ ...because method `default` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `default` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait HttpWays { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ ...because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] = help: consider moving `dispatch` to another trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ the trait cannot be made into an object because method `post` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ the trait cannot be made into an object because method `post` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ the trait cannot be made into an object because method `get` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(where_clauses_object_safety)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | async fn post(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^ the trait cannot be made into an object because method `post` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ the trait cannot be made into an object because method `get` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `default` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ the trait cannot be made into an object because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `default` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | async fn get(&self, _req: Request, _re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^ the trait cannot be made into an object because method `get` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | async fn default(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ the trait cannot be made into an object because method `default` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ the trait cannot be made into an object because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the trait `HttpWays` cannot be made into an object [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #51443 [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /tmp/fixit/src/class_view.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | async fn dispatch(&self, req: Request, re_url_matched: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ the trait cannot be made into an object because method `dispatch` references the `Self` type in its `where` clause [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MyResult` [INFO] [stdout] --> tests/test.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type MyResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MyResult` [INFO] [stdout] --> tests/test.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type MyResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `MyResult` [INFO] [stdout] --> tests/test.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | type MyResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNIT_AK` [INFO] [stdout] --> tests/test.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | const UNIT_AK: &str = "sss"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNIT_SK` [INFO] [stdout] --> tests/test.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | const UNIT_SK: &str = "sss"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.76s [INFO] running `Command { std: "docker" "inspect" "dc1c963e1f055c3c0ad4aa3be88728a4737e916b623d3a2338cce620a0bd5f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1c963e1f055c3c0ad4aa3be88728a4737e916b623d3a2338cce620a0bd5f94", kill_on_drop: false }` [INFO] [stdout] dc1c963e1f055c3c0ad4aa3be88728a4737e916b623d3a2338cce620a0bd5f94