[INFO] fetching crate flask 2.1.1... [INFO] testing flask-2.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate flask 2.1.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flask 2.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb5362859ea35def8e43dd4f287c9e842bb1673f8ca225b56554cbddf4564cc9 [INFO] running `Command { std: "docker" "start" "-a" "fb5362859ea35def8e43dd4f287c9e842bb1673f8ca225b56554cbddf4564cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb5362859ea35def8e43dd4f287c9e842bb1673f8ca225b56554cbddf4564cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5362859ea35def8e43dd4f287c9e842bb1673f8ca225b56554cbddf4564cc9", kill_on_drop: false }` [INFO] [stdout] fb5362859ea35def8e43dd4f287c9e842bb1673f8ca225b56554cbddf4564cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b86ff137e25c5de29ee691e3a6c6231e3c0640c502165b937fcc2126525cbab [INFO] running `Command { std: "docker" "start" "-a" "4b86ff137e25c5de29ee691e3a6c6231e3c0640c502165b937fcc2126525cbab", 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 1.29s [INFO] running `Command { std: "docker" "inspect" "4b86ff137e25c5de29ee691e3a6c6231e3c0640c502165b937fcc2126525cbab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b86ff137e25c5de29ee691e3a6c6231e3c0640c502165b937fcc2126525cbab", kill_on_drop: false }` [INFO] [stdout] 4b86ff137e25c5de29ee691e3a6c6231e3c0640c502165b937fcc2126525cbab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0200f2560c511651f64379b65e725e8bd9ac78f3fa27531fa21e9e2de00ca225 [INFO] running `Command { std: "docker" "start" "-a" "0200f2560c511651f64379b65e725e8bd9ac78f3fa27531fa21e9e2de00ca225", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.48.0 [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 colored v3.0.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [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 rand_core v0.9.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [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 tokio-util v0.7.17 [INFO] [stderr] Compiling regex v1.12.2 [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 18.56s [INFO] running `Command { std: "docker" "inspect" "0200f2560c511651f64379b65e725e8bd9ac78f3fa27531fa21e9e2de00ca225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0200f2560c511651f64379b65e725e8bd9ac78f3fa27531fa21e9e2de00ca225", kill_on_drop: false }` [INFO] [stdout] 0200f2560c511651f64379b65e725e8bd9ac78f3fa27531fa21e9e2de00ca225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 392ee8b14864303d4dd314ef0944301573316048b2780e041db6933175223e2a [INFO] running `Command { std: "docker" "start" "-a" "392ee8b14864303d4dd314ef0944301573316048b2780e041db6933175223e2a", 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.14s [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_http_method ... ok [INFO] [stdout] test combinators::tests::test_space ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_bad_missing_carriage_return ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_crlf ... 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_crlf ... ok [INFO] [stdout] test httpx::response::tests::test_bad_http_method ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_bad_missing_newline ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_carriage_return ... ok [INFO] [stdout] test httpx::request::tests::test_parse_request_line_good ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_newline ... ok [INFO] [stdout] test httpx::response::tests::test_basic_head_request ... ok [INFO] [stdout] test httpx::response::tests::test_parse_response_line_server_error ... ok [INFO] [stdout] test httpx::response::tests::test_delete_request_with_headers ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_headers ... ok [INFO] [stdout] test httpx::response::tests::test_post_request_with_body ... ok [INFO] [stdout] test httpx::response::tests::test_basic_options_request ... ok [INFO] [stdout] test httpx::response::tests::test_minimal_get_request ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_query_string ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_query_string_not_matched ... ok [INFO] [stdout] test httpx::response::tests::test_parse_response_line_ok ... ok [INFO] [stdout] test combinators::tests::test_crlf ... 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.07s [INFO] [stdout] [INFO] [stderr] Doc-tests flask [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" "392ee8b14864303d4dd314ef0944301573316048b2780e041db6933175223e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392ee8b14864303d4dd314ef0944301573316048b2780e041db6933175223e2a", kill_on_drop: false }` [INFO] [stdout] 392ee8b14864303d4dd314ef0944301573316048b2780e041db6933175223e2a