[INFO] updating cached repository https://github.com/onelson/actix-web-staticfiles-result-type-repro [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] e39c06d00edd41ea517ee7c5fa6f8c4e4583c912 [INFO] checking onelson/actix-web-staticfiles-result-type-repro against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonelson%2Factix-web-staticfiles-result-type-repro" "/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/onelson/actix-web-staticfiles-result-type-repro on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/onelson/actix-web-staticfiles-result-type-repro [INFO] finished tweaking git repo https://github.com/onelson/actix-web-staticfiles-result-type-repro [INFO] tweaked toml for git repo https://github.com/onelson/actix-web-staticfiles-result-type-repro written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/onelson/actix-web-staticfiles-result-type-repro already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "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=allow" "-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" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 77e7cec2a85137ab82617953901ddddd5ddf0d42e57db3c1a11e7e0175b3a64a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "77e7cec2a85137ab82617953901ddddd5ddf0d42e57db3c1a11e7e0175b3a64a"` [INFO] [stderr] Compiling serde v1.0.64 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.4 [INFO] [stderr] Checking base64 v0.9.1 [INFO] [stderr] Checking bytes v0.4.8 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking backtrace-sys v0.1.23 [INFO] [stderr] Checking mio-uds v0.6.6 [INFO] [stderr] Checking brotli-sys v0.3.2 [INFO] [stderr] Checking miniz-sys v0.1.10 [INFO] [stderr] Checking tokio-threadpool v0.1.3 [INFO] [stderr] Checking backtrace v0.2.3 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Compiling actix_derive v0.2.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking resolv-conf v0.6.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Checking error-chain v0.1.12 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking http v0.1.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling syn v0.14.1 [INFO] [stderr] Checking crossbeam-channel v0.1.3 [INFO] [stderr] Checking regex v1.0.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Checking tokio-reactor v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.0 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio-udp v0.1.0 [INFO] [stderr] Checking tokio v0.1.6 [INFO] [stderr] Checking h2 v0.1.8 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Checking trust-dns-proto v0.3.3 [INFO] [stderr] Checking tokio-signal v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.64 [INFO] [stderr] Checking trust-dns-resolver v0.8.2 [INFO] [stderr] Checking cookie v0.10.1 [INFO] [stderr] Checking serde_json v1.0.19 [INFO] [stderr] Checking serde_urlencoded v0.5.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cargo_metadata v0.5.4 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Compiling actix v0.5.7 [INFO] [stderr] Checking actix-web v0.6.10 [INFO] [stderr] Checking result-type-repro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 9 | ) -> io::Result { [INFO] [stderr] | ------------------------ expected `std::result::Result` because of return type [INFO] [stderr] ... [INFO] [stderr] 26 | fs::NamedFile::open(path).respond_to(req) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::io::Error`, found struct `actix_web::Error` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<_, std::io::Error>` [INFO] [stderr] found type `std::result::Result<_, actix_web::Error>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 9 | ) -> io::Result { [INFO] [stderr] | ------------------------ expected `std::result::Result` because of return type [INFO] [stderr] ... [INFO] [stderr] 26 | fs::NamedFile::open(path).respond_to(req) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::io::Error`, found struct `actix_web::Error` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<_, std::io::Error>` [INFO] [stderr] found type `std::result::Result<_, actix_web::Error>` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `result-type-repro`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `result-type-repro`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "77e7cec2a85137ab82617953901ddddd5ddf0d42e57db3c1a11e7e0175b3a64a"` [INFO] running `"docker" "rm" "-f" "77e7cec2a85137ab82617953901ddddd5ddf0d42e57db3c1a11e7e0175b3a64a"` [INFO] [stdout] 77e7cec2a85137ab82617953901ddddd5ddf0d42e57db3c1a11e7e0175b3a64a