[INFO] cloning repository https://github.com/preboy/rweb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/preboy/rweb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreboy%2Frweb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreboy%2Frweb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1bdee7bcd1a3fcf09d0032e1bff7091a076c811 [INFO] testing preboy/rweb against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreboy%2Frweb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/preboy/rweb [INFO] finished tweaking git repo https://github.com/preboy/rweb [INFO] tweaked toml for git repo https://github.com/preboy/rweb written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/preboy/rweb on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/preboy/rweb 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded xxhash-rust v0.8.15 [INFO] [stderr] Downloaded base64ct v1.8.2 [INFO] [stderr] Downloaded tokio-stream v0.1.18 [INFO] [stderr] Downloaded prost-build v0.14.1 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded prost-types v0.14.1 [INFO] [stderr] Downloaded arcstr v1.2.0 [INFO] [stderr] Downloaded zmij v1.0.10 [INFO] [stderr] Downloaded syn v2.0.113 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded redis v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a01830948cfc75154ded9e3a1e20262e73fd96f38a57a1080de30483b8bcb5c8 [INFO] running `Command { std: "docker" "start" "-a" "a01830948cfc75154ded9e3a1e20262e73fd96f38a57a1080de30483b8bcb5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a01830948cfc75154ded9e3a1e20262e73fd96f38a57a1080de30483b8bcb5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a01830948cfc75154ded9e3a1e20262e73fd96f38a57a1080de30483b8bcb5c8", kill_on_drop: false }` [INFO] [stdout] a01830948cfc75154ded9e3a1e20262e73fd96f38a57a1080de30483b8bcb5c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aa6cdffc4a7b8513033fc20a55d49ba34701dc0625da42a303a997841a1014d [INFO] running `Command { std: "docker" "start" "-a" "9aa6cdffc4a7b8513033fc20a55d49ba34701dc0625da42a303a997841a1014d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zmij v1.0.10 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling base64ct v1.8.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling jiff v0.2.17 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling arcstr v1.2.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling rweb v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: rweb@0.1.0: OUT_DIR: /opt/rustwide/target/debug/build/rweb-15934da7a4edd302/out [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling redis v1.0.2 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.1 [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/handler/book.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, sync::Arc}; [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: `PgQueryResult` [INFO] [stdout] --> src/handler/book.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | postgres::{PgQueryResult, PgRow}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySqlPoolOptions` [INFO] [stdout] --> src/state.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | mysql::{MySql, MySqlPoolOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, and `Bytes` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/handler/book.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let rows: Vec = sqlx::query("SELECT * FROM t2;") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/handler/book.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let result = sqlx::query("INSERT INTO t2 (id, name, age, sex) VALUES ($1, $2, $3, $4);") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | dbg!("{result}"); [INFO] [stdout] | ---------- you might have meant to use string interpolation in this string literal [INFO] [stdout] | [INFO] [stdout] help: string interpolation only works in `format!` invocations [INFO] [stdout] | [INFO] [stdout] 78 | dbg!(format!("{result}")); [INFO] [stdout] | ++++++++ + [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 69 | let _result = sqlx::query("INSERT INTO t2 (id, name, age, sex) VALUES ($1, $2, $3, $4);") [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter` and `mysql_client` are never read [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | pub redis_client: Client, [INFO] [stdout] 13 | pub counter: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub mysql_client: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 30s [INFO] running `Command { std: "docker" "inspect" "9aa6cdffc4a7b8513033fc20a55d49ba34701dc0625da42a303a997841a1014d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa6cdffc4a7b8513033fc20a55d49ba34701dc0625da42a303a997841a1014d", kill_on_drop: false }` [INFO] [stdout] 9aa6cdffc4a7b8513033fc20a55d49ba34701dc0625da42a303a997841a1014d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af6a35112da9864e9a2aa87ae5750eff2d916b6ef70c4a1c61cb3785159f736d [INFO] running `Command { std: "docker" "start" "-a" "af6a35112da9864e9a2aa87ae5750eff2d916b6ef70c4a1c61cb3785159f736d", kill_on_drop: false }` [INFO] [stderr] warning: rweb@0.1.0: OUT_DIR: /opt/rustwide/target/debug/build/rweb-15934da7a4edd302/out [INFO] [stderr] Compiling rweb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/handler/book.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, sync::Arc}; [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: `PgQueryResult` [INFO] [stdout] --> src/handler/book.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | postgres::{PgQueryResult, PgRow}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySqlPoolOptions` [INFO] [stdout] --> src/state.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | mysql::{MySql, MySqlPoolOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, and `Bytes` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/handler/book.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let rows: Vec = sqlx::query("SELECT * FROM t2;") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/handler/book.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let result = sqlx::query("INSERT INTO t2 (id, name, age, sex) VALUES ($1, $2, $3, $4);") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | dbg!("{result}"); [INFO] [stdout] | ---------- you might have meant to use string interpolation in this string literal [INFO] [stdout] | [INFO] [stdout] help: string interpolation only works in `format!` invocations [INFO] [stdout] | [INFO] [stdout] 78 | dbg!(format!("{result}")); [INFO] [stdout] | ++++++++ + [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 69 | let _result = sqlx::query("INSERT INTO t2 (id, name, age, sex) VALUES ($1, $2, $3, $4);") [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter` and `mysql_client` are never read [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | pub redis_client: Client, [INFO] [stdout] 13 | pub counter: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub mysql_client: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "af6a35112da9864e9a2aa87ae5750eff2d916b6ef70c4a1c61cb3785159f736d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6a35112da9864e9a2aa87ae5750eff2d916b6ef70c4a1c61cb3785159f736d", kill_on_drop: false }` [INFO] [stdout] af6a35112da9864e9a2aa87ae5750eff2d916b6ef70c4a1c61cb3785159f736d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73c3aee174a988620e551c45b9cf2d28e77d53508a3ecaf76039a1311b02c764 [INFO] running `Command { std: "docker" "start" "-a" "73c3aee174a988620e551c45b9cf2d28e77d53508a3ecaf76039a1311b02c764", kill_on_drop: false }` [INFO] [stderr] warning: rweb@0.1.0: OUT_DIR: /opt/rustwide/target/debug/build/rweb-15934da7a4edd302/out [INFO] [stderr] warning: unused import: `fmt::Debug` [INFO] [stderr] --> src/handler/book.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{fmt::Debug, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PgQueryResult` [INFO] [stderr] --> src/handler/book.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | postgres::{PgQueryResult, PgRow}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MySqlPoolOptions` [INFO] [stderr] --> src/state.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | mysql::{MySql, MySqlPoolOptions}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, and `Bytes` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ ^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rows` [INFO] [stderr] --> src/handler/book.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | let rows: Vec = sqlx::query("SELECT * FROM t2;") [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/handler/book.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let result = sqlx::query("INSERT INTO t2 (id, name, age, sex) VALUES ($1, $2, $3, $4);") [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | dbg!("{result}"); [INFO] [stderr] | ---------- you might have meant to use string interpolation in this string literal [INFO] [stderr] | [INFO] [stderr] help: string interpolation only works in `format!` invocations [INFO] [stderr] | [INFO] [stderr] 78 | dbg!(format!("{result}")); [INFO] [stderr] | ++++++++ + [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 69 | let _result = sqlx::query("INSERT INTO t2 (id, name, age, sex) VALUES ($1, $2, $3, $4);") [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: fields `counter` and `mysql_client` are never read [INFO] [stderr] --> src/state.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct AppState { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 12 | pub redis_client: Client, [INFO] [stderr] 13 | pub counter: usize, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 14 | pub mysql_client: Option>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rweb` (bin "rweb" test) generated 7 warnings (run `cargo fix --bin "rweb" -p rweb --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rweb-b5a63cea989467a8) [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" "73c3aee174a988620e551c45b9cf2d28e77d53508a3ecaf76039a1311b02c764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73c3aee174a988620e551c45b9cf2d28e77d53508a3ecaf76039a1311b02c764", kill_on_drop: false }` [INFO] [stdout] 73c3aee174a988620e551c45b9cf2d28e77d53508a3ecaf76039a1311b02c764