Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use `Symbol` more in lint APIs #60827

Merged
merged 1 commit into from May 27, 2019
Merged
Use `Symbol` more in lint APIs
1 successful check

Travis CI - Pull Request

Success

ran May 27, 2019 in about 2 hours

d6ca34c by @oli-obk

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #60827 Use Symbol more in lint APIs.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has two jobs, running in parallel.

Job ENV OS State
101021.1 x86_64-gnu-llvm-6.0 \["IMAGE=x86\_64-gnu-llvm-6.0 RUST\_BACKTRACE=1"\] Linux passed
101021.2 mingw-check \["IMAGE=mingw-check"\] Linux passed

Build Configuration

Build Option Setting
Language Shell
Operating System Linux (Xenial)
Build Configuration
{
  "git": {
    "depth": 2,
    "submodules": false
  },
  "dist": "xenial",
  "sudo": "required",
  "group": "stable",
  "addons": {
    "apt": {
      "packages": [
        "gdb"
      ]
    }
  },
  "matrix": {
    "include": [
      {
        "if": "type = pull_request OR branch = auto",
        "env": "IMAGE=x86_64-gnu-llvm-6.0 RUST_BACKTRACE=1",
        "name": "x86_64-gnu-llvm-6.0"
      },
      {
        "if": "branch = try OR branch = auto",
        "env": "IMAGE=dist-x86_64-linux DEPLOY=1",
        "name": "dist-x86_64-linux"
      },
      {
        "if": "branch = try OR branch = auto",
        "env": "IMAGE=dist-x86_64-linux DEPLOY_ALT=1",
        "name": "dist-x86_64-linux-alt"
      },
      {
        "if": "branch = auto",
        "os": "osx",
        "env": "RUST_CHECK_TARGET=dist RUST_CONFIGURE_ARGS=\"--enable-extended --enable-profiler --enable-lldb --set rust.jemalloc\" SRC=. DEPLOY_ALT=1 RUSTC_RETRY_LINKER_ON_SEGFAULT=1 MACOSX_DEPLOYMENT_TARGET=10.7 NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1\n",
        "name": "dist-x86_64-apple-alt",
        "osx_image": "xcode9.3-moar"
      },
      {
        "if": "branch = auto",
        "os": "osx",
        "env": "RUST_CHECK_TARGET=check RUST_CONFIGURE_ARGS=\"--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc\" SRC=. RUSTC_RETRY_LINKER_ON_SEGFAULT=1 MACOSX_DEPLOYMENT_TARGET=10.8 MACOSX_STD_DEPLOYMENT_TARGET=10.7 NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1\n",
        "name": "x86_64-apple",
        "osx_image": "xcode9.3-moar"
      },
      {
        "if": "branch = auto",
        "os": "osx",
        "env": "RUST_CHECK_TARGET=check RUST_CONFIGURE_ARGS=\"--build=i686-apple-darwin --set rust.jemalloc\" SRC=. RUSTC_RETRY_LINKER_ON_SEGFAULT=1 MACOSX_DEPLOYMENT_TARGET=10.8 MACOSX_STD_DEPLOYMENT_TARGET=10.7 NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1\n",
        "name": "i686-apple",
        "osx_image": "xcode9.3-moar"
      },
      {
        "if": "branch = auto",
        "os": "osx",
        "env": "RUST_CHECK_TARGET=dist RUST_CONFIGURE_ARGS=\"--build=i686-apple-darwin --enable-full-tools --enable-profiler --enable-lldb --set rust.jemalloc\" SRC=. DEPLOY=1 RUSTC_RETRY_LINKER_ON_SEGFAULT=1 MACOSX_DEPLOYMENT_TARGET=10.7 NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1 DIST_REQUIRE_ALL_TOOLS=1\n",
        "name": "dist-i686-apple",
        "osx_image": "xcode9.3-moar"
      },
      {
        "if": "branch = auto",
        "os": "osx",
        "env": "RUST_CHECK_TARGET=dist RUST_CONFIGURE_ARGS=\"--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --enable-lldb --set rust.jemalloc\" SRC=. DEPLOY=1 RUSTC_RETRY_LINKER_ON_SEGFAULT=1 MACOSX_DEPLOYMENT_TARGET=10.7 NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1 DIST_REQUIRE_ALL_TOOLS=1\n",
        "name": "dist-x86_64-apple",
        "osx_image": "xcode9.3-moar"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=arm-android",
        "name": "arm-android"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=armhf-gnu",
        "name": "armhf-gnu"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-various-1 DEPLOY=1",
        "name": "dist-various-1"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-various-2 DEPLOY=1",
        "name": "dist-various-2"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-aarch64-linux DEPLOY=1",
        "name": "dist-aarch64-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-android DEPLOY=1",
        "name": "dist-android"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-arm-linux DEPLOY=1",
        "name": "dist-arm-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-armhf-linux DEPLOY=1",
        "name": "dist-armhf-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-armv7-linux DEPLOY=1",
        "name": "dist-armv7-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-i586-gnu-i586-i686-musl DEPLOY=1",
        "name": "dist-i586-gnu-i586-i686-musl"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-i686-freebsd DEPLOY=1",
        "name": "dist-i686-freebsd"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-i686-linux DEPLOY=1",
        "name": "dist-i686-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-mips-linux DEPLOY=1",
        "name": "dist-mips-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-mips64-linux DEPLOY=1",
        "name": "dist-mips64-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-mips64el-linux DEPLOY=1",
        "name": "dist-mips64el-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-mipsel-linux DEPLOY=1",
        "name": "dist-mipsel-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-powerpc-linux DEPLOY=1",
        "name": "dist-powerpc-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-powerpc64-linux DEPLOY=1",
        "name": "dist-powerpc64-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-powerpc64le-linux DEPLOY=1",
        "name": "dist-powerpc64le-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-s390x-linux DEPLOY=1",
        "name": "dist-s390x-linux"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-x86_64-freebsd DEPLOY=1",
        "name": "dist-x86_64-freebsd"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-x86_64-musl DEPLOY=1",
        "name": "dist-x86_64-musl"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=dist-x86_64-netbsd DEPLOY=1",
        "name": "dist-x86_64-netbsd"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=asmjs",
        "name": "asmjs"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=i686-gnu",
        "name": "i686-gnu"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=i686-gnu-nopt",
        "name": "i686-gnu-nopt"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=test-various",
        "name": "test-various"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=x86_64-gnu",
        "name": "x86_64-gnu"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=x86_64-gnu-full-bootstrap",
        "name": "x86_64-gnu-full-bootstrap"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=x86_64-gnu-aux",
        "name": "x86_64-gnu-aux"
      },
      {
        "if": "branch = auto OR (type = pull_request AND commit_message =~ /(?i:^update.*\\b(rls|rustfmt|clippy|miri|cargo)\\b)/)",
        "env": "IMAGE=x86_64-gnu-tools",
        "name": "x86_64-gnu-tools"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=x86_64-gnu-debug",
        "name": "x86_64-gnu-debug"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=x86_64-gnu-nopt",
        "name": "x86_64-gnu-nopt"
      },
      {
        "if": "branch = auto",
        "env": "IMAGE=x86_64-gnu-distcheck",
        "name": "x86_64-gnu-distcheck"
      },
      {
        "if": "type = pull_request OR branch = auto",
        "env": "IMAGE=mingw-check",
        "name": "mingw-check"
      },
      {
        "if": "branch = master AND type = push",
        "sudo": false,
        "stage": "publish toolstate",
        "script": "MESSAGE_FILE=$(mktemp -t msg.XXXXXX); . src/ci/docker/x86_64-gnu-tools/repo.sh; commit_toolstate_change \"$MESSAGE_FILE\" \"$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py\" \"$(git rev-parse HEAD)\" \"$(git log --format=%s -n1 HEAD)\" \"$MESSAGE_FILE\" \"$TOOLSTATE_REPO_ACCESS_TOKEN\";",
        "install": [
    ],
    "before_install": [

    ]
  }
],
"fast_finish": true

},
"script": [
"date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)\n",
"stamp sh -x -c "$RUN_SCRIPT"",
"date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)\n"
],
".result": "configured",
"install": [
"case "$TRAVIS_OS_NAME" in linux) travis_retry curl -fo $HOME/stamp https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-03-17-stamp-x86_64-unknown-linux-musl && chmod +x $HOME/stamp && export PATH=$PATH:$HOME ;; osx) if [[ "$RUST_CHECK_TARGET" == dist ]]; then travis_retry brew update && travis_retry brew install xz && travis_retry brew install swig; fi && travis_retry curl -fo /usr/local/bin/sccache https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2018-04-02-sccache-x86_64-apple-darwin && chmod +x /usr/local/bin/sccache && travis_retry curl -fo /usr/local/bin/stamp https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-03-17-stamp-x86_64-apple-darwin && chmod +x /usr/local/bin/stamp && travis_retry curl -f http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz | tar xJf - && export CC=pwd/clang+llvm-7.0.0-x86_64-apple-darwin/bin/clang && export CXX=pwd/clang+llvm-7.0.0-x86_64-apple-darwin/bin/clang++ && export AR=ar ;; esac"
],
"language": "shell",
"services": [
"docker"
],
"global_env": [
"CI_JOB_NAME=$TRAVIS_JOB_NAME"
],
"after_failure": [
"echo "#### Build failed; Disk usage after running script:"; df -h; du . | sort -nr | head -n100\n",
"ls -lat $HOME/Library/Logs/DiagnosticReports/",
"find $HOME/Library/Logs/DiagnosticReports -type f -name '.crash' -not -name '.stage2-.crash' -not -name 'com.apple.CoreSimulator.CoreSimulatorService-.crash' -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \; -exec head -750 {} \; -exec echo travis_fold":"end:crashlog \; || true",
"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",
"cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true",
"dmesg | grep -i kill"
],
"after_success": [
"echo "#### Build successful; Disk usage after running script:"; df -h; du . | sort -nr | head -n100\n",
"if [ "$DEPLOY$DEPLOY_ALT" == "1" ]; then\n  mkdir -p deploy/$TRAVIS_COMMIT;\n  if [ "$TRAVIS_OS_NAME" == "osx" ]; then\n      rm -rf build/dist/doc &&\n      cp -r build/dist/ deploy/$TRAVIS_COMMIT;\n  else\n      rm -rf obj/build/dist/doc &&\n      cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;\n  fi;\n  ls -la deploy/$TRAVIS_COMMIT;\n  deploy_dir=rustc-builds;\n  if [ "$DEPLOY_ALT" == "1" ]; then\n      deploy_dir=rustc-builds-alt;\n  fi;\n  travis_retry aws s3 cp --no-progress --recursive --acl public-read ./deploy s3://rust-lang-ci2/$deploy_dir\nfi\n"
],
"before_script": [
"echo "#### Disk usage before running script:"; df -h; du . | sort -nr | head -n100\n",
"RUN_SCRIPT="src/ci/init_repo.sh . $HOME/rustsrc"; if [ "$TRAVIS_OS_NAME" = "osx" ]; then\n    export RUN_SCRIPT="$RUN_SCRIPT && src/ci/run.sh";\nelse\n    export RUN_SCRIPT="$RUN_SCRIPT && src/ci/docker/run.sh $IMAGE";\n    # Enable core dump on Linux.\n    sudo sh -c 'echo "/checkout/obj/cores/core.%p.%E" > /proc/sys/kernel/core_pattern';\nfi\n",
"if [ "$IMAGE" = mingw-check ]; then\n  # verify the publish_toolstate script works.\n  git clone --depth=1 https://github.com/rust-lang-nursery/rust-toolstate.git;\n  cd rust-toolstate;\n  python2.7 "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "" "";\n  cd ..;\n  rm -rf rust-toolstate;\nfi\n"
],
"notifications": {
"email": false
},
"before_install": [
"pip install --user awscli; export PATH=$PATH:$HOME/.local/bin:$HOME/Library/Python/2.7/bin/",
"mkdir -p $HOME/rustsrc",
"if [ "$TRAVIS_OS_NAME" = linux ]; then echo '{"ipv6":true,"fixed-cidr-v6":"fd9a:8454:6789:13f7::/64"}' | sudo tee /etc/docker/daemon.json; sudo service docker restart; fi"
]
}

You can’t perform that action at this time.