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

Utilize ? instead of return None. #56119

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

frewsxcv
Copy link
Member

No description provided.

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.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:007f65ac:start=1542773667222586693,finish=1542773723368948278,duration=56146361585
$ 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
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-5.0
---
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading https://files.pythonhosted.org/packages/ef/cc/d8f288b5b450e59b92c460727012ee002925324bc655255a9945a45ab9ad/awscli-1.16.59-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 18.7MB/s eta 0:00:01
    1% |▌                               | 20kB 1.9MB/s eta 0:00:01
    2% |▊                               | 30kB 2.2MB/s eta 0:00:01
    2% |█                               | 40kB 2.0MB/s eta 0:00:01
---
[00:40:22]    Compiling parking_lot_core v0.3.0
[00:40:22]    Compiling tempfile v3.0.3
[00:40:24]    Compiling parking_lot v0.6.4
[00:40:25]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:40:25] error: expected one of `.`, `;`, `?`, or an operator, found `for`
[00:40:25]     --> librustdoc/clean/mod.rs:3987:13
[00:40:25]      |
[00:40:25] 3985 |             let segment = path_it.next()?
[00:40:25]      |                                          - expected one of `.`, `;`, `?`, or an operator here
[00:40:25] 3986 | 
[00:40:25] 3987 |             for item in mem::replace(&mut items, Lrc::new(vec![])).iter() {
[00:40:25]      |             ^^^ unexpected token
travis_time:end:057e54b4:start=1542773731993765104,finish=1542776163432227864,duration=2431438462760
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:11b4f58a
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
---
travis_time:end:0788cc40:start=1542776164242627075,finish=1542776164248065482,duration=5438407
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0805d226
$ 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:af

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)

@frewsxcv frewsxcv force-pushed the frewsxcv-option-carrier branch from efcc045 to 3672c32 Compare November 21, 2018 13:15
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.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:0a93d2c8:start=1542806290134257400,finish=1542806343566019549,duration=53431762149
$ 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
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-5.0
---
[00:47:52]    Compiling serde_derive v1.0.75
[00:48:20]    Compiling failure v0.1.2
[00:48:21]    Compiling rustfix v0.4.2
[00:48:22]    Compiling compiletest v0.0.0 (/checkout/src/tools/compiletest)
[00:48:22] error: expected one of `.`, `;`, `?`, or an operator, found `let`
[00:48:22]     |
[00:48:22]     |
[00:48:22] 122 |     let start = line.find(tag)?
[00:48:22]     |                                - expected one of `.`, `;`, `?`, or an operator here
[00:48:22] 123 |     let (follow, adjusts) = if line[start + tag.len()..].chars().next().unwrap() == '|' {
[00:48:22]     |     ^^^ unexpected token
[00:48:23] error: aborting due to previous error
[00:48:23] 
[00:48:23] error: Could not compile `compiletest`.
[00:48:23] 
[00:48:23] 
[00:48:23] To learn more, run the command again with --verbose.
[00:48:23] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--manifest-path" "/checkout/src/tools/compiletest/Cargo.toml" "--message-format" "json"
[00:48:23] expected success, got: exit code: 101
[00:48:23] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[00:48:23] Build completed unsuccessfully in 0:00:56
[00:48:23] make: *** [check] Error 1
[00:48:23] Makefile:58: recipe for target 'check' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:34144c65
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Wed Nov 21 14:07:35 UTC 2018
---
travis_time:end:2b56f100:start=1542809256737507380,finish=1542809256742340066,duration=4832686
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:18059242
$ 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

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)

