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

serialize: rename to rustc_serialize. #56323

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
6 participants
@eddyb
Member

eddyb commented Nov 28, 2018

In preparation for post-#49219 use of custom derives in rustc, we'll want to stop using Rustc{Encodable,Decodable} derives, and at least adapt the library to suit rustc better, before a full implementation of #36588 can be done.

This will break anyone using extern crate serialize; (on nightly) so let's do a crater run with a rename, just to see what things are like.

EDIT: I was going to test with rustc_serialize (which does work in terms of compiling) but I realized that rustc-serialize from crates.io might make that tricky if it ends up in our sysroot, so for the crater run let's go with something weirder (rustc_ezilaires).

EDIT2: had to remove rustc_save_analysis and rls to get rid of the crates.io rustc-serialize from Cargo.lock. Note that this is just for crater, just like the rustc_ezilaires rename.

EDIT3: cleaned up the PR, after crate run shows only one regression.

r? @nikomatsakis

@eddyb

This comment has been minimized.

Member

eddyb commented Nov 28, 2018

@bors try

@bors

This comment has been minimized.

Contributor

bors commented Nov 28, 2018

⌛️ Trying commit 494fc3a with merge 267cf97...

bors added a commit that referenced this pull request Nov 28, 2018

Auto merge of #56323 - eddyb:que-seri-sera, r=<try>
[WIP] serialize: rename to rustc_serialize.

In preparation for post-#49219 use of custom derives in rustc, we'll want to stop using `Rustc{Encodable,Decodable}` derives, and *at least* adapt the library to suit `rustc` better, before a full implementation of #36588 can be done.

This will break anyone using `extern crate serialize;` (on nightly) so let's do a crater run with a rename, just to see what things are like.

**EDIT**: I was going to test with `rustc_serialize` (which does work in terms of compiling) but I realized that `rustc-serialize` from crates.io might make that tricky if it ends up in our sysroot, so for the crater run let's go with something weirder (`rustc_ezilaires`).

**EDIT2**: had to remove `rustc_save_analysis` and `rls` to get rid of the crates.io `rustc-serialize` from Cargo.lock. Note that this is just for crater, just like the `rustc_ezilaires` rename.

r? @nikomatsakis
@eddyb

This comment has been minimized.

Member

eddyb commented Nov 28, 2018

@rust-lang/infra Whenever nobody else needs crater, a check run would be nice.

@rust-highfive

This comment was marked as resolved.

Collaborator

rust-highfive commented Nov 28, 2018

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:07c74040:start=1543435869239933400,finish=1543435870454932377,duration=1214998977
$ 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/4f/dd/d1b374af4e5f374173517e7d63e2f4489d3d2e9a45626df830c885412cc9/awscli-1.16.64-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 12.2MB/s eta 0:00:01
    1% |▌                               | 20kB 1.9MB/s eta 0:00:01
    2% |▊                               | 30kB 2.1MB/s eta 0:00:01
    2% |█                               | 40kB 1.9MB/s eta 0:00:01
---
[00:04:21]    Compiling chalk-engine v0.8.0
[00:04:21]    Compiling env_logger v0.5.12
[00:04:22]    Compiling tempfile v3.0.3
[00:04:23]    Compiling parking_lot_core v0.3.0
[00:04:23]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:04:26]    Compiling parking_lot v0.6.4
[00:04:26]    Compiling crossbeam-epoch v0.3.1
[00:04:28]    Compiling log_settings v0.1.2
[00:04:28]    Compiling backtrace v0.3.9
---
[00:19:52]    Compiling polonius-engine v0.5.0
[00:19:52]    Compiling chalk-engine v0.8.0
[00:19:52]    Compiling env_logger v0.5.12
[00:19:54]    Compiling parking_lot_core v0.3.0
[00:19:54]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:19:56]    Compiling crossbeam-epoch v0.3.1
[00:19:58]    Compiling log_settings v0.1.2
[00:19:58]    Compiling parking_lot v0.6.4
[00:19:59]    Compiling flate2 v1.0.3
[00:19:59]    Compiling flate2 v1.0.3
[00:20:00]    Compiling backtrace v0.3.9
[00:20:00]    Compiling crossbeam-deque v0.2.0
[00:20:03]    Compiling rustc-rayon v0.1.1
[00:20:07]    Compiling rustc_data_structures v0.0.0 (/checkout/src/librustc_data_structures)
[00:20:07] error: unused import: `rustc_ezilaires as rustc_serialize`
[00:20:07]    |
[00:20:07]    |
[00:20:07] 40 | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize; // used by deriving
[00:20:07]    |
[00:20:07]    = note: `-D unused-imports` implied by `-D warnings`
[00:20:07] 
[00:20:08] error: aborting due to previous error
---
[00:20:08] 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" "--features" "" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "--message-format" "json"
[00:20:08] expected success, got: exit code: 101
[00:20:08] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:20:08] Build completed unsuccessfully in 0:17:12
[00:20:08] make: *** [all] Error 1
[00:20:08] Makefile:28: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:03bb7c9a
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Wed Nov 28 20:31:28 UTC 2018
---
travis_time:end:13402754:start=1543437088655760247,finish=1543437088662219984,duration=6459737
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0cdd323e
$ 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_fo

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 bors referenced this pull request Nov 28, 2018

Merged

Update LLVM #56313

@bors

This comment was marked as resolved.

Contributor

bors commented Nov 28, 2018

💔 Test failed - status-travis

@rust-highfive

This comment was marked as resolved.

Collaborator

rust-highfive commented Nov 28, 2018

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:039dcbd8
$ git clone --depth=2 --branch=try https://github.com/rust-lang/rust.git rust-lang/rust
---
/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/4f/dd/d1b374af4e5f374173517e7d63e2f4489d3d2e9a45626df830c885412cc9/awscli-1.16.64-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 9.9MB/s eta 0:00:01
    1% |▌                               | 20kB 1.8MB/s eta 0:00:01
    2% |▊                               | 30kB 2.1MB/s eta 0:00:01
    2% |█                               | 40kB 1.9MB/s eta 0:00:01
---
[00:06:33]    Compiling polonius-engine v0.5.0
[00:06:33]    Compiling chalk-engine v0.8.0
[00:06:34]    Compiling env_logger v0.5.12
[00:06:35]    Compiling parking_lot_core v0.3.0
[00:06:36]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:06:39]    Compiling parking_lot v0.6.4
[00:06:40]    Compiling crossbeam-epoch v0.3.1
[00:06:42]    Compiling log_settings v0.1.2
[00:06:42]    Compiling flate2 v1.0.3
---
[00:53:49]    Compiling chalk-engine v0.8.0
[00:53:49]    Compiling env_logger v0.5.12
[00:53:51]    Compiling tempfile v3.0.3
[00:53:52]    Compiling parking_lot_core v0.3.0
[00:53:52]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:53:54]    Compiling parking_lot v0.6.4
[00:53:55]    Compiling crossbeam-epoch v0.3.1
[00:53:57]    Compiling log_settings v0.1.2
[00:53:57]    Compiling flate2 v1.0.3
[00:53:57]    Compiling flate2 v1.0.3
[00:53:58]    Compiling backtrace v0.3.9
[00:54:00]    Compiling crossbeam-deque v0.2.0
[00:54:02]    Compiling rustc-rayon v0.1.1
[00:54:08]    Compiling rustc_data_structures v0.0.0 (/checkout/src/librustc_data_structures)
[00:54:08] error: unused import: `rustc_ezilaires as rustc_serialize`
[00:54:08]    |
[00:54:08]    |
[00:54:08] 40 | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize; // used by deriving
[00:54:08]    |
[00:54:08]    = note: `-D unused-imports` implied by `-D warnings`
[00:54:08] 
[00:54:10] error: aborting due to previous error

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)

