[INFO] cloning repository https://github.com/Fodesu/tiny_memory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fodesu/tiny_memory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodesu%2Ftiny_memory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodesu%2Ftiny_memory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48835f52038cb51beed09000fc7e00a29dc84149 [INFO] checking Fodesu/tiny_memory against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFodesu%2Ftiny_memory" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Fodesu/tiny_memory [INFO] finished tweaking git repo https://github.com/Fodesu/tiny_memory [INFO] tweaked toml for git repo https://github.com/Fodesu/tiny_memory written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fodesu/tiny_memory on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Fodesu/tiny_memory 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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust2 v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f01a094e589b432d0ac48a659e9d0ca5df6e2e510f115b5cbb4721608ec77b5f [INFO] running `Command { std: "docker" "start" "-a" "f01a094e589b432d0ac48a659e9d0ca5df6e2e510f115b5cbb4721608ec77b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f01a094e589b432d0ac48a659e9d0ca5df6e2e510f115b5cbb4721608ec77b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f01a094e589b432d0ac48a659e9d0ca5df6e2e510f115b5cbb4721608ec77b5f", kill_on_drop: false }` [INFO] [stdout] f01a094e589b432d0ac48a659e9d0ca5df6e2e510f115b5cbb4721608ec77b5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6273d5411a430d15ce13ca6455cb59d3698a3f5dc7a5938505f9b33c200aff06 [INFO] running `Command { std: "docker" "start" "-a" "6273d5411a430d15ce13ca6455cb59d3698a3f5dc7a5938505f9b33c200aff06", kill_on_drop: false }` [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling erased-serde v0.4.10 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking winnow v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml_datetime v1.0.1+spec-1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking toml_parser v1.0.10+spec-1.1.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking ron v0.12.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking toml v1.0.7+spec-1.1.0 [INFO] [stderr] Checking yaml-rust2 v0.10.4 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking config v0.15.22 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking utoipa v5.4.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking tiny_memory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `DatabaseConfig` is never constructed [INFO] [stdout] --> src/core/config.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DatabaseConfig { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/core/config.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/config.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONFIG` is never used [INFO] [stdout] --> src/core/config.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub static CONFIG: once_cell::sync::Lazy = [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Postgres` is never constructed [INFO] [stdout] --> src/core/db.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Postgres { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_config` are never used [INFO] [stdout] --> src/core/db.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Postgres { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 14 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn from_config() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_pool` is never used [INFO] [stdout] --> src/core/db.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn create_pool() -> sqlx::Pool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POOL` is never used [INFO] [stdout] --> src/core/db.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | static POOL: tokio::sync::OnceCell> = tokio::sync::OnceCell::const_new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pool` is never used [INFO] [stdout] --> src/core/db.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn pool() -> &'static sqlx::Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/memory/session.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Turn` is never constructed [INFO] [stdout] --> src/memory/session.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Turn { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/session.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Turn { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(role: Role, content: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Session` is never constructed [INFO] [stdout] --> src/memory/session.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_turn`, `end`, `is_ended`, and `turn_count` are never used [INFO] [stdout] --> src/memory/session.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Session { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 41 | pub fn new(user_id: Uuid) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn push_turn(&mut self, role: Role, content: impl Into) -> &Turn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn end(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn turn_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DatabaseConfig { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/db.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Postgres { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/memory/session.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Turn` is never constructed [INFO] [stdout] --> src/memory/session.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Turn { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/session.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Turn { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(role: Role, content: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Session` is never constructed [INFO] [stdout] --> src/memory/session.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_turn`, `end`, `is_ended`, and `turn_count` are never used [INFO] [stdout] --> src/memory/session.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Session { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 41 | pub fn new(user_id: Uuid) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn push_turn(&mut self, role: Role, content: impl Into) -> &Turn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn end(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_ended(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn turn_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "6273d5411a430d15ce13ca6455cb59d3698a3f5dc7a5938505f9b33c200aff06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6273d5411a430d15ce13ca6455cb59d3698a3f5dc7a5938505f9b33c200aff06", kill_on_drop: false }` [INFO] [stdout] 6273d5411a430d15ce13ca6455cb59d3698a3f5dc7a5938505f9b33c200aff06