[INFO] fetching crate sgxs-tools 0.8.6... [INFO] checking sgxs-tools-0.8.6 against nightly-2024-10-25 for legacyreceiver_rename [INFO] extracting crate sgxs-tools 0.8.6 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate sgxs-tools 0.8.6 on toolchain nightly-2024-10-25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sgxs-tools 0.8.6 [INFO] finished tweaking crates.io crate sgxs-tools 0.8.6 [INFO] tweaked toml for crates.io crate sgxs-tools 0.8.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate sgxs-tools 0.8.6 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" "+nightly-2024-10-25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 842bdb051e7cf1619f34eff388b77280d2f0ee7199aa6ac1673dd1220e9e4906 [INFO] running `Command { std: "docker" "start" "-a" "842bdb051e7cf1619f34eff388b77280d2f0ee7199aa6ac1673dd1220e9e4906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "842bdb051e7cf1619f34eff388b77280d2f0ee7199aa6ac1673dd1220e9e4906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842bdb051e7cf1619f34eff388b77280d2f0ee7199aa6ac1673dd1220e9e4906", kill_on_drop: false }` [INFO] [stdout] 842bdb051e7cf1619f34eff388b77280d2f0ee7199aa6ac1673dd1220e9e4906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-25" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 837188f5268e08c907d046634fd87a831ff04c4153a4c4da2274b8585066ef67 [INFO] running `Command { std: "docker" "start" "-a" "837188f5268e08c907d046634fd87a831ff04c4153a4c4da2274b8585066ef67", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.141 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.141 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking sgx-isa v0.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling enclave-runner v0.5.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling protoc v2.27.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling dcap-ql-sys v0.2.1 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking fortanix-sgx-abi v0.4.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking ipc-queue v0.2.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling protobuf-codegen v2.27.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling protoc-rust v2.27.1 [INFO] [stderr] Checking unix_socket2 v0.5.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling aesm-client v0.5.4 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking partition-identity v0.2.8 [INFO] [stderr] Checking proc-mounts v0.2.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Checking sgxs v0.7.3 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking sgxs-loaders v0.3.3 [INFO] [stderr] Checking dcap-ql v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking report-test v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking sgxs-tools v0.8.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `unix` [INFO] [stdout] --> src/bin/sgxs-load.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | if cfg!(target_os = "unix") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unix` [INFO] [stdout] --> src/bin/sgxs-load.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | if cfg!(target_os = "unix") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/sgxs-append.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_UsageError` [INFO] [stdout] 34 | #[fail(display = "Usage error")] [INFO] [stdout] 35 | struct UsageError(Cow<'static, str>); [INFO] [stdout] | ---------- `UsageError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/sgxs-append.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_UsageError` [INFO] [stdout] 34 | #[fail(display = "Usage error")] [INFO] [stdout] 35 | struct UsageError(Cow<'static, str>); [INFO] [stdout] | ---------- `UsageError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/sgxs-append.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_UsageError` [INFO] [stdout] 34 | #[fail(display = "Usage error")] [INFO] [stdout] 35 | struct UsageError(Cow<'static, str>); [INFO] [stdout] | ---------- `UsageError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/sgxs-append.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_UsageError` [INFO] [stdout] 34 | #[fail(display = "Usage error")] [INFO] [stdout] 35 | struct UsageError(Cow<'static, str>); [INFO] [stdout] | ---------- `UsageError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui_hidden` is never read [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Tests { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | pub ui_hidden: FnvHashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DetectError` [INFO] [stdout] 83 | enum DetectError { [INFO] [stdout] | ----------- `DetectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DetectError` [INFO] [stdout] 83 | enum DetectError { [INFO] [stdout] | ----------- `DetectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Root` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Isa` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SgxCpuSupport` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SgxCpuConfiguration` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EnclaveAttributes` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EnclavePageCache` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SgxFeaturesCat` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SgxFeatures` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EpcSize` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `SgxFeaturesCat` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxFeatures` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxFeatures` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1077 | | "SGX features" => Category(SgxFeaturesCat, tests: { [INFO] [stdout] | | -------------- `SgxFeaturesCat` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `SgxFeaturesCat` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EpcSize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EpcSize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1077 | | "SGX features" => Category(SgxFeaturesCat, tests: { [INFO] [stdout] | | -------------- `SgxFeaturesCat` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxCpuSupport` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxCpuSupport` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxCpuConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxCpuConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveAttributes` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveAttributes` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclavePageCache` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclavePageCache` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxFeaturesCat` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxFeaturesCat` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Flc` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `FlcCpuSupport` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `FlcCpuConfiguration` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclaveProdWrap` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Flc` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `FlcCpuSupport` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `FlcCpuSupport` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1083 | | "Flexible launch control" => Category(Flc, tests: { [INFO] [stdout] | | --- `Flc` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Flc` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `FlcCpuConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `FlcCpuConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1083 | | "Flexible launch control" => Category(Flc, tests: { [INFO] [stdout] | | --- `Flc` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Flc` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProdWrap` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProdWrap` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1083 | | "Flexible launch control" => Category(Flc, tests: { [INFO] [stdout] | | --- `Flc` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Psw` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `DeviceLoader` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EncllibLoader` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `AesmService` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclave` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclaveDebug` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclaveProd` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclaveProdWl` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `RunEnclave` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveDebug` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveDebug` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1099 | | "Able to launch enclaves" => Category(RunEnclave, tests: { [INFO] [stdout] | | ---------- `RunEnclave` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `RunEnclave` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProd` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProd` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1099 | | "Able to launch enclaves" => Category(RunEnclave, tests: { [INFO] [stdout] | | ---------- `RunEnclave` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `RunEnclave` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProdWl` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProdWl` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1099 | | "Able to launch enclaves" => Category(RunEnclave, tests: { [INFO] [stdout] | | ---------- `RunEnclave` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `DeviceLoader` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `DeviceLoader` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1091 | | "SGX system software" => Category(Psw, tests: { [INFO] [stdout] | | --- `Psw` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EncllibLoader` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EncllibLoader` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1091 | | "SGX system software" => Category(Psw, tests: { [INFO] [stdout] | | --- `Psw` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `AesmService` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `AesmService` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1091 | | "SGX system software" => Category(Psw, tests: { [INFO] [stdout] | | --- `Psw` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclave` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclave` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1091 | | "SGX system software" => Category(Psw, tests: { [INFO] [stdout] | | --- `Psw` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `DataShield` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EnclaveOS` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `GrapheneDevice` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `PermDaemon` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `EnclaveOS` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `GrapheneDevice` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `GrapheneDevice` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1110 | | "EnclaveOS" => Category(EnclaveOS, tests: { [INFO] [stdout] | | --------- `EnclaveOS` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `EnclaveOS` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `PermDaemon` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `PermDaemon` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1110 | | "EnclaveOS" => Category(EnclaveOS, tests: { [INFO] [stdout] | | --------- `EnclaveOS` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EnclaveManager` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `DataShield` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveOS` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveOS` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1108 | | "DataShield Components" => Category(DataShield, tests: { [INFO] [stdout] | | ---------- `DataShield` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `DataShield` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveManager` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveManager` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1108 | | "DataShield Components" => Category(DataShield, tests: { [INFO] [stdout] | | ---------- `DataShield` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Root` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Isa` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 257 | let ui_root = tests_inner!( node tests "root" => Category(Root, tests: { $($rest)* } ) ); [INFO] [stdout] | ---- `Root` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Root` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Flc` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Flc` is not local [INFO] [stdout] ... [INFO] [stdout] 257 | let ui_root = tests_inner!( node tests "root" => Category(Root, tests: { $($rest)* } ) ); [INFO] [stdout] | ---- `Root` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Root` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Psw` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 257 | let ui_root = tests_inner!( node tests "root" => Category(Root, tests: { $($rest)* } ) ); [INFO] [stdout] | ---- `Root` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Root` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `DataShield` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `DataShield` is not local [INFO] [stdout] ... [INFO] [stdout] 257 | let ui_root = tests_inner!( node tests "root" => Category(Root, tests: { $($rest)* } ) ); [INFO] [stdout] | ---- `Root` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ui_hidden` is never read [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Tests { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | pub ui_hidden: FnvHashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DetectError` [INFO] [stdout] 83 | enum DetectError { [INFO] [stdout] | ----------- `DetectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DetectError` [INFO] [stdout] 83 | enum DetectError { [INFO] [stdout] | ----------- `DetectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Root` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Isa` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SgxCpuSupport` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SgxCpuConfiguration` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EnclaveAttributes` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EnclavePageCache` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SgxFeaturesCat` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `SgxFeatures` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EpcSize` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `SgxFeaturesCat` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxFeatures` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxFeatures` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1077 | | "SGX features" => Category(SgxFeaturesCat, tests: { [INFO] [stdout] | | -------------- `SgxFeaturesCat` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `SgxFeaturesCat` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EpcSize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EpcSize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1077 | | "SGX features" => Category(SgxFeaturesCat, tests: { [INFO] [stdout] | | -------------- `SgxFeaturesCat` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxCpuSupport` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxCpuSupport` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxCpuConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxCpuConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveAttributes` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveAttributes` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclavePageCache` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclavePageCache` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxFeaturesCat` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `SgxFeaturesCat` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] | | --- `Isa` is not local [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Flc` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `FlcCpuSupport` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `FlcCpuConfiguration` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclaveProdWrap` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Flc` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `FlcCpuSupport` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `FlcCpuSupport` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1083 | | "Flexible launch control" => Category(Flc, tests: { [INFO] [stdout] | | --- `Flc` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Flc` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `FlcCpuConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `FlcCpuConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1083 | | "Flexible launch control" => Category(Flc, tests: { [INFO] [stdout] | | --- `Flc` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Flc` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProdWrap` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProdWrap` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1083 | | "Flexible launch control" => Category(Flc, tests: { [INFO] [stdout] | | --- `Flc` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Psw` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `DeviceLoader` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EncllibLoader` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `AesmService` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclave` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclaveDebug` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclaveProd` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `RunEnclaveProdWl` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `RunEnclave` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveDebug` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveDebug` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1099 | | "Able to launch enclaves" => Category(RunEnclave, tests: { [INFO] [stdout] | | ---------- `RunEnclave` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `RunEnclave` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProd` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProd` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1099 | | "Able to launch enclaves" => Category(RunEnclave, tests: { [INFO] [stdout] | | ---------- `RunEnclave` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `RunEnclave` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProdWl` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclaveProdWl` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1099 | | "Able to launch enclaves" => Category(RunEnclave, tests: { [INFO] [stdout] | | ---------- `RunEnclave` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `DeviceLoader` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `DeviceLoader` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1091 | | "SGX system software" => Category(Psw, tests: { [INFO] [stdout] | | --- `Psw` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EncllibLoader` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EncllibLoader` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1091 | | "SGX system software" => Category(Psw, tests: { [INFO] [stdout] | | --- `Psw` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `AesmService` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `AesmService` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1091 | | "SGX system software" => Category(Psw, tests: { [INFO] [stdout] | | --- `Psw` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclave` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `RunEnclave` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1091 | | "SGX system software" => Category(Psw, tests: { [INFO] [stdout] | | --- `Psw` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `DataShield` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EnclaveOS` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `GrapheneDevice` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `PermDaemon` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `EnclaveOS` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `GrapheneDevice` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `GrapheneDevice` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1110 | | "EnclaveOS" => Category(EnclaveOS, tests: { [INFO] [stdout] | | --------- `EnclaveOS` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `EnclaveOS` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `PermDaemon` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `PermDaemon` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1110 | | "EnclaveOS" => Category(EnclaveOS, tests: { [INFO] [stdout] | | --------- `EnclaveOS` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | impl $crate::tests::Name for $test { [INFO] [stdout] | ^^^^^-------------------^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `EnclaveManager` is not local [INFO] [stdout] | `Name` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `DataShield` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveOS` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveOS` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1108 | | "DataShield Components" => Category(DataShield, tests: { [INFO] [stdout] | | ---------- `DataShield` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `DataShield` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveManager` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `EnclaveManager` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1108 | | "DataShield Components" => Category(DataShield, tests: { [INFO] [stdout] | | ---------- `DataShield` is not local [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Root` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Isa` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Isa` is not local [INFO] [stdout] ... [INFO] [stdout] 257 | let ui_root = tests_inner!( node tests "root" => Category(Root, tests: { $($rest)* } ) ); [INFO] [stdout] | ---- `Root` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Root` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Flc` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Flc` is not local [INFO] [stdout] ... [INFO] [stdout] 257 | let ui_root = tests_inner!( node tests "root" => Category(Root, tests: { $($rest)* } ) ); [INFO] [stdout] | ---- `Root` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Root` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Psw` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `Psw` is not local [INFO] [stdout] ... [INFO] [stdout] 257 | let ui_root = tests_inner!( node tests "root" => Category(Root, tests: { $($rest)* } ) ); [INFO] [stdout] | ---- `Root` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | impl Dependency for $test { [INFO] [stdout] | ^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^^^^ [INFO] [stdout] | | | [INFO] [stdout] | `Dependency` is not local `Root` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `DataShield` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `tests_inner` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `tests_inner` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sgx_detect/tests/scaffold.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | #[dependency] [INFO] [stdout] | ^ `__missing_dependency_attribute__` is not local [INFO] [stdout] ... [INFO] [stdout] 218 | $name [INFO] [stdout] | - `DataShield` is not local [INFO] [stdout] ... [INFO] [stdout] 257 | let ui_root = tests_inner!( node tests "root" => Category(Root, tests: { $($rest)* } ) ); [INFO] [stdout] | ---- `Root` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/sgx_detect/tests/mod.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn new() -> Tests { [INFO] [stdout] | --------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 1067 | let mut tests = tests! { [INFO] [stdout] | _________________________- [INFO] [stdout] 1068 | | "SGX instruction set" => Category(Isa, tests: { [INFO] [stdout] 1069 | | @[update_supported = cpu] [INFO] [stdout] 1070 | | "CPU support" => Test(SgxCpuSupport), [INFO] [stdout] ... | [INFO] [stdout] 1126 | | //}, [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `dependency` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `dependency` may come from an old version of the `sgxs_tools` crate, try updating your dependency with `cargo update -p sgxs_tools` [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: this warning originates in the attribute macro `dependency` which comes from the expansion of the macro `tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.49s [INFO] running `Command { std: "docker" "inspect" "837188f5268e08c907d046634fd87a831ff04c4153a4c4da2274b8585066ef67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837188f5268e08c907d046634fd87a831ff04c4153a4c4da2274b8585066ef67", kill_on_drop: false }` [INFO] [stdout] 837188f5268e08c907d046634fd87a831ff04c4153a4c4da2274b8585066ef67