@eddyb eddyb force-pushed the eddyb:que-seri-sera branch from 494fc3a to 8e10efa Nov 28, 2018

@eddyb

This comment has been minimized.

Member

eddyb commented Nov 28, 2018

@bors try

@bors

This comment has been minimized.

Contributor

bors commented Nov 28, 2018

⌛️ Trying commit 8e10efa with merge 5bdcd57...

bors added a commit that referenced this pull request Nov 28, 2018

Auto merge of #56323 - eddyb:que-seri-sera, r=<try>
[WIP] serialize: rename to rustc_serialize.

In preparation for post-#49219 use of custom derives in rustc, we'll want to stop using `Rustc{Encodable,Decodable}` derives, and *at least* adapt the library to suit `rustc` better, before a full implementation of #36588 can be done.

This will break anyone using `extern crate serialize;` (on nightly) so let's do a crater run with a rename, just to see what things are like.

**EDIT**: I was going to test with `rustc_serialize` (which does work in terms of compiling) but I realized that `rustc-serialize` from crates.io might make that tricky if it ends up in our sysroot, so for the crater run let's go with something weirder (`rustc_ezilaires`).

**EDIT2**: had to remove `rustc_save_analysis` and `rls` to get rid of the crates.io `rustc-serialize` from Cargo.lock. Note that this is just for crater, just like the `rustc_ezilaires` rename.

r? @nikomatsakis
@rust-highfive

This comment was marked as resolved.

Collaborator

rust-highfive commented Nov 28, 2018

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:00549bc9:start=1543439891846548890,finish=1543439894100395132,duration=2253846242
$ 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/4f/dd/d1b374af4e5f374173517e7d63e2f4489d3d2e9a45626df830c885412cc9/awscli-1.16.64-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 9.9MB/s eta 0:00:01
    1% |▌                               | 20kB 1.8MB/s eta 0:00:01
    2% |▊                               | 30kB 2.2MB/s eta 0:00:01
    2% |█                               | 40kB 2.0MB/s eta 0:00:01
---
[00:04:35]    Compiling polonius-engine v0.5.0
[00:04:35]    Compiling chalk-engine v0.8.0
[00:04:36]    Compiling env_logger v0.5.12
[00:04:36]    Compiling parking_lot_core v0.3.0
[00:04:37]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:04:40]    Compiling parking_lot v0.6.4
[00:04:40]    Compiling crossbeam-epoch v0.3.1
[00:04:42]    Compiling log_settings v0.1.2
[00:04:42]    Compiling flate2 v1.0.3
---
[00:19:18]    Compiling chalk-engine v0.8.0
[00:19:18]    Compiling env_logger v0.5.12
[00:19:18]    Compiling tempfile v3.0.3
[00:19:20]    Compiling parking_lot_core v0.3.0
[00:19:21]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:19:22]    Compiling crossbeam-epoch v0.3.1
[00:19:24]    Compiling log_settings v0.1.2
[00:19:24]    Compiling parking_lot v0.6.4
[00:19:25]    Compiling flate2 v1.0.3
---
[00:40:58]     Checking rand v0.5.5
[00:40:58]     Checking rand v0.4.3
[00:40:58]     Checking atty v0.2.11
[00:40:58]     Checking crossbeam-epoch v0.3.1
[00:40:58]     Checking rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:41:00]     Checking rustc-rayon-core v0.1.1
[00:41:00]     Checking parking_lot_core v0.3.0
[00:41:01]     Checking rustc-rayon v0.1.1
[00:41:01]     Checking parking_lot v0.6.4
[00:41:01]     Checking parking_lot v0.6.4
[00:41:04]     Checking rustc_data_structures v0.0.0 (/checkout/src/librustc_data_structures)
[00:41:06]     Checking arena v0.0.0 (/checkout/src/libarena)
[00:41:06]     Checking rustc_target v0.0.0 (/checkout/src/librustc_target)
[00:41:07]     Checking syntax_pos v0.0.0 (/checkout/src/libsyntax_pos)
[00:41:08]     Checking rustc_errors v0.0.0 (/checkout/src/librustc_errors)
[00:41:10]     Checking syntax v0.0.0 (/checkout/src/libsyntax)
[00:41:27]     Finished release [optimized] target(s) in 30.70s
[00:41:27] error: unused import: `rustc_ezilaires as rustc_serialize`
[00:41:27]    |
[00:41:27]    |
[00:41:27] 16 | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;
[00:41:27]    |
[00:41:27]    = note: `-D unused-imports` implied by `-D warnings`
[00:41:27] 
[00:41:28] error: aborting due to previous error
---
[00:41:28] 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/error_index_generator/Cargo.toml" "--message-format" "json"
[00:41:28] expected success, got: exit code: 101
[00:41:28] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap doc
[00:41:28] Build completed unsuccessfully in 0:05:23
[00:41:28] make: *** [all] Error 1
[00:41:28] Makefile:28: recipe for target 'all' failed
2196612 ./obj
2196572 ./obj/build
1550232 ./obj/build/x86_64-unknown-linux-gnu
1161792 ./src
---
150252 ./obj/build/bootstrap/debug/incremental
144028 ./.git
139288 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc
134660 ./obj/build/bootstrap/debug/incremental/bootstrap-1plb86h2refwc
134656 ./obj/build/bootstrap/debug/incremental/bootstrap-1plb86h2refwc/s-f73qjv7g3b-dq619q-18zp7vy2v2s65
133512 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release
130632 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps
128556 ./.git/modules
128552 ./.git/modules/src
---
travis_time:end:02941a9f:start=1543442391953510427,finish=1543442391958987627,duration=5477200
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:3768eb8c
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|objtravis_time:start:347bd4ae
$ 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:27cfa735
$ 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 was marked as resolved.

Contributor

bors commented Nov 28, 2018

💔 Test failed - status-travis

@rust-highfive

This comment was marked as resolved.

Collaborator

rust-highfive commented Nov 28, 2018

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:03791244
$ git clone --depth=2 --branch=try https://github.com/rust-lang/rust.git rust-lang/rust
---
/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/4f/dd/d1b374af4e5f374173517e7d63e2f4489d3d2e9a45626df830c885412cc9/awscli-1.16.64-py2.py3-none-any.whl (1.4MB)
    0% |▎                               | 10kB 9.8MB/s eta 0:00:01
    1% |▌                               | 20kB 1.8MB/s eta 0:00:01
    2% |▊                               | 30kB 2.2MB/s eta 0:00:01
    2% |█                               | 40kB 2.0MB/s eta 0:00:01
