[INFO] fetching crate detour 0.7.1... [INFO] checking detour-0.7.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate detour 0.7.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate detour 0.7.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate detour 0.7.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate detour 0.7.1 [INFO] tweaked toml for crates.io crate detour 0.7.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate detour 0.7.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ea3ccce00e2226ccaf9f1c41ba70a75640864d9df2799b0dfb03a88145fac263 [INFO] running `Command { std: "docker" "start" "-a" "ea3ccce00e2226ccaf9f1c41ba70a75640864d9df2799b0dfb03a88145fac263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea3ccce00e2226ccaf9f1c41ba70a75640864d9df2799b0dfb03a88145fac263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea3ccce00e2226ccaf9f1c41ba70a75640864d9df2799b0dfb03a88145fac263", kill_on_drop: false }` [INFO] [stdout] ea3ccce00e2226ccaf9f1c41ba70a75640864d9df2799b0dfb03a88145fac263 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e50e63a3b0441acdde21b7130147264e82dfe2b3a3a4e26c13eeeefcc7e94b77 [INFO] running `Command { std: "docker" "start" "-a" "e50e63a3b0441acdde21b7130147264e82dfe2b3a3a4e26c13eeeefcc7e94b77", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking slice-pool v0.4.1 [INFO] [stderr] Checking region v2.1.2 [INFO] [stderr] Checking mmap-fixed v0.1.5 [INFO] [stderr] Compiling libudis86-sys v0.2.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking detour v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/arch/x86/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | asm!("xor eax, eax [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _______help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 44 | | je ret5 [INFO] [stdout] 45 | | mov eax, 2 [INFO] [stdout] 46 | | jmp done [INFO] [stdout] ... | [INFO] [stdout] 50 | | ret" [INFO] [stdout] 51 | | :::: "intel"); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/arch/x86/mod.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | asm!("nop [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _______help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 63 | | nop [INFO] [stdout] 64 | | nop [INFO] [stdout] 65 | | nop [INFO] [stdout] ... | [INFO] [stdout] 69 | | mov eax, 5" [INFO] [stdout] 70 | | :::: "intel"); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/arch/x86/mod.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | asm!("mov edi, edi [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _______help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 82 | | xor eax, eax [INFO] [stdout] 83 | | ret [INFO] [stdout] 84 | | nop [INFO] [stdout] 85 | | nop" [INFO] [stdout] 86 | | :::: "intel"); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/arch/x86/mod.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | asm!("loop dest [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _______help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 98 | | nop [INFO] [stdout] 99 | | nop [INFO] [stdout] 100 | | nop [INFO] [stdout] 101 | | dest:" [INFO] [stdout] 102 | | :::: "intel"); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/arch/x86/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | asm!("xor eax, eax [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _______help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 116 | | mov al, [rip+0x3] [INFO] [stdout] 117 | | nop [INFO] [stdout] 118 | | nop [INFO] [stdout] 119 | | nop [INFO] [stdout] 120 | | ret" [INFO] [stdout] 121 | | :::: "intel"); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/arch/x86/mod.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | asm!("xor eax, eax [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _______help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 134 | | mov al, [rip-0x8] [INFO] [stdout] 135 | | ret" [INFO] [stdout] 136 | | :::: "intel"); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / unsafe extern "C" fn branch_ret5() -> i32 { [INFO] [stdout] 43 | | asm!("xor eax, eax [INFO] [stdout] 44 | | je ret5 [INFO] [stdout] 45 | | mov eax, 2 [INFO] [stdout] ... | [INFO] [stdout] 52 | | ::std::intrinsics::unreachable(); [INFO] [stdout] | | --------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_naked_functions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / unsafe extern "C" fn hotpatch_ret0() -> i32 { [INFO] [stdout] 62 | | asm!("nop [INFO] [stdout] 63 | | nop [INFO] [stdout] 64 | | nop [INFO] [stdout] ... | [INFO] [stdout] 71 | | ::std::intrinsics::unreachable(); [INFO] [stdout] | | --------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86/mod.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / unsafe extern "C" fn padding_after_ret0() -> i32 { [INFO] [stdout] 81 | | asm!("mov edi, edi [INFO] [stdout] 82 | | xor eax, eax [INFO] [stdout] 83 | | ret [INFO] [stdout] ... | [INFO] [stdout] 87 | | ::std::intrinsics::unreachable(); [INFO] [stdout] | | --------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86/mod.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / unsafe extern "C" fn external_loop() -> i32 { [INFO] [stdout] 97 | | asm!("loop dest [INFO] [stdout] 98 | | nop [INFO] [stdout] 99 | | nop [INFO] [stdout] ... | [INFO] [stdout] 103 | | ::std::intrinsics::unreachable(); [INFO] [stdout] | | --------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 104 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / unsafe extern "C" fn rip_relative_ret195() -> i32 { [INFO] [stdout] 115 | | asm!("xor eax, eax [INFO] [stdout] 116 | | mov al, [rip+0x3] [INFO] [stdout] 117 | | nop [INFO] [stdout] ... | [INFO] [stdout] 122 | | ::std::intrinsics::unreachable(); [INFO] [stdout] | | --------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: naked functions must contain a single asm block [INFO] [stdout] --> src/arch/x86/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / unsafe extern "C" fn rip_relative_prolog_ret49() -> i32 { [INFO] [stdout] 133 | | asm!("xor eax, eax [INFO] [stdout] 134 | | mov al, [rip-0x8] [INFO] [stdout] 135 | | ret" [INFO] [stdout] 136 | | :::: "intel"); [INFO] [stdout] 137 | | ::std::intrinsics::unreachable(); [INFO] [stdout] | | --------------------------------- non-asm is unsupported in naked functions [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #32408 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/detours/statik.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | if !self.detour.compare_and_swap(ptr::null_mut(), &mut *detour, Ordering::SeqCst).is_null() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/detours/statik.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | if !self.detour.compare_and_swap(ptr::null_mut(), &mut *detour, Ordering::SeqCst).is_null() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `detour` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e50e63a3b0441acdde21b7130147264e82dfe2b3a3a4e26c13eeeefcc7e94b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e50e63a3b0441acdde21b7130147264e82dfe2b3a3a4e26c13eeeefcc7e94b77", kill_on_drop: false }` [INFO] [stdout] e50e63a3b0441acdde21b7130147264e82dfe2b3a3a4e26c13eeeefcc7e94b77