[INFO] cloning repository https://github.com/mainak90/file-db-in-mem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mainak90/file-db-in-mem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmainak90%2Ffile-db-in-mem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmainak90%2Ffile-db-in-mem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 713793ddeda02a8cd68fc9a1c03c83e2499ec2c2 [INFO] checking mainak90/file-db-in-mem/713793ddeda02a8cd68fc9a1c03c83e2499ec2c2 against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmainak90%2Ffile-db-in-mem" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mainak90/file-db-in-mem on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mainak90/file-db-in-mem [INFO] finished tweaking git repo https://github.com/mainak90/file-db-in-mem [INFO] tweaked toml for git repo https://github.com/mainak90/file-db-in-mem written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mainak90/file-db-in-mem already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82dbadb11011047a69ea840d867d7f944c10fc1ab32d82be585f4da69cc4a68e [INFO] running `Command { std: "docker" "start" "-a" "82dbadb11011047a69ea840d867d7f944c10fc1ab32d82be585f4da69cc4a68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82dbadb11011047a69ea840d867d7f944c10fc1ab32d82be585f4da69cc4a68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82dbadb11011047a69ea840d867d7f944c10fc1ab32d82be585f4da69cc4a68e", kill_on_drop: false }` [INFO] [stdout] 82dbadb11011047a69ea840d867d7f944c10fc1ab32d82be585f4da69cc4a68e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fec224316eaf5b00aac0e37ebd30849738c209f9d23153f48e1ae2b7b0c1e089 [INFO] running `Command { std: "docker" "start" "-a" "fec224316eaf5b00aac0e37ebd30849738c209f9d23153f48e1ae2b7b0c1e089", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking object v0.28.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking actix-service v0.4.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking actix-codec v0.1.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking actix-server-config v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking actix-utils v0.4.7 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking tokio-signal v0.2.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Checking trust-dns-proto v0.7.4 [INFO] [stderr] Checking actix-threadpool v0.1.2 [INFO] [stderr] Checking actix-rt v0.2.6 [INFO] [stderr] Checking trust-dns-resolver v0.11.1 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking actix-testing v0.1.0 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.1.5 [INFO] [stderr] Checking actix-http v0.2.11 [INFO] [stderr] Checking awc v0.2.8 [INFO] [stderr] Checking actix-web v1.0.9 [INFO] [stderr] Checking json-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item after attributes [INFO] [stdout] --> src/db_access.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item after attributes [INFO] [stdout] --> src/db_access.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_all_persons_ids` in this scope [INFO] [stdout] --> src/main.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | .service(web::resource("/persons/ids").route(web::get().to(get_all_persons_ids))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_person_name_by_id` in this scope [INFO] [stdout] --> src/main.rs:22:83 [INFO] [stdout] | [INFO] [stdout] 22 | .service(web::resource("/person/name_by_id/{id}").route(web::get().to(get_person_name_by_id))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_persons` in this scope [INFO] [stdout] --> src/main.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | .service(web::resource("/persons").route(web::get().to(get_persons))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `insert_person` in this scope [INFO] [stdout] --> src/main.rs:24:75 [INFO] [stdout] | [INFO] [stdout] 24 | .service(web::resource("/person/{name}").route(web::post().to(insert_person))) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_all_persons_ids` in this scope [INFO] [stdout] --> src/main.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | .service(web::resource("/persons/ids").route(web::get().to(get_all_persons_ids))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web::Path` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, web::Path, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive::Deserialize` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_person_name_by_id` in this scope [INFO] [stdout] --> src/main.rs:22:83 [INFO] [stdout] | [INFO] [stdout] 22 | .service(web::resource("/person/name_by_id/{id}").route(web::get().to(get_person_name_by_id))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_persons` in this scope [INFO] [stdout] --> src/main.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | .service(web::resource("/persons").route(web::get().to(get_persons))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `insert_person` in this scope [INFO] [stdout] --> src/main.rs:24:75 [INFO] [stdout] | [INFO] [stdout] 24 | .service(web::resource("/person/{name}").route(web::post().to(insert_person))) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web::Path` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, web::Path, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive::Deserialize` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-db` (bin "json-db" test) due to 5 previous errors; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `json-db` (bin "json-db") due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fec224316eaf5b00aac0e37ebd30849738c209f9d23153f48e1ae2b7b0c1e089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec224316eaf5b00aac0e37ebd30849738c209f9d23153f48e1ae2b7b0c1e089", kill_on_drop: false }` [INFO] [stdout] fec224316eaf5b00aac0e37ebd30849738c209f9d23153f48e1ae2b7b0c1e089