[INFO] cloning repository https://github.com/wambugucoder/Rust-Intro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wambugucoder/Rust-Intro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwambugucoder%2FRust-Intro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwambugucoder%2FRust-Intro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a10603feb4ecd19fe6a76440645ccfedade62874 [INFO] testing wambugucoder/Rust-Intro against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwambugucoder%2FRust-Intro" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wambugucoder/Rust-Intro on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wambugucoder/Rust-Intro [INFO] finished tweaking git repo https://github.com/wambugucoder/Rust-Intro [INFO] tweaked toml for git repo https://github.com/wambugucoder/Rust-Intro written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/wambugucoder/Rust-Intro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33785a1d266bef2e4b8738e6ce1789647c2c2afc0fa2233076a145e9a1ee512a [INFO] running `Command { std: "docker" "start" "-a" "33785a1d266bef2e4b8738e6ce1789647c2c2afc0fa2233076a145e9a1ee512a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33785a1d266bef2e4b8738e6ce1789647c2c2afc0fa2233076a145e9a1ee512a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33785a1d266bef2e4b8738e6ce1789647c2c2afc0fa2233076a145e9a1ee512a", kill_on_drop: false }` [INFO] [stdout] 33785a1d266bef2e4b8738e6ce1789647c2c2afc0fa2233076a145e9a1ee512a [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc1e2ce486b2648024594ea6aa6671f1d1c31784b27e3be641f915ec6e653140 [INFO] running `Command { std: "docker" "start" "-a" "dc1e2ce486b2648024594ea6aa6671f1d1c31784b27e3be641f915ec6e653140", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling Rust-Crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/Employees/router.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::ServiceConfig` [INFO] [stdout] --> src/Employees/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::web::ServiceConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/main.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{Responder, App, HttpServer, web}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `find_all` [INFO] [stdout] --> src/Employees/router.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 6 | #[get("/employees")] [INFO] [stdout] | -------------------- `find_all` defined here [INFO] [stdout] ... [INFO] [stdout] 22 | config.service(find_all()); [INFO] [stdout] | ^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | .configure(Employees::init_routes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/Employees/router.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn init_routes(config:&mut web::ServiceConfig){ [INFO] [stdout] | ^^^^^^^^^^^ ------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce<(&mut ServiceConfig,)>` closure, found `()` [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | .configure(Employees::init_routes()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&mut ServiceConfig,)>` closure, found `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r> FnOnce<(&'r mut ServiceConfig,)>` is not implemented for `()` [INFO] [stdout] note: required by a bound in `App::::configure` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-3.3.2/src/app.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | F: FnOnce(&mut ServiceConfig), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `App::::configure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust-Crud` due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dc1e2ce486b2648024594ea6aa6671f1d1c31784b27e3be641f915ec6e653140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1e2ce486b2648024594ea6aa6671f1d1c31784b27e3be641f915ec6e653140", kill_on_drop: false }` [INFO] [stdout] dc1e2ce486b2648024594ea6aa6671f1d1c31784b27e3be641f915ec6e653140