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

Apply #[must_use] lint to components of tuples #61100

Merged
merged 7 commits into from Jun 3, 2019

Conversation

Projects
None yet
8 participants
@varkor
Copy link
Member

commented May 23, 2019

Fixes #61061.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

commented May 23, 2019

r? @michaelwoerister

(rust_highfive has picked a reviewer for you, use r? to override)

@varkor

This comment has been minimized.

Copy link
Member Author

commented May 23, 2019

@bors try (for crater run)

@bors

This comment has been minimized.

Copy link
Contributor

commented May 23, 2019

⌛️ Trying commit 4a5e4ef with merge 49ae6b7...

bors added a commit that referenced this pull request May 23, 2019

Auto merge of #61100 - varkor:must_use-tuple-expr, r=<try>
Apply #[must_use] lint to components of tuples

Fixes #61061.
@rust-highfive

This comment was marked as resolved.

Copy link
Collaborator

commented May 23, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (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.
travis_time:end:0a6d3960:start=1558649915388906376,finish=1558649917764909927,duration=2376003551
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
$ export AWS_ACCESS_KEY_ID=AKIA46X5W6CZEJZ6XT55
---
[00:48:32]    --> src/librustc_lint/lib.rs:23:9
[00:48:32]     |
[00:48:32] 23  | #![deny(internal)]
[00:48:32]     |         ^^^^^^^^
[00:48:32]     = note: #[deny(usage_of_qualified_ty)] implied by #[deny(internal)]
[00:48:32] error: aborting due to previous error
[00:48:32] 
[00:48:32] error: Could not compile `rustc_lint`.
[00:48:32] warning: build failed, waiting for other jobs to finish...
---
travis_time:end:1fb7cd40:start=1558652929905999783,finish=1558652929911379303,duration=5379520
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0c80a5bc
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:0b74a770
travis_time:start:0b74a770
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:073d1150
$ dmesg | grep -i kill

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 @TimNN. (Feature Requests)

@bors

This comment has been minimized.

Copy link
Contributor

commented May 23, 2019

💔 Test failed - checks-travis

@rust-highfive

This comment was marked as resolved.

Copy link
Collaborator

commented May 23, 2019

The job dist-x86_64-linux of your PR failed on Travis (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.
travis_fold:end:services

travis_fold:start:git.checkout
travis_time:start:075fb8c9
$ git clone --depth=2 --branch=try https://github.com/rust-lang/rust.git rust-lang/rust
---
[01:03:05]    --> src/librustc_lint/lib.rs:23:9
[01:03:05]     |
[01:03:05] 23  | #![deny(internal)]
[01:03:05]     |         ^^^^^^^^
[01:03:05]     = note: #[deny(usage_of_qualified_ty)] implied by #[deny(internal)]
[01:03:05] error: aborting due to previous error
[01:03:05] 
[01:03:05] error: Could not compile `rustc_lint`.
[01:03:05] warning: build failed, waiting for other jobs to finish...
---
travis_time:end:0472b7d0:start=1558653787403704513,finish=1558653787422000560,duration=18296047
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0eea0c46
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:055e3e1c
travis_time:start:055e3e1c
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:0438be74
$ dmesg | grep -i kill

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 @TimNN. (Feature Requests)

@varkor

This comment has been minimized.

Copy link
Member Author

commented May 24, 2019

@TimNN: the above error message cut off the important part.

@varkor varkor force-pushed the varkor:must_use-tuple-expr branch from 4a5e4ef to 68c0ced May 24, 2019

@varkor

This comment has been minimized.

Copy link
Member Author

commented May 24, 2019

@bors try

(I tested this before, but one of the compiler internal lints failed.)

@bors

This comment has been minimized.

Copy link
Contributor

commented May 24, 2019

⌛️ Trying commit 68c0ced with merge 58b2112...

bors added a commit that referenced this pull request May 24, 2019

Auto merge of #61100 - varkor:must_use-tuple-expr, r=<try>
Apply #[must_use] lint to components of tuples

Fixes #61061.
@bors

This comment has been minimized.

Copy link
Contributor

commented May 24, 2019

☀️ Try build successful - checks-travis
Build commit: 58b2112

@varkor

This comment has been minimized.

Copy link
Member Author

commented May 24, 2019

@craterbot run mode=check-only

@craterbot

This comment has been minimized.

Copy link
Collaborator

commented May 24, 2019

👌 Experiment pr-61100 created and queued.
🤖 Automatically detected try build 58b2112
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

This comment has been minimized.

Copy link
Collaborator

commented May 24, 2019

🚧 Experiment pr-61100 is now running on agent aws-3-tmp.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

This comment has been minimized.

Copy link
Collaborator

commented May 26, 2019

🎉 Experiment pr-61100 is completed!
📊 2 regressed and 0 fixed (60951 total)
📰 Open the full report.

⚠️ If you notice any spurious failure please add them to the blacklist!
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@Centril

This comment has been minimized.

Copy link
Member

commented May 27, 2019

That's a rather small amount of regressions... Possibly too few?
...This seems bad in terms of justifying adding the lint to (t0, .., tn)?

On the other hand, the supporting code is small... thoughts?

@varkor

This comment has been minimized.

Copy link
Member Author

commented May 27, 2019

On the other hand, the supporting code is small... thoughts?

I think this change is small enough that there's not much reason to prefer not to add it if it helps catch a few more mistakes. There aren't going to be any additional false positives either.

@varkor

This comment has been minimized.

Copy link
Member Author

commented May 27, 2019

A warning is produced for each #[must_use] component of a tuple now, pointing to the correct span.

r? @cramertj

@rust-highfive

This comment was marked as resolved.

Copy link
Collaborator

commented May 27, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (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.
travis_time:end:14b2d72a:start=1558972890026616648,finish=1558972981158521679,duration=91131905031
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
$ export GCP_CACHE_BUCKET=rust-lang-ci-cache
$ export AWS_ACCESS_KEY_ID=AKIA46X5W6CZEJZ6XT55
---
[01:13:18] .................................................................................................... 300/2922
[01:13:29] .................................................................................................... 400/2922
[01:13:39] .................................................................................................... 500/2922
[01:13:50] .................................................................................................... 600/2922
[01:14:04] ................................F................................................................... 700/2922
[01:14:24] .................................................................................................... 900/2922
[01:14:39] .................................................................................................... 1000/2922
[01:14:50] .................................................................................................... 1100/2922
[01:14:50] .................................................................................................... 1100/2922
[01:14:59] ................................................F................................................... 1200/2922
[01:15:22] ...................ii............................................................................... 1400/2922
[01:15:34] .................................................................................................... 1500/2922
[01:15:43] .......................................................................i.......i.................... 1600/2922
[01:15:56] .................................................................................................... 1700/2922
[01:15:56] .................................................................................................... 1700/2922
[01:16:10] .........................................................F.......................................... 1800/2922
[01:16:20] ............................................................................F....................... 1900/2922
[01:16:35] ..i.......................................................................i......................... 2000/2922
[01:17:00] .................................................................................................... 2100/2922
[01:17:22] ...............................F.................................................................... 2200/2922
[01:17:33] .......................................................................................F............ 2300/2922
[01:18:02] .................................................................................................... 2500/2922
[01:18:34] .................................................................................................... 2600/2922
[01:18:44] .................................................................................................... 2700/2922
[01:18:54] .................................................................................................... 2800/2922
[01:18:54] .................................................................................................... 2800/2922
[01:19:07] .................................................................................................... 2900/2922
[01:19:11] ......................
[01:19:11] failures:
[01:19:11] 
[01:19:11] ---- [run-pass] run-pass/drop/dynamic-drop.rs stdout ----
[01:19:11] 
[01:19:11] error: test compilation failed although it shouldn't!
[01:19:11] status: exit code: 101
[01:19:11] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/drop/dynamic-drop.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/drop/dynamic-drop/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/drop/dynamic-drop/auxiliary"
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] stderr:
---
[01:19:11] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:19:11] 
[01:19:11] note: rustc 1.36.0-dev running on x86_64-unknown-linux-gnu
[01:19:11] 
[01:19:11] note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] 
[01:19:11] 
[01:19:11] ---- [run-pass] run-pass/issues/issue-18110.rs stdout ----
[01:19:11] 
[01:19:11] error: test compilation failed although it shouldn't!
[01:19:11] status: exit code: 101
[01:19:11] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/issues/issue-18110.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/issues/issue-18110/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/issues/issue-18110/auxiliary"
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] stderr:
---
[01:19:11] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:19:11] 
[01:19:11] note: rustc 1.36.0-dev running on x86_64-unknown-linux-gnu
[01:19:11] 
[01:19:11] note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] 
[01:19:11] 
[01:19:11] ---- [run-pass] run-pass/macros/log_syntax-trace_macros-macro-locations.rs stdout ----
[01:19:11] 
[01:19:11] error: test compilation failed although it shouldn't!
[01:19:11] status: exit code: 101
[01:19:11] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/macros/log_syntax-trace_macros-macro-locations.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/macros/log_syntax-trace_macros-macro-locations/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/macros/log_syntax-trace_macros-macro-locations/auxiliary"
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] 
[01:19:11] 
---
[01:19:11] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:19:11] 
[01:19:11] note: rustc 1.36.0-dev running on x86_64-unknown-linux-gnu
[01:19:11] 
[01:19:11] note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] 
[01:19:11] 
[01:19:11] ---- [run-pass] run-pass/mir/mir_drop_order.rs stdout ----
[01:19:11] 
[01:19:11] error: test compilation failed although it shouldn't!
[01:19:11] status: exit code: 101
[01:19:11] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/mir/mir_drop_order.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/mir/mir_drop_order/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/mir/mir_drop_order/auxiliary"
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] stderr:
---
[01:19:11] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:19:11] 
[01:19:11] note: rustc 1.36.0-dev running on x86_64-unknown-linux-gnu
[01:19:11] 
[01:19:11] note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] 
[01:19:11] 
[01:19:11] ---- [run-pass] run-pass/proc-macro/issue-42708.rs stdout ----
[01:19:11] 
[01:19:11] error: test compilation failed although it shouldn't!
[01:19:11] status: exit code: 101
[01:19:11] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/proc-macro/issue-42708.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/proc-macro/issue-42708/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/proc-macro/issue-42708/auxiliary"
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] stderr:
---
[01:19:11] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:19:11] 
[01:19:11] note: rustc 1.36.0-dev running on x86_64-unknown-linux-gnu
[01:19:11] 
[01:19:11] note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] 
[01:19:11] 
[01:19:11] ---- [run-pass] run-pass/rfcs/rfc1857-drop-order.rs stdout ----
[01:19:11] 
[01:19:11] error: test compilation failed although it shouldn't!
[01:19:11] status: exit code: 101
[01:19:11] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/rfcs/rfc1857-drop-order.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/rfcs/rfc1857-drop-order/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/rfcs/rfc1857-drop-order/auxiliary"
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] stderr:
---
[01:19:11] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:19:11] 
[01:19:11] note: rustc 1.36.0-dev running on x86_64-unknown-linux-gnu
[01:19:11] 
[01:19:11] note: compiler flags: -Z threads=1 -Z ui-testing -Z unstable-options -C prefer-dynamic -C rpath -C debuginfo=0
[01:19:11] 
[01:19:11] ------------------------------------------
[01:19:11] 
[01:19:11] 
---
[01:19:11] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:521:22
[01:19:11] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:19:11] 
[01:19:11] 
[01:19:11] 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/run-pass" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-pass" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/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" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:19:11] 
[01:19:11] 
[01:19:11] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:19:11] Build completed unsuccessfully in 0:11:15
[01:19:11] Build completed unsuccessfully in 0:11:15
[01:19:11] Makefile:48: recipe for target 'check' failed
[01:19:11] make: *** [check] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:17c34cca
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Mon May 27 17:22:21 UTC 2019
---
travis_time:end:0e0f2434:start=1558977742558166380,finish=1558977742563343976,duration=5177596
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0213ca08
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:0fcaaf0d
travis_time:start:0fcaaf0d
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:029e594b
$ dmesg | grep -i kill

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 @TimNN. (Feature Requests)

