[INFO] cloning repository https://github.com/junknet/s3-upload [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/junknet/s3-upload" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunknet%2Fs3-upload", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunknet%2Fs3-upload'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d096c843e7174fad9f3c4e4b3bb37b094e349dc4 [INFO] building junknet/s3-upload against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunknet%2Fs3-upload" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/junknet/s3-upload on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/junknet/s3-upload [INFO] finished tweaking git repo https://github.com/junknet/s3-upload [INFO] tweaked toml for git repo https://github.com/junknet/s3-upload written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/junknet/s3-upload already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v0.3.5 [INFO] [stderr] Downloaded smallvec v1.5.0 [INFO] [stderr] Downloaded anyhow v1.0.34 [INFO] [stderr] Downloaded tokio-macros v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cfcee70274240b89189206396293c0a66366a19a6eb80f0d9a3b3f95d784c435 [INFO] running `Command { std: "docker" "start" "-a" "cfcee70274240b89189206396293c0a66366a19a6eb80f0d9a3b3f95d784c435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfcee70274240b89189206396293c0a66366a19a6eb80f0d9a3b3f95d784c435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfcee70274240b89189206396293c0a66366a19a6eb80f0d9a3b3f95d784c435", kill_on_drop: false }` [INFO] [stdout] cfcee70274240b89189206396293c0a66366a19a6eb80f0d9a3b3f95d784c435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7793a771e6bd6e437fcbcee53d9b97d2572eaa74647eae7aa9fcc0ff756f688 [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" "f7793a771e6bd6e437fcbcee53d9b97d2572eaa74647eae7aa9fcc0ff756f688", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling protobuf v2.18.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling tokio v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling color v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `char::MAX` [INFO] [stdout] --> src/fib_retry.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{char::MAX, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_millis` [INFO] [stdout] --> src/fib_retry.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub const fn from_millis(millis: u64) -> FabonaciiBackoff { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_delay` [INFO] [stdout] --> src/fib_retry.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn max_delay(mut self, duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_reties` [INFO] [stdout] --> src/fib_retry.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn max_reties(mut self, max_reties: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `S3Uploader` [INFO] [stdout] --> src/s3.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct S3Uploader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/s3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(pathbuf: PathBuf, default_bucket: String, mut map: Vec<(String, String)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_bucket_and_prefix` [INFO] [stdout] --> src/s3.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_bucket_and_prefix<'a>(pathbuf: &'a PathBuf, uploader: &'a S3Uploader) -> (&'a str, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "f7793a771e6bd6e437fcbcee53d9b97d2572eaa74647eae7aa9fcc0ff756f688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7793a771e6bd6e437fcbcee53d9b97d2572eaa74647eae7aa9fcc0ff756f688", kill_on_drop: false }` [INFO] [stdout] f7793a771e6bd6e437fcbcee53d9b97d2572eaa74647eae7aa9fcc0ff756f688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1f78f1024bf5705d726495b50b90bdb329450f3848013799cd8a3a0bf067642d [INFO] running `Command { std: "docker" "start" "-a" "1f78f1024bf5705d726495b50b90bdb329450f3848013799cd8a3a0bf067642d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling color v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `char::MAX` [INFO] [stdout] --> src/fib_retry.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{char::MAX, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_delay` [INFO] [stdout] --> src/fib_retry.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn max_delay(mut self, duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max_reties` [INFO] [stdout] --> src/fib_retry.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn max_reties(mut self, max_reties: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `default_bucket` [INFO] [stdout] --> src/s3.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | default_bucket: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 48s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/color-e763fb95352e8d58) [INFO] running `Command { std: "docker" "inspect" "1f78f1024bf5705d726495b50b90bdb329450f3848013799cd8a3a0bf067642d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f78f1024bf5705d726495b50b90bdb329450f3848013799cd8a3a0bf067642d", kill_on_drop: false }` [INFO] [stdout] 1f78f1024bf5705d726495b50b90bdb329450f3848013799cd8a3a0bf067642d