---
[00:06:37]    Compiling chalk-engine v0.8.0
[00:06:37]    Compiling env_logger v0.5.12
[00:06:37]    Compiling tempfile v3.0.3
[00:06:40]    Compiling parking_lot_core v0.3.0
[00:06:40]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:06:42]    Compiling crossbeam-epoch v0.3.1
[00:06:42]    Compiling log_settings v0.1.2
[00:06:45]    Compiling parking_lot v0.6.4
[00:06:45]    Compiling crossbeam-deque v0.2.0
---
[00:54:05]    Compiling chalk-engine v0.8.0
[00:54:05]    Compiling env_logger v0.5.12
[00:54:06]    Compiling tempfile v3.0.3
[00:54:08]    Compiling parking_lot_core v0.3.0
[00:54:08]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:54:10]    Compiling crossbeam-epoch v0.3.1
[00:54:11]    Compiling log_settings v0.1.2
[00:54:12]    Compiling parking_lot v0.6.4
[00:54:12]    Compiling flate2 v1.0.3
---
[01:26:13]     Checking smallvec v0.6.5
[01:26:14]     Checking lazy_static v1.1.0
[01:26:14]     Checking lock_api v0.1.3
[01:26:14]     Checking crossbeam-epoch v0.3.1
[01:26:14]     Checking rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[01:26:15]     Checking rustc-rayon-core v0.1.1
[01:26:15]     Checking parking_lot_core v0.3.0
[01:26:15]     Checking parking_lot v0.6.4
[01:26:16]     Checking rustc-rayon v0.1.1
---
[01:26:45]     Checking chalk-engine v0.8.0
[01:26:45]     Checking env_logger v0.5.12
[01:26:46]     Checking rustc_apfloat v0.0.0 (/checkout/src/librustc_apfloat)
[01:26:47]  Documenting rustc_apfloat v0.0.0 (/checkout/src/librustc_apfloat)
[01:26:47]  Documenting rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[01:26:48]     Checking backtrace-sys v0.1.24
[01:26:48]     Checking jemalloc-sys v0.1.8
[01:26:49]    Compiling rustc_driver v0.0.0 (/checkout/src/librustc_driver)
[01:26:49]     Checking log_settings v0.1.2
[01:26:49]     Checking log_settings v0.1.2
[01:26:49] warning: `[3]` cannot be resolved, ignoring it...
[01:26:49]     --> src/librustc_ezilaires/json.rs:1275:25
[01:26:49] 1275 | /// For example foo.bar[3].x
[01:26:49]      |                         ^ cannot be resolved, ignoring
[01:26:49]      |
[01:26:49]      = note: #[warn(intra_doc_link_resolution_failure)] on by default
[01:26:49]      = note: #[warn(intra_doc_link_resolution_failure)] on by default
[01:26:49]      = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[01:26:49] 
[01:26:49] warning: `[3]` cannot be resolved, ignoring it...
[01:26:49]     --> src/librustc_ezilaires/json.rs:1284:65
[01:26:49] 1284 | /// StackElements compositing the stack that represents foo.bar[3].x
[01:26:49]      |                                                                 ^ cannot be resolved, ignoring
[01:26:49]      |
[01:26:49]      = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
---
[01:30:15] travis_fold:start:stage2-error_index_generator
travis_time:start:stage2-error_index_generator
Building stage2 tool error_index_generator (x86_64-unknown-linux-gnu)
[01:30:15]    Compiling error_index_generator v0.0.0 (/checkout/src/tools/error_index_generator)
[01:30:16] error: unused import: `rustc_ezilaires as rustc_serialize`
[01:30:16]    |
[01:30:16]    |
[01:30:16] 16 | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;
[01:30:16]    |
[01:30:16]    = note: `-D unused-imports` implied by `-D warnings`
[01:30:16] 
[01:30:16] error: aborting due to previous error
---
travis_time:end:080900d0:start=1543445799976665403,finish=1543445799987568599,duration=10903196
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0ab0b2d0
$ 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:2aeab7a9
travis_time:start:2aeab7a9
$ 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:019cc10d
$ 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)

@eddyb eddyb force-pushed the eddyb:que-seri-sera branch from 8e10efa to 2325917 Nov 28, 2018

@eddyb

This comment has been minimized.

Member

eddyb commented Nov 28, 2018

@bors try

@bors

This comment has been minimized.

Contributor

bors commented Nov 28, 2018

⌛️ Trying commit 2325917 with merge 2390276...

bors added a commit that referenced this pull request Nov 28, 2018

Auto merge of #56323 - eddyb:que-seri-sera, r=<try>
[WIP] serialize: rename to rustc_serialize.

In preparation for post-#49219 use of custom derives in rustc, we'll want to stop using `Rustc{Encodable,Decodable}` derives, and *at least* adapt the library to suit `rustc` better, before a full implementation of #36588 can be done.

This will break anyone using `extern crate serialize;` (on nightly) so let's do a crater run with a rename, just to see what things are like.

**EDIT**: I was going to test with `rustc_serialize` (which does work in terms of compiling) but I realized that `rustc-serialize` from crates.io might make that tricky if it ends up in our sysroot, so for the crater run let's go with something weirder (`rustc_ezilaires`).

**EDIT2**: had to remove `rustc_save_analysis` and `rls` to get rid of the crates.io `rustc-serialize` from Cargo.lock. Note that this is just for crater, just like the `rustc_ezilaires` rename.

r? @nikomatsakis
@rust-highfive

This comment was marked as resolved.

Collaborator

rust-highfive commented Nov 29, 2018

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:184f015b:start=1543446509142086832,finish=1543446511684429596,duration=2542342764
$ 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:04:38]    Compiling chalk-engine v0.8.0
[00:04:38]    Compiling env_logger v0.5.12
[00:04:39]    Compiling tempfile v3.0.3
[00:04:40]    Compiling parking_lot_core v0.3.0
[00:04:40]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:04:43]    Compiling crossbeam-epoch v0.3.1
[00:04:43]    Compiling log_settings v0.1.2
[00:04:43]    Compiling parking_lot v0.6.4
[00:04:43]    Compiling flate2 v1.0.3
---
[00:20:21]    Compiling polonius-engine v0.5.0
[00:20:21]    Compiling chalk-engine v0.8.0
[00:20:23]    Compiling env_logger v0.5.12
[00:20:23]    Compiling parking_lot_core v0.3.0
[00:20:25]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:20:28]    Compiling parking_lot v0.6.4
[00:20:28]    Compiling crossbeam-epoch v0.3.1
[00:20:28]    Compiling log_settings v0.1.2
[00:20:30]    Compiling flate2 v1.0.3
---
[00:43:50]     Checking num_cpus v1.8.0
[00:43:50]     Checking rand v0.5.5
[00:43:50]     Checking atty v0.2.11
[00:43:50]     Checking crossbeam-epoch v0.3.1
[00:43:50]     Checking rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:43:52]     Checking rustc-rayon-core v0.1.1
[00:43:52]     Checking rustc-rayon v0.1.1
[00:43:53]     Checking parking_lot_core v0.3.0
[00:43:54]     Checking parking_lot v0.6.4
---
[00:48:14] .................................................................................................... 100/5065
[00:48:17] .................................................................................................... 200/5065
[00:48:19] .............................ii............................................ii...................ii.. 300/5065
[00:48:22] ..............................................................................................iii... 400/5065
[00:48:25] .....iiiiiiii.iii............................iii...........................................i........ 500/5065
[00:48:31] .................................................................................................... 700/5065
[00:48:37] ................................................................................................i... 800/5065
[00:48:40] ........i........................................................................................... 900/5065
[00:48:43] ...............iiiii..................ii.iiii....................................................... 1000/5065
---
[00:49:21] .................................................................................................... 2300/5065
[00:49:25] .................................................................................................... 2400/5065
[00:49:29] .................................................................................................... 2500/5065
[00:49:32] .................................................................................................... 2600/5065
[00:49:36] ........iiiiiiiii................................................................................... 2700/5065
[00:49:42] .................................................................................................... 2900/5065
[00:49:45] .................................................................................................... 3000/5065
[00:49:48] .......................................................................i............................ 3100/5065
[00:49:51] .................................................................................................... 3200/5065
---
travis_time:start:test_codegen
Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:03:12] 
[01:03:12] running 117 tests
[01:03:15] i..ii...iii..iiii.....i...i.........i..iii...........i.....i.....ii...i..i.ii..............i...ii..i 100/117
[01:03:15] i.i.....iiii.....
[01:03:15] 
[01:03:15]  finished in 3.341
[01:03:15] 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:03:29] 
[01:03:29] running 118 tests
[01:03:52] .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:03:56] ......iii.i.....ii
[01:03:56] 
[01:03:56]  finished in 27.225
[01:03:56] travis_fold:end:test_debuginfo

