[INFO] fetching crate http_desync_guardian 0.1.3... [INFO] checking http_desync_guardian-0.1.3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate http_desync_guardian 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate http_desync_guardian 0.1.3 [INFO] finished tweaking crates.io crate http_desync_guardian 0.1.3 [INFO] tweaked toml for crates.io crate http_desync_guardian 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http_desync_guardian 0.1.3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 83 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding strum v0.18.0 (available: v0.27.1) [INFO] [stderr] Adding strum_macros v0.18.0 (available: v0.27.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52c17535dcf426110c8052ba2816673d40893ea74e6d88af9caa0036fdcd3bff [INFO] running `Command { std: "docker" "start" "-a" "52c17535dcf426110c8052ba2816673d40893ea74e6d88af9caa0036fdcd3bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52c17535dcf426110c8052ba2816673d40893ea74e6d88af9caa0036fdcd3bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52c17535dcf426110c8052ba2816673d40893ea74e6d88af9caa0036fdcd3bff", kill_on_drop: false }` [INFO] [stdout] 52c17535dcf426110c8052ba2816673d40893ea74e6d88af9caa0036fdcd3bff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfc0c24e166d0f019172757621005a073e5e9c9a57961404dd84af74520b9021 [INFO] running `Command { std: "docker" "start" "-a" "dfc0c24e166d0f019172757621005a073e5e9c9a57961404dd84af74520b9021", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling http_desync_guardian v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/metrics.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | .compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | fn as_http_token(&self, name: &'static str) -> HttpToken { [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] 222 | fn as_http_token(&self, name: &'static str) -> HttpToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http_token_utils.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub const fn http_token(v: &str) -> HttpToken { [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] 23 | pub const fn http_token(v: &str) -> HttpToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http_token_utils.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_num(value: HttpToken) -> 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] 267 | pub fn parse_num(value: HttpToken<'_>) -> Result { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request_analyzer.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse(buf: HttpToken<'a>) -> (Self, RequestAnalysisState) { [INFO] [stdout] | ^^ -------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 148 | fn parse(buf: HttpToken<'a>) -> (Self, RequestAnalysisState<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | fn as_http_token(&self, name: &'static str) -> HttpToken { [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] 222 | fn as_http_token(&self, name: &'static str) -> HttpToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http_token_utils.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub const fn http_token(v: &str) -> HttpToken { [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] 23 | pub const fn http_token(v: &str) -> HttpToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http_token_utils.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn parse_num(value: HttpToken) -> 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] 267 | pub fn parse_num(value: HttpToken<'_>) -> Result { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/http_token_utils.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | / &[TE, CL].iter().for_each(|h| { [INFO] [stdout] 390 | | h.iter().for_each(|b| { [INFO] [stdout] 391 | | assert_eq!(b.to_ascii_lowercase(), *b); [INFO] [stdout] 392 | | }); [INFO] [stdout] 393 | | }); [INFO] [stdout] | |__________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 389 | let _ = &[TE, CL].iter().for_each(|h| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request_analyzer.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse(buf: HttpToken<'a>) -> (Self, RequestAnalysisState) { [INFO] [stdout] | ^^ -------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 148 | fn parse(buf: HttpToken<'a>) -> (Self, RequestAnalysisState<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/request_analyzer.rs:1456:17 [INFO] [stdout] | [INFO] [stdout] 1456 | format!("Case {}. Expected '{}' to be in '{}'", case.name, m, s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1456 - format!("Case {}. Expected '{}' to be in '{}'", case.name, m, s) [INFO] [stdout] 1456 + "Case {}. Expected '{}' to be in '{}'", case.name, m, s [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.60s [INFO] running `Command { std: "docker" "inspect" "dfc0c24e166d0f019172757621005a073e5e9c9a57961404dd84af74520b9021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc0c24e166d0f019172757621005a073e5e9c9a57961404dd84af74520b9021", kill_on_drop: false }` [INFO] [stdout] dfc0c24e166d0f019172757621005a073e5e9c9a57961404dd84af74520b9021