[INFO] fetching crate flask 2.1.1... [INFO] testing flask-2.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate flask 2.1.1 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flask 2.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 101 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.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99ca5568140d7fd438fd705e853aa893058fe65c2714e3bd3bef2fa653887130 [INFO] running `Command { std: "docker" "start" "-a" "99ca5568140d7fd438fd705e853aa893058fe65c2714e3bd3bef2fa653887130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99ca5568140d7fd438fd705e853aa893058fe65c2714e3bd3bef2fa653887130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ca5568140d7fd438fd705e853aa893058fe65c2714e3bd3bef2fa653887130", kill_on_drop: false }` [INFO] [stdout] 99ca5568140d7fd438fd705e853aa893058fe65c2714e3bd3bef2fa653887130 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df5f481afcecdbc4c94b8092fb4c7a72096748820275c1359f5288072d2c05fc [INFO] running `Command { std: "docker" "start" "-a" "df5f481afcecdbc4c94b8092fb4c7a72096748820275c1359f5288072d2c05fc", kill_on_drop: false }` [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/mod.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/request.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/response.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_response_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 0.45s [INFO] running `Command { std: "docker" "inspect" "df5f481afcecdbc4c94b8092fb4c7a72096748820275c1359f5288072d2c05fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5f481afcecdbc4c94b8092fb4c7a72096748820275c1359f5288072d2c05fc", kill_on_drop: false }` [INFO] [stdout] df5f481afcecdbc4c94b8092fb4c7a72096748820275c1359f5288072d2c05fc [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5a2c40bbf7733825b8591a29ab79203a863fcf0b52dfa5b01050835daf26215 [INFO] running `Command { std: "docker" "start" "-a" "f5a2c40bbf7733825b8591a29ab79203a863fcf0b52dfa5b01050835daf26215", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling colored v3.0.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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/mod.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/request.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/response.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_response_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/mod.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn read_header(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/request.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_request_line(line: &str) -> Result, FlaskError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/httpx/response.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_response_line(line: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 19.11s [INFO] running `Command { std: "docker" "inspect" "f5a2c40bbf7733825b8591a29ab79203a863fcf0b52dfa5b01050835daf26215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a2c40bbf7733825b8591a29ab79203a863fcf0b52dfa5b01050835daf26215", kill_on_drop: false }` [INFO] [stdout] f5a2c40bbf7733825b8591a29ab79203a863fcf0b52dfa5b01050835daf26215 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 17b3776df2d3d499da0aad06446456d74849be08e239f83ca87ab9c58fc100e2 [INFO] running `Command { std: "docker" "start" "-a" "17b3776df2d3d499da0aad06446456d74849be08e239f83ca87ab9c58fc100e2", 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/httpx/mod.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | fn read_header(line: &str) -> Result { [INFO] [stderr] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 63 | fn read_header(line: &str) -> Result, FlaskError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/httpx/request.rs:26:29 [INFO] [stderr] | [INFO] [stderr] 26 | fn parse_request_line(line: &str) -> Result { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | fn parse_request_line(line: &str) -> Result, FlaskError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/httpx/response.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | fn parse_response_line(line: &str) -> Result { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flask-cb4e0759ea471bdd) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test combinators::tests::test_space ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_bad_http_method ... ok [INFO] [stdout] test combinators::tests::test_spaces ... 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_good ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_bad_missing_newline ... 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_bad_missing_newline ... ok [INFO] [stdout] test combinators::tests::test_crlf ... ok [INFO] [stdout] test httpx::response::tests::test_parse_response_line_ok ... ok [INFO] [stdout] test httpx::response::tests::test_parse_response_line_server_error ... 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_post_request_with_body ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_carriage_return ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_query_string_not_matched ... ok [INFO] [stdout] test httpx::response::tests::test_minimal_get_request ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_headers ... ok [INFO] [stdout] test httpx::response::tests::test_delete_request_with_headers ... ok [INFO] [stdout] test httpx::response::tests::test_basic_options_request ... 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] [stderr] Doc-tests flask [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "17b3776df2d3d499da0aad06446456d74849be08e239f83ca87ab9c58fc100e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b3776df2d3d499da0aad06446456d74849be08e239f83ca87ab9c58fc100e2", kill_on_drop: false }` [INFO] [stdout] 17b3776df2d3d499da0aad06446456d74849be08e239f83ca87ab9c58fc100e2