[INFO] cloning repository https://github.com/xaviernogueira/music-backup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xaviernogueira/music-backup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxaviernogueira%2Fmusic-backup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxaviernogueira%2Fmusic-backup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b67519327a2ce3d935c381282deea61a1c04a017 [INFO] checking xaviernogueira/music-backup/b67519327a2ce3d935c381282deea61a1c04a017 against master#fd0c901b00ee1e08a250039cdb90258603497e20 for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxaviernogueira%2Fmusic-backup" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xaviernogueira/music-backup [INFO] finished tweaking git repo https://github.com/xaviernogueira/music-backup [INFO] tweaked toml for git repo https://github.com/xaviernogueira/music-backup written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xaviernogueira/music-backup on toolchain fd0c901b00ee1e08a250039cdb90258603497e20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xaviernogueira/music-backup 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" "+fd0c901b00ee1e08a250039cdb90258603497e20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded google-cloud-auth v0.13.2 [INFO] [stderr] Downloaded base64ct v1.8.2 [INFO] [stderr] Downloaded google-cloud-metadata v0.4.0 [INFO] [stderr] Downloaded google-cloud-token v0.1.2 [INFO] [stderr] Downloaded google-cloud-storage v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eefdf8915aadedcffb2d0cd70333d6179228c2c8998e1213f54091e117a148af [INFO] running `Command { std: "docker" "start" "-a" "eefdf8915aadedcffb2d0cd70333d6179228c2c8998e1213f54091e117a148af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eefdf8915aadedcffb2d0cd70333d6179228c2c8998e1213f54091e117a148af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eefdf8915aadedcffb2d0cd70333d6179228c2c8998e1213f54091e117a148af", kill_on_drop: false }` [INFO] [stdout] eefdf8915aadedcffb2d0cd70333d6179228c2c8998e1213f54091e117a148af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea11bf9e07c5d887ca41f5b162a011f6147e1003bd931048df99c6b37216469e [INFO] running `Command { std: "docker" "start" "-a" "ea11bf9e07c5d887ca41f5b162a011f6147e1003bd931048df99c6b37216469e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking base64ct v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking google-cloud-token v0.1.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking google-cloud-metadata v0.4.0 [INFO] [stderr] Checking google-cloud-auth v0.13.2 [INFO] [stderr] Checking google-cloud-storage v0.15.0 [INFO] [stderr] Checking music-backup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `&Path: std::io::Write` is not satisfied [INFO] [stdout] --> src/main.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | let mut zip = ZipWriter::new(Path::new("temp.zip")); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&Path` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `zip::write::>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | impl ZipWriter { [INFO] [stdout] | ^^^^^ required by this bound in `zip::write::>::new` [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn new(inner: W) -> ZipWriter { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Path: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | let mut zip = ZipWriter::new(Path::new("temp.zip")); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Seek` is not implemented for `&Path` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `zip::write::>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | impl ZipWriter { [INFO] [stdout] | ^^^^^^^^ required by this bound in `zip::write::>::new` [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn new(inner: W) -> ZipWriter { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Path: std::io::Write` is not satisfied [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let mut zip = ZipWriter::new(Path::new("temp.zip")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&Path` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ZipWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ZipWriter { [INFO] [stdout] | ^^^^^ required by this bound in `ZipWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Path: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let mut zip = ZipWriter::new(Path::new("temp.zip")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Seek` is not implemented for `&Path` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ZipWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ZipWriter { [INFO] [stdout] | ^^^^^^^^ required by this bound in `ZipWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `finish` exists for struct `ZipWriter<&Path>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | zip.finish().context("Failed to finalize zip file")?; [INFO] [stdout] | ^^^^^^ method cannot be called on `ZipWriter<&Path>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Path: std::io::Write` [INFO] [stdout] `&Path: Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Path: std::io::Write` is not satisfied [INFO] [stdout] --> src/main.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | let mut zip = ZipWriter::new(Path::new("temp.zip")); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&Path` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `zip::write::>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | impl ZipWriter { [INFO] [stdout] | ^^^^^ required by this bound in `zip::write::>::new` [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn new(inner: W) -> ZipWriter { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Path: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | let mut zip = ZipWriter::new(Path::new("temp.zip")); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Seek` is not implemented for `&Path` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `zip::write::>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | impl ZipWriter { [INFO] [stdout] | ^^^^^^^^ required by this bound in `zip::write::>::new` [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn new(inner: W) -> ZipWriter { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Path: std::io::Write` is not satisfied [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let mut zip = ZipWriter::new(Path::new("temp.zip")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `&Path` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ZipWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ZipWriter { [INFO] [stdout] | ^^^^^ required by this bound in `ZipWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Path: Seek` is not satisfied [INFO] [stdout] --> src/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let mut zip = ZipWriter::new(Path::new("temp.zip")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Seek` is not implemented for `&Path` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ZipWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ZipWriter { [INFO] [stdout] | ^^^^^^^^ required by this bound in `ZipWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start_file` exists for struct `ZipWriter<&Path>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | zip.start_file(name.to_string_lossy().into_owned(), options) [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `ZipWriter<&Path>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Path: std::io::Write` [INFO] [stdout] `&Path: Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `finish` exists for struct `ZipWriter<&Path>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | zip.finish().context("Failed to finalize zip file")?; [INFO] [stdout] | ^^^^^^ method cannot be called on `ZipWriter<&Path>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Path: std::io::Write` [INFO] [stdout] `&Path: Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start_file` exists for struct `ZipWriter<&Path>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | zip.start_file(name.to_string_lossy().into_owned(), options) [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `ZipWriter<&Path>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Path: std::io::Write` [INFO] [stdout] `&Path: Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_all` exists for struct `ZipWriter<&Path>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | zip.write_all(&buffer) [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `ZipWriter<&Path>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ZipWriter { [INFO] [stdout] | ----------------------------------------- doesn't satisfy `ZipWriter<&Path>: std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Path: std::io::Write` [INFO] [stdout] which is required by `ZipWriter<&Path>: std::io::Write` [INFO] [stdout] `&Path: Seek` [INFO] [stdout] which is required by `ZipWriter<&Path>: std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `add_directory` exists for struct `ZipWriter<&Path>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | zip.add_directory(name.to_string_lossy().into_owned(), options) [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `ZipWriter<&Path>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Path: std::io::Write` [INFO] [stdout] `&Path: Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `&PathBuf & std::string::String` [INFO] [stdout] --> src/main.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 278 | &local_zip_dir [INFO] [stdout] | -------------- &PathBuf [INFO] [stdout] 279 | &config.bucket_name, [INFO] [stdout] | ^------------------ std::string::String [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | upload_to_gcs( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | &config.credentials_path, [INFO] [stdout] | ------------------------ argument #3 of type `std::string::String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | async fn upload_to_gcs( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | destination_name: String, [INFO] [stdout] | ------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 277 | upload_to_gcs( [INFO] [stdout] ... [INFO] [stdout] 280 | &gcs_dir, [INFO] [stdout] 281 ~ /* std::string::String */, [INFO] [stdout] 282 ~ &config.credentials_path, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_all` exists for struct `ZipWriter<&Path>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | zip.write_all(&buffer) [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `ZipWriter<&Path>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-0.6.6/src/write.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ZipWriter { [INFO] [stdout] | ----------------------------------------- doesn't satisfy `ZipWriter<&Path>: std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Path: std::io::Write` [INFO] [stdout] which is required by `ZipWriter<&Path>: std::io::Write` [INFO] [stdout] `&Path: Seek` [INFO] [stdout] which is required by `ZipWriter<&Path>: std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `add_directory` exists for struct `ZipWriter<&Path>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | zip.add_directory(name.to_string_lossy().into_owned(), options) [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `ZipWriter<&Path>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Path: std::io::Write` [INFO] [stdout] `&Path: Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `&PathBuf & std::string::String` [INFO] [stdout] --> src/main.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 278 | &local_zip_dir [INFO] [stdout] | -------------- &PathBuf [INFO] [stdout] 279 | &config.bucket_name, [INFO] [stdout] | ^------------------ std::string::String [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | upload_to_gcs( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | &config.credentials_path, [INFO] [stdout] | ------------------------ argument #3 of type `std::string::String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | async fn upload_to_gcs( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | destination_name: String, [INFO] [stdout] | ------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 277 | upload_to_gcs( [INFO] [stdout] ... [INFO] [stdout] 280 | &gcs_dir, [INFO] [stdout] 281 ~ /* std::string::String */, [INFO] [stdout] 282 ~ &config.credentials_path, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `music-backup` (bin "music-backup" test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `music-backup` (bin "music-backup") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "ea11bf9e07c5d887ca41f5b162a011f6147e1003bd931048df99c6b37216469e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea11bf9e07c5d887ca41f5b162a011f6147e1003bd931048df99c6b37216469e", kill_on_drop: false }` [INFO] [stdout] ea11bf9e07c5d887ca41f5b162a011f6147e1003bd931048df99c6b37216469e