japaric-archived / rust-everywhere

SUPERSEDED by https://github.com/japaric/trust
Apache License 2.0
254 stars 12 forks source link

"qemu: Unsupported syscall: 278" when running ci/script.sh #62

Open vitiral opened 7 years ago

vitiral commented 7 years ago

I am unsure if I am doing something wrong here or if there is some weird dependency issue going on, but I am getting qemu: Unsupported syscall: 278 for ci/script.sh

It is happening in my project for commit: https://github.com/vitiral/rst/commit/5de9cefd88363de2b5fea7d92a2ae25a050606f9

Here are the relevant travis logs, any help would be appreciated:

``` Worker information hostname: travis-worker-gce-org-prod3-5:cb43dbe5-9872-4940-be3b-06140769f473 version: v2.5.0 https://github.com/travis-ci/worker/tree/da3a43228dffc0fcca5a46569ca786b22991979f instance: testing-gce-f78bd673-c235-4002-ae95-bfb2dcad0bc3:travis-ci-sugilite-trusty-1471824869 startup: 21.555240213s system_info Build system information Build language: rust Build group: stable Build dist: trusty Build id: 179337259 Job id: 179337260 travis-build version: bdf1d01c4 Build image provisioning date and time Mon Aug 22 00:52:43 UTC 2016 Operating System Details Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty Linux Version 3.19.0-64-generic Cookbooks Version 152b200 https://github.com/travis-ci/travis-cookbooks/tree/152b200 git version git version 1.9.1 bash version GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. gcc version gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. docker version Client: Version: 1.12.0 API version: 1.24 Go version: go1.6.3 Git commit: 8eab29e Built: Thu Jul 28 22:00:36 2016 OS/Arch: linux/amd64 Server: Version: 1.12.0 API version: 1.24 Go version: go1.6.3 Git commit: 8eab29e Built: Thu Jul 28 22:00:36 2016 OS/Arch: linux/amd64 clang version clang version 3.5.0 (tags/RELEASE_350/final) Target: x86_64-unknown-linux-gnu Thread model: posix jq version jq-1.5 bats version Bats 0.4.0 gimme version v1.0.0 nvm version 0.31.0 perlbrew version /home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.73 postgresql client version psql (PostgreSQL) 9.5.4 phpenv version rbenv 1.0.0-30-g0c7224a rvm version rvm 1.27.0 (latest) by Wayne E. Seguin , Michal Papis [https://rvm.io/] default ruby version ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] Pre-installed Ruby versions jruby-9.1.2.0 ruby-1.9.3-p551 ruby-2.0.0-p648 ruby-2.1.9 ruby-2.2.5 ruby-2.3.1 Pre-installed Node.js versions iojs-v1.6 iojs-v1.6.4 v0.10 v0.10.40 v0.11.16 v0.12.2 v0.12.7 v0.6.21 v0.8.28 v4.1.2 Pre-installed Go versions 1.0.3 1.1.2 1.2.2 1.3.3 1.4.3 1.5.4 1.6.3 mysql version mysql Ver 14.14 Distrib 5.5.50, for debian-linux-gnu (x86_64) using readline 6.3 Pre-installed PostgreSQL versions 9.1.23 9.2.18 9.3.14 9.4.9 9.5.4 Redis version redis-server 3.0.6 MongoDB version MongoDB 3.2.9 RabbitMQ Version 3.6.5 Installed Firefox version firefox 38.4.0esr ant version Apache Ant(TM) version 1.9.3 compiled on April 8 2014 mvn version Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 15:22:22+0000) Maven home: /usr/local/maven Java version: 1.8.0_101, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.19.0-64-generic", arch: "amd64", family: "unix" gradle version ------------------------------------------------------------ Gradle 2.13 ------------------------------------------------------------ Build time: 2016-04-25 04:10:10 UTC Build number: none Revision: 3b427b1481e46232107303c90be7b05079b05b1c Groovy: 2.4.4 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_101 (Oracle Corporation 25.101-b13) OS: Linux 3.19.0-64-generic amd64 kerl list installations 17.0 17.1 17.3 17.4 17.5 18.0 18.1 18.2 18.2.1 R14B02 R14B03 R14B04 R15B R15B01 R15B02 R15B03 R16B R16B01 R16B02 R16B03 R16B03-1 kiex list kiex elixirs elixir-1.0.3 =* elixir-1.0.4 # => - current # =* - current && default # * - default rebar --version rebar 2.6.2 R15B03 20160628_123811 git 2.6.2 lein version WARNING: You're currently running as root; probably by accident. Press control-C to abort or Enter to continue as root. Set LEIN_ROOT to disable this warning. Leiningen 2.5.3 on Java 1.8.0_101 Java HotSpot(TM) 64-Bit Server VM perlbrew list 5.8 (5.8.8) 5.10 (5.10.1) 5.12 (5.12.5) 5.14 (5.14.4) 5.16 (5.16.3) 5.18 (5.18.4) 5.20 (5.20.3) 5.20-extras (5.20.3) 5.20-shrplib (5.20.3) 5.20.3 5.22 (5.22.0) 5.22-extras (5.22.0) 5.22-shrplib (5.22.0) 5.22.0 phpenv versions system 5.4 5.4.45 5.5.37 5.6 * 5.6.24 (set by /home/travis/.phpenv/version) 7.0 7.0.7 hhvm hhvm-stable composer --version Composer version 1.2.0 2016-07-19 01:28:52 fix.CVE-2015-7547 $ export DEBIAN_FRONTEND=noninteractive W: Failed to fetch http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/pollinate/ppa/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/rwky/redis/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/builds/sphinxsearch-rel20/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/builds/sphinxsearch-rel21/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/builds/sphinxsearch-rel22/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/InRelease W: Failed to fetch http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://ppa.launchpad.net/pollinate/ppa/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://ppa.launchpad.net/rwky/redis/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://ppa.launchpad.net/builds/sphinxsearch-rel20/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://ppa.launchpad.net/builds/sphinxsearch-rel21/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://ppa.launchpad.net/builds/sphinxsearch-rel22/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/Release.gpg Unable to connect to ppa.launchpad.net:http: W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... libc6 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 160 not upgraded. Removing symlink /usr/lib/jvm/java-8-oracle-amd64 $ sudo rm -f /usr/lib/jvm/java-8-oracle-amd64 Reload jdk_switcher $ source $HOME/.jdk_switcher_rc git.checkout 1.16s$ git clone --depth=50 --branch=v0.2.7 https://github.com/vitiral/rst.git vitiral/rst Cloning into 'vitiral/rst'... remote: Counting objects: 534, done. remote: Compressing objects: 100% (274/274), done. remote: Total 534 (delta 275), reused 457 (delta 229), pack-reused 0 Receiving objects: 100% (534/534), 4.13 MiB | 0 bytes/s, done. Resolving deltas: 100% (275/275), done. Checking connectivity... done. Note: checking out '5de9cefd88363de2b5fea7d92a2ae25a050606f9'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name $ cd vitiral/rst $ git checkout -qf 5de9cefd88363de2b5fea7d92a2ae25a050606f9 apt Installing APT Packages (BETA) $ export DEBIAN_FRONTEND=noninteractive 9.65s$ sudo -E apt-get -yq update &>> ~/apt-get-update.log 3.85s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install qemu-user-static binfmt-support Reading package lists... Building dependency tree... Reading state information... binfmt-support is already the newest version. binfmt-support set to manually installed. The following NEW packages will be installed: qemu-user-static 0 upgraded, 1 newly installed, 0 to remove and 169 not upgraded. Need to get 7,744 kB of archives. After this operation, 79.5 MB of additional disk space will be used. Get:1 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/universe qemu-user-static amd64 2.0.0+dfsg-2ubuntu1.30 [7,744 kB] Fetched 7,744 kB in 0s (50.1 MB/s) Selecting previously unselected package qemu-user-static. (Reading database ... 94815 files and directories currently installed.) Preparing to unpack .../qemu-user-static_2.0.0+dfsg-2ubuntu1.30_amd64.deb ... Unpacking qemu-user-static (2.0.0+dfsg-2ubuntu1.30) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up qemu-user-static (2.0.0+dfsg-2ubuntu1.30) ... Setting environment variables from .travis.yml $ export PROJECT_NAME=rst $ export DEB_MAINTAINER="Garrett Berg " $ export DEB_DESCRIPTION="requirements tracking tool made for developers" $ export TARGET=aarch64-unknown-linux-gnu 0.01s rust-download Installing Rust 0.11s$ curl -sL https://static.rust-lang.org/rustup.sh -o ~/rust-installer/rustup.sh 11.98s$ sh ~/rust-installer/rustup.sh --prefix=~/rust --spec=stable -y --disable-sudo 2> /dev/null rustup: gpg available. signatures will be verified rustup: downloading manifest for 'stable' rustup: downloading toolchain for 'stable' gpg: Signature made Tue 08 Nov 2016 05:30:31 PM UTC using RSA key ID 7B3B09DC gpg: Good signature from "Rust Language (Tag and Release Signing Key) " gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 108F 6620 5EAE B0AA A8DD 5E1C 85AB 96E6 FA1B E5FE Subkey fingerprint: C134 66B7 E169 A085 1886 3216 5CB4 A934 7B3B 09DC rustup: installing toolchain for 'stable' rustup: extracting installer install: creating uninstall script at /home/travis/rust/lib/rustlib/uninstall.sh install: installing component 'rustc' install: installing component 'rust-std-x86_64-unknown-linux-gnu' install: installing component 'rust-docs' install: installing component 'cargo' Rust is ready to roll. 0.00s 0.00s 0.00s cache.1 Setting up build cache $ export CASHER_DIR=$HOME/.casher 0.09s$ Installing caching utilities 0.00s 1.34sattempting to download cache archive fetching v0.2.7/cache-linux-trusty-8b0234ac938ce5b719c21e958223c2feb8b4e64871d32b403d4af701ff7a7604--cargo-stable.tgz fetching v0.2.7/cache--cargo-stable.tgz fetching master/cache-linux-trusty-8b0234ac938ce5b719c21e958223c2feb8b4e64871d32b403d4af701ff7a7604--cargo-stable.tgz found cache cache.cargo 0.00s 4.27sadding /home/travis/.cargo to cache adding /home/travis/build/vitiral/rst/target to cache $ rustc --version rustc 1.13.0 (2c6933acc 2016-11-07) $ cargo --version cargo 0.13.0-nightly (eca9e15 2016-11-01) before_install 0.00s$ export PATH="$PATH:$HOME/.cargo/bin" install 42.75s$ bash ci/install.sh ++dirname ci/install.sh +. ci/utils.sh +main +install_c_toolchain +case $TARGET in +sudo apt-get install -y --no-install-recommends gcc-aarch64-linux-gnu libc6-arm64-cross libc6-dev-arm64-cross Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: binutils-aarch64-linux-gnu cpp-4.8-aarch64-linux-gnu cpp-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu-base libatomic1-arm64-cross libgcc-4.8-dev-arm64-cross libgcc1-arm64-cross libgomp1-arm64-cross libitm1-arm64-cross linux-libc-dev-arm64-cross Suggested packages: gcc-4.8-locales cpp-doc gcc-4.8-doc libgcc1-dbg-arm64-cross libgomp1-dbg-arm64-cross libitm1-dbg-arm64-cross libatomic1-dbg-arm64-cross libasan0-dbg-arm64-cross libtsan0-dbg-arm64-cross libquadmath-dbg-arm64-cross automake1.9 gdb-aarch64-linux-gnu gcc-doc The following NEW packages will be installed: binutils-aarch64-linux-gnu cpp-4.8-aarch64-linux-gnu cpp-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu-base gcc-aarch64-linux-gnu libatomic1-arm64-cross libc6-arm64-cross libc6-dev-arm64-cross libgcc-4.8-dev-arm64-cross libgcc1-arm64-cross libgomp1-arm64-cross libitm1-arm64-cross linux-libc-dev-arm64-cross 0 upgraded, 14 newly installed, 0 to remove and 169 not upgraded. Need to get 14.8 MB of archives. After this operation, 47.7 MB of additional disk space will be used. Get:1 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8-aarch64-linux-gnu-base amd64 4.8.4-2ubuntu1~14.04.1cross0.11.2 [14.9 kB] Get:2 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8-aarch64-linux-gnu amd64 4.8.4-2ubuntu1~14.04.1cross0.11.2 [3,961 kB] Get:3 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty/main cpp-aarch64-linux-gnu amd64 4:4.8.2-1 [1,964 B] Get:4 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main binutils-aarch64-linux-gnu amd64 2.24-5ubuntu14cross0.11.2 [2,750 kB] Get:5 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty/main libc6-arm64-cross all 2.19-0ubuntu2cross0.10 [992 kB] Get:6 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc1-arm64-cross all 1:4.8.4-2ubuntu1~14.04.1cross0.11.2 [29.2 kB] Get:7 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1-arm64-cross all 4.8.4-2ubuntu1~14.04.1cross0.11.2 [18.5 kB] Get:8 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1-arm64-cross all 4.8.4-2ubuntu1~14.04.1cross0.11.2 [24.1 kB] Get:9 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1-arm64-cross all 4.8.4-2ubuntu1~14.04.1cross0.11.2 [5,902 B] Get:10 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev-arm64-cross all 4.8.4-2ubuntu1~14.04.1cross0.11.2 [163 kB] Get:11 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8-aarch64-linux-gnu amd64 4.8.4-2ubuntu1~14.04.1cross0.11.2 [4,437 kB] Get:12 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty/main gcc-aarch64-linux-gnu amd64 4:4.8.2-1 [1,138 B] Get:13 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty/main linux-libc-dev-arm64-cross all 3.13.0-12.32cross0.10 [754 kB] Get:14 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty/main libc6-dev-arm64-cross all 2.19-0ubuntu2cross0.10 [1,688 kB] Fetched 14.8 MB in 0s (47.1 MB/s) Selecting previously unselected package gcc-4.8-aarch64-linux-gnu-base. (Reading database ... 94895 files and directories currently installed.) Preparing to unpack .../gcc-4.8-aarch64-linux-gnu-base_4.8.4-2ubuntu1~14.04.1cross0.11.2_amd64.deb ... Unpacking gcc-4.8-aarch64-linux-gnu-base (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Selecting previously unselected package cpp-4.8-aarch64-linux-gnu. Preparing to unpack .../cpp-4.8-aarch64-linux-gnu_4.8.4-2ubuntu1~14.04.1cross0.11.2_amd64.deb ... Unpacking cpp-4.8-aarch64-linux-gnu (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Selecting previously unselected package cpp-aarch64-linux-gnu. Preparing to unpack .../cpp-aarch64-linux-gnu_4%3a4.8.2-1_amd64.deb ... Unpacking cpp-aarch64-linux-gnu (4:4.8.2-1) ... Selecting previously unselected package binutils-aarch64-linux-gnu. Preparing to unpack .../binutils-aarch64-linux-gnu_2.24-5ubuntu14cross0.11.2_amd64.deb ... Unpacking binutils-aarch64-linux-gnu (2.24-5ubuntu14cross0.11.2) ... Selecting previously unselected package libc6-arm64-cross. Preparing to unpack .../libc6-arm64-cross_2.19-0ubuntu2cross0.10_all.deb ... Unpacking libc6-arm64-cross (2.19-0ubuntu2cross0.10) ... Selecting previously unselected package libgcc1-arm64-cross. Preparing to unpack .../libgcc1-arm64-cross_1%3a4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ... Unpacking libgcc1-arm64-cross (1:4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Selecting previously unselected package libgomp1-arm64-cross. Preparing to unpack .../libgomp1-arm64-cross_4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ... Unpacking libgomp1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Selecting previously unselected package libitm1-arm64-cross. Preparing to unpack .../libitm1-arm64-cross_4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ... Unpacking libitm1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Selecting previously unselected package libatomic1-arm64-cross. Preparing to unpack .../libatomic1-arm64-cross_4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ... Unpacking libatomic1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Selecting previously unselected package libgcc-4.8-dev-arm64-cross. Preparing to unpack .../libgcc-4.8-dev-arm64-cross_4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ... Unpacking libgcc-4.8-dev-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Selecting previously unselected package gcc-4.8-aarch64-linux-gnu. Preparing to unpack .../gcc-4.8-aarch64-linux-gnu_4.8.4-2ubuntu1~14.04.1cross0.11.2_amd64.deb ... Unpacking gcc-4.8-aarch64-linux-gnu (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Selecting previously unselected package gcc-aarch64-linux-gnu. Preparing to unpack .../gcc-aarch64-linux-gnu_4%3a4.8.2-1_amd64.deb ... Unpacking gcc-aarch64-linux-gnu (4:4.8.2-1) ... Selecting previously unselected package linux-libc-dev-arm64-cross. Preparing to unpack .../linux-libc-dev-arm64-cross_3.13.0-12.32cross0.10_all.deb ... Unpacking linux-libc-dev-arm64-cross (3.13.0-12.32cross0.10) ... Selecting previously unselected package libc6-dev-arm64-cross. Preparing to unpack .../libc6-dev-arm64-cross_2.19-0ubuntu2cross0.10_all.deb ... Unpacking libc6-dev-arm64-cross (2.19-0ubuntu2cross0.10) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up gcc-4.8-aarch64-linux-gnu-base (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Setting up cpp-4.8-aarch64-linux-gnu (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Setting up cpp-aarch64-linux-gnu (4:4.8.2-1) ... Setting up binutils-aarch64-linux-gnu (2.24-5ubuntu14cross0.11.2) ... Setting up libc6-arm64-cross (2.19-0ubuntu2cross0.10) ... Setting up libgcc1-arm64-cross (1:4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Setting up libgomp1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Setting up libitm1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Setting up libatomic1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Setting up libgcc-4.8-dev-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Setting up gcc-4.8-aarch64-linux-gnu (4.8.4-2ubuntu1~14.04.1cross0.11.2) ... Setting up gcc-aarch64-linux-gnu (4:4.8.2-1) ... Setting up linux-libc-dev-arm64-cross (3.13.0-12.32cross0.10) ... Setting up libc6-dev-arm64-cross (2.19-0ubuntu2cross0.10) ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ... +install_rustup +sh /home/travis/rust/lib/rustlib/uninstall.sh install: uninstalling component 'rustc' install: uninstalling component 'rust-std-x86_64-unknown-linux-gnu' install: uninstalling component 'rust-docs' install: uninstalling component 'cargo' Rust is uninstalled. +curl https://sh.rustup.rs -sSf +sh -s -- -y --default-toolchain=stable info: downloading installer info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' info: downloading component 'rustc' info: downloading component 'rust-std' info: downloading component 'rust-docs' info: downloading component 'cargo' info: installing component 'rustc' info: installing component 'rust-std' info: installing component 'rust-docs' info: installing component 'cargo' info: default toolchain set to 'stable' stable installed - rustc 1.13.0 (2c6933acc 2016-11-07) +rustc -V rustc 1.13.0 (2c6933acc 2016-11-07) +cargo -V cargo 0.13.0-nightly (eca9e15 2016-11-01) +install_standard_crates ++host ++case "$TRAVIS_OS_NAME" in ++echo x86_64-unknown-linux-gnu +'[' x86_64-unknown-linux-gnu '!=' aarch64-unknown-linux-gnu ']' +rustup target add aarch64-unknown-linux-gnu info: downloading component 'rust-std' for 'aarch64-unknown-linux-gnu' 43.7 MiB / 43.7 MiB (100 %) 31.7 MiB/s ETA: 0 s info: installing component 'rust-std' for 'aarch64-unknown-linux-gnu' +configure_cargo ++gcc_prefix ++case "$TARGET" in ++echo aarch64-linux-gnu- +local prefix=aarch64-linux-gnu- +'[' '!' -z aarch64-linux-gnu- ']' +aarch64-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=aarch64-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/aarch64-linux-gnu/4.8/lto-wrapper Target: aarch64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/aarch64-linux-gnu/include/c++/4.8.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-arm64-cross/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-arm64-cross --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-arm64-cross --with-arch-directory=arm64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libgcj --enable-multiarch --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --includedir=/usr/aarch64-linux-gnu/include Thread model: posix gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) +mkdir -p .cargo +cat 13.34s$ bash ci/script.sh ++dirname ci/script.sh +. ci/utils.sh +main +run_test_suite +case $TARGET in +export QEMU_LD_PREFIX=/usr/aarch64-linux-gnu +QEMU_LD_PREFIX=/usr/aarch64-linux-gnu +'[' '!' -z /usr/aarch64-linux-gnu ']' +export RUST_TEST_THREADS=1 +RUST_TEST_THREADS=1 +cargo build --target aarch64-unknown-linux-gnu --verbose Fresh bitflags v0.7.0 Fresh unicode-width v0.1.3 Fresh log v0.3.6 Fresh strsim v0.5.2 Fresh fern v0.3.5 Fresh vec_map v0.6.0 Fresh strfmt v0.1.5 Fresh ansi_term v0.9.0 Fresh winapi v0.2.8 Fresh lazy_static v0.1.16 Fresh ansi_term v0.7.5 Fresh regex-syntax v0.3.9 Fresh winapi-build v0.1.1 Fresh unicode-segmentation v0.1.2 Fresh itertools v0.4.19 Fresh utf8-ranges v0.1.3 Fresh kernel32-sys v0.2.2 Fresh libc v0.2.17 Fresh rustc-serialize v0.3.21 Fresh clap v2.19.0 Fresh memchr v0.1.11 Fresh toml v0.2.1 Fresh aho-corasick v0.5.3 Fresh thread-id v2.0.0 Fresh time v0.1.35 Fresh thread_local v0.2.7 Fresh regex v0.1.80 Compiling rst_app v0.2.7 (file:///home/travis/build/vitiral/rst) Running `rustc src/lib.rs --crate-name rst_app --crate-type lib -g -C metadata=e0e424a3d7676d67 --out-dir /home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps --emit=dep-info,link --target aarch64-unknown-linux-gnu -C linker=aarch64-linux-gnu-gcc -L dependency=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps --extern lazy_static=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/liblazy_static-3a04918be71c80ee.rlib --extern ansi_term=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libansi_term-3a668ea74b382988.rlib --extern log=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/liblog-bf16bb9a4912b11d.rlib --extern clap=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libclap-064646e54df2564d.rlib --extern time=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libtime-750bfdd52feafcb7.rlib --extern rustc_serialize=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/librustc_serialize-b495e2b03d862e12.rlib --extern itertools=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libitertools-42383a1bef75ce72.rlib --extern regex=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libregex-36c8e259ac5ba542.rlib --extern toml=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libtoml-cf3bfced9e77aba4.rlib --extern fern=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libfern-59dcc518f0a5bd64.rlib --extern strfmt=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libstrfmt-60b9b739326852fd.rlib` Running `rustc src/bin/rst.rs --crate-name rst --crate-type bin -g -C metadata=e0e424a3d7676d67 --out-dir /home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug --emit=dep-info,link --target aarch64-unknown-linux-gnu -C linker=aarch64-linux-gnu-gcc -L dependency=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps --extern lazy_static=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/liblazy_static-3a04918be71c80ee.rlib --extern ansi_term=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libansi_term-3a668ea74b382988.rlib --extern log=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/liblog-bf16bb9a4912b11d.rlib --extern clap=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libclap-064646e54df2564d.rlib --extern time=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libtime-750bfdd52feafcb7.rlib --extern rustc_serialize=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/librustc_serialize-b495e2b03d862e12.rlib --extern itertools=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libitertools-42383a1bef75ce72.rlib --extern regex=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libregex-36c8e259ac5ba542.rlib --extern toml=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libtoml-cf3bfced9e77aba4.rlib --extern fern=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libfern-59dcc518f0a5bd64.rlib --extern strfmt=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/libstrfmt-60b9b739326852fd.rlib --extern rst_app=/home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/deps/librst_app.rlib` Finished debug [unoptimized + debuginfo] target(s) in 12.92 secs +cargo run --target aarch64-unknown-linux-gnu Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs Running `target/aarch64-unknown-linux-gnu/debug/rst` qemu: Unsupported syscall: 278 rst 0.2.7 https://github.com/vitiral/rst the requirements tracking tool made for developers. Call `rst init -t` for a tutorial USAGE: rst [FLAGS] [SUBCOMMAND] FLAGS: -v sets the level of verbosity, use multiple (up to 3) to increase -q, --quiet if set no output will be printed -h, --help Prints help information -V, --version Prints version information SUBCOMMANDS: tutorial start the interactive tutorial init initiailze the repository in the cwd ls list artifacts according to various parameters check check for any errors in the project help Prints this message or the help of the given subcommand(s) The command "bash ci/script.sh" exited with 2. cache.2 store build cache 0.00s 12.35schange detected (content changed, file is created, or file is deleted): /home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/.fingerprint/rst_app-e0e424a3d7676d67/bin-rst /home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/.fingerprint/rst_app-e0e424a3d7676d67/bin-rst.json /home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/.fingerprint/rst_app-e0e424a3d7676d67/lib-rst_app /home/travis/build/vitiral/rst/target/aarch64-unknown-linux-gnu/debug/.fingerprint/rst_app-e0e424a3d7676d67/lib-rst_app.json changes detected, packing new archive . . uploading archive Done. Your build exited with 1. ```
vitiral commented 7 years ago

it looks like this is an issue with travis, but the "distro: trusty" flag isn't working anymore.

probably related to this issue

japaric commented 7 years ago

"qemu: Unsupported syscall: 278"

That's a new one. I've seen plenty of "qemu: Unsupported syscall: 384" before but that one doesn't cause problems AFAICT.

Something that should help is using a newer QEMU release. But you'll have to either compile it yourself (slow) or use e.g. Ubuntu 16.04 inside a Docker container. The problem with the latter is that it also bumps your binary glibc requirement (>=2.21 I think) for this target.