[INFO] fetching crate sgxs-loaders 0.5.0... [INFO] checking sgxs-loaders-0.5.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate sgxs-loaders 0.5.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sgxs-loaders 0.5.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sgx-isa v0.4.1 [INFO] [stderr] Downloaded sgxs v0.8.0 [INFO] [stderr] Downloaded ipc-queue v0.4.0 [INFO] [stderr] Downloaded aesm-client v0.6.0 [INFO] [stderr] Downloaded fortanix-sgx-abi v0.6.0 [INFO] [stderr] Downloaded protoc v2.22.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.17 [INFO] [stderr] Downloaded protoc-rust v2.22.1 [INFO] [stderr] Downloaded unix_socket2 v0.5.4 [INFO] [stderr] Downloaded enclave-runner v0.7.0 [INFO] [stderr] Downloaded report-test v0.5.0 [INFO] [stderr] Downloaded insecure-time v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 387ed35c67d14ad3c7bf7c6cdfa743105a43a2a872ca898c677643e0ad9e3365 [INFO] running `Command { std: "docker" "start" "-a" "387ed35c67d14ad3c7bf7c6cdfa743105a43a2a872ca898c677643e0ad9e3365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "387ed35c67d14ad3c7bf7c6cdfa743105a43a2a872ca898c677643e0ad9e3365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "387ed35c67d14ad3c7bf7c6cdfa743105a43a2a872ca898c677643e0ad9e3365", kill_on_drop: false }` [INFO] [stdout] 387ed35c67d14ad3c7bf7c6cdfa743105a43a2a872ca898c677643e0ad9e3365 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 546fe67f25b5eeb5697d1e5058a2519ace92be720dae793cf6cda936cbed666b [INFO] running `Command { std: "docker" "start" "-a" "546fe67f25b5eeb5697d1e5058a2519ace92be720dae793cf6cda936cbed666b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling vcpkg v0.2.10 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling protobuf v2.22.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking sgx-isa v0.4.1 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling enclave-runner v0.7.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking fortanix-sgx-abi v0.6.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ipc-queue v0.4.0 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking unix_socket2 v0.5.4 [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 which v4.0.2 [INFO] [stderr] Compiling protoc v2.22.1 [INFO] [stderr] Compiling protobuf-codegen v2.22.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking insecure-time v0.1.0 [INFO] [stderr] Compiling protoc-rust v2.22.1 [INFO] [stderr] Compiling aesm-client v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking sgxs v0.8.0 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking 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] [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-06-28; 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] running `Command { std: "docker" "inspect" "546fe67f25b5eeb5697d1e5058a2519ace92be720dae793cf6cda936cbed666b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546fe67f25b5eeb5697d1e5058a2519ace92be720dae793cf6cda936cbed666b", kill_on_drop: false }` [INFO] [stdout] 546fe67f25b5eeb5697d1e5058a2519ace92be720dae793cf6cda936cbed666b