---
Check compiletest suite=ui-fulldeps mode=ui (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:03:56] 
[01:03:56] running 47 tests
[01:04:37] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:503:22
[01:04:37] ...F...........................................
[01:04:37] 
[01:04:37] ---- [ui] ui-fulldeps/deprecated-derive.rs stdout ----
[01:04:37] 
[01:04:37] 
[01:04:37] error: test compilation failed although it shouldn't!
[01:04:37] status: exit code: 1
[01:04:37] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/deprecated-derive.rs" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/deprecated-derive/a" "-Crpath" "-O" "-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/ui-fulldeps/deprecated-derive/auxiliary" "-A" "unused"
[01:04:37] ------------------------------------------
[01:04:37] 
[01:04:37] ------------------------------------------
[01:04:37] stderr:
[01:04:37] stderr:
[01:04:37] -----------------------------------shMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/ui-fulldeps/deprecated-derive.rs","byte_start":609,"byte_end":618,"line_start":18,"line_end":18,"column_start":10,"column_end":19,"is_primary":true,"text":[{"text":"#[derive(Encodable)]","highlight_start":10,"highlight_end":19}],"label":"maybe a missing `extern crate serialize;`?","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0433]: failed to resolve: maybe a missing `extern crate serialize;`?\n  --> /checkout/src/test/ui-fulldeps/deprecated-derive.rs:18:10\n   |\nLL | #[derive(Encodable)]\n   |          ^^^^^^^^^ maybe a missing `extern crate serialize;`?\n\n"}
[01:04:37] {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
[01:04:37] {"message":"For more information about this error, try `rustc --explain E0433`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0433`.\n"}
[01:04:37] ------------------------------------------
[01:04:37] 
[01:04:37] thread '[ui] ui-fulldeps/deprecated-derive.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:04:37] note: Run with `RUST_BACKTRACE=1` for a backtrace.
---
[01:04:37] test result: FAILED. 46 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
[01:04:37] 
[01:04:37] 
[01:04:37] 
[01:04:37] 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-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps" "--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-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:04:37] 
[01:04:37] 
[01:04:37] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:04:37] Build completed unsuccessfully in 0:20:10
[01:04:37] Build completed unsuccessfully in 0:20:10
[01:04:37] Makefile:58: recipe for target 'check' failed
[01:04:37] make: *** [check] Error 1

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 was marked as resolved.

Contributor

bors commented Nov 29, 2018

💔 Test failed - status-travis

@rust-highfive

This comment was marked as resolved.

Collaborator

rust-highfive commented Nov 29, 2018

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:093839a1
$ git clone --depth=2 --branch=try https://github.com/rust-lang/rust.git rust-lang/rust
---
[00:06:52]    Compiling lock_api v0.1.3
[00:06:52]    Compiling polonius-engine v0.5.0
[00:06:53]    Compiling chalk-engine v0.8.0
[00:06:53]    Compiling env_logger v0.5.12
[00:06:55]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:06:56]    Compiling parking_lot_core v0.3.0
[00:06:58]    Compiling tempfile v3.0.3
[00:06:58]    Compiling parking_lot v0.6.4
[00:07:00]    Compiling flate2 v1.0.3
---
[00:56:13]    Compiling chalk-engine v0.8.0
[00:56:13]    Compiling env_logger v0.5.12
[00:56:13]    Compiling tempfile v3.0.3
[00:56:15]    Compiling parking_lot_core v0.3.0
[00:56:15]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:56:18]    Compiling parking_lot v0.6.4
[00:56:20]    Compiling crossbeam-epoch v0.3.1
[00:56:20]    Compiling log_settings v0.1.2
[00:56:20]    Compiling flate2 v1.0.3
---
[01:29:02]     Checking ena v0.11.0
[01:29:03]     Checking rustc_cratesio_shim v0.0.0 (/checkout/src/librustc_cratesio_shim)
[01:29:03]     Checking lock_api v0.1.3
[01:29:03]     Checking crossbeam-epoch v0.3.1
[01:29:03]     Checking rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[01:29:04]     Checking rustc-rayon-core v0.1.1
[01:29:05]     Checking parking_lot_core v0.3.0
[01:29:05]     Checking rustc-rayon v0.1.1
[01:29:05]     Checking parking_lot v0.6.4
---
[01:29:38]     Checking tempfile v3.0.3
[01:29:38]     Checking polonius-engine v0.5.0
[01:29:38]     Checking chalk-engine v0.8.0
[01:29:39]     Checking rustc_apfloat v0.0.0 (/checkout/src/librustc_apfloat)
[01:29:39]  Documenting rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[01:29:40]     Checking env_logger v0.5.12
[01:29:41]     Checking miniz-sys v0.1.10
[01:29:41]     Checking backtrace-sys v0.1.24
[01:29:41] warning: `[3]` cannot be resolved, ignoring it...
[01:29:41] warning: `[3]` cannot be resolved, ignoring it...
[01:29:41]     --> src/librustc_ezilaires/json.rs:1275:25
[01:29:41] 1275 | /// For example foo.bar[3].x
[01:29:41]      |                         ^ cannot be resolved, ignoring
[01:29:41]      |
[01:29:41]      = note: #[warn(intra_doc_link_resolution_failure)] on by default
[01:29:41]      = note: #[warn(intra_doc_link_resolution_failure)] on by default
[01:29:41]      = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
[01:29:41] 
[01:29:41] warning: `[3]` cannot be resolved, ignoring it...
[01:29:41]     --> src/librustc_ezilaires/json.rs:1284:65
[01:29:41] 1284 | /// StackElements compositing the stack that represents foo.bar[3].x
[01:29:41]      |                                                                 ^ cannot be resolved, ignoring
[01:29:41]      |
[01:29:41]      = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
---
[01:36:40] Dist rustc stage2 (x86_64-unknown-linux-gnu)
[01:40:01] Dist std stage2 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:41:42] Dist analysis
[01:41:42] image_src: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/save-analysis", dst: "/checkout/obj/build/tmp/dist/rust-analysis-nightly-x86_64-unknown-linux-gnu-image/lib/rustlib/x86_64-unknown-linux-gnu/analysis"
[01:41:42] thread 'main' panicked at 'fs::read_dir(src) failed with No such file or directory (os error 2)', src/bootstrap/lib.rs:1211:18
[01:41:42] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap dist --host x86_64-unknown-linux-gnu --target x86_64-unknown-linux-gnu
[01:41:42] Build completed unsuccessfully in 1:36:27
travis_time:end:113c1278:start=1543446544835532491,finish=1543452647841834946,duration=6103006302455
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 1.
---
travis_time:end:1159bbe1:start=1543452650628138481,finish=1543452650641649722,duration=13511241
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:05495880
$ 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:2d424140
travis_time:start:2d424140
$ 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:0551d49c
$ 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)

@eddyb eddyb force-pushed the eddyb:que-seri-sera branch from 2325917 to d84236b Nov 29, 2018

@eddyb

This comment has been minimized.

Member

eddyb commented Nov 29, 2018

@bors try

@bors

This comment has been minimized.

Contributor

bors commented Nov 29, 2018

⌛️ Trying commit d84236b with merge 3225276...

bors added a commit that referenced this pull request Nov 29, 2018

Auto merge of #56323 - eddyb:que-seri-sera, r=<try>
[WIP] serialize: rename to rustc_serialize.

