[INFO] fetching crate qiniu-upload-rs 0.0.1... [INFO] testing qiniu-upload-rs-0.0.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate qiniu-upload-rs 0.0.1 into /workspace/builds/worker-102/source [INFO] validating manifest of crates.io crate qiniu-upload-rs 0.0.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qiniu-upload-rs 0.0.1 [INFO] finished tweaking crates.io crate qiniu-upload-rs 0.0.1 [INFO] tweaked toml for crates.io crate qiniu-upload-rs 0.0.1 written to /workspace/builds/worker-102/source/Cargo.toml [INFO] crate crates.io crate qiniu-upload-rs 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 492b223a4ae3a0ddfb3f2665ef2bf5827f88aa5d48e33f902d0bd61b4915be93 [INFO] running `Command { std: "docker" "start" "-a" "492b223a4ae3a0ddfb3f2665ef2bf5827f88aa5d48e33f902d0bd61b4915be93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "492b223a4ae3a0ddfb3f2665ef2bf5827f88aa5d48e33f902d0bd61b4915be93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492b223a4ae3a0ddfb3f2665ef2bf5827f88aa5d48e33f902d0bd61b4915be93", kill_on_drop: false }` [INFO] [stdout] 492b223a4ae3a0ddfb3f2665ef2bf5827f88aa5d48e33f902d0bd61b4915be93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 469c22f18663280597e9bb78542caccf71c1d7e9e6b424854876a088d103a372 [INFO] running `Command { std: "docker" "start" "-a" "469c22f18663280597e9bb78542caccf71c1d7e9e6b424854876a088d103a372", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling pin-project-lite v0.1.2 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio v0.2.8 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling hyper-tls v0.4.0 [INFO] [stderr] Compiling reqwest v0.10.0 [INFO] [stderr] Compiling qiniu-upload-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/upload/file_uploader.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn upload(&self, key: &str, file_path: &str) -> Result<(), QiniuErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/upload/file_uploader.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn upload(&self, key: &str, file_path: &str) -> Result<(), QiniuErr> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.66s [INFO] running `Command { std: "docker" "inspect" "469c22f18663280597e9bb78542caccf71c1d7e9e6b424854876a088d103a372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "469c22f18663280597e9bb78542caccf71c1d7e9e6b424854876a088d103a372", kill_on_drop: false }` [INFO] [stdout] 469c22f18663280597e9bb78542caccf71c1d7e9e6b424854876a088d103a372 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ef45626597018f538e1a924659caf61b634469531018a1ebb1dca7d28a148bc [INFO] running `Command { std: "docker" "start" "-a" "6ef45626597018f538e1a924659caf61b634469531018a1ebb1dca7d28a148bc", kill_on_drop: false }` [INFO] [stderr] Compiling qiniu-upload-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/upload/file_uploader.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn upload(&self, key: &str, file_path: &str) -> Result<(), QiniuErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/upload/file_uploader.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn upload(&self, key: &str, file_path: &str) -> Result<(), QiniuErr> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/upload_file.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | uploader.upload("dummy_upload_file", file_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/upload/file_uploader.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn upload(&self, key: &str, file_path: &str) -> Result<(), QiniuErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/upload/file_uploader.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn upload(&self, key: &str, file_path: &str) -> Result<(), QiniuErr> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.77s [INFO] running `Command { std: "docker" "inspect" "6ef45626597018f538e1a924659caf61b634469531018a1ebb1dca7d28a148bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef45626597018f538e1a924659caf61b634469531018a1ebb1dca7d28a148bc", kill_on_drop: false }` [INFO] [stdout] 6ef45626597018f538e1a924659caf61b634469531018a1ebb1dca7d28a148bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 772213898a160a7ac52b7f782c0cfe5429f311be360528c3790b94ab7fc21484 [INFO] running `Command { std: "docker" "start" "-a" "772213898a160a7ac52b7f782c0cfe5429f311be360528c3790b94ab7fc21484", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/upload/file_uploader.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn upload(&self, key: &str, file_path: &str) -> Result<(), QiniuErr> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/upload/file_uploader.rs:10:37 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn upload(&self, key: &str, file_path: &str) -> Result<(), QiniuErr> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stderr] [INFO] [stderr] warning: `qiniu-upload-rs` (lib) generated 2 warnings [INFO] [stderr] warning: `qiniu-upload-rs` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/upload_file.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | uploader.upload("dummy_upload_file", file_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `qiniu-upload-rs` (example "upload_file") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/qiniu_upload_rs-fdc1f1bed78b63b0) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test utils::auth::tests::test_upload_token ... ok [INFO] [stdout] test utils::verification::tests::test_crc32 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests qiniu-upload-rs [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" "772213898a160a7ac52b7f782c0cfe5429f311be360528c3790b94ab7fc21484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772213898a160a7ac52b7f782c0cfe5429f311be360528c3790b94ab7fc21484", kill_on_drop: false }` [INFO] [stdout] 772213898a160a7ac52b7f782c0cfe5429f311be360528c3790b94ab7fc21484