[INFO] fetching crate qiniu-upload-rs 0.0.1... [INFO] testing qiniu-upload-rs-0.0.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate qiniu-upload-rs 0.0.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate qiniu-upload-rs 0.0.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-2/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c665177404099cc977dc9ebbe09a65d2b063c310b445da1537c47590aafe4ea4 [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" "c665177404099cc977dc9ebbe09a65d2b063c310b445da1537c47590aafe4ea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c665177404099cc977dc9ebbe09a65d2b063c310b445da1537c47590aafe4ea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c665177404099cc977dc9ebbe09a65d2b063c310b445da1537c47590aafe4ea4", kill_on_drop: false }` [INFO] [stdout] c665177404099cc977dc9ebbe09a65d2b063c310b445da1537c47590aafe4ea4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 575a4a6660a74aa06dc5eb5f7f19141d4c853fb5e2af5f74c224015d81201fb2 [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" "575a4a6660a74aa06dc5eb5f7f19141d4c853fb5e2af5f74c224015d81201fb2", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling pin-project-lite v0.1.2 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling dtoa v0.4.4 [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 unicode-normalization v0.1.11 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [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 rand v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling tokio v0.2.8 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling url v2.1.0 [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 serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling tokio-tls v0.3.0 [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 47s [INFO] running `Command { std: "docker" "inspect" "575a4a6660a74aa06dc5eb5f7f19141d4c853fb5e2af5f74c224015d81201fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575a4a6660a74aa06dc5eb5f7f19141d4c853fb5e2af5f74c224015d81201fb2", kill_on_drop: false }` [INFO] [stdout] 575a4a6660a74aa06dc5eb5f7f19141d4c853fb5e2af5f74c224015d81201fb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76734d8920f954bf2de95d055c0dbe02c918277c9eb513687b20ebec3f58b1ec [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" "76734d8920f954bf2de95d055c0dbe02c918277c9eb513687b20ebec3f58b1ec", kill_on_drop: false }` [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] Compiling qiniu-upload-rs v0.0.1 (/opt/rustwide/workdir) [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.64s [INFO] running `Command { std: "docker" "inspect" "76734d8920f954bf2de95d055c0dbe02c918277c9eb513687b20ebec3f58b1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76734d8920f954bf2de95d055c0dbe02c918277c9eb513687b20ebec3f58b1ec", kill_on_drop: false }` [INFO] [stdout] 76734d8920f954bf2de95d055c0dbe02c918277c9eb513687b20ebec3f58b1ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9f8ae028abf3dd6a8a1762b3af0d1c9aa1f176b44f0baea21207a15963b352d [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" "e9f8ae028abf3dd6a8a1762b3af0d1c9aa1f176b44f0baea21207a15963b352d", 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.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/qiniu_upload_rs-ad2ab3ca57491834) [INFO] [stdout] [INFO] [stderr] Doc-tests qiniu-upload-rs [INFO] [stdout] running 2 tests [INFO] [stdout] test utils::verification::tests::test_crc32 ... ok [INFO] [stdout] test utils::auth::tests::test_upload_token ... 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] [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" "e9f8ae028abf3dd6a8a1762b3af0d1c9aa1f176b44f0baea21207a15963b352d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f8ae028abf3dd6a8a1762b3af0d1c9aa1f176b44f0baea21207a15963b352d", kill_on_drop: false }` [INFO] [stdout] e9f8ae028abf3dd6a8a1762b3af0d1c9aa1f176b44f0baea21207a15963b352d