[INFO] crate qiniu-upload-rs 0.0.1 is already in cache [INFO] testing qiniu-upload-rs-0.0.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate qiniu-upload-rs 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate qiniu-upload-rs 0.0.1 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-7/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfc9197c3b4d28d50ae9ba245bcb53f27fefdab884a195053b1e27c9bfbb80ff [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" "cfc9197c3b4d28d50ae9ba245bcb53f27fefdab884a195053b1e27c9bfbb80ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfc9197c3b4d28d50ae9ba245bcb53f27fefdab884a195053b1e27c9bfbb80ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc9197c3b4d28d50ae9ba245bcb53f27fefdab884a195053b1e27c9bfbb80ff", kill_on_drop: false }` [INFO] [stdout] cfc9197c3b4d28d50ae9ba245bcb53f27fefdab884a195053b1e27c9bfbb80ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5c772cf09893a10d825cfe1fc5fda66ee60188118790cb5f748b059e8e8eb7e [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" "c5c772cf09893a10d825cfe1fc5fda66ee60188118790cb5f748b059e8e8eb7e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [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 memchr v2.2.1 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [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 syn v1.0.13 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [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 httparse v1.3.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling want v0.3.0 [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 futures-util v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling url v2.1.0 [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 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 46s [INFO] running `Command { std: "docker" "inspect" "c5c772cf09893a10d825cfe1fc5fda66ee60188118790cb5f748b059e8e8eb7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c772cf09893a10d825cfe1fc5fda66ee60188118790cb5f748b059e8e8eb7e", kill_on_drop: false }` [INFO] [stdout] c5c772cf09893a10d825cfe1fc5fda66ee60188118790cb5f748b059e8e8eb7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5df08b406fc084eaea508936eeed2d88aea2a3e5887c7fddcb3964add5e6ab93 [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" "5df08b406fc084eaea508936eeed2d88aea2a3e5887c7fddcb3964add5e6ab93", 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 `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: 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 5.77s [INFO] running `Command { std: "docker" "inspect" "5df08b406fc084eaea508936eeed2d88aea2a3e5887c7fddcb3964add5e6ab93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df08b406fc084eaea508936eeed2d88aea2a3e5887c7fddcb3964add5e6ab93", kill_on_drop: false }` [INFO] [stdout] 5df08b406fc084eaea508936eeed2d88aea2a3e5887c7fddcb3964add5e6ab93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92372e89b5bdea5c8dc8e4a6a094d32c1ec63d7c8500ec03bb3c1885f67d80c3 [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" "92372e89b5bdea5c8dc8e4a6a094d32c1ec63d7c8500ec03bb3c1885f67d80c3", 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: `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: `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.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/qiniu_upload_rs-c0fa048cf00d2bd1 [INFO] [stdout] [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 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92372e89b5bdea5c8dc8e4a6a094d32c1ec63d7c8500ec03bb3c1885f67d80c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92372e89b5bdea5c8dc8e4a6a094d32c1ec63d7c8500ec03bb3c1885f67d80c3", kill_on_drop: false }` [INFO] [stdout] 92372e89b5bdea5c8dc8e4a6a094d32c1ec63d7c8500ec03bb3c1885f67d80c3