[INFO] cloning repository https://github.com/MoofSoup/github-dify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoofSoup/github-dify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoofSoup%2Fgithub-dify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoofSoup%2Fgithub-dify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a19e2ed1950b63476d70545cb6a44dad5871d0d [INFO] checking MoofSoup/github-dify/4a19e2ed1950b63476d70545cb6a44dad5871d0d against master#49b6ac01d6f4c3da812039ae846407a20961aa4c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoofSoup%2Fgithub-dify" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MoofSoup/github-dify [INFO] finished tweaking git repo https://github.com/MoofSoup/github-dify [INFO] tweaked toml for git repo https://github.com/MoofSoup/github-dify written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MoofSoup/github-dify on toolchain 49b6ac01d6f4c3da812039ae846407a20961aa4c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MoofSoup/github-dify 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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_with_macros v3.11.0 [INFO] [stderr] Downloaded dify-client v0.3.1 [INFO] [stderr] Downloaded quinn-udp v0.5.5 [INFO] [stderr] Downloaded cc v1.1.28 [INFO] [stderr] Downloaded wasm-streams v0.4.1 [INFO] [stderr] Downloaded rustls-pki-types v1.9.0 [INFO] [stderr] Downloaded quinn v0.11.5 [INFO] [stderr] Downloaded tower v0.5.1 [INFO] [stderr] Downloaded axum v0.7.7 [INFO] [stderr] Downloaded serde_with v3.11.0 [INFO] [stderr] Downloaded webpki-roots v0.26.6 [INFO] [stderr] Downloaded quinn-proto v0.11.8 [INFO] [stderr] Downloaded rustls v0.23.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48c6923b8ed5bb00e979f3518f2c1033c4164e6d0dcb6d0c870c53fb65b43d1a [INFO] running `Command { std: "docker" "start" "-a" "48c6923b8ed5bb00e979f3518f2c1033c4164e6d0dcb6d0c870c53fb65b43d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48c6923b8ed5bb00e979f3518f2c1033c4164e6d0dcb6d0c870c53fb65b43d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c6923b8ed5bb00e979f3518f2c1033c4164e6d0dcb6d0c870c53fb65b43d1a", kill_on_drop: false }` [INFO] [stdout] 48c6923b8ed5bb00e979f3518f2c1033c4164e6d0dcb6d0c870c53fb65b43d1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d31a848c0bfff5481ededa6f50f216e3e066033fdd755874c2028ac74374abc3 [INFO] running `Command { std: "docker" "start" "-a" "d31a848c0bfff5481ededa6f50f216e3e066033fdd755874c2028ac74374abc3", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustls v0.23.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking infer v0.15.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling maud_macros v0.26.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v3.11.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking maud v0.26.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking axum v0.7.7 [INFO] [stderr] Checking reqwest v0.12.8 [INFO] [stderr] Checking dify-client v0.3.1 [INFO] [stderr] Checking axum-dify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `response::ChatMessagesResponse` [INFO] [stdout] --> src/main.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use dify_client::{request, response::ChatMessagesResponse, Client, Config, response::WorkflowsRunResponse, response::WorkflowFinishe... [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: `response::ChatMessagesResponse` [INFO] [stdout] --> src/main.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use dify_client::{request, response::ChatMessagesResponse, Client, Config, response::WorkflowsRunResponse, response::WorkflowFinishe... [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 variable: `api_key` [INFO] [stdout] --> src/main.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let api_key = env::var("DIFY_API_KEY").expect("error getting DIFY_API_KEY "); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question` is never used [INFO] [stdout] --> src/main.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | async fn question() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `api_key` [INFO] [stdout] --> src/main.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let api_key = env::var("DIFY_API_KEY").expect("error getting DIFY_API_KEY "); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question` is never used [INFO] [stdout] --> src/main.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | async fn question() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [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 1m 08s [INFO] running `Command { std: "docker" "inspect" "d31a848c0bfff5481ededa6f50f216e3e066033fdd755874c2028ac74374abc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31a848c0bfff5481ededa6f50f216e3e066033fdd755874c2028ac74374abc3", kill_on_drop: false }` [INFO] [stdout] d31a848c0bfff5481ededa6f50f216e3e066033fdd755874c2028ac74374abc3