[INFO] fetching crate eternal 0.3.2... [INFO] checking eternal-0.3.2 against beta for pr-78714 [INFO] extracting crate eternal 0.3.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate eternal 0.3.2 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d3a6d81cfe7e442e693557f89650f689d69b6cfe1ed30cddb9cc8e132a4fe45 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7d3a6d81cfe7e442e693557f89650f689d69b6cfe1ed30cddb9cc8e132a4fe45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d3a6d81cfe7e442e693557f89650f689d69b6cfe1ed30cddb9cc8e132a4fe45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3a6d81cfe7e442e693557f89650f689d69b6cfe1ed30cddb9cc8e132a4fe45", kill_on_drop: false }` [INFO] [stdout] 7d3a6d81cfe7e442e693557f89650f689d69b6cfe1ed30cddb9cc8e132a4fe45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c9f2b638e0cab95cba0488fcd7642bb0fe2599ee04702dc211500bc050d7c56 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2c9f2b638e0cab95cba0488fcd7642bb0fe2599ee04702dc211500bc050d7c56", kill_on_drop: false }` [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling kayrx-macro v0.2.1 [INFO] [stderr] Compiling eternal-macro v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking kayrx v0.6.2 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking eternal v0.3.2 (/opt/rustwide/workdir) [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" [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] | ^^^^^^^ help: a similar path exists: `trust_dns_resolver::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] | ^^^^^^^^^^^^ help: a similar path exists: `serde::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] | ^^^^^^^^^^^^ help: a similar path exists: `serde::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] | ^^^^^^^^^^^^ help: a similar path exists: `serde::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] | ^^^^^^^^^^^^ help: a similar path exists: `serde::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] | ^^^^^^^^^^^^ help: a similar path exists: `serde::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] | ^^^^^^^^^^^^ help: a similar path exists: `serde::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] 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 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2c9f2b638e0cab95cba0488fcd7642bb0fe2599ee04702dc211500bc050d7c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c9f2b638e0cab95cba0488fcd7642bb0fe2599ee04702dc211500bc050d7c56", kill_on_drop: false }` [INFO] [stdout] 2c9f2b638e0cab95cba0488fcd7642bb0fe2599ee04702dc211500bc050d7c56