[INFO] cloning repository https://github.com/saulvaldelvira/http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saulvaldelvira/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaulvaldelvira%2Fhttp-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaulvaldelvira%2Fhttp-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 675447c3f995dbe41a7663bdad4894ddfdd46541 [INFO] checking saulvaldelvira/http-server against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaulvaldelvira%2Fhttp-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saulvaldelvira/http-server on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saulvaldelvira/http-server [INFO] finished tweaking git repo https://github.com/saulvaldelvira/http-server [INFO] tweaked toml for git repo https://github.com/saulvaldelvira/http-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/saulvaldelvira/rb64` [INFO] [stderr] Updating git repository `https://github.com/saulvaldelvira/builders` [INFO] [stderr] Updating git repository `https://github.com/saulvaldelvira/delay-init` [INFO] [stderr] Updating git repository `https://github.com/saulvaldelvira/json.rs` [INFO] [stderr] Updating git repository `https://github.com/saulvaldelvira/job-pool` [INFO] [stderr] Updating git repository `https://github.com/saulvaldelvira/regexpr` [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f71ebc2b6db4d6d6ef593e0c42563bebefed59344555ea00d93787589e71cec [INFO] running `Command { std: "docker" "start" "-a" "0f71ebc2b6db4d6d6ef593e0c42563bebefed59344555ea00d93787589e71cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f71ebc2b6db4d6d6ef593e0c42563bebefed59344555ea00d93787589e71cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f71ebc2b6db4d6d6ef593e0c42563bebefed59344555ea00d93787589e71cec", kill_on_drop: false }` [INFO] [stdout] 0f71ebc2b6db4d6d6ef593e0c42563bebefed59344555ea00d93787589e71cec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ff4f23dedaae149f06a1d87ab7dd98a9ab88724c4e14dee4100920dab92c818 [INFO] running `Command { std: "docker" "start" "-a" "7ff4f23dedaae149f06a1d87ab7dd98a9ab88724c4e14dee4100920dab92c818", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling url-utils v0.3.0 (/opt/rustwide/workdir/crates/url) [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling rb64 v0.3.1 (https://github.com/saulvaldelvira/rb64#debd251b) [INFO] [stderr] Compiling regexpr v0.3.3 (https://github.com/saulvaldelvira/regexpr#e1659d78) [INFO] [stderr] Checking rmime v0.3.0 (/opt/rustwide/workdir/crates/mime) [INFO] [stderr] Compiling jsonrs v1.3.0 (https://github.com/saulvaldelvira/json.rs#1e97200f) [INFO] [stderr] Compiling job-pool v0.3.0 (https://github.com/saulvaldelvira/job-pool#0d57a8eb) [INFO] [stderr] Checking delay_init v0.2.0 (https://github.com/saulvaldelvira/delay-init#3950a001) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/url/src/decode.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn decode(url: &str) -> Result> { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn decode(url: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/url/src/decode.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn decode(url: &str) -> Result> { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn decode(url: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/url/src/encode.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encode(url: &str) -> Result> { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encode(url: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/url/src/encode.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encode(url: &str) -> Result> { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encode(url: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling builders v0.4.0 (https://github.com/saulvaldelvira/builders#8639c1bb) [INFO] [stderr] Checking http-utils v0.5.0 (/opt/rustwide/workdir/crates/http) [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> crates/http/src/request/mod.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Builder, Debug)] [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> crates/http/src/response/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Builder, Debug)] [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> crates/http/src/request/mod.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Builder, Debug)] [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-utils` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> crates/http/src/request/test.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | .version(1.0) [INFO] [stdout] | ------- ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `HttpRequestBuilder::version` [INFO] [stdout] --> crates/http/src/request/mod.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Builder, Debug)] [INFO] [stdout] | ^^^^^^^ required by this bound in `HttpRequestBuilder::version` [INFO] [stdout] ... [INFO] [stdout] 30 | version: f32, [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> crates/http/src/request/test.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | .version(1.1) [INFO] [stdout] | ------- ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `HttpRequestBuilder::version` [INFO] [stdout] --> crates/http/src/request/mod.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Builder, Debug)] [INFO] [stdout] | ^^^^^^^ required by this bound in `HttpRequestBuilder::version` [INFO] [stdout] ... [INFO] [stdout] 30 | version: f32, [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> crates/http/src/response/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Builder, Debug)] [INFO] [stdout] | ^^^^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> crates/http/src/response/test.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | .version(1.1) [INFO] [stdout] | ------- ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::version` [INFO] [stdout] --> crates/http/src/response/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Builder, Debug)] [INFO] [stdout] | ^^^^^^^ required by this bound in `HttpResponseBuilder::version` [INFO] [stdout] ... [INFO] [stdout] 26 | version: f32, [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-utils` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7ff4f23dedaae149f06a1d87ab7dd98a9ab88724c4e14dee4100920dab92c818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff4f23dedaae149f06a1d87ab7dd98a9ab88724c4e14dee4100920dab92c818", kill_on_drop: false }` [INFO] [stdout] 7ff4f23dedaae149f06a1d87ab7dd98a9ab88724c4e14dee4100920dab92c818