[INFO] cloning repository https://github.com/volfco/cloudreve-mcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volfco/cloudreve-mcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolfco%2Fcloudreve-mcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolfco%2Fcloudreve-mcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e6d8db178ea7feb5af965031cb3f1daf247bd39 [INFO] testing volfco/cloudreve-mcp against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolfco%2Fcloudreve-mcp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/volfco/cloudreve-mcp [INFO] finished tweaking git repo https://github.com/volfco/cloudreve-mcp [INFO] tweaked toml for git repo https://github.com/volfco/cloudreve-mcp written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/volfco/cloudreve-mcp on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/volfco/cloudreve-mcp 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7d4b392e9efa653081944b3edad4084b9596a8992d9f75a02a82993d1beeea6 [INFO] running `Command { std: "docker" "start" "-a" "b7d4b392e9efa653081944b3edad4084b9596a8992d9f75a02a82993d1beeea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7d4b392e9efa653081944b3edad4084b9596a8992d9f75a02a82993d1beeea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d4b392e9efa653081944b3edad4084b9596a8992d9f75a02a82993d1beeea6", kill_on_drop: false }` [INFO] [stdout] b7d4b392e9efa653081944b3edad4084b9596a8992d9f75a02a82993d1beeea6 [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed8bcbda8298ec35179bd29f37c231b274a936f8ae82437f2c1f0d84aa3dae78 [INFO] running `Command { std: "docker" "start" "-a" "ed8bcbda8298ec35179bd29f37c231b274a936f8ae82437f2c1f0d84aa3dae78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling rmcp v0.14.0 (https://github.com/modelcontextprotocol/rust-sdk?branch=main#8bd3fcb8) [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling rmcp-macros v0.14.0 (https://github.com/modelcontextprotocol/rust-sdk?branch=main#8bd3fcb8) [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling schemars v1.2.1 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling actix-web v4.12.1 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling cloudreve-mcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cloudreve.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct UserInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | pub user_name: String, [INFO] [stdout] 25 | pub nickname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub email: String, [INFO] [stdout] 27 | pub group_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub avatar: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | pub storage: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInfo` has a derived impl for the trait `Debug`, 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] [stdout] warning: fields `id`, `path`, `size`, `created_at`, `updated_at`, and `owner` are never read [INFO] [stdout] --> src/cloudreve.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FileInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] 39 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub file_type: String, [INFO] [stdout] 42 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `parent_id`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/cloudreve.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct DirectoryInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 49 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadFileRequest` is never constructed [INFO] [stdout] --> src/cloudreve.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct UploadFileRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upload_file` is never used [INFO] [stdout] --> src/cloudreve.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl CloudreveClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn upload_file(&self, path: &str, filename: &str, content: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initialized` is never read [INFO] [stdout] --> src/mcp.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ServerState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | pub client: CloudreveClient, [INFO] [stdout] 10 | pub initialized: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/mcp.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CloudreveMcpServer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | state: ServerState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolsListRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ToolsListRequest {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PingRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PingRequest {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "ed8bcbda8298ec35179bd29f37c231b274a936f8ae82437f2c1f0d84aa3dae78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed8bcbda8298ec35179bd29f37c231b274a936f8ae82437f2c1f0d84aa3dae78", kill_on_drop: false }` [INFO] [stdout] ed8bcbda8298ec35179bd29f37c231b274a936f8ae82437f2c1f0d84aa3dae78 [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1583cafd23b4ffe418772c4a208ada27094cee04d5ca60bdb88f1cdd0bfd517c [INFO] running `Command { std: "docker" "start" "-a" "1583cafd23b4ffe418772c4a208ada27094cee04d5ca60bdb88f1cdd0bfd517c", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling cloudreve-mcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cloudreve.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct UserInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | pub user_name: String, [INFO] [stdout] 25 | pub nickname: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub email: String, [INFO] [stdout] 27 | pub group_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub avatar: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | pub storage: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserInfo` has a derived impl for the trait `Debug`, 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] [stdout] warning: fields `id`, `path`, `size`, `created_at`, `updated_at`, and `owner` are never read [INFO] [stdout] --> src/cloudreve.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FileInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] 39 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | pub file_type: String, [INFO] [stdout] 42 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `parent_id`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/cloudreve.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct DirectoryInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 49 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadFileRequest` is never constructed [INFO] [stdout] --> src/cloudreve.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct UploadFileRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upload_file` is never used [INFO] [stdout] --> src/cloudreve.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl CloudreveClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn upload_file(&self, path: &str, filename: &str, content: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initialized` is never read [INFO] [stdout] --> src/mcp.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ServerState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | pub client: CloudreveClient, [INFO] [stdout] 10 | pub initialized: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/mcp.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CloudreveMcpServer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | state: ServerState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolsListRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ToolsListRequest {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PingRequest` is never constructed [INFO] [stdout] --> src/web_server.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PingRequest {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.64s [INFO] running `Command { std: "docker" "inspect" "1583cafd23b4ffe418772c4a208ada27094cee04d5ca60bdb88f1cdd0bfd517c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1583cafd23b4ffe418772c4a208ada27094cee04d5ca60bdb88f1cdd0bfd517c", kill_on_drop: false }` [INFO] [stdout] 1583cafd23b4ffe418772c4a208ada27094cee04d5ca60bdb88f1cdd0bfd517c [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89133780a6cfcbbed954ad807f679e3bb03ebd8a2f20807cd357b3811c999d68 [INFO] running `Command { std: "docker" "start" "-a" "89133780a6cfcbbed954ad807f679e3bb03ebd8a2f20807cd357b3811c999d68", kill_on_drop: false }` [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/cloudreve.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct UserInfo { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 23 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 24 | pub user_name: String, [INFO] [stderr] 25 | pub nickname: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 26 | pub email: String, [INFO] [stderr] 27 | pub group_id: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 28 | pub avatar: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 29 | pub storage: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 30 | pub score: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 31 | pub status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 32 | pub created_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserInfo` has a derived impl for the trait `Debug`, 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: fields `id`, `path`, `size`, `created_at`, `updated_at`, and `owner` are never read [INFO] [stderr] --> src/cloudreve.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct FileInfo { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 37 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 38 | pub name: String, [INFO] [stderr] 39 | pub path: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 40 | pub size: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 41 | pub file_type: String, [INFO] [stderr] 42 | pub created_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 43 | pub updated_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 44 | pub owner: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `parent_id`, `created_at`, and `updated_at` are never read [INFO] [stderr] --> src/cloudreve.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct DirectoryInfo { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 49 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub parent_id: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 53 | pub created_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 54 | pub updated_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DirectoryInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `UploadFileRequest` is never constructed [INFO] [stderr] --> src/cloudreve.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct UploadFileRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `upload_file` is never used [INFO] [stderr] --> src/cloudreve.rs:210:18 [INFO] [stderr] | [INFO] [stderr] 69 | impl CloudreveClient { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 210 | pub async fn upload_file(&self, path: &str, filename: &str, content: Vec) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `initialized` is never read [INFO] [stderr] --> src/mcp.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ServerState { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 9 | pub client: CloudreveClient, [INFO] [stderr] 10 | pub initialized: std::sync::Arc>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `state` is never read [INFO] [stderr] --> src/mcp.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct CloudreveMcpServer { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 14 | state: ServerState, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ToolsListRequest` is never constructed [INFO] [stderr] --> src/web_server.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct ToolsListRequest {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PingRequest` is never constructed [INFO] [stderr] --> src/web_server.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct PingRequest {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cloudreve-mcp` (bin "cloudreve-mcp" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cloudreve_mcp-f4be33cc3a98b39b) [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" "89133780a6cfcbbed954ad807f679e3bb03ebd8a2f20807cd357b3811c999d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89133780a6cfcbbed954ad807f679e3bb03ebd8a2f20807cd357b3811c999d68", kill_on_drop: false }` [INFO] [stdout] 89133780a6cfcbbed954ad807f679e3bb03ebd8a2f20807cd357b3811c999d68