@frewsxcv frewsxcv force-pushed the frewsxcv-option-carrier branch from 3672c32 to 16d40ef Compare November 23, 2018 19:07
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.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:0339316f:start=1543000156864905242,finish=1543000228264407290,duration=71399502048
$ 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
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-5.0
---
[00:51:18] .................................................................................................... 100/5050
[00:51:21] .................................................................................................... 200/5050
[00:51:24] .............................ii............................................ii...................ii.. 300/5050
[00:51:27] ..............................................................................................iii... 400/5050
[00:51:30] .....iiiiiiii.iii............................iii...........................................i........ 500/5050
[00:51:37] .................................................................................................... 700/5050
[00:51:43] ...................................................................................i...........i.... 800/5050
[00:51:46] .................................................................................................... 900/5050
[00:51:50] ..iiiii..................ii.iiii.................................................................... 1000/5050
---
[00:52:26] .................................................................................................... 2200/5050
[00:52:30] .................................................................................................... 2300/5050
[00:52:34] .................................................................................................... 2400/5050
[00:52:38] .................................................................................................... 2500/5050
[00:52:41] ...........................................................................................iiiiiiiii 2600/5050
[00:52:48] .........................................................ii......................................... 2800/5050
[00:52:51] .................................................................................................... 2900/5050
[00:52:55] .................................................................................................... 3000/5050
[00:52:58] ......................................................i............................................. 3100/5050
---
[00:54:59] .................................................................................................... 600/2886
[00:55:14] .................................................................................................... 700/2886
[00:55:25] .................................................................................................... 800/2886
[00:55:35] .................................................................................................... 900/2886
[00:55:46] .........................FF......................................................................... 1000/2886
[00:56:08] .................................................................................................... 1200/2886
[00:56:17] .................................................................................................... 1300/2886
[00:56:30] ..............................................................................i..................... 1400/2886
[00:56:41] .................................................................................................... 1500/2886
---
[00:59:08] .................................................................................................... 2500/2886
[00:59:40] .................................................................................................... 2600/2886
[00:59:49] .................................................................................................... 2700/2886
[00:59:58] .................................................................................................... 2800/2886
rpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zborrowck=mir" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/impl-trait/example-calendar.nll/auxiliary"
[01:00:11] ------------------------------------------
[01:00:11] 
[01:00:11] ------------------------------------------
[01:00:11] stderr:
[01:00:11] stderr:
[01:00:11] ------------------------------------------
[01:00:11] {"message":"expected one of `.`, `?`, `{`, or an operator, found `;`","code":null,"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass/impl-trait/example-calendar.rs","byte_start":21659,"byte_end":21660,"line_start":756,"line_end":756,"column_start":42,"column_end":43,"is_primary":true,"text":[{"text":"        let first = match self.it.next()?;","highlight_start":42,"highlight_end":43}],"label":"expected one of `.`, `?`, `{`, or an operator here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/checkout/src/test/run-pass/impl-trait/example-calendar.rs","byte_start":21638,"byte_end":21643,"line_start":756,"line_end":756,"column_start":21,"column_end":26,"is_primary":false,"text":[{"text":"        let first = match self.it.next()?;","highlight_start":21,"highlight_end":26}],"label":"while parsing this match expression","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try removing this `match`","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass/impl-trait/example-calendar.rs","byte_start":21638,"byte_end":21643,"line_start":756,"lad 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:503:22
[01:00:11] 
[01:00:11] 
[01:00: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-5.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -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" "5.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:00:11] 
[01:00:11] 
[01:00:11] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:00:11] Build completed unsuccessfully in 0:12:51
[01:00:11] Build completed unsuccessfully in 0:12:51
[01:00:11] make: *** [check] Error 1
[01:00:11] Makefile:58: recipe for target 'check' failed

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)

@frewsxcv frewsxcv force-pushed the frewsxcv-option-carrier branch from 16d40ef to 372ea43 Compare November 23, 2018 20:30
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-5.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:08399d5a:start=1543005138292520995,finish=1543005192160381682,duration=53867860687
$ 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
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-5.0
---
[00:50:45] .................................................................................................... 100/5050
[00:50:48] .................................................................................................... 200/5050
[00:50:50] .............................ii............................................ii...................ii.. 300/5050
[00:50:53] ..............................................................................................iii... 400/5050
[00:50:56] .....iiiiiiii.iii............................iii...........................................i........ 500/5050
[00:51:03] .................................................................................................... 700/5050
[00:51:09] ...................................................................................i...........i.... 800/5050
[00:51:11] .................................................................................................... 900/5050
[00:51:14] ..iiiii..................ii.iiii.................................................................... 1000/5050
---
[00:51:45] .................................................................................................... 2200/5050
[00:51:49] .................................................................................................... 2300/5050
[00:51:52] .................................................................................................... 2400/5050
[00:51:56] .................................................................................................... 2500/5050
[00:51:59] ...........................................................................................iiiiiiiii 2600/5050
[00:52:06] .........................................................ii......................................... 2800/5050
[00:52:09] .................................................................................................... 2900/5050
[00:52:13] .................................................................................................... 3000/5050
[00:52:16] ......................................................i............................................. 3100/5050
---
travis_time:start:test_codegen
Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:06:06] 
[01:06:06] running 117 tests
[01:06:09] i..ii...iii..iiii.....i...i.........i..iii...........i.....i.....ii...i..i.ii..............i...ii..i 100/117
[01:06:10] i.i.....iiii.....
[01:06:10] 
[01:06:10]  finished in 3.708
[01:06:10] travis_fold:end:test_codegen

