[INFO] fetching crate foxhole 0.4.0... [INFO] checking foxhole-0.4.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate foxhole 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate foxhole 0.4.0 [INFO] finished tweaking crates.io crate foxhole 0.4.0 [INFO] tweaked toml for crates.io crate foxhole 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate foxhole 0.4.0 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] crate crates.io crate foxhole 0.4.0 already has a lockfile, it will not be regenerated [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] 50a882b457f1f407bd7e1458f4d84d7aae098317e6d7031eeb7428ae7ed1ccd7 [INFO] running `Command { std: "docker" "start" "-a" "50a882b457f1f407bd7e1458f4d84d7aae098317e6d7031eeb7428ae7ed1ccd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50a882b457f1f407bd7e1458f4d84d7aae098317e6d7031eeb7428ae7ed1ccd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a882b457f1f407bd7e1458f4d84d7aae098317e6d7031eeb7428ae7ed1ccd7", kill_on_drop: false }` [INFO] [stdout] 50a882b457f1f407bd7e1458f4d84d7aae098317e6d7031eeb7428ae7ed1ccd7 [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] 7109233ecd04dbc3ac92369072ac9f4a7964b26e02c6d53ed38f086655b6b0c4 [INFO] running `Command { std: "docker" "start" "-a" "7109233ecd04dbc3ac92369072ac9f4a7964b26e02c6d53ed38f086655b6b0c4", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling aws-lc-rs v1.6.2 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking rustls-pki-types v1.3.1 [INFO] [stderr] Compiling rustls v0.23.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking rustls-pemfile v2.1.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling aws-lc-sys v0.13.3 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Checking foxhole v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `TlsConnection` is never constructed [INFO] [stdout] --> src/tls_connection.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TlsConnection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tls_connection.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TlsConnection { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(stream: TcpStream, conn: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lazy.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get<'a>(&'a self) -> &[u8] { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get<'a>(&'a self) -> &'a [u8] { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TlsConnection` is never constructed [INFO] [stdout] --> src/tls_connection.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TlsConnection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tls_connection.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TlsConnection { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(stream: TcpStream, conn: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lazy.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get<'a>(&'a self) -> &[u8] { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get<'a>(&'a self) -> &'a [u8] { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> examples/https.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `Http1`, `Scope`, and `sys` [INFO] [stdout] --> examples/https.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use foxhole::{action::Html, Http1, resolve::Get, sys, App, Scope}; [INFO] [stdout] | ^^^^^ ^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustls::ServerConfig` [INFO] [stdout] --> examples/https.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rustls::ServerConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CERT_FILE` is never used [INFO] [stdout] --> examples/https.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CERT_FILE: &[u8] = include_bytes!("./auth/cert.pem"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_FILE` is never used [INFO] [stdout] --> examples/https.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const KEY_FILE: &[u8] = include_bytes!("./auth/key.pem"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> examples/https.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get(_get: Get) -> Html { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.16s [INFO] running `Command { std: "docker" "inspect" "7109233ecd04dbc3ac92369072ac9f4a7964b26e02c6d53ed38f086655b6b0c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7109233ecd04dbc3ac92369072ac9f4a7964b26e02c6d53ed38f086655b6b0c4", kill_on_drop: false }` [INFO] [stdout] 7109233ecd04dbc3ac92369072ac9f4a7964b26e02c6d53ed38f086655b6b0c4