[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] documenting zlepper/actix_web_mre against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlepper%2Factix_web_mre" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zlepper/actix_web_mre on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "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-11/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c41a0089c55d8b72c3b7979f0b32aa3b78303756790353c2035fc2734303dadf [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" "c41a0089c55d8b72c3b7979f0b32aa3b78303756790353c2035fc2734303dadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c41a0089c55d8b72c3b7979f0b32aa3b78303756790353c2035fc2734303dadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c41a0089c55d8b72c3b7979f0b32aa3b78303756790353c2035fc2734303dadf", kill_on_drop: false }` [INFO] [stdout] c41a0089c55d8b72c3b7979f0b32aa3b78303756790353c2035fc2734303dadf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "RUSTDOCFLAGS=--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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 627a22c47a20d1b9227b6beb2269f7aee604fad416895f55d187e4a6743489a1 [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" "627a22c47a20d1b9227b6beb2269f7aee604fad416895f55d187e4a6743489a1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking bytestring v0.1.2 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking socket2 v0.3.11 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking brotli2 v0.3.2 [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] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking failure v0.1.6 [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 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 actix-testing v1.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking actix-connect v1.0.1 [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-http v1.0.1 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Documenting actix_problem v0.1.0 (/opt/rustwide/workdir) [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: to learn more, visit [INFO] [stdout] = 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] [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 `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] [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_util::future::try_future::map_ok::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] = note: to learn more, visit [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_util::future::try_future::map_ok::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] = note: to learn more, visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: Could not document `actix_problem`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name actix_problem src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-7ed0de6cf7383147.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-2e730d315f6fae82.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "627a22c47a20d1b9227b6beb2269f7aee604fad416895f55d187e4a6743489a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "627a22c47a20d1b9227b6beb2269f7aee604fad416895f55d187e4a6743489a1", kill_on_drop: false }` [INFO] [stdout] 627a22c47a20d1b9227b6beb2269f7aee604fad416895f55d187e4a6743489a1