[INFO] fetching crate eternal 0.3.2... [INFO] checking eternal-0.3.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate eternal 0.3.2 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate eternal 0.3.2 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 eternal 0.3.2 [INFO] finished tweaking crates.io crate eternal 0.3.2 [INFO] tweaked toml for crates.io crate eternal 0.3.2 written to /workspace/builds/worker-31/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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] 7a2a5c52ac8618f78d63d862cdb0ee56cd29a3fdf0a4db87700e591fedf46649 [INFO] running `Command { std: "docker" "start" "-a" "7a2a5c52ac8618f78d63d862cdb0ee56cd29a3fdf0a4db87700e591fedf46649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a2a5c52ac8618f78d63d862cdb0ee56cd29a3fdf0a4db87700e591fedf46649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2a5c52ac8618f78d63d862cdb0ee56cd29a3fdf0a4db87700e591fedf46649", kill_on_drop: false }` [INFO] [stdout] 7a2a5c52ac8618f78d63d862cdb0ee56cd29a3fdf0a4db87700e591fedf46649 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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] ace2d683be7f0f91364638529be41546c8758f5146c80656a6bb03d1ab8bd4c5 [INFO] running `Command { std: "docker" "start" "-a" "ace2d683be7f0f91364638529be41546c8758f5146c80656a6bb03d1ab8bd4c5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking backtrace v0.3.61 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling kayrx-macro v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling eternal-macro v0.2.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking kayrx v0.6.2 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking serde v1.0.128 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking eternal v0.3.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0583]: file not found for module `test` [INFO] [stdout] --> src/http/h2/hpack/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `test`, create file "src/http/h2/hpack/test.rs" or "src/http/h2/hpack/test/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/util/mpsc.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | use futures::future::lazy; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/util/oneshot.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use futures::future::lazy; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/util/timeout.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | use futures::future::{ok, FutureExt, LocalBoxFuture}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/app.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/middleware/defaultheaders.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/middleware/errhandlers.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/middleware/logger.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/resource.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/scope.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/types/readlines.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/util/mpsc.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | use futures::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/router/de.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/extract.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/route.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | use serde_derive::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/types/json.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/types/path.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/types/query.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/web/types/query.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | #[derive(Deserialize, Debug, Display)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/web/types/path.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/web/types/path.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Deserialize, Debug, Display)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/web/types/json.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/web/types/json.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/web/route.rs:353:14 [INFO] [stdout] | [INFO] [stdout] 353 | #[derive(Serialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/web/extract.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | #[derive(Deserialize, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/router/de.rs:514:21 [INFO] [stdout] | [INFO] [stdout] 514 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/router/de.rs:507:21 [INFO] [stdout] | [INFO] [stdout] 507 | #[derive(Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/router/de.rs:508:7 [INFO] [stdout] | [INFO] [stdout] 508 | #[serde(rename_all = "lowercase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/router/de.rs:501:21 [INFO] [stdout] | [INFO] [stdout] 501 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/router/de.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/router/de.rs:493:14 [INFO] [stdout] | [INFO] [stdout] 493 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/router/de.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/util/mpsc.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | lazy(|cx| Pin::new(&mut rx).poll_next(cx)).await, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 183 | use crate::http::h1::dispatcher::tests::lazy; [INFO] [stdout] | [INFO] [stdout] 183 | use futures_util::future::lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/util/mpsc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | lazy(|cx| Pin::new(&mut rx).poll_next(cx)).await, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 183 | use crate::http::h1::dispatcher::tests::lazy; [INFO] [stdout] | [INFO] [stdout] 183 | use futures_util::future::lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/util/oneshot.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(lazy(|cx| Pin::new(&mut rx).poll(cx)).await, Poll::Pending); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 109 | use crate::http::h1::dispatcher::tests::lazy; [INFO] [stdout] | [INFO] [stdout] 109 | use futures_util::future::lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/util/oneshot.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(lazy(|cx| Pin::new(&mut rx).poll(cx)).await, Poll::Pending); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 109 | use crate::http::h1::dispatcher::tests::lazy; [INFO] [stdout] | [INFO] [stdout] 109 | use futures_util::future::lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalBoxFuture` in this scope [INFO] [stdout] --> src/util/timeout.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | type Future = LocalBoxFuture<'static, Result<(), ()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 181 | use crate::web::scope::LocalBoxFuture; [INFO] [stdout] | [INFO] [stdout] 181 | use futures_core::future::LocalBoxFuture; [INFO] [stdout] | [INFO] [stdout] 181 | use futures_util::future::LocalBoxFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/web/app.rs:507:29 [INFO] [stdout] | [INFO] [stdout] 507 | ... ok(r.into_response(HttpResponse::Created())) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 507 | Ok(r.into_response(HttpResponse::Created())) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 476 | use crate::web::types::query::ok; [INFO] [stdout] | [INFO] [stdout] 476 | use futures_util::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/web/app.rs:512:21 [INFO] [stdout] | [INFO] [stdout] 512 | ok(r.into_response(HttpResponse::MethodNotAllowed())) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 512 | Ok(r.into_response(HttpResponse::MethodNotAllowed())) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 476 | use crate::web::types::query::ok; [INFO] [stdout] | [INFO] [stdout] 476 | use futures_util::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/web/app.rs:535:53 [INFO] [stdout] | [INFO] [stdout] 535 | init_service(App::new().data_factory(|| ok::<_, ()>(10usize)).service( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 535 | init_service(App::new().data_factory(|| Ok::<_, ()>(10usize)).service( [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 476 | use crate::web::types::query::ok; [INFO] [stdout] | [INFO] [stdout] 476 | use futures_util::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/web/app.rs:544:53 [INFO] [stdout] | [INFO] [stdout] 544 | init_service(App::new().data_factory(|| ok::<_, ()>(10u32)).service( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 544 | init_service(App::new().data_factory(|| Ok::<_, ()>(10u32)).service( [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 476 | use crate::web::types::query::ok; [INFO] [stdout] | [INFO] [stdout] 476 | use futures_util::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/web/resource.rs:688:21 [INFO] [stdout] | [INFO] [stdout] 688 | ok(r.into_response(HttpResponse::BadRequest())) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 688 | Ok(r.into_response(HttpResponse::BadRequest())) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 582 | use crate::web::resource::ok; [INFO] [stdout] | [INFO] [stdout] 582 | use futures_util::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/web/resource.rs:707:25 [INFO] [stdout] | [INFO] [stdout] 707 | ok(r.into_response(HttpResponse::BadRequest())) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 707 | Ok(r.into_response(HttpResponse::BadRequest())) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 582 | use crate::web::resource::ok; [INFO] [stdout] | [INFO] [stdout] 582 | use futures_util::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/web/scope.rs:1004:25 [INFO] [stdout] | [INFO] [stdout] 1004 | ok(r.into_response(HttpResponse::BadRequest())) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1004 | Ok(r.into_response(HttpResponse::BadRequest())) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 664 | use crate::web::scope::ok; [INFO] [stdout] | [INFO] [stdout] 664 | use futures_util::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> src/web/scope.rs:1028:21 [INFO] [stdout] | [INFO] [stdout] 1028 | ok(r.into_response(HttpResponse::MethodNotAllowed())) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1028 | Ok(r.into_response(HttpResponse::MethodNotAllowed())) [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 664 | use crate::web::scope::ok; [INFO] [stdout] | [INFO] [stdout] 664 | use futures_util::future::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/threadpool.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | type Thunk<'a> = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `assert_valid_state`: [INFO] [stdout] --> src/http/h2/hpack/table.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 526 | / fn assert_valid_state(&self, _: &'static str) -> bool { [INFO] [stdout] 527 | | true [INFO] [stdout] 528 | | } [INFO] [stdout] | |_____- previous definition of `assert_valid_state` here [INFO] [stdout] ... [INFO] [stdout] 531 | / fn assert_valid_state(&self, _msg: &'static str) -> bool { [INFO] [stdout] 532 | | /* [INFO] [stdout] 533 | | // Checks that the internal map structure is valid [INFO] [stdout] 534 | | // [INFO] [stdout] ... | [INFO] [stdout] 619 | | true [INFO] [stdout] 620 | | } [INFO] [stdout] | |_____^ duplicate definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0201, E0412, E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0201`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eternal` due to 47 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `eternal` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/client/builder.rs [INFO] [stderr] * src/http/header/common/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `IntoHeaderValue` [INFO] [stderr] --> src/client/builder.rs:107:30 [INFO] [stderr] | [INFO] [stderr] 107 | Ok(key) => match IntoHeaderValue::try_into(value) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::test::IntoHeaderValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `IntoHeaderValue` [INFO] [stderr] --> src/http/header/common/mod.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | IntoHeaderValue::try_into(self.0) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] ::: src/http/header/common/content_type.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / header! { [INFO] [stderr] 5 | | /// `Content-Type` header, defined in [INFO] [stderr] 6 | | /// [RFC7231](http://tools.ietf.org/html/rfc7231#section-3.1.1.5) [INFO] [stderr] 7 | | /// [INFO] [stderr] ... | [INFO] [stderr] 66 | | } [INFO] [stderr] 67 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::test::IntoHeaderValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `IntoHeaderValue` [INFO] [stderr] --> src/http/header/common/mod.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | IntoHeaderValue::try_into(self.0) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] ::: src/http/header/common/date.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / header! { [INFO] [stderr] 5 | | /// `Date` header, defined in [RFC7231](http://tools.ietf.org/html/rfc7231#section-7.1.1.2) [INFO] [stderr] 6 | | /// [INFO] [stderr] 7 | | /// The `Date` header field represents the date and time at which the [INFO] [stderr] ... | [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::test::IntoHeaderValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `IntoHeaderValue` [INFO] [stderr] --> src/http/header/common/mod.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | IntoHeaderValue::try_into(self.0) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] ::: src/http/header/common/etag.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / header! { [INFO] [stderr] 4 | | /// `ETag` header, defined in [RFC7232](http://tools.ietf.org/html/rfc7232#section-2.3) [INFO] [stderr] 5 | | /// [INFO] [stderr] 6 | | /// The `ETag` header field in a response provides the current entity-tag [INFO] [stderr] ... | [INFO] [stderr] 95 | | } [INFO] [stderr] 96 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::test::IntoHeaderValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `IntoHeaderValue` [INFO] [stderr] --> src/http/header/common/mod.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | IntoHeaderValue::try_into(self.0) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] ::: src/http/header/common/expires.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / header! { [INFO] [stderr] 4 | | /// `Expires` header, defined in [RFC7234](http://tools.ietf.org/html/rfc7234#section-5.3) [INFO] [stderr] 5 | | /// [INFO] [stderr] 6 | | /// The `Expires` header field gives the date/time after which the [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::test::IntoHeaderValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `IntoHeaderValue` [INFO] [stderr] --> src/http/header/common/mod.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | IntoHeaderValue::try_into(self.0) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] ::: src/http/header/common/if_modified_since.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / header! { [INFO] [stderr] 4 | | /// `If-Modified-Since` header, defined in [INFO] [stderr] 5 | | /// [RFC7232](http://tools.ietf.org/html/rfc7232#section-3.3) [INFO] [stderr] 6 | | /// [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::test::IntoHeaderValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `IntoHeaderValue` [INFO] [stderr] --> src/http/header/common/mod.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | IntoHeaderValue::try_into(self.0) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] ::: src/http/header/common/if_unmodified_since.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / header! { [INFO] [stderr] 4 | | /// `If-Unmodified-Since` header, defined in [INFO] [stderr] 5 | | /// [RFC7232](http://tools.ietf.org/html/rfc7232#section-3.4) [INFO] [stderr] 6 | | /// [INFO] [stderr] ... | [INFO] [stderr] 39 | | } [INFO] [stderr] 40 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::test::IntoHeaderValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `IntoHeaderValue` [INFO] [stderr] --> src/http/header/common/mod.rs:242:17 [INFO] [stderr] | [INFO] [stderr] 242 | IntoHeaderValue::try_into(self.0) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] ::: src/http/header/common/last_modified.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / header! { [INFO] [stderr] 4 | | /// `Last-Modified` header, defined in [INFO] [stderr] 5 | | /// [RFC7232](http://tools.ietf.org/html/rfc7232#section-2.2) [INFO] [stderr] 6 | | /// [INFO] [stderr] ... | [INFO] [stderr] 37 | | test_header!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]);} [INFO] [stderr] 38 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::test::IntoHeaderValue; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util/threadpool.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | type Thunk<'a> = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/client/h1proto.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | match wrt.get_mut().split().freeze().try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(wrt.get_mut().split().freeze())` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/builder.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/frozen.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/request.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | match hdr.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(hdr)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/request.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/request.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/request.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/sender.rs:299:27 [INFO] [stdout] | [INFO] [stdout] 299 | match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/sender.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/test.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | if let Ok(value) = hdr.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(hdr)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/test.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(value) = value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/ws.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/ws.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/client/ws.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/header/common/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | self.0.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(self.0)` [INFO] [stdout] | [INFO] [stdout] ::: src/http/header/common/content_range.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / header! { [INFO] [stdout] 10 | | /// `Content-Range` header, defined in [INFO] [stdout] 11 | | /// [RFC7233](http://tools.ietf.org/html/rfc7233#section-4.2) [INFO] [stdout] 12 | | (ContentRange, CONTENT_RANGE) => [ContentRangeSpec] [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/header/common/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | self.0.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(self.0)` [INFO] [stdout] | [INFO] [stdout] ::: src/http/header/common/content_type.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / header! { [INFO] [stdout] 5 | | /// `Content-Type` header, defined in [INFO] [stdout] 6 | | /// [RFC7231](http://tools.ietf.org/html/rfc7231#section-3.1.1.5) [INFO] [stdout] 7 | | /// [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/header/common/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | self.0.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(self.0)` [INFO] [stdout] | [INFO] [stdout] ::: src/http/header/common/date.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / header! { [INFO] [stdout] 5 | | /// `Date` header, defined in [RFC7231](http://tools.ietf.org/html/rfc7231#section-7.1.1.2) [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// The `Date` header field represents the date and time at which the [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/header/common/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | self.0.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(self.0)` [INFO] [stdout] | [INFO] [stdout] ::: src/http/header/common/etag.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / header! { [INFO] [stdout] 4 | | /// `ETag` header, defined in [RFC7232](http://tools.ietf.org/html/rfc7232#section-2.3) [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// The `ETag` header field in a response provides the current entity-tag [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/header/common/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | self.0.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(self.0)` [INFO] [stdout] | [INFO] [stdout] ::: src/http/header/common/expires.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / header! { [INFO] [stdout] 4 | | /// `Expires` header, defined in [RFC7234](http://tools.ietf.org/html/rfc7234#section-5.3) [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// The `Expires` header field gives the date/time after which the [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/header/common/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | self.0.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(self.0)` [INFO] [stdout] | [INFO] [stdout] ::: src/http/header/common/if_modified_since.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / header! { [INFO] [stdout] 4 | | /// `If-Modified-Since` header, defined in [INFO] [stdout] 5 | | /// [RFC7232](http://tools.ietf.org/html/rfc7232#section-3.3) [INFO] [stdout] 6 | | /// [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/header/common/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | self.0.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(self.0)` [INFO] [stdout] | [INFO] [stdout] ::: src/http/header/common/if_unmodified_since.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / header! { [INFO] [stdout] 4 | | /// `If-Unmodified-Since` header, defined in [INFO] [stdout] 5 | | /// [RFC7232](http://tools.ietf.org/html/rfc7232#section-3.4) [INFO] [stdout] 6 | | /// [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/header/common/mod.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | self.0.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(self.0)` [INFO] [stdout] | [INFO] [stdout] ::: src/http/header/common/last_modified.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / header! { [INFO] [stdout] 4 | | /// `Last-Modified` header, defined in [INFO] [stdout] 5 | | /// [RFC7232](http://tools.ietf.org/html/rfc7232#section-2.2) [INFO] [stdout] 6 | | /// [INFO] [stdout] ... | [INFO] [stdout] 37 | | test_header!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]);} [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/response.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | match hdr.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(hdr)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/response.rs:391:34 [INFO] [stdout] | [INFO] [stdout] 391 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/response.rs:423:34 [INFO] [stdout] | [INFO] [stdout] 423 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http/error.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | ResponseError::downcast_ref(self.cause.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/test.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | if let Ok(value) = hdr.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(hdr)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/http/test.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | if let Ok(value) = value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/web/responder.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(key) => match value.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `IntoHeaderValue::try_into(value)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ace2d683be7f0f91364638529be41546c8758f5146c80656a6bb03d1ab8bd4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace2d683be7f0f91364638529be41546c8758f5146c80656a6bb03d1ab8bd4c5", kill_on_drop: false }` [INFO] [stdout] ace2d683be7f0f91364638529be41546c8758f5146c80656a6bb03d1ab8bd4c5