[INFO] fetching crate capcom0 0.1.1... [INFO] checking capcom0-0.1.1 against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] extracting crate capcom0 0.1.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate capcom0 0.1.1 on toolchain 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate capcom0 0.1.1 [INFO] finished tweaking crates.io crate capcom0 0.1.1 [INFO] tweaked toml for crates.io crate capcom0 0.1.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8a08cf214d375f7d370092b5e504328cfd0fbde0222b700c2214a1eb658befc [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" "d8a08cf214d375f7d370092b5e504328cfd0fbde0222b700c2214a1eb658befc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8a08cf214d375f7d370092b5e504328cfd0fbde0222b700c2214a1eb658befc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a08cf214d375f7d370092b5e504328cfd0fbde0222b700c2214a1eb658befc", kill_on_drop: false }` [INFO] [stdout] d8a08cf214d375f7d370092b5e504328cfd0fbde0222b700c2214a1eb658befc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "RUSTUP_TOOLCHAIN=4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "-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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "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] a436941faa5e7b018e27af6d78ebe9300094c7d129f03c251186ff6b1726fbe6 [INFO] running `Command { std: "docker" "start" "-a" "a436941faa5e7b018e27af6d78ebe9300094c7d129f03c251186ff6b1726fbe6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.3.6 [INFO] [stderr] Compiling obfstr v0.1.1 [INFO] [stderr] Compiling obfstr-impl v0.1.1 [INFO] [stderr] Checking pelite v0.7.2 [INFO] [stderr] Checking capcom0 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> examples/bypass.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::ntdef::{LIST_ENTRY, UNICODE_STRING, ULONG, NTSTATUS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntldr` [INFO] [stdout] --> examples/bypass.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | use ntapi::ntldr::PLDR_DATA_TABLE_ENTRY; [INFO] [stdout] | ^^^^^ could not find `ntldr` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Driver` in `capcom0` [INFO] [stdout] --> examples/bypass.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | let capcom_file = PeFile::from_bytes(&capcom0::Driver::image()[..]).unwrap(); [INFO] [stdout] | ^^^^^^ could not find `Driver` in `capcom0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LIST_ENTRY` in this scope [INFO] [stdout] --> examples/bypass.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | List: LIST_ENTRY, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UNICODE_STRING` in this scope [INFO] [stdout] --> examples/bypass.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | DriverName: UNICODE_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> examples/bypass.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | TimeDateStamp: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> examples/bypass.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | LoadStatus: NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stdout] --> examples/bypass.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | DriverName: capcom0::unicode_string(driver_name), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup` in crate `capcom0` [INFO] [stdout] --> examples/bypass.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let result = capcom0::setup(|driver, device| { [INFO] [stdout] | ^^^^^ not found in `capcom0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stdout] --> examples/bypass.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | let mut us = capcom0::unicode_string(ws); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stdout] ... [INFO] [stdout] 129 | let ExAcquireResourceExclusiveLite = get_system_routine_address!(ctx, [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 130 | | unsafe extern "system" fn(PERESOURCE, BOOLEAN) -> BOOLEAN, [INFO] [stdout] 131 | | wide!("ExAcquireResourceExclusiveLite")); [INFO] [stdout] | |____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stdout] --> examples/bypass.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | let mut us = capcom0::unicode_string(ws); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stdout] ... [INFO] [stdout] 132 | let ExReleaseResourceLite = get_system_routine_address!(ctx, [INFO] [stdout] | _____________________________________________- [INFO] [stdout] 133 | | unsafe extern "system" fn(PERESOURCE), [INFO] [stdout] 134 | | wide!("ExReleaseResourceLite")); [INFO] [stdout] | |___________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stdout] --> examples/bypass.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | let mut us = capcom0::unicode_string(ws); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stdout] ... [INFO] [stdout] 135 | let RtlLookupElementGenericTableAvl = get_system_routine_address!(ctx, [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 136 | | unsafe extern "system" fn(PRTL_AVL_TABLE, *mut PiDDBCacheEntry) -> *mut PiDDBCacheEntry, [INFO] [stdout] 137 | | wide!("RtlLookupElementGenericTableAvl")); [INFO] [stdout] | |_____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unicode_string` in crate `capcom0` [INFO] [stdout] --> examples/bypass.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | let mut us = capcom0::unicode_string(ws); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `capcom0` [INFO] [stdout] ... [INFO] [stdout] 138 | let RtlDeleteElementGenericTableAvl = get_system_routine_address!(ctx, [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 139 | | unsafe extern "system" fn(PRTL_AVL_TABLE, *mut PiDDBCacheEntry), [INFO] [stdout] 140 | | wide!("RtlDeleteElementGenericTableAvl")); [INFO] [stdout] | |_____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `wrapping_add` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/bypass.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | mem::transmute(ntos_base.wrapping_add(lookup_offset)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 105 | let mut ntos_base: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `wrapping_add` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/bypass.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | let PiDDBLock = ntos_base.wrapping_add(lock_offset); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 105 | let mut ntos_base: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `wrapping_add` on ambiguous numeric type `{integer}` [INFO] [stdout] --> examples/bypass.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | let PiDDBCache = ntos_base.wrapping_add(table_offset); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `i32` [INFO] [stdout] | [INFO] [stdout] 105 | let mut ntos_base: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `capcom0` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a436941faa5e7b018e27af6d78ebe9300094c7d129f03c251186ff6b1726fbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a436941faa5e7b018e27af6d78ebe9300094c7d129f03c251186ff6b1726fbe6", kill_on_drop: false }` [INFO] [stdout] a436941faa5e7b018e27af6d78ebe9300094c7d129f03c251186ff6b1726fbe6