[INFO] cloning repository https://github.com/sicotjeanvivien/api_rest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sicotjeanvivien/api_rest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsicotjeanvivien%2Fapi_rest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsicotjeanvivien%2Fapi_rest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b804635fd6f93e9352dae8a3fa5012c3f1662f0
[INFO] testing sicotjeanvivien/api_rest against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsicotjeanvivien%2Fapi_rest" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sicotjeanvivien/api_rest
[INFO] finished tweaking git repo https://github.com/sicotjeanvivien/api_rest
[INFO] tweaked toml for git repo https://github.com/sicotjeanvivien/api_rest written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sicotjeanvivien/api_rest on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sicotjeanvivien/api_rest 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zmij v1.0.21
[INFO] [stderr]   Downloaded itoa v1.0.17
[INFO] [stderr]   Downloaded serde_derive v1.0.228
[INFO] [stderr]   Downloaded quote v1.0.44
[INFO] [stderr]   Downloaded unicode-ident v1.0.24
[INFO] [stderr]   Downloaded proc-macro2 v1.0.106
[INFO] [stderr]   Downloaded serde_core v1.0.228
[INFO] [stderr]   Downloaded memchr v2.8.0
[INFO] [stderr]   Downloaded serde v1.0.228
[INFO] [stderr]   Downloaded serde_json v1.0.149
[INFO] [stderr]   Downloaded syn v2.0.117
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d3475cd5432c9736294043914fc78f91a362350f5348a0381d96f02dac4f080e
[INFO] running `Command { std: "docker" "start" "-a" "d3475cd5432c9736294043914fc78f91a362350f5348a0381d96f02dac4f080e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3475cd5432c9736294043914fc78f91a362350f5348a0381d96f02dac4f080e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3475cd5432c9736294043914fc78f91a362350f5348a0381d96f02dac4f080e", kill_on_drop: false }`
[INFO] [stdout] d3475cd5432c9736294043914fc78f91a362350f5348a0381d96f02dac4f080e
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 042f8107ff06329f08ab716c48cbae48b5e60db0452c29d098945752d03df2c4
[INFO] running `Command { std: "docker" "start" "-a" "042f8107ff06329f08ab716c48cbae48b5e60db0452c29d098945752d03df2c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling api_rest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `http_request`
[INFO] [stdout]   --> src/main.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn get_tasks(http_request: HttpRequest, tasks: Arc<Mutex<Vec<Task>>>) -> HttpResponse {
[INFO] [stdout]    |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `http_request`
[INFO] [stdout]   --> src/main.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn get_route_not_found(http_request: HttpRequest) -> HttpResponse {
[INFO] [stdout]    |                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `headers` is never read
[INFO] [stdout]   --> src/core/http/request/http_request.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub headers: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Forbidden` and `InternalServerError` are never constructed
[INFO] [stdout]   --> src/core/http/response/http_response.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum StatusCode {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 67 |     Forbidden,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 68 |     NotFound,
[INFO] [stdout] 69 |     InternalServerError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.05s
[INFO] running `Command { std: "docker" "inspect" "042f8107ff06329f08ab716c48cbae48b5e60db0452c29d098945752d03df2c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "042f8107ff06329f08ab716c48cbae48b5e60db0452c29d098945752d03df2c4", kill_on_drop: false }`
[INFO] [stdout] 042f8107ff06329f08ab716c48cbae48b5e60db0452c29d098945752d03df2c4
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef2641cd893f4aebbe7fde946560d484ad6bf3a64cdd8adf316753e86171fc50
[INFO] running `Command { std: "docker" "start" "-a" "ef2641cd893f4aebbe7fde946560d484ad6bf3a64cdd8adf316753e86171fc50", kill_on_drop: false }`
[INFO] [stderr]    Compiling api_rest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `http_request`
[INFO] [stdout]   --> src/main.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn get_tasks(http_request: HttpRequest, tasks: Arc<Mutex<Vec<Task>>>) -> HttpResponse {
[INFO] [stdout]    |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `http_request`
[INFO] [stdout]   --> src/main.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn get_route_not_found(http_request: HttpRequest) -> HttpResponse {
[INFO] [stdout]    |                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `headers` is never read
[INFO] [stdout]   --> src/core/http/request/http_request.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub headers: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Forbidden` and `InternalServerError` are never constructed
[INFO] [stdout]   --> src/core/http/response/http_response.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum StatusCode {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 67 |     Forbidden,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 68 |     NotFound,
[INFO] [stdout] 69 |     InternalServerError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "ef2641cd893f4aebbe7fde946560d484ad6bf3a64cdd8adf316753e86171fc50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef2641cd893f4aebbe7fde946560d484ad6bf3a64cdd8adf316753e86171fc50", kill_on_drop: false }`
[INFO] [stdout] ef2641cd893f4aebbe7fde946560d484ad6bf3a64cdd8adf316753e86171fc50
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0cc17b88875347410a5289fdd3e5be1d3d1b5ec6fd3957aa21ba2bf99bf496b3
[INFO] running `Command { std: "docker" "start" "-a" "0cc17b88875347410a5289fdd3e5be1d3d1b5ec6fd3957aa21ba2bf99bf496b3", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `http_request`
[INFO] [stdout] 
[INFO] [stderr]   --> src/main.rs:63:14
[INFO] [stdout] running 0 tests
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 63 | fn get_tasks(http_request: HttpRequest, tasks: Arc<Mutex<Vec<Task>>>) -> HttpResponse {
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]    |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_request`
[INFO] [stdout] 
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `http_request`
[INFO] [stderr]   --> src/main.rs:89:24
[INFO] [stderr]    |
[INFO] [stderr] 89 | fn get_route_not_found(http_request: HttpRequest) -> HttpResponse {
[INFO] [stderr]    |                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_request`
[INFO] [stderr] 
[INFO] [stderr] warning: field `headers` is never read
[INFO] [stderr]   --> src/core/http/request/http_request.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct HttpRequest {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 13 |     pub headers: HashMap<String, String>,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Forbidden` and `InternalServerError` are never constructed
[INFO] [stderr]   --> src/core/http/response/http_response.rs:67:5
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub enum StatusCode {
[INFO] [stderr]    |          ---------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 67 |     Forbidden,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 68 |     NotFound,
[INFO] [stderr] 69 |     InternalServerError,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `api_rest` (bin "api_rest" test) generated 4 warnings (run `cargo fix --bin "api_rest" -p api_rest --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api_rest-d040eab2f5d8f781)
[INFO] running `Command { std: "docker" "inspect" "0cc17b88875347410a5289fdd3e5be1d3d1b5ec6fd3957aa21ba2bf99bf496b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cc17b88875347410a5289fdd3e5be1d3d1b5ec6fd3957aa21ba2bf99bf496b3", kill_on_drop: false }`
[INFO] [stdout] 0cc17b88875347410a5289fdd3e5be1d3d1b5ec6fd3957aa21ba2bf99bf496b3
