[INFO] cloning repository https://github.com/carlos19960601/rust_startup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carlos19960601/rust_startup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlos19960601%2Frust_startup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlos19960601%2Frust_startup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1485649f5af71b7a8f4ea1c5b29d116eeeef24c [INFO] building carlos19960601/rust_startup/f1485649f5af71b7a8f4ea1c5b29d116eeeef24c against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlos19960601%2Frust_startup" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/carlos19960601/rust_startup [INFO] finished tweaking git repo https://github.com/carlos19960601/rust_startup [INFO] tweaked toml for git repo https://github.com/carlos19960601/rust_startup written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/carlos19960601/rust_startup on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/carlos19960601/rust_startup 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typify-macro v0.4.2 [INFO] [stderr] Downloaded schemars_derive v0.8.22 [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] [stderr] Downloaded wasm-streams v0.4.2 [INFO] [stderr] Downloaded serde_derive_internals v0.29.1 [INFO] [stderr] Downloaded cookie_store v0.21.1 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded typify v0.4.2 [INFO] [stderr] Downloaded cookie v0.18.1 [INFO] [stderr] Downloaded uuid v1.18.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.4 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded reqwest v0.12.22 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] [stderr] Downloaded regress v0.10.4 [INFO] [stderr] Downloaded typify-impl v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b05f7c56b6844797a69d329a1e1718ea6448f98da45c2b1c97fa4ac799f973f [INFO] running `Command { std: "docker" "start" "-a" "5b05f7c56b6844797a69d329a1e1718ea6448f98da45c2b1c97fa4ac799f973f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b05f7c56b6844797a69d329a1e1718ea6448f98da45c2b1c97fa4ac799f973f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b05f7c56b6844797a69d329a1e1718ea6448f98da45c2b1c97fa4ac799f973f", kill_on_drop: false }` [INFO] [stdout] 5b05f7c56b6844797a69d329a1e1718ea6448f98da45c2b1c97fa4ac799f973f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7411b9d4a881df1d083cc2b0e3cf283f8278d42180a3e54c24ea379dbb86e564 [INFO] running `Command { std: "docker" "start" "-a" "7411b9d4a881df1d083cc2b0e3cf283f8278d42180a3e54c24ea379dbb86e564", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regress v0.10.4 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling atomic v0.6.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling typify-impl v0.4.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling typify-macro v0.4.2 [INFO] [stderr] Compiling typify v0.4.2 [INFO] [stderr] Compiling typify_startup v0.1.0 (/opt/rustwide/workdir/typify_startup) [INFO] [stderr] Compiling reqwest_startup v0.1.0 (/opt/rustwide/workdir/reqwest_startup) [INFO] [stderr] Compiling doubao-api v0.1.0 (/opt/rustwide/workdir/doubao-api) [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> doubao-api/src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | sync::{Arc, OnceLock}, [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: `cookie` [INFO] [stdout] --> doubao-api/src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::{Url, cookie, header}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> doubao-api/src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutation of an interior mutable `const` item with call to `get_or_init` [INFO] [stdout] --> doubao-api/src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | HEADER_MAP [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | _____`HEADER_MAP` is a interior mutable `const` item of type `OnceLock` [INFO] [stdout] | | [INFO] [stdout] 72 | | .get_or_init(|| { [INFO] [stdout] 73 | | let mut headers = header::HeaderMap::new(); [INFO] [stdout] 74 | | headers.insert(header::ACCEPT, "*/*".parse().unwrap()); [INFO] [stdout] ... | [INFO] [stdout] 83 | | headers [INFO] [stdout] 84 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: only the temporaries and never the original `const HEADER_MAP` will be modified [INFO] [stdout] = help: for more details on interior mutability see [INFO] [stdout] = note: `#[warn(const_item_interior_mutations)]` on by default [INFO] [stdout] help: for a shared instance of `HEADER_MAP`, consider making it a `static` item instead [INFO] [stdout] | [INFO] [stdout] 70 - const HEADER_MAP: OnceLock = OnceLock::new(); [INFO] [stdout] 70 + static HEADER_MAP: OnceLock = OnceLock::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "7411b9d4a881df1d083cc2b0e3cf283f8278d42180a3e54c24ea379dbb86e564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7411b9d4a881df1d083cc2b0e3cf283f8278d42180a3e54c24ea379dbb86e564", kill_on_drop: false }` [INFO] [stdout] 7411b9d4a881df1d083cc2b0e3cf283f8278d42180a3e54c24ea379dbb86e564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0210e31a51d02c44016351a405be01b3eeab5bc367daad7a3290930e99b34fad [INFO] running `Command { std: "docker" "start" "-a" "0210e31a51d02c44016351a405be01b3eeab5bc367daad7a3290930e99b34fad", kill_on_drop: false }` [INFO] [stderr] Compiling reqwest_startup v0.1.0 (/opt/rustwide/workdir/reqwest_startup) [INFO] [stderr] Compiling typify_startup v0.1.0 (/opt/rustwide/workdir/typify_startup) [INFO] [stderr] Compiling doubao-api v0.1.0 (/opt/rustwide/workdir/doubao-api) [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> doubao-api/src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | sync::{Arc, OnceLock}, [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: `cookie` [INFO] [stdout] --> doubao-api/src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::{Url, cookie, header}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> doubao-api/src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutation of an interior mutable `const` item with call to `get_or_init` [INFO] [stdout] --> doubao-api/src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | HEADER_MAP [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | _____`HEADER_MAP` is a interior mutable `const` item of type `OnceLock` [INFO] [stdout] | | [INFO] [stdout] 72 | | .get_or_init(|| { [INFO] [stdout] 73 | | let mut headers = header::HeaderMap::new(); [INFO] [stdout] 74 | | headers.insert(header::ACCEPT, "*/*".parse().unwrap()); [INFO] [stdout] ... | [INFO] [stdout] 83 | | headers [INFO] [stdout] 84 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: only the temporaries and never the original `const HEADER_MAP` will be modified [INFO] [stdout] = help: for more details on interior mutability see [INFO] [stdout] = note: `#[warn(const_item_interior_mutations)]` on by default [INFO] [stdout] help: for a shared instance of `HEADER_MAP`, consider making it a `static` item instead [INFO] [stdout] | [INFO] [stdout] 70 - const HEADER_MAP: OnceLock = OnceLock::new(); [INFO] [stdout] 70 + static HEADER_MAP: OnceLock = OnceLock::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "0210e31a51d02c44016351a405be01b3eeab5bc367daad7a3290930e99b34fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0210e31a51d02c44016351a405be01b3eeab5bc367daad7a3290930e99b34fad", kill_on_drop: false }` [INFO] [stdout] 0210e31a51d02c44016351a405be01b3eeab5bc367daad7a3290930e99b34fad