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

Check if output is immediate value #69836

Merged
merged 1 commit into from Mar 10, 2020
Merged

Conversation

@JohnTitor
Copy link
Member

JohnTitor commented Mar 8, 2020

Fixes #62046

r? @nagisa

@nagisa

This comment has been minimized.

Copy link
Contributor

nagisa commented Mar 8, 2020

@bors r+ thanks!

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 8, 2020

📌 Commit c4c6463 has been approved by nagisa

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 8, 2020

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Mar 8, 2020

The job x86_64-gnu-llvm-7 of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2020-03-08T21:19:01.5772096Z ========================== Starting Command Output ===========================
2020-03-08T21:19:01.5776577Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/e659627e-4d6b-4839-b950-452bb6c5482a.sh
2020-03-08T21:19:01.5777105Z 
2020-03-08T21:19:01.5781214Z ##[section]Finishing: Disable git automatic line ending conversion
2020-03-08T21:19:01.5802148Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69836/merge to s
2020-03-08T21:19:01.5805797Z Task         : Get sources
2020-03-08T21:19:01.5806147Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-03-08T21:19:01.5806467Z Version      : 1.0.0
2020-03-08T21:19:01.5806684Z Author       : Microsoft
---
2020-03-08T21:19:02.5730824Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-03-08T21:19:02.5736797Z ##[command]git config gc.auto 0
2020-03-08T21:19:02.5741161Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-03-08T21:19:02.5745072Z ##[command]git config --get-all http.proxy
2020-03-08T21:19:02.5752111Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/69836/merge:refs/remotes/pull/69836/merge
---
2020-03-08T22:21:49.7476566Z .................................................................................................... 1700/9742
2020-03-08T22:21:54.2965319Z .................................................................................................... 1800/9742
2020-03-08T22:22:06.2237525Z ...........................................................i........................................ 1900/9742
2020-03-08T22:22:13.8903630Z .................................................................................................... 2000/9742
2020-03-08T22:22:28.5400930Z .................................................iiiii.............................................. 2100/9742
2020-03-08T22:22:38.7803872Z .................................................................................................... 2300/9742
2020-03-08T22:22:41.0588002Z .................................................................................................... 2400/9742
2020-03-08T22:22:44.5831019Z .................................................................................................... 2500/9742
2020-03-08T22:23:06.7041925Z .................................................................................................... 2600/9742
---
2020-03-08T22:25:48.9504333Z ........i...............i........................................................................... 5000/9742
2020-03-08T22:25:59.5683447Z .................................................................................................... 5100/9742
2020-03-08T22:26:04.7264498Z ...................................................i................................................ 5200/9742
2020-03-08T22:26:13.7022587Z .................................................................................................... 5300/9742
2020-03-08T22:26:21.3752357Z ................................ii.ii........i...i.................................................. 5400/9742
2020-03-08T22:26:29.9304155Z .................................................................................................... 5600/9742
2020-03-08T22:26:39.7535670Z .................................................................................................... 5700/9742
2020-03-08T22:26:46.9409485Z .......................i............................................................................ 5800/9742
2020-03-08T22:26:52.8275882Z .................................................................................................... 5900/9742
2020-03-08T22:26:52.8275882Z .................................................................................................... 5900/9742
2020-03-08T22:27:04.3652187Z .................................................................................................... 6000/9742
2020-03-08T22:27:14.8125298Z ................ii...i..ii...........i.............................................................. 6100/9742
2020-03-08T22:27:31.5011896Z .................................................................................................... 6300/9742
2020-03-08T22:27:38.4404230Z .................................................................................................... 6400/9742
2020-03-08T22:27:38.4404230Z .................................................................................................... 6400/9742
2020-03-08T22:27:53.3670240Z ...............................................i..ii................................................ 6500/9742
2020-03-08T22:28:17.5440972Z .................................................................................................... 6700/9742
2020-03-08T22:28:19.7405533Z .........................................i.......................................................... 6800/9742
2020-03-08T22:28:21.9447601Z .................................................................................................... 6900/9742
2020-03-08T22:28:24.1854553Z ........................................................................i........................... 7000/9742
---
2020-03-08T22:30:06.6061030Z .................................................................................................... 7700/9742
2020-03-08T22:30:11.2546381Z .................................................................................................... 7800/9742
2020-03-08T22:30:16.9510269Z .................................................................................................... 7900/9742
2020-03-08T22:30:25.5978232Z .......................i............................................................................ 8000/9742
2020-03-08T22:30:34.3667639Z ........................................................................iiiiiiiii.i................. 8100/9742
2020-03-08T22:30:51.0003649Z ...............i......i............................................................................. 8300/9742
2020-03-08T22:30:56.5481877Z .................................................................................................... 8400/9742
2020-03-08T22:31:10.1988147Z .................................................................................................... 8500/9742
2020-03-08T22:31:20.7326048Z .................................................................................................... 8600/9742
---
2020-03-08T22:33:21.0830300Z 1 error[E0668]: malformed inline assembly
2020-03-08T22:33:21.0830932Z -   --> $DIR/issue-62046.rs:7:9
2020-03-08T22:33:21.0831535Z +   --> $DIR/issue-62046.rs:8:9
2020-03-08T22:33:21.0831910Z 3    |
2020-03-08T22:33:21.0832245Z 4 LL |         asm!("nop" : "+r"("r15"));
2020-03-08T22:33:21.0832921Z 
2020-03-08T22:33:21.0833128Z 
2020-03-08T22:33:21.0833450Z The actual stderr differed from the expected stderr.
2020-03-08T22:33:21.0834266Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/issue-62046/issue-62046.stderr
2020-03-08T22:33:21.0834266Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/issue-62046/issue-62046.stderr
2020-03-08T22:33:21.0835072Z To update references, rerun the tests and pass the `--bless` flag
2020-03-08T22:33:21.0835868Z To only update this specific test, also pass `--test-args asm/issue-62046.rs`
2020-03-08T22:33:21.0836557Z error: 1 errors occurred comparing output.
2020-03-08T22:33:21.0836933Z status: exit code: 1
2020-03-08T22:33:21.0836933Z status: exit code: 1
2020-03-08T22:33:21.0839190Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/asm/issue-62046.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/issue-62046" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-A" "unused" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/asm/issue-62046/auxiliary"
2020-03-08T22:33:21.0841225Z ------------------------------------------
2020-03-08T22:33:21.0841553Z 
2020-03-08T22:33:21.0842095Z ------------------------------------------
2020-03-08T22:33:21.0842436Z stderr:
2020-03-08T22:33:21.0842436Z stderr:
2020-03-08T22:33:21.0842946Z ------------------------------------------
2020-03-08T22:33:21.0843384Z error[E0668]: malformed inline assembly
2020-03-08T22:33:21.0844041Z   --> /checkout/src/test/ui/asm/issue-62046.rs:8:9
2020-03-08T22:33:21.0844410Z    |
2020-03-08T22:33:21.0844754Z LL |         asm!("nop" : "+r"("r15"));
2020-03-08T22:33:21.0845440Z    |
2020-03-08T22:33:21.0846176Z    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
2020-03-08T22:33:21.0846632Z 
2020-03-08T22:33:21.0846952Z error: aborting due to previous error
---
2020-03-08T22:33:21.0856350Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-03-08T22:33:21.0857464Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-03-08T22:33:21.0860879Z 
2020-03-08T22:33:21.0861173Z 
2020-03-08T22:33:21.0865235Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "7.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-03-08T22:33:21.0868240Z 
2020-03-08T22:33:21.0868445Z 
2020-03-08T22:33:21.0870657Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2020-03-08T22:33:21.0871157Z Build completed unsuccessfully in 1:08:22
2020-03-08T22:33:21.0871157Z Build completed unsuccessfully in 1:08:22
2020-03-08T22:33:21.0922207Z == clock drift check ==
2020-03-08T22:33:21.0950671Z   local time: Sun Mar  8 22:33:21 UTC 2020
2020-03-08T22:33:21.3857050Z   network time: Sun, 08 Mar 2020 22:33:21 GMT
2020-03-08T22:33:21.3862550Z == end clock drift check ==
2020-03-08T22:33:21.9856223Z 
2020-03-08T22:33:21.9937112Z ##[error]Bash exited with code '1'.
2020-03-08T22:33:21.9958360Z ##[section]Finishing: Run build
2020-03-08T22:33:22.0023835Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69836/merge to s
2020-03-08T22:33:22.0029408Z Task         : Get sources
2020-03-08T22:33:22.0029843Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-03-08T22:33:22.0030263Z Version      : 1.0.0
2020-03-08T22:33:22.0030538Z Author       : Microsoft
2020-03-08T22:33:22.0030538Z Author       : Microsoft
2020-03-08T22:33:22.0030980Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-03-08T22:33:22.0031522Z ==============================================================================
2020-03-08T22:33:22.3475070Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-03-08T22:33:22.3523701Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/69836/merge to s
2020-03-08T22:33:22.3627481Z Cleaning up task key
2020-03-08T22:33:22.3629111Z Start cleaning up orphan processes.
2020-03-08T22:33:22.3818754Z Terminate orphan process: pid (3448) (python)
2020-03-08T22:33:22.4088988Z ##[section]Finishing: Finalize Job

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @rust-lang/infra. (Feature Requests)

