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