[INFO] crate capcom0 0.1.1 is already in cache [INFO] extracting crate capcom0 0.1.1 into work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/reg/capcom0/0.1.1 [INFO] extracting crate capcom0 0.1.1 into work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/reg/capcom0/0.1.1 [INFO] validating manifest of capcom0-0.1.1 on toolchain master#c43d03a19f326f4a323569328cc501e86eb6d22e [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of capcom0-0.1.1 on toolchain try#75eff020d0923c035c2fe220db4a0465cd847048 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing capcom0-0.1.1 [INFO] finished frobbing capcom0-0.1.1 [INFO] frobbed toml for capcom0-0.1.1 written to work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/reg/capcom0/0.1.1/Cargo.toml [INFO] started frobbing capcom0-0.1.1 [INFO] finished frobbing capcom0-0.1.1 [INFO] frobbed toml for capcom0-0.1.1 written to work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/reg/capcom0/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking capcom0-0.1.1 against try#75eff020d0923c035c2fe220db4a0465cd847048 for pr-63565 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63565/worker-4/try#75eff020d0923c035c2fe220db4a0465cd847048:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/reg/capcom0/0.1.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 584f50f00d5b6f938c04c0828e73b674a2a1735612aca07934b35214af23c0fd [INFO] running `"docker" "start" "-a" "584f50f00d5b6f938c04c0828e73b674a2a1735612aca07934b35214af23c0fd"` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling ntapi v0.3.3 [INFO] [stderr] Compiling obfstr v0.1.0 [INFO] [stderr] Compiling obfstr-impl v0.1.0 [INFO] [stderr] Checking capcom0 v0.1.1 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> examples/bypass.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::ntdef::{LIST_ENTRY, UNICODE_STRING, ULONG, NTSTATUS}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `elevate` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `src/bin/elevate.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: Could not compile `capcom0`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0601]: `main` function not found in crate `recover` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `src/bin/recover.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: Could not compile `capcom0`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `ntapi::ntldr` [INFO] [stderr] --> examples/bypass.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | use ntapi::ntldr::PLDR_DATA_TABLE_ENTRY; [INFO] [stderr] | ^^^^^ could not find `ntldr` in `ntapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Driver` in `capcom0` [INFO] [stderr] --> examples/bypass.rs:75:49 [INFO] [stderr] | [INFO] [stderr] 75 | let capcom_file = PeFile::from_bytes(&capcom0::Driver::image()[..]).unwrap(); [INFO] [stderr] | ^^^^^^ could not find `Driver` in `capcom0` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LIST_ENTRY` in this scope [INFO] [stderr] --> examples/bypass.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | List: LIST_ENTRY, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UNICODE_STRING` in this scope [INFO] [stderr] --> examples/bypass.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | DriverName: UNICODE_STRING, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> examples/bypass.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | TimeDateStamp: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> examples/bypass.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | LoadStatus: NTSTATUS, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stderr] --> examples/bypass.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 42 | DriverName: capcom0::unicode_string(driver_name), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `setup` in crate `capcom0` [INFO] [stderr] --> examples/bypass.rs:103:24 [INFO] [stderr] | [INFO] [stderr] 103 | let result = capcom0::setup(|driver, device| { [INFO] [stderr] | ^^^^^ not found in `capcom0` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stderr] --> examples/bypass.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | let mut us = capcom0::unicode_string(ws); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stderr] ... [INFO] [stderr] 129 | let ExAcquireResourceExclusiveLite = get_system_routine_address!(ctx, [INFO] [stderr] | ______________________________________________________- [INFO] [stderr] 130 | | unsafe extern "system" fn(PERESOURCE, BOOLEAN) -> BOOLEAN, [INFO] [stderr] 131 | | wide!("ExAcquireResourceExclusiveLite")); [INFO] [stderr] | |____________________________________________________________- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stderr] --> examples/bypass.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | let mut us = capcom0::unicode_string(ws); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stderr] ... [INFO] [stderr] 132 | let ExReleaseResourceLite = get_system_routine_address!(ctx, [INFO] [stderr] | _____________________________________________- [INFO] [stderr] 133 | | unsafe extern "system" fn(PERESOURCE), [INFO] [stderr] 134 | | wide!("ExReleaseResourceLite")); [INFO] [stderr] | |___________________________________________________- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stderr] --> examples/bypass.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | let mut us = capcom0::unicode_string(ws); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stderr] ... [INFO] [stderr] 135 | let RtlLookupElementGenericTableAvl = get_system_routine_address!(ctx, [INFO] [stderr] | _______________________________________________________- [INFO] [stderr] 136 | | unsafe extern "system" fn(PRTL_AVL_TABLE, *mut PiDDBCacheEntry) -> *mut PiDDBCacheEntry, [INFO] [stderr] 137 | | wide!("RtlLookupElementGenericTableAvl")); [INFO] [stderr] | |_____________________________________________________________- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stderr] --> examples/bypass.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | let mut us = capcom0::unicode_string(ws); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stderr] ... [INFO] [stderr] 138 | let RtlDeleteElementGenericTableAvl = get_system_routine_address!(ctx, [INFO] [stderr] | _______________________________________________________- [INFO] [stderr] 139 | | unsafe extern "system" fn(PRTL_AVL_TABLE, *mut PiDDBCacheEntry), [INFO] [stderr] 140 | | wide!("RtlDeleteElementGenericTableAvl")); [INFO] [stderr] | |_____________________________________________________________- in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LIST_ENTRY`, `NTSTATUS`, `ULONG`, `UNICODE_STRING` [INFO] [stderr] --> examples/bypass.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::ntdef::{LIST_ENTRY, UNICODE_STRING, ULONG, NTSTATUS}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `wrapping_add` on ambiguous numeric type `{integer}` [INFO] [stderr] --> examples/bypass.rs:120:31 [INFO] [stderr] | [INFO] [stderr] 120 | mem::transmute(ntos_base.wrapping_add(lookup_offset)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: you must specify a type for this binding, like `i32` [INFO] [stderr] | [INFO] [stderr] 105 | let mut ntos_base: i32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `wrapping_add` on ambiguous numeric type `{integer}` [INFO] [stderr] --> examples/bypass.rs:142:31 [INFO] [stderr] | [INFO] [stderr] 142 | let PiDDBLock = ntos_base.wrapping_add(lock_offset); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: you must specify a type for this binding, like `i32` [INFO] [stderr] | [INFO] [stderr] 105 | let mut ntos_base: i32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `wrapping_add` on ambiguous numeric type `{integer}` [INFO] [stderr] --> examples/bypass.rs:143:32 [INFO] [stderr] | [INFO] [stderr] 143 | let PiDDBCache = ntos_base.wrapping_add(table_offset); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: you must specify a type for this binding, like `i32` [INFO] [stderr] | [INFO] [stderr] 105 | let mut ntos_base: i32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0689. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `capcom0`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "584f50f00d5b6f938c04c0828e73b674a2a1735612aca07934b35214af23c0fd"` [INFO] running `"docker" "rm" "-f" "584f50f00d5b6f938c04c0828e73b674a2a1735612aca07934b35214af23c0fd"` [INFO] [stdout] 584f50f00d5b6f938c04c0828e73b674a2a1735612aca07934b35214af23c0fd