---
travis_time:start:test_debuginfo
Check compiletest suite=debuginfo mode=debuginfo-both (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:06:24] 
[01:06:24] running 118 tests
[01:06:48] .iiiii...i.....i..i...i..i.i..i.i..i.....i..i....i..........iiii.........i.i....i...i.......ii.i.i.i 100/118
[01:06:52] ......iii.i.....ii
[01:06:52] 
[01:06:52]  finished in 27.500
[01:06:52] travis_fold:end:test_debuginfo

---
[01:35:17] travis_fold:start:stage0-linkchecker
travis_time:start:stage0-linkchecker
Building stage0 tool linkchecker (x86_64-unknown-linux-gnu)
[01:35:18]    Compiling linkchecker v0.1.0 (/checkout/src/tools/linkchecker)
[01:35:18] error: expected one of `.`, `;`, `?`, or an operator, found `redirect_line`
[01:35:18]     |
[01:35:18]     |
[01:35:18] 335 |     let redirect_line = lines.nth(6)?
[01:35:18]     |                                      - expected one of `.`, `;`, `?`, or an operator here
[01:35:18] 336 | 
[01:35:18] 337 |     redirect_line.find(REDIRECT).map(|i| {
[01:35:18]     |     ^^^^^^^^^^^^^ unexpected token
[01:35:18] error: aborting due to previous error
[01:35:18] 
[01:35:18] error: Could not compile `linkchecker`.
[01:35:18] 
[01:35:18] 
[01:35:18] To learn more, run the command again with --verbose.
[01:35:18] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--manifest-path" "/checkout/src/tools/linkchecker/Cargo.toml" "--message-format" "json"
[01:35:18] expected success, got: exit code: 101
[01:35:18] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:35:18] Build completed unsuccessfully in 0:48:29
[01:35:18] Makefile:58: recipe for target 'check' failed
[01:35:18] make: *** [check] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1f9b5b8c
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Fri Nov 23 22:08:39 UTC 2018
---
148504 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu
148500 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release
141220 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps
134660 ./obj/build/bootstrap/debug/incremental/bootstrap-1plb86h2refwc
134656 ./obj/build/bootstrap/debug/incremental/bootstrap-1plb86h2refwc/s-f6y6v4wmnn-etei7d-3bcgkskzxpex9
130776 ./obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release
127616 ./obj/build/x86_64-unknown-linux-gnu/test/mir-opt
123700 ./obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps
115736 ./obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/release
---
travis_time:end:344ba47e:start=1543010921649506117,finish=1543010921656941681,duration=7435564
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:021b5ee2
$ 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:15d7cdd8
travis_time:start:15d7cdd8
$ 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:0a040010
$ 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)

@frewsxcv frewsxcv force-pushed the frewsxcv-option-carrier branch from 372ea43 to b2860b3 Compare November 23, 2018 22:57
@rust-highfive
Copy link
Collaborator

