[INFO] fetching crate detour 0.7.1... [INFO] checking detour-0.7.1 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate detour 0.7.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate detour 0.7.1 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-9/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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] 4c487afd596384e6d8df92309ba492d93cc978a5e115e4876c7767a26362866b [INFO] running `Command { std: "docker" "start" "-a" "4c487afd596384e6d8df92309ba492d93cc978a5e115e4876c7767a26362866b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c487afd596384e6d8df92309ba492d93cc978a5e115e4876c7767a26362866b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c487afd596384e6d8df92309ba492d93cc978a5e115e4876c7767a26362866b", kill_on_drop: false }` [INFO] [stdout] 4c487afd596384e6d8df92309ba492d93cc978a5e115e4876c7767a26362866b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75f664b17d3d9a81b80d6e9f68d130ca36fb4526f4954b9c4a4c630da9a4efdf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75f664b17d3d9a81b80d6e9f68d130ca36fb4526f4954b9c4a4c630da9a4efdf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 lazy_static v1.3.0 [INFO] [stderr] Checking slice-pool v0.4.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking mmap-fixed v0.1.5 [INFO] [stderr] Checking region v2.1.2 [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] 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: 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[E0658]: trait bounds other than `Sized` on const fn parameters are unstable [INFO] [stdout] --> src/detours/statik.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | impl StaticDetour { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "75f664b17d3d9a81b80d6e9f68d130ca36fb4526f4954b9c4a4c630da9a4efdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f664b17d3d9a81b80d6e9f68d130ca36fb4526f4954b9c4a4c630da9a4efdf", kill_on_drop: false }` [INFO] [stdout] 75f664b17d3d9a81b80d6e9f68d130ca36fb4526f4954b9c4a4c630da9a4efdf