feat: implement downstream test #1188
rust.yml
on: pull_request
Matrix: build
Matrix: test
Post-process
5s
Annotations
8 errors and 3 warnings
test (macos-latest):
src/package_test/run_test.rs#L262
[clippy] reported by reviewdog 🐶
error: unnecessary closure used to substitute value for `Option::None`
--> src/package_test/run_test.rs:262:24
|
262 | let package_file = downstream_package
| ________________________^
263 | | .as_deref()
264 | | .unwrap_or_else(|| package_file);
| |__________------------------------------^
| |
| help: use `unwrap_or(..)` instead: `unwrap_or(package_file)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_lazy_evaluations)]`
Raw Output:
src/package_test/run_test.rs:262:24:e:error: unnecessary closure used to substitute value for `Option::None`
--> src/package_test/run_test.rs:262:24
|
262 | let package_file = downstream_package
| ________________________^
263 | | .as_deref()
264 | | .unwrap_or_else(|| package_file);
| |__________------------------------------^
| |
| help: use `unwrap_or(..)` instead: `unwrap_or(package_file)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_lazy_evaluations)]`
__END__
|
test (macos-latest):
src/package_test/run_test.rs#L370
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:370:41
|
370 | .run_test(&pkg, &package_file, &prefix, &config)
| ^^^^^^^^^^^^^ help: change this to: `package_file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
Raw Output:
src/package_test/run_test.rs:370:41:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:370:41
|
370 | .run_test(&pkg, &package_file, &prefix, &config)
| ^^^^^^^^^^^^^ help: change this to: `package_file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
__END__
|
test (macos-latest):
src/package_test/run_test.rs#L625
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:625:26
|
625 | run_test(&path, config, Some(package_file)).await?;
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Raw Output:
src/package_test/run_test.rs:625:26:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:625:26
|
625 | run_test(&path, config, Some(package_file)).await?;
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
__END__
|
test (macos-latest)
reviewdog exited with status code: 1
|
test (ubuntu-latest):
src/package_test/run_test.rs#L262
[clippy] reported by reviewdog 🐶
error: unnecessary closure used to substitute value for `Option::None`
--> src/package_test/run_test.rs:262:24
|
262 | let package_file = downstream_package
| ________________________^
263 | | .as_deref()
264 | | .unwrap_or_else(|| package_file);
| |__________------------------------------^
| |
| help: use `unwrap_or(..)` instead: `unwrap_or(package_file)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_lazy_evaluations)]`
Raw Output:
src/package_test/run_test.rs:262:24:e:error: unnecessary closure used to substitute value for `Option::None`
--> src/package_test/run_test.rs:262:24
|
262 | let package_file = downstream_package
| ________________________^
263 | | .as_deref()
264 | | .unwrap_or_else(|| package_file);
| |__________------------------------------^
| |
| help: use `unwrap_or(..)` instead: `unwrap_or(package_file)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_lazy_evaluations)]`
__END__
|
test (ubuntu-latest):
src/package_test/run_test.rs#L370
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:370:41
|
370 | .run_test(&pkg, &package_file, &prefix, &config)
| ^^^^^^^^^^^^^ help: change this to: `package_file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
Raw Output:
src/package_test/run_test.rs:370:41:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:370:41
|
370 | .run_test(&pkg, &package_file, &prefix, &config)
| ^^^^^^^^^^^^^ help: change this to: `package_file`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
__END__
|
test (ubuntu-latest):
src/package_test/run_test.rs#L625
[clippy] reported by reviewdog 🐶
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:625:26
|
625 | run_test(&path, config, Some(package_file)).await?;
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Raw Output:
src/package_test/run_test.rs:625:26:e:error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/package_test/run_test.rs:625:26
|
625 | run_test(&path, config, Some(package_file)).await?;
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
__END__
|
test (ubuntu-latest)
reviewdog exited with status code: 1
|
test (windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
rattler-build-aarch64-apple-darwin.tar.gz
|
12.1 MB |
|
rattler-build-aarch64-unknown-linux-musl.tar.gz
|
16.3 MB |
|
rattler-build-powerpc64le-unknown-linux-gnu.tar.gz
|
17 MB |
|
rattler-build-x86_64-apple-darwin.tar.gz
|
12.5 MB |
|
rattler-build-x86_64-pc-windows-gnu.zip
|
17.8 MB |
|
rattler-build-x86_64-pc-windows-msvc.zip
|
10.7 MB |
|
rattler-build-x86_64-unknown-linux-musl.tar.gz
|
16.9 MB |
|