In preparation for post-#49219 use of custom derives in rustc, we'll want to stop using `Rustc{Encodable,Decodable}` derives, and *at least* adapt the library to suit `rustc` better, before a full implementation of #36588 can be done.

This will break anyone using `extern crate serialize;` (on nightly) so let's do a crater run with a rename, just to see what things are like.

**EDIT**: I was going to test with `rustc_serialize` (which does work in terms of compiling) but I realized that `rustc-serialize` from crates.io might make that tricky if it ends up in our sysroot, so for the crater run let's go with something weirder (`rustc_ezilaires`).

**EDIT2**: had to remove `rustc_save_analysis` and `rls` to get rid of the crates.io `rustc-serialize` from Cargo.lock. Note that this is just for crater, just like the `rustc_ezilaires` rename.

r? @nikomatsakis
@rust-highfive

This comment has been minimized.

Collaborator

rust-highfive commented Nov 29, 2018

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:0adef38c:start=1543479626676268344,finish=1543479683323522522,duration=56647254178
$ 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:05:01]    Compiling polonius-engine v0.5.0
[00:05:02]    Compiling lock_api v0.1.3
[00:05:02]    Compiling chalk-engine v0.8.0
[00:05:02]    Compiling env_logger v0.5.12
[00:05:02]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:05:06]    Compiling parking_lot_core v0.3.0
[00:05:06]    Compiling tempfile v3.0.3
[00:05:08]    Compiling parking_lot v0.6.4
[00:05:08]    Compiling crossbeam-epoch v0.3.1
---
[00:21:56]    Compiling polonius-engine v0.5.0
[00:21:58]    Compiling chalk-engine v0.8.0
[00:21:58]    Compiling env_logger v0.5.12
[00:21:58]    Compiling parking_lot_core v0.3.0
[00:21:58]    Compiling rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:22:04]    Compiling parking_lot v0.6.4
[00:22:04]    Compiling crossbeam-epoch v0.3.1
[00:22:04]    Compiling log_settings v0.1.2
[00:22:06]    Compiling flate2 v1.0.3
---
[00:46:46]     Checking num_cpus v1.8.0
[00:46:46]     Checking rand v0.4.3
[00:46:46]     Checking atty v0.2.11
[00:46:46]     Checking crossbeam-epoch v0.3.1
[00:46:46]     Checking rustc_ezilaires v0.0.0 (/checkout/src/librustc_ezilaires)
[00:46:49]     Checking rustc-rayon-core v0.1.1
[00:46:49]     Checking parking_lot_core v0.3.0
[00:46:49]     Checking parking_lot v0.6.4
[00:46:50]     Checking rustc-rayon v0.1.1
---
[00:51:33] .................................................................................................... 100/5065
[00:51:37] .................................................................................................... 200/5065
[00:51:39] .............................ii............................................ii...................ii.. 300/5065
[00:51:42] ..............................................................................................iii... 400/5065
[00:51:45] .....iiiiiiii.iii............................iii...........................................i........ 500/5065
[00:51:52] .................................................................................................... 700/5065
[00:51:58] ................................................................................................i... 800/5065
[00:52:02] ........i........................................................................................... 900/5065
[00:52:05] ...............iiiii..................ii.iiii....................................................... 1000/5065
---
[00:52:46] .................................................................................................... 2300/5065
[00:52:50] .................................................................................................... 2400/5065
[00:52:54] .................................................................................................... 2500/5065
[00:52:58] .................................................................................................... 2600/5065
[00:53:02] ........iiiiiiiii................................................................................... 2700/5065
[00:53:08] .................................................................................................... 2900/5065
[00:53:12] .................................................................................................... 3000/5065
[00:53:15] .......................................................................i............................ 3100/5065
[00:53:19] .................................................................................................... 3200/5065
---
travis_time:start:test_codegen
Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:07:52] 
[01:07:52] running 119 tests
[01:07:56] i..ii...iii..iiii.....i...i.........i..iii.............i.....i.....ii...i..i.ii..............i...ii. 100/119
[01:07:56] .ii.i.....iiii.....
[01:07:56] 
[01:07:56]  finished in 3.671
[01:07:56] 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:08:11] 
[01:08:11] running 118 tests
[01:08:38] .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:08:42] ......iii.i.....ii
[01:08:42] 
[01:08:42]  finished in 31.062
[01:08:42] travis_fold:end:test_debuginfo

