[INFO] cloning repository https://github.com/enarx/enarx-shim-sgx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enarx/enarx-shim-sgx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenarx%2Fenarx-shim-sgx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenarx%2Fenarx-shim-sgx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aac78528c62f066d26a71a3623e5f86b90e5b558 [INFO] testing enarx/enarx-shim-sgx against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenarx%2Fenarx-shim-sgx" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enarx/enarx-shim-sgx on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/.cargo/config [INFO] removed /workspace/builds/worker-13/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/enarx/enarx-shim-sgx [INFO] finished tweaking git repo https://github.com/enarx/enarx-shim-sgx [INFO] tweaked toml for git repo https://github.com/enarx/enarx-shim-sgx written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/enarx/enarx-shim-sgx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/enarx/enarx-heap` [INFO] [stderr] Updating git repository `https://github.com/enarx/rcrt1` [INFO] [stderr] Updating git repository `https://github.com/enarx/sallyport` [INFO] [stderr] Updating git repository `https://github.com/enarx/sgx` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded goblin v0.4.2 [INFO] [stderr] Downloaded xsave v0.1.1 [INFO] [stderr] Downloaded nbytes v0.1.0 [INFO] [stderr] Downloaded crt0stack v0.1.0 [INFO] [stderr] Downloaded compiler_builtins v0.1.46 [INFO] [stderr] Downloaded lset v0.1.0 [INFO] [stderr] Downloaded const-default-derive v0.1.0 [INFO] [stderr] Downloaded primordial v0.1.0 [INFO] [stderr] Downloaded const-default v0.1.0 [INFO] [stderr] Downloaded goblin v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd34f2b10b5da0a163cb5886e6b634dbd00edfab4d4e7e0e38320def9941f8a4 [INFO] running `Command { std: "docker" "start" "-a" "dd34f2b10b5da0a163cb5886e6b634dbd00edfab4d4e7e0e38320def9941f8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd34f2b10b5da0a163cb5886e6b634dbd00edfab4d4e7e0e38320def9941f8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd34f2b10b5da0a163cb5886e6b634dbd00edfab4d4e7e0e38320def9941f8a4", kill_on_drop: false }` [INFO] [stdout] dd34f2b10b5da0a163cb5886e6b634dbd00edfab4d4e7e0e38320def9941f8a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 086ba60c69c64769cf03616bba56d6a81f4ccc88d50c5aae1cfb110570c35b53 [INFO] running `Command { std: "docker" "start" "-a" "086ba60c69c64769cf03616bba56d6a81f4ccc88d50c5aae1cfb110570c35b53", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling primordial v0.1.0 [INFO] [stderr] Compiling lset v0.1.0 [INFO] [stderr] Compiling compiler_builtins v0.1.46 [INFO] [stderr] Compiling crt0stack v0.1.0 [INFO] [stderr] Compiling nbytes v0.1.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling goblin v0.3.4 [INFO] [stderr] Compiling goblin v0.4.2 [INFO] [stderr] Compiling enarx-heap v0.1.0 (https://github.com/enarx/enarx-heap?rev=6ecf48aa3db78a0cc17f32870c52446dba30f376#6ecf48aa) [INFO] [stderr] Compiling sallyport v0.1.0 (https://github.com/enarx/sallyport?rev=efccf0f#efccf0f5) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rcrt1 v0.1.0 (https://github.com/enarx/rcrt1?rev=2205dc7#2205dc77) [INFO] [stderr] Compiling sgx v0.1.0 (https://github.com/enarx/sgx?rev=4bb50e55bc8717c5bc2a98d680bf1be436cda8de#4bb50e55) [INFO] [stderr] Compiling const-default-derive v0.1.0 [INFO] [stderr] Compiling const-default v0.1.0 [INFO] [stderr] Compiling xsave v0.1.1 [INFO] [stderr] Compiling enarx-shim-sgx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenarx_heap-a74b7dd98ecf00ab.rlib" "/opt/rustwide/target/debug/deps/libgoblin-21f370c7918631c3.rlib" "/opt/rustwide/target/debug/deps/libcrt0stack-6ed9170143f1e2a7.rlib" "/opt/rustwide/target/debug/deps/libsallyport-8dddd8c5d73c179f.rlib" "/opt/rustwide/target/debug/deps/liblibc-e0de7a501cb7e475.rlib" "/opt/rustwide/target/debug/deps/libsgx-e563c41f3b4bbd5c.rlib" "/opt/rustwide/target/debug/deps/libxsave-9e18f35f55ffaafb.rlib" "/opt/rustwide/target/debug/deps/libconst_default-b439de7b4e05e6cd.rlib" "/opt/rustwide/target/debug/deps/libprimordial-3453af06fe32d784.rlib" "/opt/rustwide/target/debug/deps/liblset-b2d7bb314c493168.rlib" "/opt/rustwide/target/debug/deps/libbitflags-bc0f75690c5204db.rlib" "/opt/rustwide/target/debug/deps/librcrt1-c0f6341c1a3e2867.rlib" "/opt/rustwide/target/debug/deps/libgoblin-3ebea48ed34d2ffb.rlib" "/opt/rustwide/target/debug/deps/libplain-0b0b8bdb99fde922.rlib" "/opt/rustwide/target/debug/deps/libscroll-a8e34b818d24065b.rlib" "/opt/rustwide/target/debug/deps/libcompiler_builtins-008cf398d3f6e5b2.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/enarx_shim_sgx-464a01620c9480d4.enarx_shim_sgx.7d2ba21b-cgu.12.rcgu.o: in function `_start': [INFO] [stdout] /opt/rustwide/workdir/src/enclave.rs:44: multiple definition of `_start'; /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o:(.text+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': [INFO] [stdout] (.text+0x16): undefined reference to `__libc_csu_fini' [INFO] [stdout] /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init' [INFO] [stdout] /usr/bin/ld: (.text+0x24): undefined reference to `main' [INFO] [stdout] /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `enarx-shim-sgx` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "086ba60c69c64769cf03616bba56d6a81f4ccc88d50c5aae1cfb110570c35b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "086ba60c69c64769cf03616bba56d6a81f4ccc88d50c5aae1cfb110570c35b53", kill_on_drop: false }` [INFO] [stdout] 086ba60c69c64769cf03616bba56d6a81f4ccc88d50c5aae1cfb110570c35b53