[INFO] fetching crate occlum-pal 0.1.5... [INFO] building occlum-pal-0.1.5 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate occlum-pal 0.1.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate occlum-pal 0.1.5 [INFO] finished tweaking crates.io crate occlum-pal 0.1.5 [INFO] tweaked toml for crates.io crate occlum-pal 0.1.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate occlum-pal 0.1.5 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c08b270a0ec73ea485956ce841e46160f7cab98ca1c63295975c451bcfc9251 [INFO] running `Command { std: "docker" "start" "-a" "4c08b270a0ec73ea485956ce841e46160f7cab98ca1c63295975c451bcfc9251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c08b270a0ec73ea485956ce841e46160f7cab98ca1c63295975c451bcfc9251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c08b270a0ec73ea485956ce841e46160f7cab98ca1c63295975c451bcfc9251", kill_on_drop: false }` [INFO] [stdout] 4c08b270a0ec73ea485956ce841e46160f7cab98ca1c63295975c451bcfc9251 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a443a0cb4e02691d032eaa728c27baa39d5184c8df51ad6cc67c22bf53f98e0 [INFO] running `Command { std: "docker" "start" "-a" "3a443a0cb4e02691d032eaa728c27baa39d5184c8df51ad6cc67c22bf53f98e0", kill_on_drop: false }` [INFO] [stderr] Compiling occlum-pal v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "3a443a0cb4e02691d032eaa728c27baa39d5184c8df51ad6cc67c22bf53f98e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a443a0cb4e02691d032eaa728c27baa39d5184c8df51ad6cc67c22bf53f98e0", kill_on_drop: false }` [INFO] [stdout] 3a443a0cb4e02691d032eaa728c27baa39d5184c8df51ad6cc67c22bf53f98e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be72d9c075eea80f9f50e2ddc9ab888df0edb16b1e8c366a6fc839b3d604c74f [INFO] running `Command { std: "docker" "start" "-a" "be72d9c075eea80f9f50e2ddc9ab888df0edb16b1e8c366a6fc839b3d604c74f", kill_on_drop: false }` [INFO] [stderr] Compiling occlum-pal v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcwsanIp/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-locclum-pal" "-lsgx_uae_service" "-lsgx_enclave_common" "-lsgx_dcap_ql" "-lsgx_dcap_quoteverify" "-lsgx_qe3_logic" "-lsgx_pce_logic" "-lsgx_urts" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcwsanIp/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/occlum/build/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/occlum_pal-d3ef15e3cd857b0e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -locclum-pal [INFO] [stdout] rust-lld: error: unable to find library -lsgx_uae_service [INFO] [stdout] rust-lld: error: unable to find library -lsgx_enclave_common [INFO] [stdout] rust-lld: error: unable to find library -lsgx_dcap_ql [INFO] [stdout] rust-lld: error: unable to find library -lsgx_dcap_quoteverify [INFO] [stdout] rust-lld: error: unable to find library -lsgx_qe3_logic [INFO] [stdout] rust-lld: error: unable to find library -lsgx_pce_logic [INFO] [stdout] rust-lld: error: unable to find library -lsgx_urts [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `occlum-pal` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "be72d9c075eea80f9f50e2ddc9ab888df0edb16b1e8c366a6fc839b3d604c74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be72d9c075eea80f9f50e2ddc9ab888df0edb16b1e8c366a6fc839b3d604c74f", kill_on_drop: false }` [INFO] [stdout] be72d9c075eea80f9f50e2ddc9ab888df0edb16b1e8c366a6fc839b3d604c74f