@varkor

This comment has been minimized.

Copy link
Member Author

commented Jun 2, 2019

@cramertj: this is ready for review again.

@cramertj

This comment has been minimized.

Copy link
Member

commented Jun 3, 2019

r=me with missing test. Thanks so much for doing this! :)

@varkor varkor force-pushed the varkor:must_use-tuple-expr branch from d65e7d2 to de2bf3a Jun 3, 2019

@varkor

This comment has been minimized.

Copy link
Member Author

commented Jun 3, 2019

@bors r=cramertj

@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 3, 2019

📌 Commit de2bf3a has been approved by cramertj

@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 3, 2019

⌛️ Testing commit de2bf3a with merge 6ffb8f5...

bors added a commit that referenced this pull request Jun 3, 2019

Auto merge of #61100 - varkor:must_use-tuple-expr, r=cramertj
Apply #[must_use] lint to components of tuples

Fixes #61061.
@bors

This comment has been minimized.

Copy link
Contributor

commented Jun 3, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: cramertj
Pushing 6ffb8f5 to master...

@bors bors added the merged-by-bors label Jun 3, 2019

@bors bors merged commit de2bf3a into rust-lang:master Jun 3, 2019

2 checks passed

Travis CI - Pull Request Build Passed
Details
homu Test successful
Details

@varkor varkor deleted the varkor:must_use-tuple-expr branch Jun 3, 2019

@scottmcm

This comment has been minimized.

Copy link
Member

commented Jun 3, 2019

This seems bad in terms of justifying adding the lint

I don't think crater should necessarily be expected to find lint warnings, @Centril, because it's code that theoretically works. It can't tell use whether someone wrote the code wrong, had to debug to find it, fixed it, and then uploaded to crates.io once it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.