[INFO] fetching crate enarx-shim-sgx 0.6.3... [INFO] testing enarx-shim-sgx-0.6.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate enarx-shim-sgx 0.6.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate enarx-shim-sgx 0.6.3 [INFO] finished tweaking crates.io crate enarx-shim-sgx 0.6.3 [INFO] tweaked toml for crates.io crate enarx-shim-sgx 0.6.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate enarx-shim-sgx 0.6.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate enarx-shim-sgx 0.6.3 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-default-derive v0.2.0 [INFO] [stderr] Downloaded xsave v2.0.2 [INFO] [stderr] Downloaded noted v1.0.0 [INFO] [stderr] Downloaded volatile v0.4.5 [INFO] [stderr] Downloaded managed v0.8.0 [INFO] [stderr] Downloaded crt0stack v0.1.0 [INFO] [stderr] Downloaded gdbstub v0.5.0 [INFO] [stderr] Downloaded goblin v0.5.3 [INFO] [stderr] Downloaded x86_64 v0.14.10 [INFO] [stderr] Downloaded paste v1.0.8 [INFO] [stderr] Downloaded gdbstub_arch v0.1.1 [INFO] [stderr] Downloaded lset v0.3.0 [INFO] [stderr] Downloaded primordial v0.5.0 [INFO] [stderr] Downloaded rcrt1 v2.4.0 [INFO] [stderr] Downloaded mmledger v0.3.0 [INFO] [stderr] Downloaded sallyport v0.6.3 [INFO] [stderr] Downloaded sgx v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53f277f302fcd2a967ea9e2d510a852a993baaf13c3c546ecb766a22a253e436 [INFO] running `Command { std: "docker" "start" "-a" "53f277f302fcd2a967ea9e2d510a852a993baaf13c3c546ecb766a22a253e436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53f277f302fcd2a967ea9e2d510a852a993baaf13c3c546ecb766a22a253e436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f277f302fcd2a967ea9e2d510a852a993baaf13c3c546ecb766a22a253e436", kill_on_drop: false }` [INFO] [stdout] 53f277f302fcd2a967ea9e2d510a852a993baaf13c3c546ecb766a22a253e436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0f35e86336b6835187a8054c31cb114c4024374f71805cc983ff2a014beafe47 [INFO] running `Command { std: "docker" "start" "-a" "0f35e86336b6835187a8054c31cb114c4024374f71805cc983ff2a014beafe47", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling volatile v0.4.5 [INFO] [stderr] Compiling goblin v0.5.3 [INFO] [stderr] Compiling sgx v0.5.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lset v0.3.0 [INFO] [stderr] Compiling enarx-shim-sgx v0.6.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling crt0stack v0.1.0 [INFO] [stderr] Compiling sallyport v0.6.3 [INFO] [stderr] Compiling noted v1.0.0 [INFO] [stderr] Compiling rcrt1 v2.4.0 [INFO] [stderr] Compiling spinning v0.1.0 [INFO] [stderr] Compiling x86_64 v0.14.10 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling const-default-derive v0.2.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling primordial v0.5.0 [INFO] [stderr] Compiling xsave v2.0.2 [INFO] [stderr] Compiling mmledger v0.3.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `dbg` [INFO] [stdout] --> src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | if cfg!(dbg) { [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "dbg"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dbg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dbg)");` to the top of the `build.rs` [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/handler/mod.rs:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &mut TLS } [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 252 | unsafe { &raw mut TLS } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 64 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 106 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 132 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/main.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 181 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_const, asm_sym, naked_functions)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_const, asm_sym, naked_functions)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_const, asm_sym, naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / asm!( [INFO] [stdout] 71 | | // Clear all temporary registers [INFO] [stdout] 72 | | "xor r10, r10", [INFO] [stdout] 73 | | "xor r11, r11", [INFO] [stdout] ... | [INFO] [stdout] 93 | | options(noreturn) [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_________^ consider using the `naked_asm!` macro instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / asm!( [INFO] [stdout] 110 | | "xor rax, rax", [INFO] [stdout] 111 | | "xor rdi, rdi", [INFO] [stdout] 112 | | "xor rsi, rsi", [INFO] [stdout] ... | [INFO] [stdout] 118 | | options(noreturn) [INFO] [stdout] 119 | | ) [INFO] [stdout] | |_________^ consider using the `naked_asm!` macro instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / asm!( [INFO] [stdout] 135 | | "push rax", [INFO] [stdout] 136 | | "push rdi", [INFO] [stdout] 137 | | "push rsi", [INFO] [stdout] ... | [INFO] [stdout] 163 | | options(noreturn) [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_____^ consider using the `naked_asm!` macro instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/main.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / asm!( [INFO] [stdout] 187 | | "cld ", // Clear Direction Flag [INFO] [stdout] 188 | | "xchg rbx, rcx ", // rbx = exit address, rcx = TCS page [INFO] [stdout] ... | [INFO] [stdout] 248 | | options(noreturn) [INFO] [stdout] 249 | | ) [INFO] [stdout] | |_____^ consider using the `naked_asm!` macro instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0787`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enarx-shim-sgx` (bin "enarx-shim-sgx") due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f35e86336b6835187a8054c31cb114c4024374f71805cc983ff2a014beafe47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f35e86336b6835187a8054c31cb114c4024374f71805cc983ff2a014beafe47", kill_on_drop: false }` [INFO] [stdout] 0f35e86336b6835187a8054c31cb114c4024374f71805cc983ff2a014beafe47