---
travis_time:start:test_run-pass-fulldeps
Check compiletest suite=run-pass-fulldeps mode=run-pass (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:09:25] 
[01:09:25] running 97 tests
[01:11:27] ....FFFF...F.F.........FFFF............................test [run-pass] run-pass-fulldeps/myriad-closures.rs has been running for over 60 seconds
[01:14:20] failures:
[01:14:20] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:503:22
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/deriving-encodable-decodable-box.rs stdout ----
[01:14:20] ---- [run-pass] run-pass-fulldeps/deriving-encodable-decodable-box.rs stdout ----
[01:14:20] 
[01:14:20] error: test compilation failed although it shouldn't!
[01:14:20] status: exit code: 1
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs" "--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-fulldeps/deriving-encodable-decodable-box/a" "-Crpath" "-O" "-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-fulldeps/deriving-encodable-decodable-box/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"the name `rustc_ezilaires` is defined multiple times","code":{"code":"E0254","explanation":"\nAttempt was made to import an item whereas an extern crate with this name has\nalready been imported.\n\nErroneous code example:\n\n```compile_fail,E0254\nextern crate core;\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;  // error: an extern crate named `core` has already\n                //        been imported in this module\n\nfn main() {}\n```\n\nTo fix issue issue, you have to rename at least one of the two imports.\nExample:\n\n```\nextern crate core as libcore; // ok!\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;\n\nfn main() {}\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs","byte_start":620,"byte_end":635,"line_start":17,"line_end":17,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":"`rustc_ezilaires` reimported here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs","byte_start":546,"byte_end":575,"line_start":16,"line_end":16,"column_start":1,"column_end":30,"is_primary":false,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":1,"highlight_end":30}],"label":"previous import of the extern crate `rustc_ezilaires` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`rustc_ezilaires` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs","byte_start":620,"byte_end":635,"line_start":17,"line_end":17,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"rustc_ezilaires as other_rustc_ezilaires","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0254]: the name `rustc_ezilaires` is defined multiple times\n  --> /checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-box.rs:17:5\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   | ----------------------------- previous import of the extern crate `rustc_ezilaires` here\nLL | use rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^ `rustc_ezilaires` reimported here\n   |\n   = note: `rustc_ezilaires` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\nLL | use rustc_ezilaires as other_rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:14:20] {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
[01:14:20] {"message":"For more information about this error, try `rustc --explain E0254`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0254`.\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/deriving-encodable-decodable-box.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[01:14:20] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs stdout ----
[01:14:20] 
[01:14:20] error: test compilation failed although it shouldn't!
[01:14:20] status: exit code: 1
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs" "--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-fulldeps/deriving-encodable-decodable-cell-refcell/a" "-Crpath" "-O" "-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-fulldeps/deriving-encodable-decodable-cell-refcell/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"the name `rustc_ezilaires` is defined multiple times","code":{"code":"E0254","explanation":"\nAttempt was made to import an item whereas an extern crate with this name has\nalready been imported.\n\nErroneous code example:\n\n```compile_fail,E0254\nextern crate core;\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;  // error: an extern crate named `core` has already\n                //        been imported in this module\n\nfn main() {}\n```\n\nTo fix issue issue, you have to rename at least one of the two imports.\nExample:\n\n```\nextern crate core as libcore; // ok!\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;\n\nfn main() {}\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs","byte_start":751,"byte_end":766,"line_start":19,"line_end":19,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":"`rustc_ezilaires` reimported here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs","byte_start":677,"byte_end":706,"line_start":18,"line_end":18,"column_start":1,"column_end":30,"is_primary":false,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":1,"highlight_end":30}],"label":"previous import of the extern crate `rustc_ezilaires` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`rustc_ezilaires` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs","byte_start":751,"byte_end":766,"line_start":19,"line_end":19,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"rustc_ezilaires as other_rustc_ezilaires","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0254]: the name `rustc_ezilaires` is defined multiple times\n  --> /checkout/src/test/run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs:19:5\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   | ----------------------------- previous import of the extern crate `rustc_ezilaires` here\nLL | use rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^ `rustc_ezilaires` reimported here\n   |\n   = note: `rustc_ezilaires` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\nLL | use rustc_ezilaires as other_rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:14:20] {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
[01:14:20] {"message":"For more information about this error, try `rustc --explain E0254`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0254`.\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/deriving-encodable-decodable-cell-refcell.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/deriving-global.rs stdout ----
[01:14:20] 
[01:14:20] error: test compilation failed although it shouldn't!
[01:14:20] status: exit code: 1
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/deriving-global.rs" "--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-fulldeps/deriving-global/a" "-Crpath" "-O" "-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-fulldeps/deriving-global/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"the name `rustc_ezilaires` is defined multiple times","code":{"code":"E0254","explanation":"\nAttempt was made to import an item whereas an extern crate with this name has\nalready been imported.\n\nErroneous code example:\n\n```compile_fail,E0254\nextern crate core;\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;  // error: an extern crate named `core` has already\n                //        been imported in this module\n\nfn main() {}\n```\n\nTo fix issue issue, you have to rename at least one of the two imports.\nExample:\n\n```\nextern crate core as libcore; // ok!\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;\n\nfn main() {}\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-global.rs","byte_start":569,"byte_end":584,"line_start":14,"line_end":14,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":"`rustc_ezilaires` reimported here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-global.rs","byte_start":495,"byte_end":524,"line_start":13,"line_end":13,"column_start":1,"column_end":30,"is_primary":false,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":1,"highlight_end":30}],"label":"previous import of the extern crate `rustc_ezilaires` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`rustc_ezilaires` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-global.rs","byte_start":569,"byte_end":584,"line_start":14,"line_end":14,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"rustc_ezilaires as other_rustc_ezilaires","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0254]: the name `rustc_ezilaires` is defined multiple times\n  --> /checkout/src/test/run-pass-fulldeps/deriving-global.rs:14:5\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   | ----------------------------- previous import of the extern crate `rustc_ezilaires` here\nLL | use rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^ `rustc_ezilaires` reimported here\n   |\n   = note: `rustc_ezilaires` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\nLL | use rustc_ezilaires as other_rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:14:20] {"message":"unused import: `rustc_ezilaires`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-global.rs","byte_start":569,"byte_end":584,"line_start":14,"line_end":14,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(unused_imports)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `rustc_ezilaires`\n  --> /checkout/src/test/run-pass-fulldeps/deriving-global.rs:14:5\n   |\nLL | use rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^\n   |\n   = note: #[warn(unused_imports)] on by default\n\n"}
[01:14:20] {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
[01:14:20] {"message":"For more information about this error, try `rustc --explain E0254`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0254`.\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/deriving-global.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/deriving-hygiene.rs stdout ----
[01:14:20] 
[01:14:20] error: test compilation failed although it shouldn't!
[01:14:20] status: exit code: 1
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/deriving-hygiene.rs" "--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-fulldeps/deriving-hygiene/a" "-Crpath" "-O" "-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-fulldeps/deriving-hygiene/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"the name `rustc_ezilaires` is defined multiple times","code":{"code":"E0254","explanation":"\nAttempt was made to import an item whereas an extern crate with this name has\nalready been imported.\n\nErroneous code example:\n\n```compile_fail,E0254\nextern crate core;\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;  // error: an extern crate named `core` has already\n                //        been imported in this module\n\nfn main() {}\n```\n\nTo fix issue issue, you have to rename at least one of the two imports.\nExample:\n\n```\nextern crate core as libcore; // ok!\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;\n\nfn main() {}\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-hygiene.rs","byte_start":602,"byte_end":617,"line_start":14,"line_end":14,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":"`rustc_ezilaires` reimported here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-hygiene.rs","byte_start":528,"byte_end":557,"line_start":13,"line_end":13,"column_start":1,"column_end":30,"is_primary":false,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":1,"highlight_end":30}],"label":"previous import of the extern crate `rustc_ezilaires` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`rustc_ezilaires` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-hygiene.rs","byte_start":602,"byte_end":617,"line_start":14,"line_end":14,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"rustc_ezilaires as other_rustc_ezilaires","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0254]: the name `rustc_ezilaires` is defined multiple times\n  --> /checkout/src/test/run-pass-fulldeps/deriving-hygiene.rs:14:5\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   | ----------------------------- previous import of the extern crate `rustc_ezilaires` here\nLL | use rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^ `rustc_ezilaires` reimported here\n   |\n   = note: `rustc_ezilaires` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\nLL | use rustc_ezilaires as other_rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:14:20] {"message":"unused import: `rustc_ezilaires`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/deriving-hygiene.rs","byte_start":602,"byte_end":617,"line_start":14,"line_end":14,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(unused_imports)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `rustc_ezilaires`\n  --> /checkout/src/test/run-pass-fulldeps/deriving-hygiene.rs:14:5\n   |\nLL | use rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^\n   |\n   = note: #[warn(unused_imports)] on by default\n\n"}
[01:14:20] {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
[01:14:20] {"message":"For more information about this error, try `rustc --explain E0254`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0254`.\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/deriving-hygiene.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/issue-11881.rs stdout ----
[01:14:20] 
[01:14:20] error: test compilation failed although it shouldn't!
[01:14:20] status: exit code: 1
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/issue-11881.rs" "--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-fulldeps/issue-11881/a" "-Crpath" "-O" "-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-fulldeps/issue-11881/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"the name `rustc_ezilaires` is defined multiple times","code":{"code":"E0254","explanation":"\nAttempt was made to import an item whereas an extern crate with this name has\nalready been imported.\n\nErroneous code example:\n\n```compile_fail,E0254\nextern crate core;\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;  // error: an extern crate named `core` has already\n                //        been imported in this module\n\nfn main() {}\n```\n\nTo fix issue issue, you have to rename at least one of the two imports.\nExample:\n\n```\nextern crate core as libcore; // ok!\n\nmod foo {\n    pub trait core {\n        fn do_something();\n    }\n}\n\nuse foo::core;\n\nfn main() {}\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-11881.rs","byte_start":644,"byte_end":659,"line_start":18,"line_end":18,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":"`rustc_ezilaires` reimported here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-11881.rs","byte_start":570,"byte_end":599,"line_start":17,"line_end":17,"column_start":1,"column_end":30,"is_primary":false,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":1,"highlight_end":30}],"label":"previous import of the extern crate `rustc_ezilaires` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`rustc_ezilaires` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-11881.rs","byte_start":644,"byte_end":659,"line_start":18,"line_end":18,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use rustc_ezilaires;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"rustc_ezilaires as other_rustc_ezilaires","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0254]: the name `rustc_ezilaires` is defined multiple times\n  --> /checkout/src/test/run-pass-fulldeps/issue-11881.rs:18:5\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   | ----------------------------- previous import of the extern crate `rustc_ezilaires` here\nLL | use rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^ `rustc_ezilaires` reimported here\n   |\n   = note: `rustc_ezilaires` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\nLL | use rustc_ezilaires as other_rustc_ezilaires;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:14:20] {"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to previous error\n\n"}
[01:14:20] {"message":"For more information about this error, try `rustc --explain E0254`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0254`.\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/issue-11881.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/issue-14021.rs stdout ----
[01:14:20] 
[01:14:20] error: test compilation failed although it shouldn't!
[01:14:20] status: exit code: 1
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/issue-14021.rs" "--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-fulldeps/issue-14021/a" "-Crpath" "-O" "-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-fulldeps/issue-14021/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"the name `rustc_ezilaires` is defined multiple times","code":{"code":"E0259","explanation":"\nThe name chosen for an external crate conflicts with another external crate\nthat has been imported into the current module.\n\nErroneous code example:\n\n```compile_fail,E0259\n# #![feature(libc)]\nextern crate core;\nextern crate libc as core;\n\nfn main() {}\n```\n\nThe solution is to choose a different name that doesn't conflict with any\nexternal crate imported into the current module.\n\nCorrect example:\n\n```\n# #![feature(libc)]\nextern crate core;\nextern crate libc as other_name;\n\nfn main() {}\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-14021.rs","byte_start":613,"byte_end":642,"line_start":16,"line_end":16,"column_start":1,"column_end":30,"is_primary":true,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":1,"highlight_end":30}],"label":"`rustc_ezilaires` reimported here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-14021.rs","byte_start":543,"byte_end":572,"line_start":15,"line_end":15,"column_start":1,"column_end":30,"is_primary":false,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":1,"highlight_end":30}],"label":"previous import of the extern crate `rustc_ezilaires` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`rustc_ezilaires` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-14021.rs","byte_start":613,"byte_end":642,"line_start":16,"line_end":16,"column_start":1,"column_end":30,"is_primary":true,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":1,"highlight_end":30}],"label":null,"suggested_replacement":"extern crate rustc_ezilaires as other_rustc_ezilaires;","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0259]: the name `rustc_ezilaires` is defined multiple times\n  --> /checkout/src/test/run-pass-fulldeps/issue-14021.rs:16:1\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   | ----------------------------- previous import of the extern crate `rustc_ezilaires` here\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rustc_ezilaires` reimported here\n   |\n   = note: `rustc_ezilaires` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\nLL | extern crate rustc_ezilaires as other_rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:14:20] {"message":"the name `rustc_serialize` is defined multiple times","code":{"code":"E0252","explanation":"\nTwo items of the same name cannot be imported without rebinding one of the\nitems under a new local name.\n\nErroneous code example:\n\n```compile_fail,E0252\nuse foo::baz;\nuse bar::baz; // error, do `use bar::baz as quux` instead\n\nfn main() {}\n\nmod foo {\n    pub struct baz;\n}\n\nmod bar {\n    pub mod baz {}\n}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse foo::baz as foo_baz;\nuse bar::baz; // ok!\n\nfn main() {}\n\nmod foo {\n    pub struct baz;\n}\n\nmod bar {\n    pub mod baz {}\n}\n```\n\nOr you can reference the item with its parent:\n\n```\nuse bar::baz;\n\nfn main() {\n    let x = foo::baz; // ok!\n}\n\nmod foo {\n    pub struct baz;\n}\n\nmod bar {\n    pub mod baz {}\n}\n```\n"},"level":"error","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-14021.rs","byte_start":647,"byte_end":681,"line_start":16,"line_end":16,"column_start":35,"column_end":69,"is_primary":true,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":35,"highlight_end":69}],"label":"`rustc_serialize` reimported here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-14021.rs","byte_start":577,"byte_end":611,"line_start":15,"line_end":15,"column_start":35,"column_end":69,"is_primary":false,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":35,"highlight_end":69}],"label":"previous import of the module `rustc_serialize` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`rustc_serialize` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-14021.rs","byte_start":647,"byte_end":681,"line_start":16,"line_end":16,"column_start":35,"column_end":69,"is_primary":true,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":35,"highlight_end":69}],"label":null,"suggested_replacement":"rustc_ezilaires as other_rustc_serialize","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0252]: the name `rustc_serialize` is defined multiple times\n  --> /checkout/src/test/run-pass-fulldeps/issue-14021.rs:16:35\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   |                                   ---------------------------------- previous import of the module `rustc_serialize` here\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rustc_serialize` reimported here\n   |\n   = note: `rustc_serialize` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as other_rustc_serialize;\n   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[01:14:20] {"message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"}
[01:14:20] {"message":"Some errors occurred: E0252, E0259.","code":null,"level":"","spans":[],"children":[],"rendered":"Some errors occurred: E0252, E0259.\n"}
[01:14:20] {"message":"For more information about an error, try `rustc --explain E0252`.","code":null,"level":"","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0252`.\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/issue-14021.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/issue-24972.rs stdout ----
[01:14:20] normalized stderr:
[01:14:20] warning: unused import: `rustc_ezilaires as rustc_serialize`
[01:14:20]    |
[01:14:20]    |
[01:14:20] LL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;
[01:14:20]    |
[01:14:20]    = note: #[warn(unused_imports)] on by default
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] The actual stderr differed from the expected stderr.
[01:14:20] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/issue-24972/issue-24972.stderr
[01:14:20] To update references, rerun the tests and pass the `--bless` flag
[01:14:20] To only update this specific test, also pass `--test-args issue-24972.rs`
[01:14:20] error: 1 errors occurred comparing output.
[01:14:20] status: exit code: 0
[01:14:20] status: exit code: 0
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/issue-24972.rs" "--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-fulldeps/issue-24972/a" "-Crpath" "-O" "-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-fulldeps/issue-24972/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"unused import: `rustc_ezilaires as rustc_serialize`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-24972.rs","byte_start":550,"byte_end":584,"line_start":14,"line_end":14,"column_start":35,"column_end":69,"is_primary":true,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":35,"highlight_end":69}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(unused_imports)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `rustc_ezilaires as rustc_serialize`\n  --> /checkout/src/test/run-pass-fulldeps/issue-24972.rs:14:35\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n   |\n   = note: #[warn(unused_imports)] on by default\n\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/issue-24972.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/issue-2804.rs stdout ----
[01:14:20] normalized stderr:
[01:14:20] warning: unused import: `rustc_ezilaires as rustc_serialize`
[01:14:20]    |
[01:14:20]    |
[01:14:20] LL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;
[01:14:20]    |
[01:14:20]    = note: #[warn(unused_imports)] on by default
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] The actual stderr differed from the expected stderr.
[01:14:20] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/issue-2804/issue-2804.stderr
[01:14:20] To update references, rerun the tests and pass the `--bless` flag
[01:14:20] To only update this specific test, also pass `--test-args issue-2804.rs`
[01:14:20] error: 1 errors occurred comparing output.
[01:14:20] status: exit code: 0
[01:14:20] status: exit code: 0
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/issue-2804.rs" "--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-fulldeps/issue-2804/a" "-Crpath" "-O" "-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-fulldeps/issue-2804/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"unused import: `rustc_ezilaires as rustc_serialize`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-2804.rs","byte_start":587,"byte_end":621,"line_start":15,"line_end":15,"column_start":35,"column_end":69,"is_primary":true,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":35,"highlight_end":69}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(unused_imports)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `rustc_ezilaires as rustc_serialize`\n  --> /checkout/src/test/run-pass-fulldeps/issue-2804.rs:15:35\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n   |\n   = note: #[warn(unused_imports)] on by default\n\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/issue-2804.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/issue-4016.rs stdout ----
[01:14:20] normalized stderr:
[01:14:20] warning: unused import: `rustc_ezilaires as rustc_serialize`
[01:14:20]    |
[01:14:20]    |
[01:14:20] LL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;
[01:14:20]    |
[01:14:20]    = note: #[warn(unused_imports)] on by default
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] The actual stderr differed from the expected stderr.
[01:14:20] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/issue-4016/issue-4016.stderr
[01:14:20] To update references, rerun the tests and pass the `--bless` flag
[01:14:20] To only update this specific test, also pass `--test-args issue-4016.rs`
[01:14:20] error: 1 errors occurred comparing output.
[01:14:20] status: exit code: 0
[01:14:20] status: exit code: 0
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/issue-4016.rs" "--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-fulldeps/issue-4016/a" "-Crpath" "-O" "-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-fulldeps/issue-4016/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"unused import: `rustc_ezilaires as rustc_serialize`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-4016.rs","byte_start":556,"byte_end":590,"line_start":15,"line_end":15,"column_start":35,"column_end":69,"is_primary":true,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":35,"highlight_end":69}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(unused_imports)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `rustc_ezilaires as rustc_serialize`\n  --> /checkout/src/test/run-pass-fulldeps/issue-4016.rs:15:35\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n   |\n   = note: #[warn(unused_imports)] on by default\n\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/issue-4016.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
[01:14:20] 
[01:14:20] ---- [run-pass] run-pass-fulldeps/issue-4036.rs stdout ----
[01:14:20] normalized stderr:
[01:14:20] warning: unused import: `rustc_ezilaires as rustc_serialize`
[01:14:20]    |
[01:14:20]    |
[01:14:20] LL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;
[01:14:20]    |
[01:14:20]    = note: #[warn(unused_imports)] on by default
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] The actual stderr differed from the expected stderr.
[01:14:20] Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps/issue-4036/issue-4036.stderr
[01:14:20] To update references, rerun the tests and pass the `--bless` flag
[01:14:20] To only update this specific test, also pass `--test-args issue-4036.rs`
[01:14:20] error: 1 errors occurred comparing output.
[01:14:20] status: exit code: 0
[01:14:20] status: exit code: 0
[01:14:20] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass-fulldeps/issue-4036.rs" "--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-fulldeps/issue-4036/a" "-Crpath" "-O" "-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-fulldeps/issue-4036/auxiliary"
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] ------------------------------------------
[01:14:20] stderr:
[01:14:20] stderr:
[01:14:20] ------------------------------------------
[01:14:20] {"message":"unused import: `rustc_ezilaires as rustc_serialize`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"/checkout/src/test/run-pass-fulldeps/issue-4036.rs","byte_start":679,"byte_end":713,"line_start":19,"line_end":19,"column_start":35,"column_end":69,"is_primary":true,"text":[{"text":"extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;","highlight_start":35,"highlight_end":69}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"#[warn(unused_imports)] on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `rustc_ezilaires as rustc_serialize`\n  --> /checkout/src/test/run-pass-fulldeps/issue-4036.rs:19:35\n   |\nLL | extern crate rustc_ezilaires; use rustc_ezilaires as rustc_serialize;\n   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n   |\n   = note: #[warn(unused_imports)] on by default\n\n"}
[01:14:20] ------------------------------------------
[01:14:20] 
[01:14:20] thread '[run-pass] run-pass-fulldeps/issue-4036.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:14:20] 
---
[01:14:20] test result: FAILED. 87 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out
[01:14:20] 
[01:14:20] 
[01:14:20] 
[01:14:20] 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-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass-fulldeps" "--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:14:20] 
[01:14:20] 
[01:14:20] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:14:20] Build completed unsuccessfully in 0:26:51
[01:14:20] Build completed unsuccessfully in 0:26:51
[01:14:20] make: *** [check] Error 1
[01:14:20] Makefile:58: recipe for target 'check' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:257f85f3
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Thu Nov 29 09:35:53 UTC 2018

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.

