[INFO] cloning repository https://github.com/pms1969/uploader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pms1969/uploader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpms1969%2Fuploader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpms1969%2Fuploader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92d75fd11bc2b2b5495b6a5ef75461aadd8565d3 [INFO] testing pms1969/uploader against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpms1969%2Fuploader" "/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/pms1969/uploader on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pms1969/uploader [INFO] finished tweaking git repo https://github.com/pms1969/uploader [INFO] tweaked toml for git repo https://github.com/pms1969/uploader written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pms1969/uploader 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_s3` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-macros-impl v0.1.0 [INFO] [stderr] Downloaded standback v0.2.8 [INFO] [stderr] Downloaded tokio-rustls v0.13.1 [INFO] [stderr] Downloaded prometheus v0.9.0 [INFO] [stderr] Downloaded futures-retry v0.5.0 [INFO] [stderr] Downloaded xml-rs v0.8.1 [INFO] [stderr] Downloaded filetime v0.2.9 [INFO] [stderr] Downloaded retry v1.0.0 [INFO] [stderr] Downloaded rusoto_s3 v0.44.0 [INFO] [stderr] Downloaded protobuf v2.15.0 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91070b0d6b865c9e5083e5e867935c5d0544a3f63acde25d47218f836893e7c [INFO] running `Command { std: "docker" "start" "-a" "f91070b0d6b865c9e5083e5e867935c5d0544a3f63acde25d47218f836893e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91070b0d6b865c9e5083e5e867935c5d0544a3f63acde25d47218f836893e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91070b0d6b865c9e5083e5e867935c5d0544a3f63acde25d47218f836893e7c", kill_on_drop: false }` [INFO] [stdout] f91070b0d6b865c9e5083e5e867935c5d0544a3f63acde25d47218f836893e7c [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abae07a872903805087cb01ae650d6ebc711fe87429e1d9dc73dbc8c7d217638 [INFO] running `Command { std: "docker" "start" "-a" "abae07a872903805087cb01ae650d6ebc711fe87429e1d9dc73dbc8c7d217638", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_s3` dependency) [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rusoto_core v0.44.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling protobuf v2.15.0 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling xml-rs v0.8.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling filetime v0.2.9 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling threadpool v1.8.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling retry v1.0.0 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling futures-retry v0.5.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling rusoto_credential v0.44.0 [INFO] [stderr] Compiling rusoto_signature v0.44.0 [INFO] [stderr] Compiling rusoto_s3 v0.44.0 [INFO] [stderr] Compiling uploader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/s3.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 80 | async fn retry_move(&self, pathbuf: PathBuf) { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 81 | | use crate::fib_retry; [INFO] [stdout] 82 | | use fib_retry::FibonacciBackoff; [INFO] [stdout] 83 | | use futures_retry::{ErrorHandler, RetryPolicy}; [INFO] [stdout] ... | [INFO] [stdout] 87 | | impl ErrorHandler for fib_retry::FibonacciBackoff { [INFO] [stdout] | | ^^^^^------------^-------------^^^^^^--------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FibonacciBackoff` is not local [INFO] [stdout] | | | `Error` is not local [INFO] [stdout] | | `ErrorHandler` is not local [INFO] [stdout] ... | [INFO] [stdout] 149 | | COMPLETED_UPLOADS.inc(); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____- move the `impl` block outside of this async fn `` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: protobuf v2.15.0 [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" "abae07a872903805087cb01ae650d6ebc711fe87429e1d9dc73dbc8c7d217638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abae07a872903805087cb01ae650d6ebc711fe87429e1d9dc73dbc8c7d217638", kill_on_drop: false }` [INFO] [stdout] abae07a872903805087cb01ae650d6ebc711fe87429e1d9dc73dbc8c7d217638 [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 889e6e8d43da1b89b3d8d92587bdd1da0491d7864162e849be1ee6c7a3e5692c [INFO] running `Command { std: "docker" "start" "-a" "889e6e8d43da1b89b3d8d92587bdd1da0491d7864162e849be1ee6c7a3e5692c", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_s3` dependency) [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling uploader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/s3.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 80 | async fn retry_move(&self, pathbuf: PathBuf) { [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 81 | | use crate::fib_retry; [INFO] [stdout] 82 | | use fib_retry::FibonacciBackoff; [INFO] [stdout] 83 | | use futures_retry::{ErrorHandler, RetryPolicy}; [INFO] [stdout] ... | [INFO] [stdout] 87 | | impl ErrorHandler for fib_retry::FibonacciBackoff { [INFO] [stdout] | | ^^^^^------------^-------------^^^^^^--------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `FibonacciBackoff` is not local [INFO] [stdout] | | | `Error` is not local [INFO] [stdout] | | `ErrorHandler` is not local [INFO] [stdout] ... | [INFO] [stdout] 149 | | COMPLETED_UPLOADS.inc(); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____- move the `impl` block outside of this async fn `` and up 3 bodies [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used [INFO] [stdout] --> src/watcher.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = task::yield_now().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used [INFO] [stdout] --> src/watcher.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = task::yield_now().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used [INFO] [stdout] --> src/main.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 359 | let _ = task::yield_now().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: protobuf v2.15.0 [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" "889e6e8d43da1b89b3d8d92587bdd1da0491d7864162e849be1ee6c7a3e5692c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889e6e8d43da1b89b3d8d92587bdd1da0491d7864162e849be1ee6c7a3e5692c", kill_on_drop: false }` [INFO] [stdout] 889e6e8d43da1b89b3d8d92587bdd1da0491d7864162e849be1ee6c7a3e5692c [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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b52b237732de0922d322d2a7c232abe69a6f3efe1550b7ca7e6efa2a026c18a [INFO] running `Command { std: "docker" "start" "-a" "3b52b237732de0922d322d2a7c232abe69a6f3efe1550b7ca7e6efa2a026c18a", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_core` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rusoto_s3` dependency) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/s3.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 80 | async fn retry_move(&self, pathbuf: PathBuf) { [INFO] [stderr] | __________________________________________________- [INFO] [stderr] 81 | | use crate::fib_retry; [INFO] [stderr] 82 | | use fib_retry::FibonacciBackoff; [INFO] [stderr] 83 | | use futures_retry::{ErrorHandler, RetryPolicy}; [INFO] [stderr] ... | [INFO] [stderr] 87 | | impl ErrorHandler for fib_retry::FibonacciBackoff { [INFO] [stderr] | | ^^^^^------------^-------------^^^^^^--------------------------- [INFO] [stderr] | | | | | [INFO] [stderr] | | | | `FibonacciBackoff` is not local [INFO] [stderr] | | | `Error` is not local [INFO] [stderr] | | `ErrorHandler` is not local [INFO] [stderr] ... | [INFO] [stderr] 149 | | COMPLETED_UPLOADS.inc(); [INFO] [stderr] 150 | | } [INFO] [stderr] | |_____- move the `impl` block outside of this async fn `` and up 3 bodies [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused output of future returned by `tokio::task::yield_now` that must be used [INFO] [stderr] --> src/watcher.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 219 | task::yield_now().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: yield_now does nothing unless polled/`await`-ed [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 219 | let _ = task::yield_now().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused output of future returned by `tokio::task::yield_now` that must be used [INFO] [stderr] --> src/watcher.rs:251:9 [INFO] [stderr] | [INFO] [stderr] 251 | task::yield_now().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: yield_now does nothing unless polled/`await`-ed [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 251 | let _ = task::yield_now().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused output of future returned by `tokio::task::yield_now` that must be used [INFO] [stderr] --> src/main.rs:359:9 [INFO] [stderr] | [INFO] [stderr] 359 | task::yield_now().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: yield_now does nothing unless polled/`await`-ed [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 359 | let _ = task::yield_now().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `uploader` (bin "uploader" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: protobuf v2.15.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/uploader-56467bde5d72621c) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test fib_retry::returns_max_when_max_less_than_base ... ok [INFO] [stdout] test fib_retry::returns_the_fibonacci_series_starting_at_10 ... ok [INFO] [stdout] test fib_retry::saturates_at_maximum_value ... ok [INFO] [stdout] test fib_retry::stops_increasing_at_max_delay ... ok [INFO] [stdout] test s3::tests::get_bucket_and_prefix_get_default ... ok [INFO] [stdout] test tests::get_map_returns_empty_vector_if_only_default_is_defined ... ok [INFO] [stdout] test s3::tests::get_bucket_and_prefix_gets_correct_bucket_for_sub_directory ... ok [INFO] [stdout] test tests::get_map_returns_error_if_no_default_bucket_provided ... ok [INFO] [stdout] test tests::get_map_returns_non_empty_vector ... ok [INFO] [stdout] test watcher::tests::clear_does_find_existing_files ... ok [INFO] [stdout] test watcher::tests::clear_does_not_find_hidden_files ... ok [INFO] [stdout] test watcher::tests::watch_ignores_deletes ... ok [INFO] [stdout] test watcher::tests::watch_moves_file_on_write ... ok [INFO] [stdout] test tests::wait_returns_after_in_flight_finishes ... ok [INFO] [stdout] test tests::wait_ensures_quiet_period ... ok [INFO] [stdout] test tests::wait_times_out ... ok [INFO] [stdout] test s3::tests::get_bucket_and_prefix_gets_correct_bucket_for_overlapped_sub_directory ... FAILED [INFO] [stdout] test tests::wait_ensures_quiet_period_and_await_in_flight ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- s3::tests::get_bucket_and_prefix_gets_correct_bucket_for_overlapped_sub_directory stdout ---- [INFO] [stdout] [INFO] [stdout] thread 's3::tests::get_bucket_and_prefix_gets_correct_bucket_for_overlapped_sub_directory' panicked at src/s3.rs:303:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "other_bucket" [INFO] [stdout] right: "different_bucket" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x607a8b92992a - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x607a8b92992a - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x607a8b92992a - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x607a8b92992a - ::fmt::he089f96442833f67 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x607a8b952033 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x607a8b952033 - core::fmt::write::h2f210ed4c94745cb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x607a8b926273 - std::io::Write::write_fmt::he723b56f7e0bd522 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x607a8b929772 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x607a8b92ae60 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x607a8b92abfd - std::panicking::default_hook::h24e207139139d40a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x607a8b5bd293 - as core::ops::function::Fn>::call::h63353c459bb27956 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x607a8b5bd293 - test::test_main::{{closure}}::hd5af4d6c4e32fe08 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x607a8b92b693 - as core::ops::function::Fn>::call::h3af32c23caf5c679 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x607a8b92b693 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x607a8b92b36a - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:701:13 [INFO] [stdout] 15: 0x607a8b929e29 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x607a8b92affd - rust_begin_unwind [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x607a8b51a4d0 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x607a8b51a8c2 - core::panicking::assert_failed_inner::ha51bf8fa7906dee4 [INFO] [stdout] 19: 0x607a8b5355a0 - core::panicking::assert_failed::hdaf26cccd42e3ff1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x607a8b542159 - uploader::s3::tests::get_bucket_and_prefix_gets_correct_bucket_for_overlapped_sub_directory::hf1868fb028e0522a [INFO] [stdout] at /opt/rustwide/workdir/src/s3.rs:303:9 [INFO] [stdout] 21: 0x607a8b541cc7 - uploader::s3::tests::get_bucket_and_prefix_gets_correct_bucket_for_overlapped_sub_directory::{{closure}}::h406e16211cb29be4 [INFO] [stdout] at /opt/rustwide/workdir/src/s3.rs:291:80 [INFO] [stdout] 22: 0x607a8b550896 - core::ops::function::FnOnce::call_once::h48be3ded55f00d64 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x607a8b5c2a3b - core::ops::function::FnOnce::call_once::h8acc80b5a33ff319 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x607a8b5c2a3b - test::__rust_begin_short_backtrace::h52b6da716ad42b7d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x607a8b5c1973 - test::run_test_in_process::{{closure}}::h2580047890abbefe [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x607a8b5c1973 - as core::ops::function::FnOnce<()>>::call_once::h936f8c89d0a99c40 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x607a8b5c1973 - std::panicking::try::do_call::h868682cc368697f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 28: 0x607a8b5c1973 - std::panicking::try::h0356ffc38cbb5501 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 29: 0x607a8b5c1973 - std::panic::catch_unwind::h74edf102a3082536 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x607a8b5c1973 - test::run_test_in_process::hc27d69576b7224e4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x607a8b5c1973 - test::run_test::{{closure}}::h9f3bfaf910429adb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x607a8b5856a5 - test::run_test::{{closure}}::h3d537cdce8ec5816 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x607a8b5856a5 - std::sys::backtrace::__rust_begin_short_backtrace::hb51d9a6c67ec382d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x607a8b5890e6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5738f3abb9603fe6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 35: 0x607a8b5890e6 - as core::ops::function::FnOnce<()>>::call_once::h5e9f4b56e45e8108 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x607a8b5890e6 - std::panicking::try::do_call::ha36db853b2f34e23 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 37: 0x607a8b5890e6 - std::panicking::try::h57e1aa33a0efb1be [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 38: 0x607a8b5890e6 - std::panic::catch_unwind::hdb71a6103024936e [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x607a8b5890e6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h8caa22218f423ab1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 40: 0x607a8b5890e6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3b44780e9c053e5 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x607a8b93030b - as core::ops::function::FnOnce>::call_once::h2649f14f1b1c150d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 42: 0x607a8b93030b - as core::ops::function::FnOnce>::call_once::hb2ade58cb34e1bc4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 43: 0x607a8b93030b - std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x75670d10eac3 - [INFO] [stdout] 45: 0x75670d19fa04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] s3::tests::get_bucket_and_prefix_gets_correct_bucket_for_overlapped_sub_directory [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin uploader` [INFO] running `Command { std: "docker" "inspect" "3b52b237732de0922d322d2a7c232abe69a6f3efe1550b7ca7e6efa2a026c18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b52b237732de0922d322d2a7c232abe69a6f3efe1550b7ca7e6efa2a026c18a", kill_on_drop: false }` [INFO] [stdout] 3b52b237732de0922d322d2a7c232abe69a6f3efe1550b7ca7e6efa2a026c18a