[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] checking junknet/s3-upload against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunknet%2Fs3-upload" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/junknet/s3-upload on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf v2.18.1 [INFO] [stderr] Downloaded tokio v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d3a04622d45b9ab587fe7a3afc57c9b1d121bf4a0efa22fb064a566ca8906c8 [INFO] running `Command { std: "docker" "start" "-a" "7d3a04622d45b9ab587fe7a3afc57c9b1d121bf4a0efa22fb064a566ca8906c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d3a04622d45b9ab587fe7a3afc57c9b1d121bf4a0efa22fb064a566ca8906c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3a04622d45b9ab587fe7a3afc57c9b1d121bf4a0efa22fb064a566ca8906c8", kill_on_drop: false }` [INFO] [stdout] 7d3a04622d45b9ab587fe7a3afc57c9b1d121bf4a0efa22fb064a566ca8906c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f9b496a3e63f72653047f48432af60512955537f223863c3b47e7abc09b0c47 [INFO] running `Command { std: "docker" "start" "-a" "2f9b496a3e63f72653047f48432af60512955537f223863c3b47e7abc09b0c47", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking smallvec v1.5.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling protobuf v2.18.1 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Compiling tokio v0.3.5 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking 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] Checking thiserror v1.0.22 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking 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: 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 items `from_millis`, `max_delay`, and `max_reties` are never used [INFO] [stdout] --> src/fib_retry.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl FabonaciiBackoff { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 12 | pub const fn from_millis(millis: u64) -> FabonaciiBackoff { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn max_delay(mut self, duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn max_reties(mut self, max_reties: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RetryMove` is never used [INFO] [stdout] --> src/s3.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait RetryMove: Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `S3Uploader` is never constructed [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 `new` is never used [INFO] [stdout] --> src/s3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl S3Uploader { [INFO] [stdout] | --------------- associated function in this implementation [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 `get_bucket_and_prefix` is never used [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: methods `max_delay` and `max_reties` are never used [INFO] [stdout] --> src/fib_retry.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl FabonaciiBackoff { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn max_delay(mut self, duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn max_reties(mut self, max_reties: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RetryMove` is never used [INFO] [stdout] --> src/s3.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait RetryMove: Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_bucket` is never read [INFO] [stdout] --> src/s3.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct S3Uploader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 11 | base_directory: String, [INFO] [stdout] 12 | default_bucket: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: protobuf v2.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2f9b496a3e63f72653047f48432af60512955537f223863c3b47e7abc09b0c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f9b496a3e63f72653047f48432af60512955537f223863c3b47e7abc09b0c47", kill_on_drop: false }` [INFO] [stdout] 2f9b496a3e63f72653047f48432af60512955537f223863c3b47e7abc09b0c47