[INFO] fetching crate http_desync_guardian 0.1.3... [INFO] checking http_desync_guardian-0.1.3 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate http_desync_guardian 0.1.3 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http_desync_guardian 0.1.3 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding strum v0.18.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.18.0 (available: v0.27.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29cfcc030ed87f7a3caf6e7577c08920c483c7e7b55880d7af21063aa74c0089 [INFO] running `Command { std: "docker" "start" "-a" "29cfcc030ed87f7a3caf6e7577c08920c483c7e7b55880d7af21063aa74c0089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29cfcc030ed87f7a3caf6e7577c08920c483c7e7b55880d7af21063aa74c0089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29cfcc030ed87f7a3caf6e7577c08920c483c7e7b55880d7af21063aa74c0089", kill_on_drop: false }` [INFO] [stdout] 29cfcc030ed87f7a3caf6e7577c08920c483c7e7b55880d7af21063aa74c0089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 608fe27b8e1dc9a58ea201a4062131f92838f926f0e9909ce3ba2e5b8efffda0 [INFO] running `Command { std: "docker" "start" "-a" "608fe27b8e1dc9a58ea201a4062131f92838f926f0e9909ce3ba2e5b8efffda0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling http_desync_guardian v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling strum_macros v0.18.0 [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: hiding a lifetime that's elided elsewhere is 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 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] 222 | fn as_http_token(&self, name: &'static str) -> HttpToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 23 | pub const fn http_token(v: &str) -> HttpToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 267 | pub fn parse_num(value: HttpToken<'_>) -> Result { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request_analyzer.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse(buf: HttpToken<'a>) -> (Self, RequestAnalysisState) { [INFO] [stdout] | ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 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] 222 | fn as_http_token(&self, name: &'static str) -> HttpToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 23 | pub const fn http_token(v: &str) -> HttpToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request_analyzer.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse(buf: HttpToken<'a>) -> (Self, RequestAnalysisState) { [INFO] [stdout] | ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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 8.68s [INFO] running `Command { std: "docker" "inspect" "608fe27b8e1dc9a58ea201a4062131f92838f926f0e9909ce3ba2e5b8efffda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "608fe27b8e1dc9a58ea201a4062131f92838f926f0e9909ce3ba2e5b8efffda0", kill_on_drop: false }` [INFO] [stdout] 608fe27b8e1dc9a58ea201a4062131f92838f926f0e9909ce3ba2e5b8efffda0