[INFO] cloning repository https://github.com/Saurus9290/API_LGR_RUST_PROJECT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Saurus9290/API_LGR_RUST_PROJECT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaurus9290%2FAPI_LGR_RUST_PROJECT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaurus9290%2FAPI_LGR_RUST_PROJECT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5067edd3cb1b045d2dc3b7a120810eb564f52fa5 [INFO] checking Saurus9290/API_LGR_RUST_PROJECT/5067edd3cb1b045d2dc3b7a120810eb564f52fa5 against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaurus9290%2FAPI_LGR_RUST_PROJECT" "/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/Saurus9290/API_LGR_RUST_PROJECT on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Saurus9290/API_LGR_RUST_PROJECT [INFO] finished tweaking git repo https://github.com/Saurus9290/API_LGR_RUST_PROJECT [INFO] tweaked toml for git repo https://github.com/Saurus9290/API_LGR_RUST_PROJECT written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Saurus9290/API_LGR_RUST_PROJECT 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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f86f53fe9a03e40a3991b7c4a03bdb21a0fe9f0762c6127ef6f6fbc02f271fd [INFO] running `Command { std: "docker" "start" "-a" "2f86f53fe9a03e40a3991b7c4a03bdb21a0fe9f0762c6127ef6f6fbc02f271fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f86f53fe9a03e40a3991b7c4a03bdb21a0fe9f0762c6127ef6f6fbc02f271fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f86f53fe9a03e40a3991b7c4a03bdb21a0fe9f0762c6127ef6f6fbc02f271fd", kill_on_drop: false }` [INFO] [stdout] 2f86f53fe9a03e40a3991b7c4a03bdb21a0fe9f0762c6127ef6f6fbc02f271fd [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91845f32aaaf3b5d9b747df5a54007f8e9d5fb92e4821f485baa4d6c03936a9e [INFO] running `Command { std: "docker" "start" "-a" "91845f32aaaf3b5d9b747df5a54007f8e9d5fb92e4821f485baa4d6c03936a9e", kill_on_drop: false }` [INFO] [stderr] Checking API_LGR_RUST_PROJECT v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/handlers/mod.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[post("/question", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/handlers/mod.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[get("/questions")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `delete` in this scope [INFO] [stdout] --> src/handlers/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[delete("/question", data = "")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/handlers/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[post("/answer", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/handlers/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[get("/answers", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `delete` in this scope [INFO] [stdout] --> src/handlers/mod.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[delete("/answer", data = "")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `launch` in this scope [INFO] [stdout] --> src/main.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[launch] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | routes![ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handlers::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use handlers::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `API_LGR_RUST_PROJECT` [INFO] [stdout] --> src/main.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/handlers/mod.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[post("/question", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/handlers/mod.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[get("/questions")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | async fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] | [INFO] [stdout] help: use type parameters instead [INFO] [stdout] | [INFO] [stdout] 12 - async fn rocket() -> _ { [INFO] [stdout] 12 + async fn rocket() -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `delete` in this scope [INFO] [stdout] --> src/handlers/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[delete("/question", data = "")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/handlers/mod.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[post("/answer", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/handlers/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[get("/answers", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `delete` in this scope [INFO] [stdout] --> src/handlers/mod.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[delete("/answer", data = "")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `launch` in this scope [INFO] [stdout] --> src/main.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[launch] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | routes![ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handlers::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use handlers::*; [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 functions [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | async fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] | [INFO] [stdout] help: use type parameters instead [INFO] [stdout] | [INFO] [stdout] 12 - async fn rocket() -> _ { [INFO] [stdout] 12 + async fn rocket() -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0432, E0463, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stderr] error: could not compile `API_LGR_RUST_PROJECT` (bin "API_LGR_RUST_PROJECT") due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0121, E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stderr] error: could not compile `API_LGR_RUST_PROJECT` (bin "API_LGR_RUST_PROJECT" test) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "91845f32aaaf3b5d9b747df5a54007f8e9d5fb92e4821f485baa4d6c03936a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91845f32aaaf3b5d9b747df5a54007f8e9d5fb92e4821f485baa4d6c03936a9e", kill_on_drop: false }` [INFO] [stdout] 91845f32aaaf3b5d9b747df5a54007f8e9d5fb92e4821f485baa4d6c03936a9e