[INFO] fetching crate occlum-pal 0.1.5... [INFO] building occlum-pal-0.1.5 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate occlum-pal 0.1.5 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate occlum-pal 0.1.5 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9ec3400e9ae9e84829417d7315c04325339d5f7b657b32ca427eb831f5c9449 [INFO] running `Command { std: "docker" "start" "-a" "b9ec3400e9ae9e84829417d7315c04325339d5f7b657b32ca427eb831f5c9449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9ec3400e9ae9e84829417d7315c04325339d5f7b657b32ca427eb831f5c9449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ec3400e9ae9e84829417d7315c04325339d5f7b657b32ca427eb831f5c9449", kill_on_drop: false }` [INFO] [stdout] b9ec3400e9ae9e84829417d7315c04325339d5f7b657b32ca427eb831f5c9449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f76522cbc45a25a772806f1134e5baf7ab283a3e58aa9fa79c4a51ceee907f57 [INFO] running `Command { std: "docker" "start" "-a" "f76522cbc45a25a772806f1134e5baf7ab283a3e58aa9fa79c4a51ceee907f57", 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.92s [INFO] running `Command { std: "docker" "inspect" "f76522cbc45a25a772806f1134e5baf7ab283a3e58aa9fa79c4a51ceee907f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f76522cbc45a25a772806f1134e5baf7ab283a3e58aa9fa79c4a51ceee907f57", kill_on_drop: false }` [INFO] [stdout] f76522cbc45a25a772806f1134e5baf7ab283a3e58aa9fa79c4a51ceee907f57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48dd17fcedb207e0892baea78e4e5dcec17d491c7f255d98e68e6aa8e08ca865 [INFO] running `Command { std: "docker" "start" "-a" "48dd17fcedb207e0892baea78e4e5dcec17d491c7f255d98e68e6aa8e08ca865", 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/rustclh79be/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/rustclh79be/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" "48dd17fcedb207e0892baea78e4e5dcec17d491c7f255d98e68e6aa8e08ca865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48dd17fcedb207e0892baea78e4e5dcec17d491c7f255d98e68e6aa8e08ca865", kill_on_drop: false }` [INFO] [stdout] 48dd17fcedb207e0892baea78e4e5dcec17d491c7f255d98e68e6aa8e08ca865