[INFO] cloning repository https://github.com/ed-bassett/httptest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ed-bassett/httptest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fed-bassett%2Fhttptest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fed-bassett%2Fhttptest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1e4bc9e899373a3e1101e6b1286fc789986e05e1
[INFO] testing ed-bassett/httptest 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%2Fed-bassett%2Fhttptest" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ed-bassett/httptest 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/ed-bassett/httptest
[INFO] finished tweaking git repo https://github.com/ed-bassett/httptest
[INFO] tweaked toml for git repo https://github.com/ed-bassett/httptest written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ed-bassett/httptest 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]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio v0.1.14
[INFO] [stderr]   Downloaded string v0.1.2
[INFO] [stderr]   Downloaded tokio-timer v0.2.8
[INFO] [stderr]   Downloaded tokio-executor v0.1.5
[INFO] [stderr]   Downloaded memchr v2.1.3
[INFO] [stderr]   Downloaded tokio-current-thread v0.1.4
[INFO] [stderr]   Downloaded tokio-reactor v0.1.7
[INFO] [stderr]   Downloaded tokio-tcp v0.1.2
[INFO] [stderr]   Downloaded tokio-threadpool v0.1.9
[INFO] [stderr]   Downloaded h2 v0.1.15
[INFO] [stderr]   Downloaded http v0.1.15
[INFO] [stderr]   Downloaded hyper v0.12.22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] abaad2800f7fff53125b0d3e87a4670790c018a8cb0fff9993615468e759f831
[INFO] running `Command { std: "docker" "start" "-a" "abaad2800f7fff53125b0d3e87a4670790c018a8cb0fff9993615468e759f831", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abaad2800f7fff53125b0d3e87a4670790c018a8cb0fff9993615468e759f831", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abaad2800f7fff53125b0d3e87a4670790c018a8cb0fff9993615468e759f831", kill_on_drop: false }`
[INFO] [stdout] abaad2800f7fff53125b0d3e87a4670790c018a8cb0fff9993615468e759f831
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2af7e663d1f2a615ba6e8c29c04c699e77554b752007bf7e67d8b14154787a8b
[INFO] running `Command { std: "docker" "start" "-a" "2af7e663d1f2a615ba6e8c29c04c699e77554b752007bf7e67d8b14154787a8b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.45
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling futures v0.1.25
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling crossbeam-utils v0.6.3
[INFO] [stderr]    Compiling byteorder v1.2.7
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling slab v0.4.1
[INFO] [stderr]    Compiling smallvec v0.6.7
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling arrayvec v0.4.8
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling memchr v2.1.3
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling num_cpus v1.9.0
[INFO] [stderr]    Compiling bytes v0.4.11
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling tokio-executor v0.1.5
[INFO] [stderr]    Compiling tokio-io v0.1.10
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.6.1
[INFO] [stderr]    Compiling httparse v1.3.3
[INFO] [stderr]    Compiling ucd-util v0.1.3
[INFO] [stderr]    Compiling crossbeam-deque v0.6.2
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling regex v1.1.0
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling http v0.1.15
[INFO] [stderr]    Compiling aho-corasick v0.6.9
[INFO] [stderr]    Compiling tokio-reactor v0.1.7
[INFO] [stderr]    Compiling regex-syntax v0.6.4
[INFO] [stderr]    Compiling tokio-threadpool v0.1.9
[INFO] [stderr]    Compiling tokio-timer v0.2.8
[INFO] [stderr]    Compiling tokio-current-thread v0.1.4
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling string v0.1.2
[INFO] [stderr]    Compiling indexmap v1.0.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.2
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling humantime v1.2.0
[INFO] [stderr]    Compiling tokio v0.1.14
[INFO] [stderr]    Compiling want v0.0.6
[INFO] [stderr]    Compiling tokio-tcp v0.1.2
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling termcolor v1.0.4
[INFO] [stderr]    Compiling h2 v0.1.15
[INFO] [stderr]    Compiling env_logger v0.6.0
[INFO] [stderr]    Compiling hyper v0.12.22
[INFO] [stderr]    Compiling httptest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/main.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |           box future::result(Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body(Body::from("Couldn't open file for write")))
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 37 |           Box::new(future::result(Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body(Body::from("Couldn't open file for write"))))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/main.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |           Ok(mut f) => box req.into_body().map_err(|_|()).for_each( move |chunk| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 40 | |           trace!("Writing {} bytes", chunk.len());
[INFO] [stdout] 41 | |           f.write_all(&chunk).map_err(|_|())
[INFO] [stdout] 42 | |         } ).into_future().then( |r| match r {
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |           },
[INFO] [stdout] 48 | |         } ),
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 39 ~         Ok(mut f) => Box::new(req.into_body().map_err(|_|()).for_each( move |chunk| {
[INFO] [stdout] 40 +           trace!("Writing {} bytes", chunk.len());
[INFO] [stdout] 41 +           f.write_all(&chunk).map_err(|_|())
[INFO] [stdout] 42 +         } ).into_future().then( |r| match r {
[INFO] [stdout] 43 +           Ok(_)  => Response::builder().status(StatusCode::OK).body(Body::empty()),
[INFO] [stdout] 44 +           Err(_) => {
[INFO] [stdout] 45 +             error!("Error writing to file");
[INFO] [stdout] 46 +             Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body(Body::from("Error writing to file"))
[INFO] [stdout] 47 +           },
[INFO] [stdout] 48 ~         } )),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `box_syntax` has been removed
[INFO] [stdout]   --> src/main.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |       box future::result(Response::builder().status(StatusCode::NOT_FOUND).body(Body::empty()))
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `Box::new()` instead
[INFO] [stdout]    |
[INFO] [stdout] 52 |       Box::new(future::result(Response::builder().status(StatusCode::NOT_FOUND).body(Body::empty())))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(box_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: replaced with `#[rustc_box]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(impl_trait_in_bindings)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{ info, trace, warn, error };
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | type BoxFut = Box<Future<Item=Response<Body>, Error=hyper::http::Error> + Send>;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 | type BoxFut = Box<dyn Future<Item=Response<Body>, Error=hyper::http::Error> + Send>;
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0557`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `httptest` (bin "httptest") due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2af7e663d1f2a615ba6e8c29c04c699e77554b752007bf7e67d8b14154787a8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2af7e663d1f2a615ba6e8c29c04c699e77554b752007bf7e67d8b14154787a8b", kill_on_drop: false }`
[INFO] [stdout] 2af7e663d1f2a615ba6e8c29c04c699e77554b752007bf7e67d8b14154787a8b
