Skip to content

Remove unstable and deprecated APIs #52732

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

Merged
merged 2 commits into from
Aug 1, 2018
Merged

Conversation

SimonSapin
Copy link
Contributor

No description provided.

@rust-highfive
Copy link
Contributor

r? @nikomatsakis

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 26, 2018
@rust-highfive
Copy link
Contributor

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.
[00:03:57]    Compiling cc v1.0.18
[00:03:57]    Compiling core v0.0.0 (file:///checkout/src/libcore)
[00:03:57]    Compiling build_helper v0.1.0 (file:///checkout/src/build_helper)
[00:03:57]    Compiling unwind v0.0.0 (file:///checkout/src/libunwind)
[00:04:00] warning: unused import: `iter::FusedIterator`
[00:04:00]   --> libcore/char/decode.rs:14:5
[00:04:00] 14 | use iter::FusedIterator;
[00:04:00]    |     ^^^^^^^^^^^^^^^^^^^
[00:04:00]    |
[00:04:00]    = note: #[warn(unused_imports)] on by default
---
[00:04:30]     |     ^^^^^^^^^^^^^^^^^^^^^
[00:04:30]     |
[00:04:30]     = note: #[warn(unused_imports)] on by default
[00:04:30] 
[00:04:30] warning: unused import: `error as std_error`
[00:04:30]    --> libstd/io/mod.rs:274:5
[00:04:30]     |
[00:04:30] 274 | use error as std_error;
[00:04:30] 
[00:04:30] warning: unused import: `result`
[00:04:30]    --> libstd/io/mod.rs:276:5
[00:04:30]     |
---
[00:18:47]    Compiling unwind v0.0.0 (file:///checkout/src/libunwind)
[00:18:53]    Compiling compiler_builtins v0.0.0 (file:///checkout/src/rustc/compiler_builtins_shim)
[00:18:53]    Compiling cmake v0.1.31
[00:18:53]    Compiling alloc_jemalloc v0.0.0 (file:///checkout/src/liballoc_jemalloc)
[00:18:53] error: unused import: `iter::FusedIterator`
[00:18:53]   --> libcore/char/decode.rs:14:5
[00:18:53] 14 | use iter::FusedIterator;
[00:18:53]    |     ^^^^^^^^^^^^^^^^^^^
[00:18:53]    |
[00:18:53]    = note: `-D unused-imports` implied by `-D warnings`
[00:18:53]    = note: `-D unused-imports` implied by `-D warnings`
[00:18:53] 
[00:18:57]    Compiling std v0.0.0 (file:///checkout/src/libstd)
[00:18:57]    Compiling rustc_lsan v0.0.0 (file:///checkout/src/librustc_lsan)
[00:18:58]    Compiling rustc_tsan v0.0.0 (file:///checkout/src/librustc_tsan)
[00:18:58]    Compiling rustc_asan v0.0.0 (file:///checkout/src/librustc_asan)
[00:18:59]    Compiling rustc_msan v0.0.0 (file:///checkout/src/librustc_msan)
00:19:10] Makefile:28: recipe for target 'all' failed
[00:19:10] make: *** [all] Error 1

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0028daf0
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Thu Jul 26 13:26:11 UTC 2018
t/modules
156240 ./.git/modules/src
149120 ./src/llvm-emscripten/test
145432 ./obj/build/bootstrap/debug/incremental
130564 ./obj/build/bootstrap/debug/incremental/bootstrap-2fbxwhl9tnp02
130560 ./obj/build/bootstrap/debug/incremental/bootstrap-2fbxwhl9tnp02/s-f39jkit88q-wmnq5k-1psc9gui095al
97528 ./obj/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends
88200 ./obj/build/x86_64-unknown-linux-gnu/stage1
88176 ./obj/build/x86_64-unknown-linux-gnu/stage1/lib
77028 ./.git/modules/src/tools

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)

@SimonSapin SimonSapin force-pushed the spring branch 2 times, most recently from 0121f4e to 8967b75 Compare July 26, 2018 13:33
@rust-highfive
Copy link
Contributor

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.
[00:56:55] travis_fold:start:test_stage1-core
travis_time:start:test_stage1-core
Testing core stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[00:56:55]    Compiling core v0.0.0 (file:///checkout/src/libcore)
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 383 |     assert_decode_utf8!([], "");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 384 |     assert_decode_utf8!([0x41], "A");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 385 |     assert_decode_utf8!([0xC1, 0x81], "��");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 386 |     assert_decode_utf8!([0xE2, 0x99, 0xA5], "♥");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 387 |     assert_decode_utf8!([0xE2, 0x99, 0xA5, 0x41], "♥A");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 388 |     assert_decode_utf8!([0xE2, 0x99], "�");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 389 |     assert_decode_utf8!([0xE2, 0x99, 0x41], "�A");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 390 |     assert_decode_utf8!([0xC0], "�");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 391 |     assert_decode_utf8!([0xC0, 0x41], "�A");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 392 |     assert_decode_utf8!([0x80], "�");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 393 |     assert_decode_utf8!([0x80, 0x41], "�A");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 394 |     assert_decode_utf8!([0xFE], "�");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 395 |     assert_decode_utf8!([0xFE, 0x41], "�A");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 396 |     assert_decode_utf8!([0xFF], "�");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 397 |     assert_decode_utf8!([0xFF, 0x41], "�A");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 398 |     assert_decode_utf8!([0xC0, 0x80], "��");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 401 |     assert_decode_utf8!([0xED, 0x9F, 0xBF], "\u{D7FF}");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 402 |     assert_decode_utf8!([0xED, 0xA0, 0x80], "���");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 403 |     assert_decode_utf8!([0xED, 0xBF, 0x80], "���");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 404 |     assert_decode_utf8!([0xEE, 0x80, 0x80], "\u{E000}");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 407 |     assert_decode_utf8!([0xF4, 0x8F, 0xBF, 0xBF], "\u{10FFFF}");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 408 |     assert_decode_utf8!([0xF4, 0x8F, 0xBF, 0x41], "�A");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 409 |     assert_decode_utf8!([0xF4, 0x90, 0x80, 0x80], "����");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 414 |     assert_decode_utf8!([0xF8, 0x80, 0x80, 0x80, 0x80], "�����");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
[00:57:00] 
[00:57:00] error[E0599]: no function or associated item named `decode_utf8` found for type `char` in the current scope
[00:57:00]     |
[00:57:00]     |
[00:57:00] 373 |             let s = char::decode_utf8(input_bytes.iter().cloned())
[00:57:00]     |                     ^^^^^^^^^^^^^^^^^ function or associated item not found in `char`
[00:57:00] ...
[00:57:00] 415 |     assert_decode_utf8!([0xFC, 0x80, 0x80, 0x80, 0x80, 0x80], "������");
[00:57:00]     |
[00:57:00]     |
[00:57:00]     = help: did you mean `encode_utf8`?
3813752 .
2857552 ./obj
2748512 ./obj/build
2151508 ./obj/build/x86_64-unknown-linux-gnu
---
145432 ./obj/build/bootstrap/debug/incremental
133084 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu
133080 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release
130564 ./obj/build/bootstrap/debug/incremental/bootstrap-2fbxwhl9tnp02
130560 ./obj/build/bootstrap/debug/incremental/bootstrap-2fbxwhl9tnp02/s-f39kc4ync3-124ayc8-1psc9gui095al
128712 ./obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release
122140 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps
121700 ./obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps
116604 ./obj/build/x86_64-unknown-linux-gnu/stage1-std
---
travis_time:end:0e918dc4:start=1532615535097706373,finish=1532615535106115370,duration=8408997
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:01405fb0
$ 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 -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:26e95680
travis_time:start:26e95680
$ 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:084d97a0
$ 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)

@SimonSapin
Copy link
Contributor Author

@bors r=Mark-Simulacrum

@bors
Copy link
Collaborator

bors commented Jul 30, 2018

📌 Commit 4ca77f7 has been approved by Mark-Simulacrum

@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-review Status: Awaiting review from the assignee but also interested parties. labels Jul 30, 2018
@Mark-Simulacrum
Copy link
Member

@bors r- r+

@bors
Copy link
Collaborator

bors commented Jul 30, 2018

📌 Commit 4ca77f7 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 30, 2018
@Mark-Simulacrum
Copy link
Member

Okay, sync-ed bors and it seems to see this PR now

@kennytm kennytm 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 Jul 30, 2018
@bors bors merged commit 4ca77f7 into rust-lang:master Aug 1, 2018
@SimonSapin SimonSapin deleted the spring branch August 1, 2018 16:59
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.

6 participants