[INFO] fetching crate sgxs-loaders 0.5.0... [INFO] testing sgxs-loaders-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate sgxs-loaders 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate sgxs-loaders 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sgxs-loaders 0.5.0 [INFO] tweaked toml for crates.io crate sgxs-loaders 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sgxs-loaders 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sgxs-loaders 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-macros v0.2.19 [INFO] [stderr] Downloaded which v4.0.2 [INFO] [stderr] Downloaded sgx-isa v0.4.1 [INFO] [stderr] Downloaded sgxs v0.8.0 [INFO] [stderr] Downloaded protoc v2.22.1 [INFO] [stderr] Downloaded report-test v0.5.0 [INFO] [stderr] Downloaded aesm-client v0.6.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded protobuf-codegen v2.22.1 [INFO] [stderr] Downloaded ipc-queue v0.4.0 [INFO] [stderr] Downloaded anstream v0.6.17 [INFO] [stderr] Downloaded crossbeam-channel v0.5.8 [INFO] [stderr] Downloaded protobuf v2.22.1 [INFO] [stderr] Downloaded futures v0.1.30 [INFO] [stderr] Downloaded syn v2.0.50 [INFO] [stderr] Downloaded nix v0.13.1 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded anstyle v1.0.9 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded enclave-runner v0.7.0 [INFO] [stderr] Downloaded unix_socket2 v0.5.4 [INFO] [stderr] Downloaded fortanix-sgx-abi v0.6.0 [INFO] [stderr] Downloaded libc v0.2.170 [INFO] [stderr] Downloaded rustc-demangle v0.1.17 [INFO] [stderr] Downloaded anyhow v1.0.82 [INFO] [stderr] Downloaded protoc-rust v2.22.1 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded cc v1.0.86 [INFO] [stderr] Downloaded insecure-time v0.1.0 [INFO] [stderr] Downloaded nix v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e38e7ed2c200ee73afbbcecc3ffd3aa2d154e644843cc2089e94b6b835175950 [INFO] running `Command { std: "docker" "start" "-a" "e38e7ed2c200ee73afbbcecc3ffd3aa2d154e644843cc2089e94b6b835175950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e38e7ed2c200ee73afbbcecc3ffd3aa2d154e644843cc2089e94b6b835175950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38e7ed2c200ee73afbbcecc3ffd3aa2d154e644843cc2089e94b6b835175950", kill_on_drop: false }` [INFO] [stdout] e38e7ed2c200ee73afbbcecc3ffd3aa2d154e644843cc2089e94b6b835175950 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aee0bc0f1fc49a438e4f2fe4055bc5f1f079c746aad0976a670cd2f85df13f9f [INFO] running `Command { std: "docker" "start" "-a" "aee0bc0f1fc49a438e4f2fe4055bc5f1f079c746aad0976a670cd2f85df13f9f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling sgx-isa v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling sgxs v0.8.0 [INFO] [stderr] Compiling sgxs-loaders v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/isgx/mod.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 212 | / fn add( [INFO] [stdout] 213 | | mapping: &mut Mapping, [INFO] [stdout] 214 | | page: (MeasEAdd, PageChunks, [u8; 4096]), [INFO] [stdout] 215 | | ) -> Result<(), Self::Error> { [INFO] [stdout] | |________________________________- move the `impl` block outside of this associated function `add` [INFO] [stdout] ... [INFO] [stdout] 297 | impl PendingMmap { [INFO] [stdout] | ^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | `PendingMmap` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.68s [INFO] running `Command { std: "docker" "inspect" "aee0bc0f1fc49a438e4f2fe4055bc5f1f079c746aad0976a670cd2f85df13f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aee0bc0f1fc49a438e4f2fe4055bc5f1f079c746aad0976a670cd2f85df13f9f", kill_on_drop: false }` [INFO] [stdout] aee0bc0f1fc49a438e4f2fe4055bc5f1f079c746aad0976a670cd2f85df13f9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37da2beb88d835d35166b03f971ae46fa04b4c180ac528c003ea9389540c6cef [INFO] running `Command { std: "docker" "start" "-a" "37da2beb88d835d35166b03f971ae46fa04b4c180ac528c003ea9389540c6cef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling vcpkg v0.2.10 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling protobuf v2.22.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.9 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling anstream v0.6.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling fortanix-sgx-abi v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling enclave-runner v0.7.0 [INFO] [stderr] Compiling ipc-queue v0.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling unix_socket2 v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling protobuf-codegen v2.22.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling protoc v2.22.1 [INFO] [stderr] Compiling protoc-rust v2.22.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling insecure-time v0.1.0 [INFO] [stderr] Compiling aesm-client v0.6.0 [INFO] [stderr] Compiling sgxs v0.8.0 [INFO] [stderr] Compiling sgxs-loaders v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/isgx/mod.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 212 | / fn add( [INFO] [stdout] 213 | | mapping: &mut Mapping, [INFO] [stdout] 214 | | page: (MeasEAdd, PageChunks, [u8; 4096]), [INFO] [stdout] 215 | | ) -> Result<(), Self::Error> { [INFO] [stdout] | |________________________________- move the `impl` block outside of this associated function `add` [INFO] [stdout] ... [INFO] [stdout] 297 | impl PendingMmap { [INFO] [stdout] | ^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | `PendingMmap` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stdout] error[E0658]: the `!` type is experimental [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enclave-runner-0.7.0/src/usercalls/abi.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | invoke_with_usercalls!(define_usercalls); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35121 for more information [INFO] [stdout] = help: add `#![feature(never_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `invoke_with_usercalls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `exit` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enclave-runner-0.7.0/src/usercalls/interface.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | ) -> std::pin::Pin)> + 'future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result>`, found `usercalls::EnclaveAbort` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enclave-runner-0.7.0/src/usercalls/abi.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | std::pin::Pin)> + $l>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | invoke_with_usercalls!(define_usercalls); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: expected signature `fn(interface::Handler<'_, '_>, _) -> Pin, std::result::Result>)> + 'future)>>` [INFO] [stdout] found signature `fn(interface::Handler<'_, '_>, _) -> Pin, usercalls::EnclaveAbort)> + 'future)>>` [INFO] [stdout] = note: this error originates in the macro `dispatch_return_type` which comes from the expansion of the macro `invoke_with_usercalls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 189 - ) -> std::pin::Pin)> + 'future>> { [INFO] [stdout] 189 + ) -> Pin, std::result::Result>)> + 'future)>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: RegisterArgument` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enclave-runner-0.7.0/src/usercalls/abi.rs:64:59 [INFO] [stdout] | [INFO] [stdout] 64 | (handler, ReturnValue::into_registers(ret)) [INFO] [stdout] | --------------------------- ^^^ the trait `RegisterArgument` is not implemented for `!` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 311 | invoke_with_usercalls!(define_usercalls); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `RegisterArgument`: [INFO] [stdout] () [INFO] [stdout] *const T [INFO] [stdout] *mut T [INFO] [stdout] Option> [INFO] [stdout] bool [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] and 7 others [INFO] [stdout] note: required for `std::result::Result>` to implement `ReturnValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enclave-runner-0.7.0/src/usercalls/abi.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | impl ReturnValue for UsercallResult { [INFO] [stdout] | ---------------- ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: this error originates in the macro `define_usercalls` which comes from the expansion of the macro `invoke_with_usercalls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enclave-runner` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "37da2beb88d835d35166b03f971ae46fa04b4c180ac528c003ea9389540c6cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37da2beb88d835d35166b03f971ae46fa04b4c180ac528c003ea9389540c6cef", kill_on_drop: false }` [INFO] [stdout] 37da2beb88d835d35166b03f971ae46fa04b4c180ac528c003ea9389540c6cef