[INFO] cloning repository https://github.com/quentinlegot/rest_server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quentinlegot/rest_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquentinlegot%2Frest_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquentinlegot%2Frest_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c438118fd248116e0fe6a5c87d2f0f5f48d9cbf
[INFO] testing quentinlegot/rest_server against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquentinlegot%2Frest_server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/quentinlegot/rest_server
[INFO] finished tweaking git repo https://github.com/quentinlegot/rest_server
[INFO] tweaked toml for git repo https://github.com/quentinlegot/rest_server written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quentinlegot/rest_server on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quentinlegot/rest_server 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4c90038af627e18a72937bb2d715fed817cf3341f770e6961be3e739ccd2646f
[INFO] running `Command { std: "docker" "start" "-a" "4c90038af627e18a72937bb2d715fed817cf3341f770e6961be3e739ccd2646f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c90038af627e18a72937bb2d715fed817cf3341f770e6961be3e739ccd2646f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c90038af627e18a72937bb2d715fed817cf3341f770e6961be3e739ccd2646f", kill_on_drop: false }`
[INFO] [stdout] 4c90038af627e18a72937bb2d715fed817cf3341f770e6961be3e739ccd2646f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6eaee9b3d3d4ffb10458038c057547dce5f239ed83da779aa4ad7f1fe0bad661
[INFO] running `Command { std: "docker" "start" "-a" "6eaee9b3d3d4ffb10458038c057547dce5f239ed83da779aa4ad7f1fe0bad661", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling nix v0.24.1
[INFO] [stderr]    Compiling ctrlc v3.2.2
[INFO] [stderr]    Compiling rest_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.61s
[INFO] running `Command { std: "docker" "inspect" "6eaee9b3d3d4ffb10458038c057547dce5f239ed83da779aa4ad7f1fe0bad661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6eaee9b3d3d4ffb10458038c057547dce5f239ed83da779aa4ad7f1fe0bad661", kill_on_drop: false }`
[INFO] [stdout] 6eaee9b3d3d4ffb10458038c057547dce5f239ed83da779aa4ad7f1fe0bad661
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a9a0d9a8337e8e846b30d0dbeb258eb0e2f2251eb4fb8ef8d3f90af9a8e865a
[INFO] running `Command { std: "docker" "start" "-a" "0a9a0d9a8337e8e846b30d0dbeb258eb0e2f2251eb4fb8ef8d3f90af9a8e865a", kill_on_drop: false }`
[INFO] [stderr]    Compiling rest_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s
[INFO] running `Command { std: "docker" "inspect" "0a9a0d9a8337e8e846b30d0dbeb258eb0e2f2251eb4fb8ef8d3f90af9a8e865a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a9a0d9a8337e8e846b30d0dbeb258eb0e2f2251eb4fb8ef8d3f90af9a8e865a", kill_on_drop: false }`
[INFO] [stdout] 0a9a0d9a8337e8e846b30d0dbeb258eb0e2f2251eb4fb8ef8d3f90af9a8e865a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 60d6ffb4127e502bc6498d0f86d4e999f6d63dc96bfec25ab597f832402edd95
[INFO] running `Command { std: "docker" "start" "-a" "60d6ffb4127e502bc6498d0f86d4e999f6d63dc96bfec25ab597f832402edd95", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rest_server-bd6a671ca9e9eef2)
[INFO] [stderr]      Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-97df8e2f2c00bbf1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rest_server
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] warning: unexpected character `/`
[INFO] [stderr]    --> src/request.rs:114:5
[INFO] [stderr]     |
[INFO] [stderr] 114 | /     /// Return the value of the path parameter at the position index.
[INFO] [stderr] 115 | |     /// 
[INFO] [stderr] 116 | |     /// Return None if the index is out of range.
[INFO] [stderr] 117 | |     /// 
[INFO] [stderr] ...   |
[INFO] [stderr] 121 | |     /// get_path_positon(1) => /profile
[INFO] [stderr] 122 | |     /// get_path_positon(2) => None```
[INFO] [stderr]     | |______________________________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server`
[INFO] [stdout]   --> src/lib.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |    let mut app = Server::new();
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Server`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  9 + use rest_server::Server;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/lib.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn index(request: Request, mut response: Response) {
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  9 + use std::error::Request;
[INFO] [stdout]    |
[INFO] [stdout]  9 + use rest_server::request::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/lib.rs:16:42
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn index(request: Request, mut response: Response) {
[INFO] [stdout]    |                                          ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  9 + use rest_server::response::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status`
[INFO] [stdout]   --> src/lib.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |    response.set_status(Status::from(418));
[INFO] [stdout]    |                        ^^^^^^ use of undeclared type `Status`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  9 + use rest_server::status::Status;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "60d6ffb4127e502bc6498d0f86d4e999f6d63dc96bfec25ab597f832402edd95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60d6ffb4127e502bc6498d0f86d4e999f6d63dc96bfec25ab597f832402edd95", kill_on_drop: false }`
[INFO] [stdout] 60d6ffb4127e502bc6498d0f86d4e999f6d63dc96bfec25ab597f832402edd95
