[INFO] fetching crate baidu-pcs-rs-sdk 0.1.1... [INFO] testing baidu-pcs-rs-sdk-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate baidu-pcs-rs-sdk 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate baidu-pcs-rs-sdk 0.1.1 [INFO] finished tweaking crates.io crate baidu-pcs-rs-sdk 0.1.1 [INFO] tweaked toml for crates.io crate baidu-pcs-rs-sdk 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate baidu-pcs-rs-sdk 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate baidu-pcs-rs-sdk 0.1.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.9.9 [INFO] [stderr] Downloaded bytefmt v0.1.7 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded ipnet v2.9.0 [INFO] [stderr] Downloaded getset v0.1.2 [INFO] [stderr] Downloaded anstream v0.6.11 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded borsh-derive v1.5.7 [INFO] [stderr] Downloaded borsh v1.5.7 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded mio v0.8.10 [INFO] [stderr] Downloaded bumpalo v3.14.0 [INFO] [stderr] Downloaded openssl-sys v0.9.99 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] [stderr] Downloaded regex v1.11.2 [INFO] [stderr] Downloaded reqwest v0.12.15 [INFO] [stderr] Downloaded serde_json v1.0.112 [INFO] [stderr] Downloaded chrono v0.4.33 [INFO] [stderr] Downloaded gimli v0.28.1 [INFO] [stderr] Downloaded object v0.32.2 [INFO] [stderr] Downloaded openssl v0.10.63 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] [stderr] Downloaded clap_builder v4.4.18 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded rustix v0.38.30 [INFO] [stderr] Downloaded schannel v0.1.23 [INFO] [stderr] Downloaded core-foundation-sys v0.8.6 [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] [stderr] Downloaded tempfile v3.9.0 [INFO] [stderr] Downloaded winapi-util v0.1.10 [INFO] [stderr] Downloaded tokio-util v0.7.10 [INFO] [stderr] Downloaded byte-unit v5.1.6 [INFO] [stderr] Downloaded iana-time-zone v0.1.59 [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded clap v4.4.18 [INFO] [stderr] Downloaded ryu v1.0.16 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.40 [INFO] [stderr] Downloaded regex-automata v0.4.10 [INFO] [stderr] Downloaded windows-strings v0.3.1 [INFO] [stderr] Downloaded windows-registry v0.4.0 [INFO] [stderr] Downloaded itoa v1.0.10 [INFO] [stderr] Downloaded smallvec v1.13.0 [INFO] [stderr] Downloaded web-sys v0.3.67 [INFO] [stderr] Downloaded tokio v1.35.1 [INFO] [stderr] Downloaded anstyle v1.0.11 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded getrandom v0.2.14 [INFO] [stderr] Downloaded mime_guess v2.0.4 [INFO] [stderr] Downloaded num_threads v0.1.7 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded futures-executor v0.3.30 [INFO] [stderr] Downloaded unicase v2.7.0 [INFO] [stderr] Downloaded pkg-config v0.3.29 [INFO] [stderr] Downloaded hermit-abi v0.3.4 [INFO] [stderr] Downloaded encoding_rs v0.8.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bcd2c4d8a701be8fff866cd53d6c4c0a1ffda72be02e8cb4d513ca68a07c451 [INFO] running `Command { std: "docker" "start" "-a" "2bcd2c4d8a701be8fff866cd53d6c4c0a1ffda72be02e8cb4d513ca68a07c451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bcd2c4d8a701be8fff866cd53d6c4c0a1ffda72be02e8cb4d513ca68a07c451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bcd2c4d8a701be8fff866cd53d6c4c0a1ffda72be02e8cb4d513ca68a07c451", kill_on_drop: false }` [INFO] [stdout] 2bcd2c4d8a701be8fff866cd53d6c4c0a1ffda72be02e8cb4d513ca68a07c451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cf211a3a37fdbc7cf3e668052df00b077759e4f2a7d5d391dbd6972735437eb [INFO] running `Command { std: "docker" "start" "-a" "0cf211a3a37fdbc7cf3e668052df00b077759e4f2a7d5d391dbd6972735437eb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling smallvec v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling byte-unit v5.1.6 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling bytefmt v0.1.7 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling baidu-pcs-rs-sdk v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `BAIDU_PCS_APP_NAME` not defined at compile time [INFO] [stdout] --> src/main.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | app_name: env!("BAIDU_PCS_APP_NAME"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("BAIDU_PCS_APP_NAME")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BAIDU_PCS_APP_KEY` not defined at compile time [INFO] [stdout] --> src/main.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | app_key: env!("BAIDU_PCS_APP_KEY"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("BAIDU_PCS_APP_KEY")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BAIDU_PCS_APP_SECRET` not defined at compile time [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | app_secret: env!("BAIDU_PCS_APP_SECRET"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("BAIDU_PCS_APP_SECRET")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/sync.rs:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | pub(crate) fn run_download_task(args: &DownloadArgs, config: &Config, client: &BaiduPcsClient) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `baidu-pcs-rs-sdk` (bin "baidu-pcs-cli-rs") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0cf211a3a37fdbc7cf3e668052df00b077759e4f2a7d5d391dbd6972735437eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf211a3a37fdbc7cf3e668052df00b077759e4f2a7d5d391dbd6972735437eb", kill_on_drop: false }` [INFO] [stdout] 0cf211a3a37fdbc7cf3e668052df00b077759e4f2a7d5d391dbd6972735437eb