[INFO] cloning repository https://github.com/Jao8/crud-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jao8/crud-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJao8%2Fcrud-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJao8%2Fcrud-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f521e3485204540f52b285f87fd44b7eb8cd375
[INFO] checking Jao8/crud-rust against try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJao8%2Fcrud-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Jao8/crud-rust on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Jao8/crud-rust
[INFO] finished tweaking git repo https://github.com/Jao8/crud-rust
[INFO] tweaked toml for git repo https://github.com/Jao8/crud-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Jao8/crud-rust 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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 530a34ee89b370d542a5b2386a36132bae90e858805a34043502d19829da432c
[INFO] running `Command { std: "docker" "start" "-a" "530a34ee89b370d542a5b2386a36132bae90e858805a34043502d19829da432c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "530a34ee89b370d542a5b2386a36132bae90e858805a34043502d19829da432c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "530a34ee89b370d542a5b2386a36132bae90e858805a34043502d19829da432c", kill_on_drop: false }`
[INFO] [stdout] 530a34ee89b370d542a5b2386a36132bae90e858805a34043502d19829da432c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 668a8206e694e90111e007cc43d748d008fdc4caafec40398a9526a68c8ca854
[INFO] running `Command { std: "docker" "start" "-a" "668a8206e694e90111e007cc43d748d008fdc4caafec40398a9526a68c8ca854", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]     Checking unicode-bidi v0.3.17
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking phf_shared v0.11.2
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking block-cipher v0.8.0
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking whoami v1.5.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking blowfish v0.6.0
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking bcrypt v0.8.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tokio v1.41.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking postgres-protocol v0.6.7
[INFO] [stderr]     Checking postgres-types v0.2.8
[INFO] [stderr]     Checking tokio-postgres v0.7.12
[INFO] [stderr]     Checking postgres v0.19.9
[INFO] [stderr]     Checking rust-crud v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `DATABASE_URL` not defined at compile time
[INFO] [stdout]   --> src/main.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 | const DB_URL: &str = env!("DATABASE_URL");
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("DATABASE_URL")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `DATABASE_URL` not defined at compile time
[INFO] [stdout]   --> src/main.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 | const DB_URL: &str = env!("DATABASE_URL");
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("DATABASE_URL")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |               let (status_line, content) = match &*request {
[INFO] [stdout]    |  __________________________________________-
[INFO] [stdout] 63 | |                 r if r.starts_with("GET /users") => handle_get_all_users_request(),
[INFO] [stdout] 64 | |                 r if r.starts_with("GET /users/") => handle_get_request(r),
[INFO] [stdout] 65 | |                 r if r.starts_with("POST /users") => handle_post_request(r),
[INFO] [stdout] 66 | |                 r if r.starts_with("PUT /users/") => handle_put_request(r),
[INFO] [stdout] 67 | |                 r if r.starts_with("DELETE /users/") => handle_delete_request(r),
[INFO] [stdout]    | |                                                         ------------------------ this and all prior arms are found to be of type `(std::string::String, std::string::String)`
[INFO] [stdout] 68 | |                 _ => (NOT_FOUND, "Not Found".to_string()),
[INFO] [stdout]    | |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(String, String)`, found `(&str, String)`
[INFO] [stdout] 69 | |             };
[INFO] [stdout]    | |_____________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(std::string::String, std::string::String)`
[INFO] [stdout]               found tuple `(&'static str, std::string::String)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |               let (status_line, content) = match &*request {
[INFO] [stdout]    |  __________________________________________-
[INFO] [stdout] 63 | |                 r if r.starts_with("GET /users") => handle_get_all_users_request(),
[INFO] [stdout] 64 | |                 r if r.starts_with("GET /users/") => handle_get_request(r),
[INFO] [stdout] 65 | |                 r if r.starts_with("POST /users") => handle_post_request(r),
[INFO] [stdout] 66 | |                 r if r.starts_with("PUT /users/") => handle_put_request(r),
[INFO] [stdout] 67 | |                 r if r.starts_with("DELETE /users/") => handle_delete_request(r),
[INFO] [stdout]    | |                                                         ------------------------ this and all prior arms are found to be of type `(std::string::String, std::string::String)`
[INFO] [stdout] 68 | |                 _ => (NOT_FOUND, "Not Found".to_string()),
[INFO] [stdout]    | |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(String, String)`, found `(&str, String)`
[INFO] [stdout] 69 | |             };
[INFO] [stdout]    | |_____________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(std::string::String, std::string::String)`
[INFO] [stdout]               found tuple `(&'static str, std::string::String)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-crud` (bin "rust-crud" test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-crud` (bin "rust-crud") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "668a8206e694e90111e007cc43d748d008fdc4caafec40398a9526a68c8ca854", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "668a8206e694e90111e007cc43d748d008fdc4caafec40398a9526a68c8ca854", kill_on_drop: false }`
[INFO] [stdout] 668a8206e694e90111e007cc43d748d008fdc4caafec40398a9526a68c8ca854
