[INFO] fetching crate sgxs-loaders 0.3.3...
[INFO] checking sgxs-loaders-0.3.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate sgxs-loaders 0.3.3 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate sgxs-loaders 0.3.3 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sgxs-loaders 0.3.3
[INFO] finished tweaking crates.io crate sgxs-loaders 0.3.3
[INFO] tweaked toml for crates.io crate sgxs-loaders 0.3.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded report-test v0.3.3
[INFO] [stderr]   Downloaded protoc-rust v2.28.0
[INFO] [stderr]   Downloaded sgx-isa v0.4.0
[INFO] [stderr]   Downloaded protoc v2.28.0
[INFO] [stderr]   Downloaded unix_socket2 v0.5.4
[INFO] [stderr]   Downloaded aesm-client v0.5.4
[INFO] [stderr]   Downloaded sgxs v0.7.4
[INFO] [stderr]   Downloaded protobuf-codegen v2.28.0
[INFO] [stderr]   Downloaded fortanix-sgx-abi v0.4.1
[INFO] [stderr]   Downloaded enclave-runner v0.5.1
[INFO] [stderr]   Downloaded nix v0.15.0
[INFO] [stderr]   Downloaded ipc-queue v0.2.0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cba18cd37d2200fb6b1c64eb571a38486c1133ed68b3712ea34e13660d4548fd
[INFO] running `Command { std: "docker" "start" "-a" "cba18cd37d2200fb6b1c64eb571a38486c1133ed68b3712ea34e13660d4548fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cba18cd37d2200fb6b1c64eb571a38486c1133ed68b3712ea34e13660d4548fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cba18cd37d2200fb6b1c64eb571a38486c1133ed68b3712ea34e13660d4548fd", kill_on_drop: false }`
[INFO] [stdout] cba18cd37d2200fb6b1c64eb571a38486c1133ed68b3712ea34e13660d4548fd
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a19165ba312df0b91823fddb0ea81fc4040eeb855af73fec39a4ed75e44646f0
[INFO] running `Command { std: "docker" "start" "-a" "a19165ba312df0b91823fddb0ea81fc4040eeb855af73fec39a4ed75e44646f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling rustix v0.38.30
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking openssl v0.10.63
[INFO] [stderr]     Checking sgx-isa v0.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]    Compiling protoc v2.28.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling enclave-runner v0.5.1
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling protobuf-codegen v2.28.0
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking fortanix-sgx-abi v0.4.1
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking ipc-queue v0.2.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]    Compiling protoc-rust v2.28.0
[INFO] [stderr]     Checking unix_socket2 v0.5.4
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling aesm-client v0.5.4
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking sgxs v0.7.4
[INFO] [stderr]     Checking sgxs-loaders v0.3.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` fn uses type `defs::PageProperties`, which is not FFI-safe
[INFO] [stdout]   --> src/sgx_enclave_common/defs.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |   pub type EnclaveLoadDataFn = unsafe extern "C" fn(
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 75 | |     target_address: *mut c_void,
[INFO] [stdout] 76 | |     target_size: usize,
[INFO] [stdout] 77 | |     source_buffer: *const Align4096<[u8; 4096]>,
[INFO] [stdout] 78 | |     data_properties: PageProperties,
[INFO] [stdout] 79 | |     enclave_error: Option<&mut u32>,
[INFO] [stdout] 80 | | ) -> usize;
[INFO] [stdout]    | |__________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/sgx_enclave_common/defs.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / bitflags! {
[INFO] [stdout] 39 | |     pub struct PageProperties: u32 {
[INFO] [stdout] 40 | |         const R           = 0x00_01;
[INFO] [stdout] 41 | |         const W           = 0x00_02;
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |     }
[INFO] [stdout] 46 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking report-test v0.3.3
[INFO] [stdout] warning: `extern` fn uses type `defs::PageProperties`, which is not FFI-safe
[INFO] [stdout]   --> src/sgx_enclave_common/defs.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |   pub type EnclaveLoadDataFn = unsafe extern "C" fn(
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 75 | |     target_address: *mut c_void,
[INFO] [stdout] 76 | |     target_size: usize,
[INFO] [stdout] 77 | |     source_buffer: *const Align4096<[u8; 4096]>,
[INFO] [stdout] 78 | |     data_properties: PageProperties,
[INFO] [stdout] 79 | |     enclave_error: Option<&mut u32>,
[INFO] [stdout] 80 | | ) -> usize;
[INFO] [stdout]    | |__________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/sgx_enclave_common/defs.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / bitflags! {
[INFO] [stdout] 39 | |     pub struct PageProperties: u32 {
[INFO] [stdout] 40 | |         const R           = 0x00_01;
[INFO] [stdout] 41 | |         const W           = 0x00_02;
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |     }
[INFO] [stdout] 46 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.73s
[INFO] running `Command { std: "docker" "inspect" "a19165ba312df0b91823fddb0ea81fc4040eeb855af73fec39a4ed75e44646f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a19165ba312df0b91823fddb0ea81fc4040eeb855af73fec39a4ed75e44646f0", kill_on_drop: false }`
[INFO] [stdout] a19165ba312df0b91823fddb0ea81fc4040eeb855af73fec39a4ed75e44646f0
[INFO] checking sgxs-loaders-0.3.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate sgxs-loaders 0.3.3 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate sgxs-loaders 0.3.3 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sgxs-loaders 0.3.3
[INFO] finished tweaking crates.io crate sgxs-loaders 0.3.3
[INFO] tweaked toml for crates.io crate sgxs-loaders 0.3.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] beded7eed9be96b6830bb0b1327f3a7c124d9042d70db4c29b49c55055b3c5c3
[INFO] running `Command { std: "docker" "start" "-a" "beded7eed9be96b6830bb0b1327f3a7c124d9042d70db4c29b49c55055b3c5c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "beded7eed9be96b6830bb0b1327f3a7c124d9042d70db4c29b49c55055b3c5c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "beded7eed9be96b6830bb0b1327f3a7c124d9042d70db4c29b49c55055b3c5c3", kill_on_drop: false }`
[INFO] [stdout] beded7eed9be96b6830bb0b1327f3a7c124d9042d70db4c29b49c55055b3c5c3
[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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9832ef612f827ea6df009be372beb914c0ad42ae209df3e611c9b68accc36459
[INFO] running `Command { std: "docker" "start" "-a" "9832ef612f827ea6df009be372beb914c0ad42ae209df3e611c9b68accc36459", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling rustix v0.38.30
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking openssl v0.10.63
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking sgx-isa v0.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling protoc v2.28.0
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking fortanix-sgx-abi v0.4.1
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling enclave-runner v0.5.1
[INFO] [stderr]     Checking ipc-queue v0.2.0
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]    Compiling protobuf-codegen v2.28.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling protoc-rust v2.28.0
[INFO] [stderr]     Checking unix_socket2 v0.5.4
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling aesm-client v0.5.4
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking sgxs v0.7.4
[INFO] [stderr]     Checking sgxs-loaders v0.3.3 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/isgx/mod.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Fail, Debug)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_SgxIoctlError`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/isgx/mod.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Fail, Debug)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_SgxIoctlError`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/isgx/mod.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Fail, Debug)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Error`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/isgx/mod.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Fail, Debug)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Error`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/isgx/mod.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 | /                 impl PendingMmap {
[INFO] [stdout] 272 | |                     fn append(&mut self, prot: Prot, range: &Range<u64>) -> bool {
[INFO] [stdout] 273 | |                         let can_append = prot == self.prot && self.range.end == range.start;
[INFO] [stdout] 274 | |                         if can_append {
[INFO] [stdout] ...   |
[INFO] [stdout] 278 | |                     }
[INFO] [stdout] 279 | |                 }
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current associated function `add`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/sgx_enclave_common/mod.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Fail, Debug)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_LibraryError`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/sgx_enclave_common/mod.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Fail, Debug)]
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_LibraryError`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sgx_enclave_common/mod.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | #[derive(Fail, Debug)]
[INFO] [stdout]     |          ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Error`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/sgx_enclave_common/mod.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | #[derive(Fail, Debug)]
[INFO] [stdout]     |          ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Error`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `defs::PageProperties`, which is not FFI-safe
[INFO] [stdout]   --> src/sgx_enclave_common/defs.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |   pub type EnclaveLoadDataFn = unsafe extern "C" fn(
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 75 | |     target_address: *mut c_void,
[INFO] [stdout] 76 | |     target_size: usize,
[INFO] [stdout] 77 | |     source_buffer: *const Align4096<[u8; 4096]>,
[INFO] [stdout] 78 | |     data_properties: PageProperties,
[INFO] [stdout] 79 | |     enclave_error: Option<&mut u32>,
[INFO] [stdout] 80 | | ) -> usize;
[INFO] [stdout]    | |__________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/sgx_enclave_common/defs.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | / bitflags! {
[INFO] [stdout] 39 | |     pub struct PageProperties: u32 {
[INFO] [stdout] 40 | |         const R           = 0x00_01;
[INFO] [stdout] 41 | |         const W           = 0x00_02;
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |     }
[INFO] [stdout] 46 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sgxs-loaders` (lib) due to 10 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "9832ef612f827ea6df009be372beb914c0ad42ae209df3e611c9b68accc36459", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9832ef612f827ea6df009be372beb914c0ad42ae209df3e611c9b68accc36459", kill_on_drop: false }`
[INFO] [stdout] 9832ef612f827ea6df009be372beb914c0ad42ae209df3e611c9b68accc36459