Contributor

bors commented Nov 29, 2018

☀️ Test successful - status-travis
State: approved= try=True

@pietroalbini

This comment has been minimized.

Member

pietroalbini commented Nov 29, 2018

@craterbot run start=master#a49316ddc99d9d595193557fc899f6c52e4d9af9 end=try#32252761328f59ccfadb1bafb8148c685bc830b3 mode=check-only

@craterbot

This comment has been minimized.

Collaborator

craterbot commented Nov 29, 2018

👌 Experiment pr-56323 created and queued.
🔍 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.

Collaborator

craterbot commented Nov 29, 2018

🚧 Experiment pr-56323 is now running on agent aws-1.

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

@nikomatsakis

This comment has been minimized.

Contributor

nikomatsakis commented Nov 29, 2018

In preparation for post-#49219 use of custom derives in rustc,

OMG this is such an exciting concept

@craterbot

This comment has been minimized.

Collaborator

craterbot commented Dec 1, 2018

🎉 Experiment pr-56323 is completed!
📰 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

@eddyb

This comment has been minimized.

Member

eddyb commented Dec 2, 2018

Only one regression from using serialize: mayer_multiple-0.0.1 (log).
Nothing crater checks appears to be using rustc_serialize from the sysroot, which is perfect.

@eddyb eddyb force-pushed the eddyb:que-seri-sera branch from d84236b to d76e861 Dec 2, 2018

