Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup up 3 pull requests #5339

Closed
wants to merge 8 commits into from
Closed

Conversation

matthiaskrgr
Copy link
Member

changelog: none

We need all of these merging at the same time.

@phansch
Copy link
Member

phansch commented Mar 19, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Mar 19, 2020

📌 Commit a1cfd7c has been approved by phansch

@bors
Copy link
Contributor

bors commented Mar 19, 2020

⌛ Testing commit a1cfd7c with merge 6a0a417...

bors added a commit that referenced this pull request Mar 19, 2020
Rollup up 3 pull requests

changelog: none

We need all of these merging at the same time.
@bors
Copy link
Contributor

bors commented Mar 19, 2020

💔 Test failed - checks-action_test

@matthiaskrgr
Copy link
Member Author

find: ‘/home/runner/work/rust-clippy/rust-clippy/target/debug/incremental/cargo_clippy-hfbbgcctcpct’: No such file or directory
mv: cannot stat '/home/runner/work/rust-clippy/rust-clippy/target/debug/integration-*': No such file or directory
##[error]Process completed with exit code 1.

looks spurious 🤔

@bors retry

@bors
Copy link
Contributor

bors commented Mar 19, 2020

⌛ Testing commit a1cfd7c with merge dae3db0...

bors added a commit that referenced this pull request Mar 19, 2020
Rollup up 3 pull requests

changelog: none

We need all of these merging at the same time.
@bors
Copy link
Contributor

bors commented Mar 19, 2020

💔 Test failed - checks-action_test

@matthiaskrgr
Copy link
Member Author

    # Upload
    - name: Extract Binaries
      run: |
        DIR=$CARGO_TARGET_DIR/debug
        find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf
        mv $DIR/integration-* $DIR/integration
        rm -rf $CARGO_TARGET_DIR/release

    - name: Upload Binaries
      uses: actions/upload-artifact@v1
      with:
        name: target
        path: target

$DIR seems to be target/debug so we are looking for target/debug/integration-* which does not seem to exist?

@matthiaskrgr
Copy link
Member Author

@bors try

bors added a commit that referenced this pull request Mar 19, 2020
Rollup up 3 pull requests

changelog: none

We need all of these merging at the same time.
@bors
Copy link
Contributor

bors commented Mar 19, 2020

⌛ Trying commit 80f1e91 with merge 1ca219e...

@bors
Copy link
Contributor

bors commented Mar 19, 2020

💔 Test failed - checks-action_test

@matthiaskrgr
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Mar 19, 2020

⌛ Trying commit 6943363 with merge 30cc503...

bors added a commit that referenced this pull request Mar 19, 2020
Rollup up 3 pull requests

changelog: none

We need all of these merging at the same time.
@flip1995
Copy link
Member

integration-* is an executable file, where * is a hash code. Maybe if tests get compiled, without executing, the suppress the hash now?

For debugging you could add

- name: Debug
  run: ls target/debug -l

before the extract binary step. This will show which files get produced by compiling the integration test.

@matthiaskrgr
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Mar 19, 2020

⌛ Trying commit 8cb59cc with merge 83930c5...

bors added a commit that referenced this pull request Mar 19, 2020
Rollup up 3 pull requests

changelog: none

We need all of these merging at the same time.
@flip1995
Copy link
Member

drwxr-xr-x 30 runner docker      4096 Mar 19 11:52 build
-rwxr-xr-x  2 runner docker   3591384 Mar 19 11:55 cargo-clippy
-rwxr-xr-x  2 runner docker 376728760 Mar 19 11:55 clippy-driver
drwxr-xr-x  2 runner docker    139264 Mar 19 11:55 deps
drwxr-xr-x  2 runner docker      4096 Mar 19 11:52 examples
drwxr-xr-x  9 runner docker      4096 Mar 19 11:55 incremental

yeah, somehow the test binary is not produced.

Comment on lines +1 to +7
error: transmute from a type (`&T`) to itself
--> $DIR/transmute_ptr_to_ptr.rs:8:5
|
LL | std::mem::transmute::<&'a T, &'static T>(t)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::useless-transmute` implied by `-D warnings`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We explicitly don't want to lint this. See my comment in #5333 (comment)

@bors
Copy link
Contributor

bors commented Mar 19, 2020

💔 Test failed - checks-action_test

@flip1995
Copy link
Member

cc rust-lang/cargo#7965

@flip1995
Copy link
Member

This should fix it:

diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml
index a4f7b64c..8393b16d 100644
--- a/.github/workflows/clippy_bors.yml
+++ b/.github/workflows/clippy_bors.yml
@@ -209,7 +209,7 @@ jobs:
       run: |
         DIR=$CARGO_TARGET_DIR/debug
         find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf
-        mv $DIR/integration-* $DIR/integration
+        mv $DIR/deps/integration-* $DIR/integration
         rm -rf $CARGO_TARGET_DIR/release

     - name: Upload Binaries

@flip1995
Copy link
Member

We'll need another rustup: #66131

I'm working on it. I'll open a new rollup PR, once it's ready.

@bors treeclosed=1000

@flip1995 flip1995 closed this Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants