[INFO] fetching crate detour 0.8.1... [INFO] checking detour-0.8.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate detour 0.8.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate detour 0.8.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate detour 0.8.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate detour 0.8.1 [INFO] tweaked toml for crates.io crate detour 0.8.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate detour 0.8.1 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded libudis86-sys v0.2.1 [INFO] [stderr] Downloaded mmap-fixed v0.1.5 [INFO] [stderr] Downloaded slice-pool v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 688e9785f2b5e9879d4c1f0b52b875102a3357e4c44dbf123c61f4016971f6fe [INFO] running `Command { std: "docker" "start" "-a" "688e9785f2b5e9879d4c1f0b52b875102a3357e4c44dbf123c61f4016971f6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "688e9785f2b5e9879d4c1f0b52b875102a3357e4c44dbf123c61f4016971f6fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "688e9785f2b5e9879d4c1f0b52b875102a3357e4c44dbf123c61f4016971f6fe", kill_on_drop: false }` [INFO] [stdout] 688e9785f2b5e9879d4c1f0b52b875102a3357e4c44dbf123c61f4016971f6fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 790a7bfd648772ce953d69e8f0ad021effab92bc69257b954d7b14089a174704 [INFO] running `Command { std: "docker" "start" "-a" "790a7bfd648772ce953d69e8f0ad021effab92bc69257b954d7b14089a174704", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling generic-array v0.14.4 [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.2.0 [INFO] [stderr] Compiling libudis86-sys v0.2.1 [INFO] [stderr] Checking detour v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/arch/x86/mod.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/arch/x86/mod.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/arch/x86/mod.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/arch/x86/mod.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/arch/x86/mod.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/arch/x86/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | asm!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple [INFO] [stdout] --> src/detours/statik.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | D: Fn + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `::Arguments` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/ops/function.rs:76:1 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 106 | D: Fn + Send + 'static, ::Arguments: Tuple [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple [INFO] [stdout] --> src/detours/statik.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | C: Fn + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `::Arguments` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/ops/function.rs:76:1 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 157 | C: Fn + Send + 'static, ::Arguments: Tuple [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple [INFO] [stdout] --> src/detours/statik.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | D: Fn + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `::Arguments` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/ops/function.rs:76:1 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 106 | D: Fn + Send + 'static, ::Arguments: Tuple [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple [INFO] [stdout] --> src/detours/statik.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | C: Fn + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `::Arguments` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/ops/function.rs:76:1 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 157 | C: Fn + Send + 'static, ::Arguments: Tuple [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Arguments` is not a tuple [INFO] [stdout] --> src/detours/statik.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | / unsafe { self.closure.load(Ordering::SeqCst).as_ref() } [INFO] [stdout] 181 | | .ok_or(Error::NotInitialized) [INFO] [stdout] 182 | | .expect("retrieving detour closure") [INFO] [stdout] | |__________________________________________^ the trait `Tuple` is not implemented for `::Arguments` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box::Arguments, Output = ::Output>>` to implement `Fn<::Arguments>` [INFO] [stdout] = note: required for the cast from `&Box::Arguments, Output = ::Output>>` to `&dyn Fn<::Arguments, Output = ::Output>` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 178 | pub fn __detour(&self) -> &dyn Fn where ::Arguments: Tuple { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/arch/x86/mod.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe extern "C" fn branch_ret5() -> i32 { [INFO] [stdout] | ----------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/arch/x86/mod.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe extern "C" fn hotpatch_ret0() -> i32 { [INFO] [stdout] | ------------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/arch/x86/mod.rs:84:50 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe extern "C" fn padding_after_ret0() -> i32 { [INFO] [stdout] | ------------------ ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/arch/x86/mod.rs:102:45 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe extern "C" fn external_loop() -> i32 { [INFO] [stdout] | ------------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/arch/x86/mod.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 123 | unsafe extern "C" fn rip_relative_ret195() -> i32 { [INFO] [stdout] | ------------------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/arch/x86/mod.rs:143:57 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe extern "C" fn rip_relative_prolog_ret49() -> i32 { [INFO] [stdout] | ------------------------- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Arguments` is not a tuple [INFO] [stdout] --> src/detours/statik.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | / unsafe { self.closure.load(Ordering::SeqCst).as_ref() } [INFO] [stdout] 181 | | .ok_or(Error::NotInitialized) [INFO] [stdout] 182 | | .expect("retrieving detour closure") [INFO] [stdout] | |__________________________________________^ the trait `Tuple` is not implemented for `::Arguments` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box::Arguments, Output = ::Output>>` to implement `Fn<::Arguments>` [INFO] [stdout] = note: required for the cast from `&Box::Arguments, Output = ::Output>>` to `&dyn Fn<::Arguments, Output = ::Output>` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 178 | pub fn __detour(&self) -> &dyn Fn where ::Arguments: Tuple { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0059, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0059`. [INFO] [stdout] [INFO] [stderr] error: could not compile `detour` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0059, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0059`. [INFO] [stdout] [INFO] [stderr] error: could not compile `detour` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "790a7bfd648772ce953d69e8f0ad021effab92bc69257b954d7b14089a174704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "790a7bfd648772ce953d69e8f0ad021effab92bc69257b954d7b14089a174704", kill_on_drop: false }` [INFO] [stdout] 790a7bfd648772ce953d69e8f0ad021effab92bc69257b954d7b14089a174704