[INFO] cloning repository https://github.com/Shiirookami/simple-restapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shiirookami/simple-restapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiirookami%2Fsimple-restapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiirookami%2Fsimple-restapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da44c091f3a7645698a929304950e98204f4c4b6 [INFO] checking Shiirookami/simple-restapi against master#7c4ac0603e9ee5295bc802c90575391288a69a8a for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiirookami%2Fsimple-restapi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shiirookami/simple-restapi on toolchain 7c4ac0603e9ee5295bc802c90575391288a69a8a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shiirookami/simple-restapi [INFO] finished tweaking git repo https://github.com/Shiirookami/simple-restapi [INFO] tweaked toml for git repo https://github.com/Shiirookami/simple-restapi written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Shiirookami/simple-restapi 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" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Shiirookami/simple-restapi against try#98ebbae35138252af77610c20ea5a5e8bf68d639 for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiirookami%2Fsimple-restapi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shiirookami/simple-restapi on toolchain 98ebbae35138252af77610c20ea5a5e8bf68d639 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shiirookami/simple-restapi [INFO] finished tweaking git repo https://github.com/Shiirookami/simple-restapi [INFO] tweaked toml for git repo https://github.com/Shiirookami/simple-restapi written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Shiirookami/simple-restapi 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" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae0220ebeddf833389c54ecaefb57707eaf1bb786257ea8fb8df06298ae1072e [INFO] running `Command { std: "docker" "start" "-a" "ae0220ebeddf833389c54ecaefb57707eaf1bb786257ea8fb8df06298ae1072e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae0220ebeddf833389c54ecaefb57707eaf1bb786257ea8fb8df06298ae1072e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae0220ebeddf833389c54ecaefb57707eaf1bb786257ea8fb8df06298ae1072e", kill_on_drop: false }` [INFO] [stdout] ae0220ebeddf833389c54ecaefb57707eaf1bb786257ea8fb8df06298ae1072e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66e48cffca932c80b311e7b52b0188f2d81be43913c7476be55fc28fb9778891 [INFO] running `Command { std: "docker" "start" "-a" "66e48cffca932c80b311e7b52b0188f2d81be43913c7476be55fc28fb9778891", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling pear_codegen v0.1.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling cookie v0.11.5 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rocket_codegen v0.4.11 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling rocket v0.4.11 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling devise_core v0.2.1 [INFO] [stderr] Compiling devise_codegen v0.2.1 [INFO] [stderr] Compiling devise v0.2.1 [INFO] [stderr] Compiling pear v0.1.5 [INFO] [stderr] Checking rocket_http v0.4.11 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `routes::api` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use routes::api; [INFO] [stdout] | ^^^^^^^^^^^ no `api` in `routes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `routes::api` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use routes::api; [INFO] [stdout] | ^^^^^^^^^^^ no `api` in `routes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `launch` in this scope [INFO] [stdout] --> src/main.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[launch] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `launch` in this scope [INFO] [stdout] --> src/main.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[launch] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/main.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let users_db: api::UsersDB = Arc::new(RwLock::new(vec![])); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock` [INFO] [stdout] --> src/main.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | let users_db: api::UsersDB = Arc::new(RwLock::new(vec![])); [INFO] [stdout] | ^^^^^^ use of undeclared type `RwLock` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build` in crate `rocket` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | rocket::build() [INFO] [stdout] | ^^^^^ not found in `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/main.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let users_db: api::UsersDB = Arc::new(RwLock::new(vec![])); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock` [INFO] [stdout] --> src/main.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | let users_db: api::UsersDB = Arc::new(RwLock::new(vec![])); [INFO] [stdout] | ^^^^^^ use of undeclared type `RwLock` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_api` [INFO] [stdout] --> src/main.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build` in crate `rocket` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | rocket::build() [INFO] [stdout] | ^^^^^ not found in `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0425, E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-api` (bin "rust-api") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-api` (bin "rust-api" test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "66e48cffca932c80b311e7b52b0188f2d81be43913c7476be55fc28fb9778891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e48cffca932c80b311e7b52b0188f2d81be43913c7476be55fc28fb9778891", kill_on_drop: false }` [INFO] [stdout] 66e48cffca932c80b311e7b52b0188f2d81be43913c7476be55fc28fb9778891