[INFO] fetching crate flask 2.1.1... [INFO] testing flask-2.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate flask 2.1.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flask 2.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86577926b80673b59f39ae4aed68e9efa1f3128c379c6232b6cb841d8939f493 [INFO] running `Command { std: "docker" "start" "-a" "86577926b80673b59f39ae4aed68e9efa1f3128c379c6232b6cb841d8939f493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86577926b80673b59f39ae4aed68e9efa1f3128c379c6232b6cb841d8939f493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86577926b80673b59f39ae4aed68e9efa1f3128c379c6232b6cb841d8939f493", kill_on_drop: false }` [INFO] [stdout] 86577926b80673b59f39ae4aed68e9efa1f3128c379c6232b6cb841d8939f493 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16cf84f8490020e33af456f240b23814744c65369b7c8c2cc2fbe5e78477e0c0 [INFO] running `Command { std: "docker" "start" "-a" "16cf84f8490020e33af456f240b23814744c65369b7c8c2cc2fbe5e78477e0c0", kill_on_drop: false }` [INFO] [stderr] Compiling minimal-lexical v0.2.1 [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: 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 2.52s [INFO] running `Command { std: "docker" "inspect" "16cf84f8490020e33af456f240b23814744c65369b7c8c2cc2fbe5e78477e0c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16cf84f8490020e33af456f240b23814744c65369b7c8c2cc2fbe5e78477e0c0", kill_on_drop: false }` [INFO] [stdout] 16cf84f8490020e33af456f240b23814744c65369b7c8c2cc2fbe5e78477e0c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20f6b5e421999737c3b5093eed00de4379a486d57c953e880285c70987f9cba1 [INFO] running `Command { std: "docker" "start" "-a" "20f6b5e421999737c3b5093eed00de4379a486d57c953e880285c70987f9cba1", kill_on_drop: false }` [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 parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [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 16.48s [INFO] running `Command { std: "docker" "inspect" "20f6b5e421999737c3b5093eed00de4379a486d57c953e880285c70987f9cba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f6b5e421999737c3b5093eed00de4379a486d57c953e880285c70987f9cba1", kill_on_drop: false }` [INFO] [stdout] 20f6b5e421999737c3b5093eed00de4379a486d57c953e880285c70987f9cba1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7d1fbcc58738a0802561994ef69e911ecfa485aba107b92636eb25cd818b565 [INFO] running `Command { std: "docker" "start" "-a" "f7d1fbcc58738a0802561994ef69e911ecfa485aba107b92636eb25cd818b565", 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flask-c833fc850b8d2c38) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test combinators::tests::test_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_bad_http_method ... 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_carriage_return ... ok [INFO] [stdout] test combinators::tests::test_space ... ok [INFO] [stdout] test combinators::tests::test_spaces ... ok [INFO] [stdout] test combinators::tests::test_http_method ... 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_carriage_return ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_newline ... ok [INFO] [stdout] test httpx::response::tests::test_parse_response_line_ok ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_headers ... ok [INFO] [stdout] test httpx::response::tests::test_basic_options_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_basic_head_request ... 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_get_request_with_query_string ... ok [INFO] [stdout] test httpx::response::tests::test_bad_missing_crlf ... ok [INFO] [stdout] test httpx::response::tests::test_get_request_with_query_string_not_matched ... 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.13s [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" "f7d1fbcc58738a0802561994ef69e911ecfa485aba107b92636eb25cd818b565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d1fbcc58738a0802561994ef69e911ecfa485aba107b92636eb25cd818b565", kill_on_drop: false }` [INFO] [stdout] f7d1fbcc58738a0802561994ef69e911ecfa485aba107b92636eb25cd818b565