[INFO] fetching crate sgxs-loaders 0.4.0...
[INFO] testing sgxs-loaders-0.4.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate sgxs-loaders 0.4.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate sgxs-loaders 0.4.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sgxs-loaders 0.4.0
[INFO] finished tweaking crates.io crate sgxs-loaders 0.4.0
[INFO] tweaked toml for crates.io crate sgxs-loaders 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 31 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (available: v2.6.0)
[INFO] [stderr]       Adding libloading v0.5.2 (available: v0.8.5)
[INFO] [stderr]       Adding nix v0.15.0 (available: v0.29.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb20824cd566aafd66b537b80da840c44eac0d996afe9569c9d0cc3a53dda4d3
[INFO] running `Command { std: "docker" "start" "-a" "fb20824cd566aafd66b537b80da840c44eac0d996afe9569c9d0cc3a53dda4d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb20824cd566aafd66b537b80da840c44eac0d996afe9569c9d0cc3a53dda4d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb20824cd566aafd66b537b80da840c44eac0d996afe9569c9d0cc3a53dda4d3", kill_on_drop: false }`
[INFO] [stdout] fb20824cd566aafd66b537b80da840c44eac0d996afe9569c9d0cc3a53dda4d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12eb3ce1ae6ae4dcde313d176622032c81497e0912401986e7207cd636f27257
[INFO] running `Command { std: "docker" "start" "-a" "12eb3ce1ae6ae4dcde313d176622032c81497e0912401986e7207cd636f27257", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling sgx-isa v0.4.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling sgxs v0.8.0
[INFO] [stderr]    Compiling sgxs-loaders v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/isgx/mod.rs:274:17
[INFO] [stdout]     |
[INFO] [stdout] 208 | /     fn add(
[INFO] [stdout] 209 | |         mapping: &mut Mapping<Self>,
[INFO] [stdout] 210 | |         page: (MeasEAdd, PageChunks, [u8; 4096]),
[INFO] [stdout] 211 | |     ) -> Result<(), Self::Error> {
[INFO] [stdout]     | |________________________________- move the `impl` block outside of this associated function `add`
[INFO] [stdout] ...
[INFO] [stdout] 274 |                   impl PendingMmap {
[INFO] [stdout]     |                   ^^^^^-----------
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        `PendingMmap` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.92s
[INFO] running `Command { std: "docker" "inspect" "12eb3ce1ae6ae4dcde313d176622032c81497e0912401986e7207cd636f27257", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12eb3ce1ae6ae4dcde313d176622032c81497e0912401986e7207cd636f27257", kill_on_drop: false }`
[INFO] [stdout] 12eb3ce1ae6ae4dcde313d176622032c81497e0912401986e7207cd636f27257
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 71ac36334e9f534b4a13b3d9032cf66aa5c208d3b2684b6ed3dbff6934b00631
[INFO] running `Command { std: "docker" "start" "-a" "71ac36334e9f534b4a13b3d9032cf66aa5c208d3b2684b6ed3dbff6934b00631", kill_on_drop: false }`
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/isgx/mod.rs:274:17
[INFO] [stdout]     |
[INFO] [stdout] 208 | /     fn add(
[INFO] [stdout] 209 | |         mapping: &mut Mapping<Self>,
[INFO] [stdout] 210 | |         page: (MeasEAdd, PageChunks, [u8; 4096]),
[INFO] [stdout] 211 | |     ) -> Result<(), Self::Error> {
[INFO] [stdout]     | |________________________________- move the `impl` block outside of this associated function `add`
[INFO] [stdout] ...
[INFO] [stdout] 274 |                   impl PendingMmap {
[INFO] [stdout]     |                   ^^^^^-----------
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        `PendingMmap` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sgxs-loaders v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `aesm_client`
[INFO] [stdout]  --> tests/loaders.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use aesm_client::AesmClient;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `aesm_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `report_test`
[INFO] [stdout]   --> tests/loaders.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         report_test::report(&Default::default(), &mut loader).expect("error getting report");
[INFO] [stdout]    |         ^^^^^^^^^^^ use of undeclared crate or module `report_test`
[INFO] [stdout] ...
[INFO] [stdout] 30 |     test_loader!(isgx::Device::new());
[INFO] [stdout]    |     --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `test_loader` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `report_test`
[INFO] [stdout]   --> tests/loaders.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         report_test::report(&Default::default(), &mut loader).expect("error getting report");
[INFO] [stdout]    |         ^^^^^^^^^^^ use of undeclared crate or module `report_test`
[INFO] [stdout] ...
[INFO] [stdout] 37 |     test_loader!(sgx_enclave_common::Library::load(None));
[INFO] [stdout]    |     ----------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `test_loader` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sgxs-loaders` (test "loaders") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/isgx/mod.rs:274:17
[INFO] [stdout]     |
[INFO] [stdout] 208 | /     fn add(
[INFO] [stdout] 209 | |         mapping: &mut Mapping<Self>,
[INFO] [stdout] 210 | |         page: (MeasEAdd, PageChunks, [u8; 4096]),
[INFO] [stdout] 211 | |     ) -> Result<(), Self::Error> {
[INFO] [stdout]     | |________________________________- move the `impl` block outside of this associated function `add`
[INFO] [stdout] ...
[INFO] [stdout] 274 |                   impl PendingMmap {
[INFO] [stdout]     |                   ^^^^^-----------
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        `PendingMmap` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "71ac36334e9f534b4a13b3d9032cf66aa5c208d3b2684b6ed3dbff6934b00631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71ac36334e9f534b4a13b3d9032cf66aa5c208d3b2684b6ed3dbff6934b00631", kill_on_drop: false }`
[INFO] [stdout] 71ac36334e9f534b4a13b3d9032cf66aa5c208d3b2684b6ed3dbff6934b00631
