[INFO] fetching crate flask 2.1.1... [INFO] testing flask-2.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate flask 2.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate flask 2.1.1 [INFO] finished tweaking crates.io crate flask 2.1.1 [INFO] tweaked toml for crates.io crate flask 2.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flask 2.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ece9231cc49417190bcfd30f95dadbbcd3d335d3dc44bf5920ca4c2dc3af5095 [INFO] running `Command { std: "docker" "start" "-a" "ece9231cc49417190bcfd30f95dadbbcd3d335d3dc44bf5920ca4c2dc3af5095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ece9231cc49417190bcfd30f95dadbbcd3d335d3dc44bf5920ca4c2dc3af5095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece9231cc49417190bcfd30f95dadbbcd3d335d3dc44bf5920ca4c2dc3af5095", kill_on_drop: false }` [INFO] [stdout] ece9231cc49417190bcfd30f95dadbbcd3d335d3dc44bf5920ca4c2dc3af5095 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b626693826007f5333a9e61c3c386104fc4d1ee68d0d177ece92abf402a73fe8 [INFO] running `Command { std: "docker" "start" "-a" "b626693826007f5333a9e61c3c386104fc4d1ee68d0d177ece92abf402a73fe8", kill_on_drop: false }` [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flask v2.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `tolerant-http1-parser` [INFO] [stdout] --> src/combinators/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg( feature = "tolerant-http1-parser")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tolerant-http1-parser` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tolerant-http1-parser` [INFO] [stdout] --> src/combinators/mod.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(not(feature = "tolerant-http1-parser"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tolerant-http1-parser` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/mod.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &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] 63 | fn read_header(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/request.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &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] 26 | fn parse_request_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/response.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_response_line(line: &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] 29 | fn parse_response_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "b626693826007f5333a9e61c3c386104fc4d1ee68d0d177ece92abf402a73fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b626693826007f5333a9e61c3c386104fc4d1ee68d0d177ece92abf402a73fe8", kill_on_drop: false }` [INFO] [stdout] b626693826007f5333a9e61c3c386104fc4d1ee68d0d177ece92abf402a73fe8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 805622e7d5ecf5d5f310b58d0d8282f4633d0ce0837b0a0ea8a1b477fab8596d [INFO] running `Command { std: "docker" "start" "-a" "805622e7d5ecf5d5f310b58d0d8282f4633d0ce0837b0a0ea8a1b477fab8596d", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `tolerant-http1-parser` [INFO] [stdout] --> src/combinators/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg( feature = "tolerant-http1-parser")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tolerant-http1-parser` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tolerant-http1-parser` [INFO] [stdout] --> src/combinators/mod.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(not(feature = "tolerant-http1-parser"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tolerant-http1-parser` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/mod.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &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] 63 | fn read_header(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/request.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &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] 26 | fn parse_request_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/response.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_response_line(line: &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] 29 | fn parse_response_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling flask v2.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `tolerant-http1-parser` [INFO] [stdout] --> src/combinators/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg( feature = "tolerant-http1-parser")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tolerant-http1-parser` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tolerant-http1-parser` [INFO] [stdout] --> src/combinators/mod.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(not(feature = "tolerant-http1-parser"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tolerant-http1-parser` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/mod.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &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] 63 | fn read_header(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/request.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &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] 26 | fn parse_request_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/httpx/response.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_response_line(line: &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] 29 | fn parse_response_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/httpx/response.rs:202:45 [INFO] [stdout] | [INFO] [stdout] 202 | .with_body(mock_body.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/httpx/response.rs:229:45 [INFO] [stdout] | [INFO] [stdout] 229 | .with_body(mock_body.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/httpx/response.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | .with_body(mock_body.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/httpx/response.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | .with_body(mock_body.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.92s [INFO] running `Command { std: "docker" "inspect" "805622e7d5ecf5d5f310b58d0d8282f4633d0ce0837b0a0ea8a1b477fab8596d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805622e7d5ecf5d5f310b58d0d8282f4633d0ce0837b0a0ea8a1b477fab8596d", kill_on_drop: false }` [INFO] [stdout] 805622e7d5ecf5d5f310b58d0d8282f4633d0ce0837b0a0ea8a1b477fab8596d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e04303c65d2e75682467875198a8d7930fec81f8345a4c3ce25f5ba5ea3edf60 [INFO] running `Command { std: "docker" "start" "-a" "e04303c65d2e75682467875198a8d7930fec81f8345a4c3ce25f5ba5ea3edf60", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `tolerant-http1-parser` [INFO] [stderr] --> src/combinators/mod.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | #[cfg( feature = "tolerant-http1-parser")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `tolerant-http1-parser` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `tolerant-http1-parser` [INFO] [stderr] --> src/combinators/mod.rs:106:11 [INFO] [stderr] | [INFO] [stderr] 106 | #[cfg(not(feature = "tolerant-http1-parser"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `tolerant-http1-parser` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/httpx/mod.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | fn read_header(line: &str) -> Result { [INFO] [stderr] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 63 | fn read_header(line: &str) -> Result, FlaskError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/httpx/request.rs:26:29 [INFO] [stderr] | [INFO] [stderr] 26 | fn parse_request_line(line: &str) -> Result { [INFO] [stderr] | ^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 26 | fn parse_request_line(line: &str) -> Result, FlaskError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/httpx/response.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | fn parse_response_line(line: &str) -> Result { [INFO] [stderr] | ^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 29 | fn parse_response_line(line: &str) -> Result, FlaskError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `flask` (lib) generated 5 warnings (run `cargo fix --lib -p flask` to apply 3 suggestions) [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/httpx/response.rs:202:45 [INFO] [stderr] | [INFO] [stderr] 202 | .with_body(mock_body.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/httpx/response.rs:229:45 [INFO] [stderr] | [INFO] [stderr] 229 | .with_body(mock_body.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/httpx/response.rs:278:37 [INFO] [stderr] | [INFO] [stderr] 278 | .with_body(mock_body.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/httpx/response.rs:307:37 [INFO] [stderr] | [INFO] [stderr] 307 | .with_body(mock_body.clone()) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `flask` (lib test) generated 9 warnings (5 duplicates) (run `cargo fix --lib -p flask --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/flask-c9552b254ccd14e3) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test combinators::tests::test_space ... ok [INFO] [stdout] test combinators::tests::test_crlf ... ok [INFO] [stdout] test combinators::tests::test_spaces ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_bad_http_method ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_carriage_return ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_bad_missing_carriage_return ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_bad_missing_crlf ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_bad_missing_newline ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_good ... ok [INFO] [stdout] test httpx::response::tests::test_bad_http_method ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_crlf ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_headers ... ok [INFO] [stdout] test combinators::tests::test_http_method ... ok [INFO] [stdout] test httpx::response::tests::test_basic_head_request ... ok [INFO] [stdout] test httpx::response::tests::test_basic_options_request ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_query_string_not_matched ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_newline ... ok [INFO] [stdout] test httpx::response::tests::test_parse_response_line_server_error ... ok [INFO] [stdout] test httpx::response::tests::test_parse_response_line_ok ... ok [INFO] [stdout] test httpx::response::tests::test_minimal_get_request ... ok [INFO] [stdout] test httpx::response::tests::test_post_request_with_body ... ok [INFO] [stdout] test httpx::response::tests::test_delete_request_with_headers ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_query_string ... ok [INFO] [stdout] test httpx::response::tests::test_post_response_with_large_body ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e04303c65d2e75682467875198a8d7930fec81f8345a4c3ce25f5ba5ea3edf60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e04303c65d2e75682467875198a8d7930fec81f8345a4c3ce25f5ba5ea3edf60", kill_on_drop: false }` [INFO] [stdout] e04303c65d2e75682467875198a8d7930fec81f8345a4c3ce25f5ba5ea3edf60