[INFO] updating cached repository https://github.com/zlepper/actix_web_mre [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bee25657e56bf56b94d576c90e30fd7d60662660 [INFO] checking zlepper/actix_web_mre against master#73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de for pr-68325 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlepper%2Factix_web_mre" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zlepper/actix_web_mre on toolchain 73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de [INFO] running `"/workspace/cargo-home/bin/cargo" "+73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/zlepper/actix_web_mre [INFO] finished tweaking git repo https://github.com/zlepper/actix_web_mre [INFO] tweaked toml for git repo https://github.com/zlepper/actix_web_mre written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/zlepper/actix_web_mre already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 39e4c9b3e8d960ce6eb70ab394bc8559fde1718e4f5db7b132b94ca9feb632bf [INFO] running `"docker" "start" "-a" "39e4c9b3e8d960ce6eb70ab394bc8559fde1718e4f5db7b132b94ca9feb632bf"` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking getrandom v0.1.13 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.22 [INFO] [stderr] Compiling actix-web-codegen v0.2.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking actix-threadpool v0.3.1 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking actix-service v1.0.1 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking actix-rt v1.0.0 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking actix-utils v1.0.4 [INFO] [stderr] Checking actix-server v1.0.1 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking actix-testing v1.0.0 [INFO] [stderr] Checking actix-connect v1.0.1 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Checking actix_problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `actix_web::web::Bytes` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::web::Bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::pin::Pin` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::pin::Pin; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Stream` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::error::PayloadError` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::error::PayloadError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | impl ::actix_web::FromRequest for Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because of the requirements on the impl of `core::future::future::Future` for `futures_util::future::try_future::map_ok::MapOk, actix_http::error::Error>>, (dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)>` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(std::boxed::Box<(dyn SessionRepository + 'static)>,)>` closure, found `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] --> src/main.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | impl ::actix_web::FromRequest for Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(std::boxed::Box<(dyn SessionRepository + 'static)>,)>` closure, found `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(std::boxed::Box<(dyn SessionRepository + 'static)>,)>` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] = note: required because of the requirements on the impl of `core::future::future::Future` for `futures_util::future::try_future::map_ok::MapOk, actix_http::error::Error>>, (dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | / type Future = ::futures::future::MapOk< [INFO] [stderr] 19 | | ::futures::future::Ready>, [INFO] [stderr] 20 | | FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>, [INFO] [stderr] 21 | | >; [INFO] [stderr] | |______^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `futures_util::future::try_future::map_ok::MapOk` [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::web::Bytes` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::web::Bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::pin::Pin` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::pin::Pin; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Stream` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::error::PayloadError` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::error::PayloadError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / fn from_request( [INFO] [stderr] 25 | | req: &::actix_web::HttpRequest, [INFO] [stderr] 26 | | payload: &mut actix_web::dev::Payload, [INFO] [stderr] 27 | | ) -> Self::Future { [INFO] [stderr] 28 | | RealSessionRepository::from_request(&req, payload).map_ok(|dep| Box::new(dep)) [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `futures_util::future::try_future::map_ok::MapOk` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `actix_problem`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the size for values of type `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | impl ::actix_web::FromRequest for Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because of the requirements on the impl of `core::future::future::Future` for `futures_util::future::try_future::map_ok::MapOk, actix_http::error::Error>>, (dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)>` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(std::boxed::Box<(dyn SessionRepository + 'static)>,)>` closure, found `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] --> src/main.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | impl ::actix_web::FromRequest for Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(std::boxed::Box<(dyn SessionRepository + 'static)>,)>` closure, found `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(std::boxed::Box<(dyn SessionRepository + 'static)>,)>` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] = note: required because of the requirements on the impl of `core::future::future::Future` for `futures_util::future::try_future::map_ok::MapOk, actix_http::error::Error>>, (dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | / type Future = ::futures::future::MapOk< [INFO] [stderr] 19 | | ::futures::future::Ready>, [INFO] [stderr] 20 | | FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>, [INFO] [stderr] 21 | | >; [INFO] [stderr] | |______^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `futures_util::future::try_future::map_ok::MapOk` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / fn from_request( [INFO] [stderr] 25 | | req: &::actix_web::HttpRequest, [INFO] [stderr] 26 | | payload: &mut actix_web::dev::Payload, [INFO] [stderr] 27 | | ) -> Self::Future { [INFO] [stderr] 28 | | RealSessionRepository::from_request(&req, payload).map_ok(|dep| Box::new(dep)) [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `futures_util::future::try_future::map_ok::MapOk` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `actix_problem`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "39e4c9b3e8d960ce6eb70ab394bc8559fde1718e4f5db7b132b94ca9feb632bf"` [INFO] running `"docker" "rm" "-f" "39e4c9b3e8d960ce6eb70ab394bc8559fde1718e4f5db7b132b94ca9feb632bf"` [INFO] [stdout] 39e4c9b3e8d960ce6eb70ab394bc8559fde1718e4f5db7b132b94ca9feb632bf