[INFO] cloning repository https://github.com/fmgono/rust-tiny-http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fmgono/rust-tiny-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmgono%2Frust-tiny-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmgono%2Frust-tiny-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1c39fdc2cc2af5f394e1adb5e73ff2109e660ad [INFO] checking fmgono/rust-tiny-http-server against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155500 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmgono%2Frust-tiny-http-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fmgono/rust-tiny-http-server [INFO] finished tweaking git repo https://github.com/fmgono/rust-tiny-http-server [INFO] tweaked toml for git repo https://github.com/fmgono/rust-tiny-http-server written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fmgono/rust-tiny-http-server on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fmgono/rust-tiny-http-server 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39166858460f6bbd6d6e45f0aa8ef8f22cc9ee59e9de4976888c3678ef4bbf34 [INFO] running `Command { std: "docker" "start" "-a" "39166858460f6bbd6d6e45f0aa8ef8f22cc9ee59e9de4976888c3678ef4bbf34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39166858460f6bbd6d6e45f0aa8ef8f22cc9ee59e9de4976888c3678ef4bbf34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39166858460f6bbd6d6e45f0aa8ef8f22cc9ee59e9de4976888c3678ef4bbf34", kill_on_drop: false }` [INFO] [stdout] 39166858460f6bbd6d6e45f0aa8ef8f22cc9ee59e9de4976888c3678ef4bbf34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b491f133192d79dfa949fcf9934973840849f07123b1573006f7adde898e56d5 [INFO] running `Command { std: "docker" "start" "-a" "b491f133192d79dfa949fcf9934973840849f07123b1573006f7adde898e56d5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking sqlformat v0.2.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking tiny_http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::usize` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::usize` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 27 | / loop { [INFO] [stdout] 28 | | let (mut socket, addr) = listener.accept().await?; [INFO] [stdout] 29 | | println!("Connection established!"); [INFO] [stdout] 30 | | let db_pool = pool.clone(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | }); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 100 | [INFO] [stdout] 101 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let (mut socket, addr) = listener.accept().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 27 | / loop { [INFO] [stdout] 28 | | let (mut socket, addr) = listener.accept().await?; [INFO] [stdout] 29 | | println!("Connection established!"); [INFO] [stdout] 30 | | let db_pool = pool.clone(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | }); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 100 | [INFO] [stdout] 101 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / sqlx::query( [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | CREATE TABLE IF NOT EXISTS users ( [INFO] [stdout] 108 | | id SERIAL PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 114 | | .execute(pool) [INFO] [stdout] 115 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = sqlx::query( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / sqlx::query( [INFO] [stdout] 119 | | r#" [INFO] [stdout] 120 | | INSERT INTO users (id, name, email) [INFO] [stdout] 121 | | VALUES (1, 'Fathan', 'fathan@rust.com') [INFO] [stdout] ... | [INFO] [stdout] 127 | | .await [INFO] [stdout] 128 | | .inspect(|_| println!("Dummy user created...")); [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = sqlx::query( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let (mut socket, addr) = listener.accept().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / sqlx::query( [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | CREATE TABLE IF NOT EXISTS users ( [INFO] [stdout] 108 | | id SERIAL PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 114 | | .execute(pool) [INFO] [stdout] 115 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = sqlx::query( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / sqlx::query( [INFO] [stdout] 119 | | r#" [INFO] [stdout] 120 | | INSERT INTO users (id, name, email) [INFO] [stdout] 121 | | VALUES (1, 'Fathan', 'fathan@rust.com') [INFO] [stdout] ... | [INFO] [stdout] 127 | | .await [INFO] [stdout] 128 | | .inspect(|_| println!("Dummy user created...")); [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = sqlx::query( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "b491f133192d79dfa949fcf9934973840849f07123b1573006f7adde898e56d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b491f133192d79dfa949fcf9934973840849f07123b1573006f7adde898e56d5", kill_on_drop: false }` [INFO] [stdout] b491f133192d79dfa949fcf9934973840849f07123b1573006f7adde898e56d5