The job mingw-check 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:04e39171:start=1543014800354910897,finish=1543014866121579110,duration=65766668213
$ 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
Setting environment variables from .travis.yml
$ export IMAGE=mingw-check
---
[00:07:14] configure: build.locked-deps    := True
[00:07:14] configure: llvm.ccache          := sccache
[00:07:14] configure: build.cargo-native-static := True
[00:07:14] configure: dist.missing-tools   := True
[00:07:14] configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
[00:07:14] configure: writing `config.toml` in current directory
[00:07:14] configure: 
[00:07:14] configure: run `python /checkout/x.py --help`
[00:07:14] configure: 
---
[00:08:48]     Checking panic_unwind v0.0.0 (/checkout/src/libpanic_unwind)
[00:08:49] error[E0425]: cannot find value `x` in this scope
[00:08:49]   --> src/libstd/sys/windows/path.rs:94:57
[00:08:49]    |
[00:08:49] 94 |         let first = &path.iter().position(|x| f(*x))?[..x];
[00:08:49]    |                                                         ^ did you mean `f`?
[00:08:52] error[E0608]: cannot index into a value of type `usize`
[00:08:52]   --> src/libstd/sys/windows/path.rs:94:22
[00:08:52]    |
[00:08:52]    |
[00:08:52] 94 |         let first = &path.iter().position(|x| f(*x))?[..x];
[00:08:52] 
[00:08:52] error: aborting due to 2 previous errors
[00:08:52] 
[00:08:52] Some errors occurred: E0425, E0608.
[00:08:52] Some errors occurred: E0425, E0608.
[00:08:52] For more information about an error, try `rustc --explain E0425`.
[00:08:52] error: Could not compile `std`.
[00:08:52] 
[00:08:52] To learn more, run the command again with --verbose.
[00:08:52] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "check" "--target" "i686-pc-windows-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[00:08:52] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu
[00:08:52] Build completed unsuccessfully in 0:00:31
travis_time:end:09932a78:start=1543014874373203760,finish=1543015407467304310,duration=533094100550
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 1.
---
travis_time:end:05f46f30:start=1543015407994107871,finish=1543015407998622841,duration=4514970
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:00b3a078
$ 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:012f0b01
travis_time:start:012f0b01
$ 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:0ab66422
$ 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)

@TimNN TimNN self-assigned this Nov 27, 2018
@TimNN TimNN added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 27, 2018
None => return None,
Some(x) => &path[..x],
};
let first = &path.iter().position(|x| f(*x))?[..x];
Copy link
Contributor

@ivanbakel ivanbakel Dec 3, 2018

Choose a reason for hiding this comment

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

let first = &path[..path.iter().position(|x| f(*x))?];, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

yep, thanks!

@frewsxcv frewsxcv force-pushed the frewsxcv-option-carrier branch from b2860b3 to 9012af6 Compare December 4, 2018 16:57
@TimNN
Copy link
Contributor

TimNN commented Dec 4, 2018

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Dec 4, 2018

📌 Commit 9012af6 has been approved by TimNN

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 4, 2018
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Dec 4, 2018
…=TimNN

Utilize `?` instead of `return None`.

None
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Dec 5, 2018
…=TimNN

Utilize `?` instead of `return None`.

None
pietroalbini added a commit to pietroalbini/rust that referenced this pull request Dec 5, 2018
…=TimNN

Utilize `?` instead of `return None`.

None
pietroalbini added a commit to pietroalbini/rust that referenced this pull request Dec 5, 2018
…=TimNN

Utilize `?` instead of `return None`.

None
bors added a commit that referenced this pull request Dec 5, 2018
Rollup of 15 pull requests

Successful merges:

 - #51753 (Document `From` implementations)
 - #55563 (Improve no result found sentence in doc search)
 - #55987 (Add Weak.ptr_eq)
 - #56119 (Utilize `?` instead of `return None`.)
 - #56372 (Refer to the second borrow as the "second borrow" in E0501.rs)
 - #56388 (More MIR borrow check cleanup)
 - #56424 (Mention raw-ident syntax)
 - #56452 (Remove redundant clones)
 - #56456 (Handle existential types in dead code analysis)
 - #56466 (data_structures: remove tuple_slice)
 - #56476 (Fix invalid line number match)
 - #56497 (cleanup: remove static lifetimes from consts in libstd)
 - #56498 (Fix line numbers display)
 - #56523 (Added a bare-bones eslint config (removing jslint))
 - #56538 (Use inner iterator may_have_side_effect for Cloned)

Failed merges:

r? @ghost
@bors bors merged commit 9012af6 into rust-lang:master Dec 6, 2018
@frewsxcv frewsxcv deleted the frewsxcv-option-carrier branch March 25, 2019 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants