Skip to content

move getting snapshots to rustic_core #1273

move getting snapshots to rustic_core

move getting snapshots to rustic_core #1273

Triggered via push June 24, 2023 05:49
Status Failure
Total duration 1m 18s
Artifacts

release.yaml

on: push
Matrix: publish
Publishing beta-builds
0s
Publishing beta-builds
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 39 warnings
mismatched types: src/commands/snapshots.rs#L61
error[E0308]: mismatched types --> src/commands/snapshots.rs:61:57 | 61 | let groups = repo.get_snapshot_group(&self.ids, &self.group_by, |sn| { | ------------------ ^^^^^^^^^^^^^^ expected `SnapshotGroupCriterion`, found `&SnapshotGroupCriterion` | | | arguments to this method are incorrect | note: method defined here --> /home/runner/work/rustic/rustic/crates/rustic_core/src/repository.rs:376:12 | 376 | pub fn get_snapshot_group( | ^^^^^^^^^^^^^^^^^^ help: consider removing the borrow | 61 - let groups = repo.get_snapshot_group(&self.ids, &self.group_by, |sn| { 61 + let groups = repo.get_snapshot_group(&self.ids, self.group_by, |sn| { |
mismatched types: src/commands/snapshots.rs#L61
error[E0308]: mismatched types --> src/commands/snapshots.rs:61:57 | 61 | let groups = repo.get_snapshot_group(&self.ids, &self.group_by, |sn| { | ------------------ ^^^^^^^^^^^^^^ expected `SnapshotGroupCriterion`, found `&SnapshotGroupCriterion` | | | arguments to this method are incorrect | note: method defined here --> /home/runner/work/rustic/rustic/crates/rustic_core/src/repository.rs:376:12 | 376 | pub fn get_snapshot_group( | ^^^^^^^^^^^^^^^^^^ help: consider removing the borrow | 61 - let groups = repo.get_snapshot_group(&self.ids, &self.group_by, |sn| { 61 + let groups = repo.get_snapshot_group(&self.ids, self.group_by, |sn| { |
mismatched types: src/commands/forget.rs#L116
error[E0308]: mismatched types --> src/commands/forget.rs:116:17 | 113 | SnapshotFile::group_from_backend( | -------------------------------- arguments to this function are incorrect ... 116 | &group_by, | ^^^^^^^^^ expected `SnapshotGroupCriterion`, found `&SnapshotGroupCriterion` | note: associated function defined here --> /home/runner/work/rustic/rustic/crates/rustic_core/src/repofile/snapshotfile.rs:341:12 | 341 | pub fn group_from_backend<B, F>( | ^^^^^^^^^^^^^^^^^^ help: consider removing the borrow | 116 - &group_by, 116 + group_by, |
mismatched types: src/commands/forget.rs#L116
error[E0308]: mismatched types --> src/commands/forget.rs:116:17 | 113 | SnapshotFile::group_from_backend( | -------------------------------- arguments to this function are incorrect ... 116 | &group_by, | ^^^^^^^^^ expected `SnapshotGroupCriterion`, found `&SnapshotGroupCriterion` | note: associated function defined here --> /home/runner/work/rustic/rustic/crates/rustic_core/src/repofile/snapshotfile.rs:341:12 | 341 | pub fn group_from_backend<B, F>( | ^^^^^^^^^^^^^^^^^^ help: consider removing the borrow | 116 - &group_by, 116 + group_by, |
mismatched types: src/commands/backup.rs#L255
error[E0308]: mismatched types --> src/commands/backup.rs:255:17 | 253 | let group = SnapshotGroup::from_sn( | ---------------------- arguments to this function are incorrect 254 | &snap, 255 | / &opts.group_by.unwrap_or_else(|| { 256 | | SnapshotGroupCriterion::from_str("host,label,paths").unwrap() 257 | | }), | |__________________^ expected `SnapshotGroupCriterion`, found `&SnapshotGroupCriterion` | note: associated function defined here --> /home/runner/work/rustic/rustic/crates/rustic_core/src/repofile/snapshotfile.rs:531:12 | 531 | pub fn from_sn(sn: &SnapshotFile, crit: SnapshotGroupCriterion) -> Self { | ^^^^^^^ help: consider removing the borrow | 255 - &opts.group_by.unwrap_or_else(|| { 255 + opts.group_by.unwrap_or_else(|| { |
mismatched types: src/commands/backup.rs#L255
error[E0308]: mismatched types --> src/commands/backup.rs:255:17 | 253 | let group = SnapshotGroup::from_sn( | ---------------------- arguments to this function are incorrect 254 | &snap, 255 | / &opts.group_by.unwrap_or_else(|| { 256 | | SnapshotGroupCriterion::from_str("host,label,paths").unwrap() 257 | | }), | |__________________^ expected `SnapshotGroupCriterion`, found `&SnapshotGroupCriterion` | note: associated function defined here --> /home/runner/work/rustic/rustic/crates/rustic_core/src/repofile/snapshotfile.rs:531:12 | 531 | pub fn from_sn(sn: &SnapshotFile, crit: SnapshotGroupCriterion) -> Self { | ^^^^^^^ help: consider removing the borrow | 255 - &opts.group_by.unwrap_or_else(|| { 255 + opts.group_by.unwrap_or_else(|| { |
Publishing x86_64-unknown-linux-gnu
could not compile `rustic-rs` (lib) due to 3 previous errors
Publishing x86_64-unknown-linux-gnu
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Publishing x86_64-unknown-netbsd
The job was canceled because "stable_ubuntu-latest_linux_x86_64-unknown-linux-gnu_x86_64_false" failed.
Publishing x86_64-unknown-netbsd
The operation was canceled.
Publishing x86_64-apple-darwin
The job was canceled because "stable_ubuntu-latest_linux_x86_64-unknown-linux-gnu_x86_64_false" failed.
Publishing x86_64-apple-darwin
The operation was canceled.
Publishing aarch64-unknown-linux-gnu
The job was canceled because "stable_ubuntu-latest_linux_x86_64-unknown-linux-gnu_x86_64_false" failed.
Publishing aarch64-unknown-linux-gnu
The operation was canceled.
Publishing x86_64-unknown-linux-musl
The job was canceled because "stable_ubuntu-latest_linux_x86_64-unknown-linux-gnu_x86_64_false" failed.
Publishing x86_64-unknown-linux-musl
could not compile `rustic-rs` (lib) due to 3 previous errors
Publishing x86_64-unknown-linux-musl
The operation was canceled.
Publishing i686-unknown-linux-gnu
The job was canceled because "stable_ubuntu-latest_linux_x86_64-unknown-linux-gnu_x86_64_false" failed.
Publishing i686-unknown-linux-gnu
The operation was canceled.
Publishing aarch64-apple-darwin
The job was canceled because "stable_ubuntu-latest_linux_x86_64-unknown-linux-gnu_x86_64_false" failed.
Publishing aarch64-apple-darwin
The operation was canceled.
Publishing x86_64-pc-windows-msvc
The job was canceled because "stable_ubuntu-latest_linux_x86_64-unknown-linux-gnu_x86_64_false" failed.
Publishing x86_64-pc-windows-msvc
The operation was canceled.
Publishing x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-gnu
profiles for the non root package will be ignored, specify profiles at the workspace root:
Publishing x86_64-unknown-netbsd
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-netbsd
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-netbsd
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-netbsd
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-apple-darwin
profiles for the non root package will be ignored, specify profiles at the workspace root:
Publishing x86_64-apple-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-apple-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-apple-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-apple-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-unknown-linux-gnu
profiles for the non root package will be ignored, specify profiles at the workspace root:
Publishing aarch64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-musl
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-musl
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-musl
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-musl
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-unknown-linux-musl
profiles for the non root package will be ignored, specify profiles at the workspace root:
Publishing i686-unknown-linux-gnu
profiles for the non root package will be ignored, specify profiles at the workspace root:
Publishing i686-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing i686-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing i686-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing i686-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-apple-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-apple-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-apple-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-apple-darwin
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing aarch64-apple-darwin
profiles for the non root package will be ignored, specify profiles at the workspace root:
Publishing x86_64-pc-windows-msvc
profiles for the non root package will be ignored, specify profiles at the workspace root:
Publishing x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Publishing x86_64-pc-windows-msvc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/