[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 try#a243773eaf3fedcd203f10ae4579e4f106bf7ccd for pr-68325 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlepper%2Factix_web_mre" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zlepper/actix_web_mre on toolchain a243773eaf3fedcd203f10ae4579e4f106bf7ccd [INFO] running `"/workspace/cargo-home/bin/cargo" "+a243773eaf3fedcd203f10ae4579e4f106bf7ccd" "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-6/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" "+a243773eaf3fedcd203f10ae4579e4f106bf7ccd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a243773eaf3fedcd203f10ae4579e4f106bf7ccd" "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] 4d3bb1d1dea96a368595fc9c3f36520256525488d45f1000ef36317865ac4208 [INFO] running `"docker" "start" "-a" "4d3bb1d1dea96a368595fc9c3f36520256525488d45f1000ef36317865ac4208"` [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking actix-threadpool v0.3.1 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-rt v1.0.0 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking h2 v0.2.1 [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 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] 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]: 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]: 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: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[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: could not compile `actix_problem`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "4d3bb1d1dea96a368595fc9c3f36520256525488d45f1000ef36317865ac4208"` [INFO] running `"docker" "rm" "-f" "4d3bb1d1dea96a368595fc9c3f36520256525488d45f1000ef36317865ac4208"` [INFO] [stdout] 4d3bb1d1dea96a368595fc9c3f36520256525488d45f1000ef36317865ac4208