[INFO] updating cached repository https://github.com/onelson/actix-web-staticfiles-result-type-repro [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/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 master#c9edc02e8320a9e5799d185910ece7d491f524e6 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonelson%2Factix-web-staticfiles-result-type-repro" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/onelson/actix-web-staticfiles-result-type-repro on toolchain c9edc02e8320a9e5799d185910ece7d491f524e6-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "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 work/builds/worker-2/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 `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b6c6f2454a5b05ed6d2e32da735bc76e83ea18d14c34a5a6bfa1b4e1d0265b8d [INFO] running `"docker" "start" "-a" "b6c6f2454a5b05ed6d2e32da735bc76e83ea18d14c34a5a6bfa1b4e1d0265b8d"` [INFO] [stderr] Compiling libc v0.2.41 [INFO] [stderr] Compiling serde v1.0.64 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking backtrace-sys v0.1.23 [INFO] [stderr] Checking http v0.1.5 [INFO] [stderr] Checking brotli-sys v0.3.2 [INFO] [stderr] Checking miniz-sys v0.1.10 [INFO] [stderr] Checking resolv-conf v0.6.1 [INFO] [stderr] Checking tokio-threadpool v0.1.3 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Checking backtrace v0.2.3 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.6 [INFO] [stderr] Checking error-chain v0.1.12 [INFO] [stderr] Checking crossbeam-channel v0.1.3 [INFO] [stderr] Checking tokio-fs v0.1.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio-udp v0.1.0 [INFO] [stderr] Checking h2 v0.1.8 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling actix_derive v0.2.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Checking tokio v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking trust-dns-proto v0.3.3 [INFO] [stderr] Checking tokio-signal v0.1.5 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.19 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking serde_urlencoded v0.5.2 [INFO] [stderr] Checking trust-dns-resolver v0.8.2 [INFO] [stderr] Compiling cargo_metadata v0.5.4 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Checking cookie v0.10.1 [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" "b6c6f2454a5b05ed6d2e32da735bc76e83ea18d14c34a5a6bfa1b4e1d0265b8d"` [INFO] running `"docker" "rm" "-f" "b6c6f2454a5b05ed6d2e32da735bc76e83ea18d14c34a5a6bfa1b4e1d0265b8d"` [INFO] [stdout] b6c6f2454a5b05ed6d2e32da735bc76e83ea18d14c34a5a6bfa1b4e1d0265b8d