[INFO] cloning repository https://github.com/r1k0t3k1/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r1k0t3k1/rush" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1k0t3k1%2Frush", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1k0t3k1%2Frush'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bae723c2e69c29caf506598aa31c8699f1aac7c7 [INFO] building r1k0t3k1/rush against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr1k0t3k1%2Frush" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/r1k0t3k1/rush [INFO] finished tweaking git repo https://github.com/r1k0t3k1/rush [INFO] tweaked toml for git repo https://github.com/r1k0t3k1/rush written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/r1k0t3k1/rush on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/r1k0t3k1/rush 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be8eed011e5c368d044d1d5c3117f6733568001f87346388a2549c78b2c7195c [INFO] running `Command { std: "docker" "start" "-a" "be8eed011e5c368d044d1d5c3117f6733568001f87346388a2549c78b2c7195c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be8eed011e5c368d044d1d5c3117f6733568001f87346388a2549c78b2c7195c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8eed011e5c368d044d1d5c3117f6733568001f87346388a2549c78b2c7195c", kill_on_drop: false }` [INFO] [stdout] be8eed011e5c368d044d1d5c3117f6733568001f87346388a2549c78b2c7195c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7670fc175e419d74ff1ee61e1161f583d42c59f288463056090a0eb904b29d2 [INFO] running `Command { std: "docker" "start" "-a" "f7670fc175e419d74ff1ee61e1161f583d42c59f288463056090a0eb904b29d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rlibc v1.0.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tinyrlibc v0.3.0 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/hash.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | b.iter().filter(|x| **x != 0).fold(hash, |acc,x| ((acc ^ *x as usize).wrapping_mul(FNV_prime))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - b.iter().filter(|x| **x != 0).fold(hash, |acc,x| ((acc ^ *x as usize).wrapping_mul(FNV_prime))) [INFO] [stdout] 14 + b.iter().filter(|x| **x != 0).fold(hash, |acc,x| (acc ^ *x as usize).wrapping_mul(FNV_prime)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UNICODE_STRING` should have an upper camel case name [INFO] [stdout] --> src/ldr.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UNICODE_STRING { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnicodeString` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LDR_DATA_TABLE_ENTRY` should have an upper camel case name [INFO] [stdout] --> src/ldr.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct LDR_DATA_TABLE_ENTRY { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LdrDataTableEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LDR_DATA_TABLE_LIST` should have an upper camel case name [INFO] [stdout] --> src/ldr.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct LDR_DATA_TABLE_LIST { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LdrDataTableList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/util.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub extern "stdcall" fn get_in_memory_order_module_list_address() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/util.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub extern "stdcall" fn get_in_load_order_module_list_address() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/main.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | let LoadLibraryA: extern "stdcall" fn(*const u8) -> *const usize = unsafe{ core::mem::transmute(LoadLibraryA_addr.unwrap()) }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/main.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | let MessageboxA: extern "stdcall" fn(usize, *const u8, *const u8, u32) -> *const u32 = unsafe{ core::mem::transmute(MessageBoxA_addr.... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/main.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub extern "stdcall" fn main() -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next_ptr` is never read [INFO] [stdout] --> src/ldr.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let mut next_ptr: usize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ldr.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut return_data: LDR_DATA_TABLE_ENTRY; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hash.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut hash = FNV_offset_basis; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_load_order_module_list` is never read [INFO] [stdout] --> src/util.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut in_load_order_module_list: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_load_order_module_list` is never read [INFO] [stdout] --> src/util.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut in_load_order_module_list: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rush` (bin "rush") due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f7670fc175e419d74ff1ee61e1161f583d42c59f288463056090a0eb904b29d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7670fc175e419d74ff1ee61e1161f583d42c59f288463056090a0eb904b29d2", kill_on_drop: false }` [INFO] [stdout] f7670fc175e419d74ff1ee61e1161f583d42c59f288463056090a0eb904b29d2