[INFO] fetching crate actix-files 0.6.0-beta.4... [INFO] checking actix-files-0.6.0-beta.4 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate actix-files 0.6.0-beta.4 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate actix-files 0.6.0-beta.4 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-files 0.6.0-beta.4 [INFO] finished tweaking crates.io crate actix-files 0.6.0-beta.4 [INFO] tweaked toml for crates.io crate actix-files 0.6.0-beta.4 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 13a6b8e7c4bfb357b97e89eca7c686b726401b8758630b37d0f0b7d3d1518140 [INFO] running `Command { std: "docker" "start" "-a" "13a6b8e7c4bfb357b97e89eca7c686b726401b8758630b37d0f0b7d3d1518140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a6b8e7c4bfb357b97e89eca7c686b726401b8758630b37d0f0b7d3d1518140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a6b8e7c4bfb357b97e89eca7c686b726401b8758630b37d0f0b7d3d1518140", kill_on_drop: false }` [INFO] [stdout] 13a6b8e7c4bfb357b97e89eca7c686b726401b8758630b37d0f0b7d3d1518140 [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e6584944293cec9ca24b02414ea3407d9d2ef7fa9576d109408de436ef4a6e7 [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" "7e6584944293cec9ca24b02414ea3407d9d2ef7fa9576d109408de436ef4a6e7", kill_on_drop: false }` [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking http-range v0.1.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Checking time v0.2.26 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking ahash v0.7.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking actix-service v2.0.0 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking actix-server v2.0.0-beta.5 [INFO] [stderr] Checking actix-codec v0.4.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking actix-http v3.0.0-beta.6 [INFO] [stderr] Checking actix-web v4.0.0-beta.6 [INFO] [stderr] Checking actix-files v0.6.0-beta.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `actix_web::middleware::Compress` [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | middleware::Compress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Compress` in `middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:147:7 [INFO] [stdout] | [INFO] [stdout] 147 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:159:7 [INFO] [stdout] | [INFO] [stdout] 159 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:183:7 [INFO] [stdout] | [INFO] [stdout] 183 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:234:7 [INFO] [stdout] | [INFO] [stdout] 234 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 259 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:282:7 [INFO] [stdout] | [INFO] [stdout] 282 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:311:7 [INFO] [stdout] | [INFO] [stdout] 311 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:334:7 [INFO] [stdout] | [INFO] [stdout] 334 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:360:7 [INFO] [stdout] | [INFO] [stdout] 360 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:389:7 [INFO] [stdout] | [INFO] [stdout] 389 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:414:7 [INFO] [stdout] | [INFO] [stdout] 414 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:439:7 [INFO] [stdout] | [INFO] [stdout] 439 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:478:7 [INFO] [stdout] | [INFO] [stdout] 478 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:494:7 [INFO] [stdout] | [INFO] [stdout] 494 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:511:7 [INFO] [stdout] | [INFO] [stdout] 511 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:532:7 [INFO] [stdout] | [INFO] [stdout] 532 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:548:7 [INFO] [stdout] | [INFO] [stdout] 548 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:568:7 [INFO] [stdout] | [INFO] [stdout] 568 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:595:7 [INFO] [stdout] | [INFO] [stdout] 595 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:603:7 [INFO] [stdout] | [INFO] [stdout] 603 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:633:7 [INFO] [stdout] | [INFO] [stdout] 633 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:663:7 [INFO] [stdout] | [INFO] [stdout] 663 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:673:7 [INFO] [stdout] | [INFO] [stdout] 673 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:690:7 [INFO] [stdout] | [INFO] [stdout] 690 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:712:7 [INFO] [stdout] | [INFO] [stdout] 712 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> src/lib.rs:746:7 [INFO] [stdout] | [INFO] [stdout] 746 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> src/lib.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> src/lib.rs:441:19 [INFO] [stdout] | [INFO] [stdout] 441 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> src/lib.rs:480:19 [INFO] [stdout] | [INFO] [stdout] 480 | let srv = actix_test::start(|| App::new().service(Files::new("/", "."))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `error_response` has an incompatible type for trait [INFO] [stdout] --> src/error.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | fn error_response(&self) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `BaseHttpResponse`, found struct `actix_web::HttpResponse` [INFO] [stdout] | help: change the output type to match the trait: `BaseHttpResponse` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&FilesError) -> BaseHttpResponse` [INFO] [stdout] found fn pointer `fn(&FilesError) -> actix_web::HttpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `error_response` has an incompatible type for trait [INFO] [stdout] --> src/error.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | fn error_response(&self) -> HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `BaseHttpResponse`, found struct `actix_web::HttpResponse` [INFO] [stdout] | help: change the output type to match the trait: `BaseHttpResponse` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&FilesError) -> BaseHttpResponse` [INFO] [stdout] found fn pointer `fn(&FilesError) -> actix_web::HttpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-files` [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] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e6584944293cec9ca24b02414ea3407d9d2ef7fa9576d109408de436ef4a6e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6584944293cec9ca24b02414ea3407d9d2ef7fa9576d109408de436ef4a6e7", kill_on_drop: false }` [INFO] [stdout] 7e6584944293cec9ca24b02414ea3407d9d2ef7fa9576d109408de436ef4a6e7