[INFO] cloning repository https://github.com/AlexanderHOtt/rust_rest_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexanderHOtt/rust_rest_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderHOtt%2Frust_rest_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderHOtt%2Frust_rest_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6289d6de7a4df01b7aaca0796b86226b593dc9ff
[INFO] testing AlexanderHOtt/rust_rest_api against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderHOtt%2Frust_rest_api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AlexanderHOtt/rust_rest_api on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AlexanderHOtt/rust_rest_api
[INFO] finished tweaking git repo https://github.com/AlexanderHOtt/rust_rest_api
[INFO] tweaked toml for git repo https://github.com/AlexanderHOtt/rust_rest_api written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/AlexanderHOtt/rust_rest_api 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded traitobject v0.0.1
[INFO] [stderr]   Downloaded router v0.5.1
[INFO] [stderr]   Downloaded conduit-mime-types v0.7.3
[INFO] [stderr]   Downloaded uuid v0.2.3
[INFO] [stderr]   Downloaded modifier v0.1.0
[INFO] [stderr]   Downloaded plugin v0.2.6
[INFO] [stderr]   Downloaded solicit v0.4.4
[INFO] [stderr]   Downloaded route-recognizer v0.1.13
[INFO] [stderr]   Downloaded iron v0.5.1
[INFO] [stderr]   Downloaded cookie v0.2.5
[INFO] [stderr]   Downloaded hpack v0.2.0
[INFO] [stderr]   Downloaded hyper v0.9.18
[INFO] [stderr]   Downloaded iron v0.4.0
[INFO] [stderr]   Downloaded logger v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f7f539abc58f773efa6d32ccd1e9b77779b438d9b0efeb67c01754b66a28f72b
[INFO] running `Command { std: "docker" "start" "-a" "f7f539abc58f773efa6d32ccd1e9b77779b438d9b0efeb67c01754b66a28f72b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7f539abc58f773efa6d32ccd1e9b77779b438d9b0efeb67c01754b66a28f72b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7f539abc58f773efa6d32ccd1e9b77779b438d9b0efeb67c01754b66a28f72b", kill_on_drop: false }`
[INFO] [stdout] f7f539abc58f773efa6d32ccd1e9b77779b438d9b0efeb67c01754b66a28f72b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 61ea8a36b2d42e33c8f1c47c420578828affd0e9076b4884ee8e55b054e9895c
[INFO] running `Command { std: "docker" "start" "-a" "61ea8a36b2d42e33c8f1c47c420578828affd0e9076b4884ee8e55b054e9895c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling modifier v0.1.0
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling error v0.1.9
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling traitobject v0.0.1
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling route-recognizer v0.1.13
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling hpack v0.2.0
[INFO] [stderr]    Compiling solicit v0.4.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling num_cpus v0.2.13
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling conduit-mime-types v0.7.3
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling uuid v0.2.3
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling chrono v0.2.25
[INFO] [stderr]    Compiling env_logger v0.3.5
[INFO] [stderr]    Compiling cookie v0.2.5
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling hyper v0.9.18
[INFO] [stderr]    Compiling iron v0.4.0
[INFO] [stderr]    Compiling iron v0.5.1
[INFO] [stderr]    Compiling logger v0.2.0
[INFO] [stderr]    Compiling router v0.5.1
[INFO] [stderr]    Compiling web_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/handlers.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/models.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/models.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected a `Fn<(&mut Request<'_, '_>,)>` closure, found `logger::Logger`
[INFO] [stdout]    --> src/main.rs:55:23
[INFO] [stdout]     |
[INFO] [stdout] 55  |     chain.link_before(logger_before);
[INFO] [stdout]     |           ----------- ^^^^^^^^^^^^^ expected an `Fn<(&mut Request<'_, '_>,)>` closure, found `logger::Logger`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `for<'a, 'b, 'c> Fn<(&'a mut Request<'b, 'c>,)>` is not implemented for `logger::Logger`
[INFO] [stdout]     = help: the following other types implement trait `BeforeMiddleware`:
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               Box<(dyn BeforeMiddleware + 'static)>
[INFO] [stdout]     = note: required for `logger::Logger` to implement `BeforeMiddleware`
[INFO] [stdout] note: required by a bound in `iron::Chain::link_before`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/iron-0.5.1/src/middleware/mod.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 |     where B: BeforeMiddleware {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ required by this bound in `Chain::link_before`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected a `Fn<(&mut Request<'_, '_>, Response)>` closure, found `logger::Logger`
[INFO] [stdout]    --> src/main.rs:57:22
[INFO] [stdout]     |
[INFO] [stdout] 57  |     chain.link_after(logger_after);
[INFO] [stdout]     |           ---------- ^^^^^^^^^^^^ expected an `Fn<(&mut Request<'_, '_>, Response)>` closure, found `logger::Logger`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `for<'a, 'b, 'c> Fn<(&'a mut Request<'b, 'c>, Response)>` is not implemented for `logger::Logger`
[INFO] [stdout]     = help: the following other types implement trait `AfterMiddleware`:
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               Box<(dyn AfterMiddleware + 'static)>
[INFO] [stdout]               handlers::JsonAfterMiddleware
[INFO] [stdout]     = note: required for `logger::Logger` to implement `AfterMiddleware`
[INFO] [stdout] note: required by a bound in `iron::Chain::link_after`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/iron-0.5.1/src/middleware/mod.rs:172:14
[INFO] [stdout]     |
[INFO] [stdout] 172 |     where A: AfterMiddleware {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^ required by this bound in `Chain::link_after`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web_api` (bin "web_api") due to 3 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "61ea8a36b2d42e33c8f1c47c420578828affd0e9076b4884ee8e55b054e9895c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61ea8a36b2d42e33c8f1c47c420578828affd0e9076b4884ee8e55b054e9895c", kill_on_drop: false }`
[INFO] [stdout] 61ea8a36b2d42e33c8f1c47c420578828affd0e9076b4884ee8e55b054e9895c