@JohnTitor

This comment has been minimized.

Copy link
Member Author

JohnTitor commented Mar 8, 2020

Oops, I forgot to bless test, one sec.
@bors r-

@JohnTitor JohnTitor force-pushed the JohnTitor:immediate-outputs branch from c4c6463 to d32924f Mar 8, 2020
@JohnTitor

This comment has been minimized.

Copy link
Member Author

JohnTitor commented Mar 8, 2020

Updated.
@bors r=nagisa

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 8, 2020

📌 Commit d32924f has been approved by nagisa

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 8, 2020

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

Centril added a commit to Centril/rust that referenced this pull request Mar 9, 2020
Check if output is immediate value

Fixes rust-lang#62046

r? @nagisa
bors added a commit that referenced this pull request Mar 9, 2020
Rollup of 6 pull requests

Successful merges:

 - #69475 (Remove the `no_force` query attribute)
 - #69514 (Remove spotlight)
 - #69677 (rustc_metadata: Give decoder access to whole crate store)
 - #69714 (Make PlaceRef take just one lifetime)
 - #69799 (Allow ZSTs in `AllocRef`)
 - #69836 (Check if output is immediate value)

Failed merges:

r? @ghost
bors added a commit that referenced this pull request Mar 10, 2020
Rollup of 10 pull requests

Successful merges:

 - #69475 (Remove the `no_force` query attribute)
 - #69514 (Remove spotlight)
 - #69677 (rustc_metadata: Give decoder access to whole crate store)
 - #69714 (Make PlaceRef take just one lifetime)
 - #69799 (Allow ZSTs in `AllocRef`)
 - #69817 (test(patterns): add patterns feature tests to borrowck test suite)
 - #69836 (Check if output is immediate value)
 - #69847 (clean up E0393 explanation)
 - #69861 (Add note about localization to std::fmt docs)
 - #69877 (Vec::new is const stable in 1.39 not 1.32)

Failed merges:

r? @ghost
@bors bors merged commit 436f2ec into rust-lang:master Mar 10, 2020
4 checks passed
4 checks passed
pr Build #20200308.53 succeeded
Details
pr (Linux mingw-check) Linux mingw-check succeeded
Details
pr (Linux x86_64-gnu-llvm-7) Linux x86_64-gnu-llvm-7 succeeded
Details
pr (Linux x86_64-gnu-tools) Linux x86_64-gnu-tools succeeded
Details
@JohnTitor JohnTitor deleted the JohnTitor:immediate-outputs branch Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.