[INFO] crate qiniu-upload-rs 0.0.1 is already in cache [INFO] testing qiniu-upload-rs-0.0.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate qiniu-upload-rs 0.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate qiniu-upload-rs 0.0.1 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3eda7748b01b5471f83e63f6b3200a97d0c4876ca8929497ce0415c6db4ae7e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3eda7748b01b5471f83e63f6b3200a97d0c4876ca8929497ce0415c6db4ae7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3eda7748b01b5471f83e63f6b3200a97d0c4876ca8929497ce0415c6db4ae7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eda7748b01b5471f83e63f6b3200a97d0c4876ca8929497ce0415c6db4ae7e8", kill_on_drop: false }` [INFO] [stdout] 3eda7748b01b5471f83e63f6b3200a97d0c4876ca8929497ce0415c6db4ae7e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa7cc2264a97e83f0ce4736806d59be1bf45fcaa9272dfd76ba9c6d92110ca99 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa7cc2264a97e83f0ce4736806d59be1bf45fcaa9272dfd76ba9c6d92110ca99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [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 idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling tokio v0.2.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling h2 v0.2.1 [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 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 1m 43s [INFO] running `Command { std: "docker" "inspect" "fa7cc2264a97e83f0ce4736806d59be1bf45fcaa9272dfd76ba9c6d92110ca99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa7cc2264a97e83f0ce4736806d59be1bf45fcaa9272dfd76ba9c6d92110ca99", kill_on_drop: false }` [INFO] [stdout] fa7cc2264a97e83f0ce4736806d59be1bf45fcaa9272dfd76ba9c6d92110ca99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dafcefd14dc3bc9adeae5cb83b21ec051eefed916a9e64daedbdbe914816813 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0dafcefd14dc3bc9adeae5cb83b21ec051eefed916a9e64daedbdbe914816813", 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 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: unused `std::result::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: 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 5.80s [INFO] running `Command { std: "docker" "inspect" "0dafcefd14dc3bc9adeae5cb83b21ec051eefed916a9e64daedbdbe914816813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dafcefd14dc3bc9adeae5cb83b21ec051eefed916a9e64daedbdbe914816813", kill_on_drop: false }` [INFO] [stdout] 0dafcefd14dc3bc9adeae5cb83b21ec051eefed916a9e64daedbdbe914816813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ce6d635335b04abc47026245cf71160af3e174e1c6b25436c7751cc378f5e5b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6ce6d635335b04abc47026245cf71160af3e174e1c6b25436c7751cc378f5e5b", 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: 2 warnings emitted [INFO] [stderr] [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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::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: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/qiniu_upload_rs-7bea8e6253efa97f [INFO] [stdout] [INFO] [stderr] Doc-tests qiniu-upload-rs [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 [INFO] [stdout] [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6ce6d635335b04abc47026245cf71160af3e174e1c6b25436c7751cc378f5e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ce6d635335b04abc47026245cf71160af3e174e1c6b25436c7751cc378f5e5b", kill_on_drop: false }` [INFO] [stdout] 6ce6d635335b04abc47026245cf71160af3e174e1c6b25436c7751cc378f5e5b