[INFO] updating cached repository https://github.com/sidrashakeel19/hello-actix [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] d3aef9863256be2373bd352e37aee7f3932adfc9 [INFO] testing sidrashakeel19/hello-actix against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidrashakeel19%2Fhello-actix" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sidrashakeel19/hello-actix on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/sidrashakeel19/hello-actix [INFO] finished tweaking git repo https://github.com/sidrashakeel19/hello-actix [INFO] tweaked toml for git repo https://github.com/sidrashakeel19/hello-actix written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/sidrashakeel19/hello-actix already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5039051e0d79941667005d88114c1ee254a3009b8c2ad0c4229ddb92eeabff06 [INFO] running `"docker" "start" "-a" "5039051e0d79941667005d88114c1ee254a3009b8c2ad0c4229ddb92eeabff06"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling threadpool v1.8.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling pin-project-internal v0.4.10 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.10 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling actix-router v0.2.4 [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 hello-actic v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `HttpServer`, `web` [INFO] [stderr] --> src/main.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{web, App, HttpResponse, HttpServer, Responder}; [INFO] [stderr] | ^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::get` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use actix_web::get; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `fn() -> impl std::future::Future {index3}: actix_web::service::HttpServiceFactory` is not satisfied [INFO] [stderr] --> src/main.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | .service(index3) [INFO] [stderr] | ^^^^^^ the trait `actix_web::service::HttpServiceFactory` is not implemented for `fn() -> impl std::future::Future {index3}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | #[actix_rt::main] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found struct `actix_web::app::App` [INFO] [stderr] 19 | async fn main() -> std::io::Result<()> { [INFO] [stderr] | ------------------- expected `std::result::Result<(), std::io::Error>` because of return type [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), std::io::Error>` [INFO] [stderr] found struct `actix_web::app::App` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `hello-actic`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5039051e0d79941667005d88114c1ee254a3009b8c2ad0c4229ddb92eeabff06"` [INFO] running `"docker" "rm" "-f" "5039051e0d79941667005d88114c1ee254a3009b8c2ad0c4229ddb92eeabff06"` [INFO] [stdout] 5039051e0d79941667005d88114c1ee254a3009b8c2ad0c4229ddb92eeabff06