@eddyb eddyb changed the title from [WIP] serialize: rename to rustc_serialize. to serialize: rename to rustc_serialize. Dec 2, 2018

@rust-highfive

This comment has been minimized.

Collaborator

rust-highfive commented Dec 2, 2018

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:08778aef:start=1543749022951712085,finish=1543749025413624378,duration=2461912293
$ 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
---
travis_time:start:test_codegen
Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[00:58:13] 
[00:58:13] running 119 tests
[00:58:16] i..ii...iii..iiii.....i...i.........i..iii.............i.....i.....ii...i..i.ii..............i...ii. 100/119
[00:58:17] .ii.i.....iiii.....
[00:58:17] 
[00:58:17]  finished in 3.552
[00:58:17] 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)
[00:58:32] 
[00:58:32] running 118 tests
[00:58:58] .iiiii...i.....i..i...i..i.i..i.i..i.....i..i....i..........iiii.........i.i....i...i.......ii.i.i.i 100/118
[00:59:02] ......iii.i.....ii
[00:59:02] 
[00:59:02]  finished in 29.602
[00:59:02] travis_fold:end:test_debuginfo

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)

@eddyb

This comment has been minimized.

Member

eddyb commented Dec 2, 2018

(I need to either move the test to a run-make one that uses Cargo with the crates.io rustc-serialize dependency, or maybe mock it in the test locally)

@nikomatsakis

This comment has been minimized.

Contributor

nikomatsakis commented Dec 4, 2018

@bors r+

@bors

This comment has been minimized.

Contributor

bors commented Dec 4, 2018

📌 Commit d76e861 has been approved by nikomatsakis

@nikomatsakis

This comment has been minimized.

Contributor

nikomatsakis commented Dec 4, 2018

Er, @bors r-

@nikomatsakis

This comment has been minimized.

Contributor

nikomatsakis commented Dec 4, 2018

r=me but I see travis is unhappy?

(To confirm: this affects only nightly users, and we only found 1 of those on the crater run, right?)

@eddyb

This comment has been minimized.

Member

eddyb commented Dec 4, 2018

@nikomatsakis Yeah, everyone else is using the out-of-tree rustc-serialize crate.
And I still need to fix #56323 (comment), so no r+ for me just yet.

@bors

This comment has been minimized.

Contributor

bors commented Dec 6, 2018

☔️ The latest upstream changes (presumably #55635) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment