[INFO] updating cached repository https://github.com/zlepper/actix_web_mre [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bee25657e56bf56b94d576c90e30fd7d60662660 [INFO] testing zlepper/actix_web_mre against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlepper%2Factix_web_mre" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zlepper/actix_web_mre on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-14/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7150b6a637d77110ddddbcda287b39b48d7e485bb2a9c86155023cdc808abdfa [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" "7150b6a637d77110ddddbcda287b39b48d7e485bb2a9c86155023cdc808abdfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7150b6a637d77110ddddbcda287b39b48d7e485bb2a9c86155023cdc808abdfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7150b6a637d77110ddddbcda287b39b48d7e485bb2a9c86155023cdc808abdfa", kill_on_drop: false }` [INFO] [stdout] 7150b6a637d77110ddddbcda287b39b48d7e485bb2a9c86155023cdc808abdfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0334fa9f90eca60f1de2d2dd5a1bde6249ebee853ff8ec616d09bb02637c2f58 [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" "0334fa9f90eca60f1de2d2dd5a1bde6249ebee853ff8ec616d09bb02637c2f58", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling bytestring v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling 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 async-trait v0.1.22 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling actix-service v1.0.1 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.4 [INFO] [stderr] Compiling actix-server v1.0.1 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-connect v1.0.1 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix_problem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_web::web::Bytes` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Stream` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::error::PayloadError` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::error::PayloadError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ::actix_web::FromRequest for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `futures::future::MapOk, actix_web::Error>>, (dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ::actix_web::FromRequest for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(std::boxed::Box<(dyn SessionRepository + 'static)>,)>` closure, found `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stdout] | [INFO] [stdout] = 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] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `futures::future::MapOk, actix_web::Error>>, (dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / type Future = ::futures::future::MapOk< [INFO] [stdout] 19 | | ::futures::future::Ready>, [INFO] [stdout] 20 | | FnOnce(RealSessionRepository) -> Box<(dyn SessionRepository)>, [INFO] [stdout] 21 | | >; [INFO] [stdout] | |______^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.1/src/future/try_future/map_ok.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MapOk { [INFO] [stdout] | - required by this bound in `futures::future::MapOk` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Self::Future { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.1/src/future/try_future/map_ok.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MapOk { [INFO] [stdout] | - required by this bound in `futures::future::MapOk` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnOnce(RealSessionRepository) -> std::boxed::Box<(dyn SessionRepository + 'static)> + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix_problem`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0334fa9f90eca60f1de2d2dd5a1bde6249ebee853ff8ec616d09bb02637c2f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0334fa9f90eca60f1de2d2dd5a1bde6249ebee853ff8ec616d09bb02637c2f58", kill_on_drop: false }` [INFO] [stdout] 0334fa9f90eca60f1de2d2dd5a1bde6249ebee853ff8ec616d09bb02637c2f58