[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] testing junknet/s3-upload against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunknet%2Fs3-upload" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/junknet/s3-upload on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "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-4/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" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "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] 415a2f93db290ecc50bf2df00252496f373564a90fa17b4179f2c88dd3d18f6e [INFO] running `Command { std: "docker" "start" "-a" "415a2f93db290ecc50bf2df00252496f373564a90fa17b4179f2c88dd3d18f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "415a2f93db290ecc50bf2df00252496f373564a90fa17b4179f2c88dd3d18f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "415a2f93db290ecc50bf2df00252496f373564a90fa17b4179f2c88dd3d18f6e", kill_on_drop: false }` [INFO] [stdout] 415a2f93db290ecc50bf2df00252496f373564a90fa17b4179f2c88dd3d18f6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--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] f2bc6191a0ca0bc53fba58963b5e2f6a9a2f952a887ceef75609b9b0f692438c [INFO] running `Command { std: "docker" "start" "-a" "f2bc6191a0ca0bc53fba58963b5e2f6a9a2f952a887ceef75609b9b0f692438c", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling protobuf v2.18.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling humantime v1.3.0 [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 mio v0.7.6 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [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 35s [INFO] running `Command { std: "docker" "inspect" "f2bc6191a0ca0bc53fba58963b5e2f6a9a2f952a887ceef75609b9b0f692438c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2bc6191a0ca0bc53fba58963b5e2f6a9a2f952a887ceef75609b9b0f692438c", kill_on_drop: false }` [INFO] [stdout] f2bc6191a0ca0bc53fba58963b5e2f6a9a2f952a887ceef75609b9b0f692438c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "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] 37ff04a5860a9de73229543e42d427fd34c4f3a6d4bdeafa52f5ff3e50c5b352 [INFO] running `Command { std: "docker" "start" "-a" "37ff04a5860a9de73229543e42d427fd34c4f3a6d4bdeafa52f5ff3e50c5b352", 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 2m 03s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/color-e763fb95352e8d58) [INFO] running `Command { std: "docker" "inspect" "37ff04a5860a9de73229543e42d427fd34c4f3a6d4bdeafa52f5ff3e50c5b352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ff04a5860a9de73229543e42d427fd34c4f3a6d4bdeafa52f5ff3e50c5b352", kill_on_drop: false }` [INFO] [stdout] 37ff04a5860a9de73229543e42d427fd34c4f3a6d4bdeafa52f5ff3e50c5b352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen", 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] afac6450efe19a42678b749c8f242cd0269c2abe3963d5c8b22e5b97fa68e210 [INFO] running `Command { std: "docker" "start" "-a" "afac6450efe19a42678b749c8f242cd0269c2abe3963d5c8b22e5b97fa68e210", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `char::MAX` [INFO] [stderr] --> src/fib_retry.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{char::MAX, time::Duration}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `max_delay` [INFO] [stderr] --> src/fib_retry.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn max_delay(mut self, duration: Duration) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `max_reties` [INFO] [stderr] --> src/fib_retry.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn max_reties(mut self, max_reties: u64) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `default_bucket` [INFO] [stderr] --> src/s3.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | default_bucket: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `color` (bin "color" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/color-e763fb95352e8d58) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test fib_retry::test_iter ... ok [INFO] [stdout] test s3::test::test_get_prefx ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "afac6450efe19a42678b749c8f242cd0269c2abe3963d5c8b22e5b97fa68e210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afac6450efe19a42678b749c8f242cd0269c2abe3963d5c8b22e5b97fa68e210", kill_on_drop: false }` [INFO] [stdout] afac6450efe19a42678b749c8f242cd0269c2abe3963d5c8b22e5b97fa68e210