[INFO] cloning repository https://github.com/johanlabs/rust-scriba [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johanlabs/rust-scriba" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanlabs%2Frust-scriba", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanlabs%2Frust-scriba'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02c8779c4c72f1ff9a4836cc56d27d577f7fa456 [INFO] testing johanlabs/rust-scriba against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanlabs%2Frust-scriba" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/johanlabs/rust-scriba [INFO] finished tweaking git repo https://github.com/johanlabs/rust-scriba [INFO] tweaked toml for git repo https://github.com/johanlabs/rust-scriba written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/johanlabs/rust-scriba on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/johanlabs/rust-scriba 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded napi-sys v2.4.0 [INFO] [stderr] Downloaded napi-derive v2.16.13 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded libsql-hrana v0.2.0 [INFO] [stderr] Downloaded libsql_replication v0.4.0 [INFO] [stderr] Downloaded hyper-rustls v0.25.0 [INFO] [stderr] Downloaded libsql-sys v0.6.0 [INFO] [stderr] Downloaded napi-derive-backend v1.0.75 [INFO] [stderr] Downloaded napi v2.16.17 [INFO] [stderr] Downloaded crossbeam-skiplist v0.1.3 [INFO] [stderr] Downloaded tonic v0.11.0 [INFO] [stderr] Downloaded libsql v0.4.0 [INFO] [stderr] Downloaded libsql-sqlite3-parser v0.12.0 [INFO] [stderr] Downloaded libsql-rusqlite v0.31.0 [INFO] [stderr] Downloaded tonic-web v0.11.0 [INFO] [stderr] Downloaded libsql-ffi v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 574d2b431a5a53a8a067b0ff920604ed2c7c819b8ceb687572ed37b122a0e6d8 [INFO] running `Command { std: "docker" "start" "-a" "574d2b431a5a53a8a067b0ff920604ed2c7c819b8ceb687572ed37b122a0e6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "574d2b431a5a53a8a067b0ff920604ed2c7c819b8ceb687572ed37b122a0e6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574d2b431a5a53a8a067b0ff920604ed2c7c819b8ceb687572ed37b122a0e6d8", kill_on_drop: false }` [INFO] [stdout] 574d2b431a5a53a8a067b0ff920604ed2c7c819b8ceb687572ed37b122a0e6d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c413a910f1a30d68710924aee2bb75d8af0d8735b243520142e295d0af39402 [INFO] running `Command { std: "docker" "start" "-a" "8c413a910f1a30d68710924aee2bb75d8af0d8735b243520142e295d0af39402", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling libsql-sqlite3-parser v0.12.0 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling libsql-hrana v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling libsql-ffi v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling napi v2.16.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling libsql-rusqlite v0.31.0 [INFO] [stderr] Compiling libsql-sys v0.6.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.25.0 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling tonic-web v0.11.0 [INFO] [stderr] Compiling libsql_replication v0.4.0 [INFO] [stderr] Compiling libsql v0.4.0 [INFO] [stderr] Compiling rust-scriba v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let mut tx = tx; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ok` is never read [INFO] [stdout] --> src/lib.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | ... ok = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_ttl_secs` is never read [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | default_ttl_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_access_ms` is never read [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct TenantCache { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | last_access_ms: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scribaPath` should have a snake case name [INFO] [stdout] --> src/lib.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn scribaPath(path: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `scriba_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "8c413a910f1a30d68710924aee2bb75d8af0d8735b243520142e295d0af39402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c413a910f1a30d68710924aee2bb75d8af0d8735b243520142e295d0af39402", kill_on_drop: false }` [INFO] [stdout] 8c413a910f1a30d68710924aee2bb75d8af0d8735b243520142e295d0af39402 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b65dbadc49c7a6e1353dfcd542e0c6130af588dd237569dc3ccef6ae4d233a1 [INFO] running `Command { std: "docker" "start" "-a" "0b65dbadc49c7a6e1353dfcd542e0c6130af588dd237569dc3ccef6ae4d233a1", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling libsql-rusqlite v0.31.0 [INFO] [stderr] Compiling libsql-sys v0.6.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling tonic-web v0.11.0 [INFO] [stderr] Compiling libsql_replication v0.4.0 [INFO] [stderr] Compiling libsql v0.4.0 [INFO] [stderr] Compiling rust-scriba v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let mut tx = tx; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ok` is never read [INFO] [stdout] --> src/lib.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | ... ok = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `default_ttl_secs` and `checkpoint_interval_secs` are never read [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | default_ttl_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | checkpoint_interval_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_access_ms` is never read [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct TenantCache { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | last_access_ms: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_from_real_db` is never used [INFO] [stdout] --> src/lib.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 309 | async fn fetch_from_real_db(_tenant: &str, _sql: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_cache_system` is never used [INFO] [stdout] --> src/lib.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn init_cache_system() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scribaPath` is never used [INFO] [stdout] --> src/lib.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn scribaPath(path: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/lib.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | async fn query(tenant: String, sql: String, ttl: Option) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scribaPath` should have a snake case name [INFO] [stdout] --> src/lib.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn scribaPath(path: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `scriba_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.58s [INFO] running `Command { std: "docker" "inspect" "0b65dbadc49c7a6e1353dfcd542e0c6130af588dd237569dc3ccef6ae4d233a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b65dbadc49c7a6e1353dfcd542e0c6130af588dd237569dc3ccef6ae4d233a1", kill_on_drop: false }` [INFO] [stdout] 0b65dbadc49c7a6e1353dfcd542e0c6130af588dd237569dc3ccef6ae4d233a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3040ac62394d74037e6a526d8f2e1b417cfeb49e60f2c0e5a9561196975d65b [INFO] running `Command { std: "docker" "start" "-a" "d3040ac62394d74037e6a526d8f2e1b417cfeb49e60f2c0e5a9561196975d65b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tokio::task` [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:15:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 15 | use tokio::task; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:272:25 [INFO] [stderr] | [INFO] [stderr] 272 | let mut tx = tx; [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `ok` is never read [INFO] [stderr] --> src/lib.rs:287:29 [INFO] [stderr] | [INFO] [stderr] 287 | ... ok = false; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `default_ttl_secs` and `checkpoint_interval_secs` are never read [INFO] [stderr] --> src/lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 17 | struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | default_ttl_secs: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | checkpoint_interval_secs: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `last_access_ms` is never read [INFO] [stderr] --> src/lib.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct TenantCache { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 62 | last_access_ms: AtomicU64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fetch_from_real_db` is never used [INFO] [stderr] --> src/lib.rs:309:10 [INFO] [stderr] | [INFO] [stderr] 309 | async fn fetch_from_real_db(_tenant: &str, _sql: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_cache_system` is never used [INFO] [stderr] --> src/lib.rs:316:4 [INFO] [stderr] | [INFO] [stderr] 316 | fn init_cache_system() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `scribaPath` is never used [INFO] [stderr] --> src/lib.rs:330:4 [INFO] [stderr] | [INFO] [stderr] 330 | fn scribaPath(path: String) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `query` is never used [INFO] [stderr] --> src/lib.rs:339:10 [INFO] [stderr] | [INFO] [stderr] 339 | async fn query(tenant: String, sql: String, ttl: Option) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `scribaPath` should have a snake case name [INFO] [stderr] --> src/lib.rs:330:4 [INFO] [stderr] | [INFO] [stderr] 330 | fn scribaPath(path: String) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `scriba_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-scriba` (lib test) generated 10 warnings (run `cargo fix --lib -p rust-scriba --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_scriba-8cf2c6e0b0e39e3f) [INFO] running `Command { std: "docker" "inspect" "d3040ac62394d74037e6a526d8f2e1b417cfeb49e60f2c0e5a9561196975d65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3040ac62394d74037e6a526d8f2e1b417cfeb49e60f2c0e5a9561196975d65b", kill_on_drop: false }` [INFO] [stdout] d3040ac62394d74037e6a526d8f2e1b417cfeb49e60f2c0e5a9561196975d65b