[INFO] cloning repository https://github.com/yasammez/kmd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yasammez/kmd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasammez%2Fkmd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasammez%2Fkmd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2d3973d662131559acae403fd2b392732084bc9 [INFO] checking yasammez/kmd against try#b2fb67b8b6007ced9ad3f3b752a6fec899e7859c for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasammez%2Fkmd" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yasammez/kmd on toolchain b2fb67b8b6007ced9ad3f3b752a6fec899e7859c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yasammez/kmd [INFO] finished tweaking git repo https://github.com/yasammez/kmd [INFO] tweaked toml for git repo https://github.com/yasammez/kmd written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yasammez/kmd 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" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking yasammez/kmd against try#b2fb67b8b6007ced9ad3f3b752a6fec899e7859c for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasammez%2Fkmd" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yasammez/kmd on toolchain b2fb67b8b6007ced9ad3f3b752a6fec899e7859c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yasammez/kmd [INFO] finished tweaking git repo https://github.com/yasammez/kmd [INFO] tweaked toml for git repo https://github.com/yasammez/kmd written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yasammez/kmd 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" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76a1207a7fa2cf4c0505acfaf51c7aeb14b247c24c782db07249a4eee58d7cb5 [INFO] running `Command { std: "docker" "start" "-a" "76a1207a7fa2cf4c0505acfaf51c7aeb14b247c24c782db07249a4eee58d7cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76a1207a7fa2cf4c0505acfaf51c7aeb14b247c24c782db07249a4eee58d7cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a1207a7fa2cf4c0505acfaf51c7aeb14b247c24c782db07249a4eee58d7cb5", kill_on_drop: false }` [INFO] [stdout] 76a1207a7fa2cf4c0505acfaf51c7aeb14b247c24c782db07249a4eee58d7cb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+b2fb67b8b6007ced9ad3f3b752a6fec899e7859c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c8a0e380671a0e603c0a4d8c5d8a660e09392e636710020a9158a653ae50dc [INFO] running `Command { std: "docker" "start" "-a" "54c8a0e380671a0e603c0a4d8c5d8a660e09392e636710020a9158a653ae50dc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking kmd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | type Ok = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | type Error = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / fn into_result(self) -> Result { [INFO] [stdout] 17 | | match self.0 { [INFO] [stdout] 18 | | i if i >= 0 => Ok(i), [INFO] [stdout] 19 | | i => Err(i) [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / fn from_error(v: Self::Error) -> Self { [INFO] [stdout] 23 | | NTSTATUS(v) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 26 | | NTSTATUS(v) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Ok` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | type Ok = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | type Error = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `into_result` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / fn into_result(self) -> Result { [INFO] [stdout] 17 | | match self.0 { [INFO] [stdout] 18 | | i if i >= 0 => Ok(i), [INFO] [stdout] 19 | | i => Err(i) [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_error` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / fn from_error(v: Self::Error) -> Self { [INFO] [stdout] 23 | | NTSTATUS(v) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `from_ok` is not a member of trait `Try` [INFO] [stdout] --> src/status.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] 26 | | NTSTATUS(v) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____^ not a member of trait `Try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lang.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[lang = "eh_personality"] extern fn eh_personality() {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lang.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[lang = "eh_personality"] extern fn eh_personality() {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/crt.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern fn __muloti4(a: i128, b: i128, oflow: &mut i32) -> i128 { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/crt.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern fn __muloti4(a: i128, b: i128, oflow: &mut i32) -> i128 { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/object.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/object.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/object.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | /// Object type pointers [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | #[link(name = "ntoskrnl")] [INFO] [stdout] 68 | / extern { [INFO] [stdout] 69 | | pub static IoDriverObjectType: *const OBJECT_TYPE; [INFO] [stdout] 70 | | pub static CmKeyObjectType: *const OBJECT_TYPE; [INFO] [stdout] 71 | | pub static IoFileObjectType: *const OBJECT_TYPE; [INFO] [stdout] ... | [INFO] [stdout] 81 | | pub static SeTokenObjectType: *const OBJECT_TYPE; [INFO] [stdout] 82 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/object.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | /// Object type pointers [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | #[link(name = "ntoskrnl")] [INFO] [stdout] 68 | / extern { [INFO] [stdout] 69 | | pub static IoDriverObjectType: *const OBJECT_TYPE; [INFO] [stdout] 70 | | pub static CmKeyObjectType: *const OBJECT_TYPE; [INFO] [stdout] 71 | | pub static IoFileObjectType: *const OBJECT_TYPE; [INFO] [stdout] ... | [INFO] [stdout] 81 | | pub static SeTokenObjectType: *const OBJECT_TYPE; [INFO] [stdout] 82 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lang.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[lang = "eh_personality"] extern fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b2fb67b8b6007ced9ad3f3b752a6fec899e7859c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-08d24c853dfa6028.rlib [INFO] [stdout] = note: second definition in the local crate (`kmd`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0407, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `try_trait_v2` [INFO] [stdout] --> src/status.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::Try; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `try_trait_v2` [INFO] [stdout] --> src/status.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | impl Try for NTSTATUS { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-03-24; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "fastcall" is not supported on this target [INFO] [stdout] --> src/driver_object.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub type PDRIVER_INITIALIZE = Option NTSTATUS>; [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 #130260 [INFO] [stdout] = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "fastcall" is not supported on this target [INFO] [stdout] --> src/driver_object.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | pub type PDRIVER_STARTIO = Option; [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 #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "fastcall" is not supported on this target [INFO] [stdout] --> src/driver_object.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub type PDRIVER_UNLOAD = Option; [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 #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "fastcall" is not supported on this target [INFO] [stdout] --> src/device_object.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | pub type PDRIVER_DISPATCH = Option NTSTATUS>; [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 #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "fastcall" is not supported on this target [INFO] [stdout] --> src/device_object.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | pub type PDRIVER_CANCEL = Option; [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 #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "fastcall" is not supported on this target [INFO] [stdout] --> src/irp.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub type PIO_COMPLETION_ROUTINE = Option; [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 #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kmd` (lib test) due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Output`, `Residual`, `from_output`, `branch` [INFO] [stdout] --> src/status.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | impl Try for NTSTATUS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ missing `Output`, `Residual`, `from_output`, `branch` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Output = /* Type */;` [INFO] [stdout] = help: implement the missing item: `type Residual = /* Type */;` [INFO] [stdout] = help: implement the missing item: `fn from_output(_: ::Output) -> Self { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn branch(self) -> ControlFlow<::Residual, ::Output> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/status.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_result(self) -> Result { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/status.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | fn into_result(self) -> Result { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `Self` [INFO] [stdout] --> src/status.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_error(v: Self::Error) -> Self { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Self` [INFO] [stdout] --> src/status.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn from_ok(v: Self::Ok) -> Self { [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"fastcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/basedef.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / extern "fastcall" [INFO] [stdout] 49 | | { [INFO] [stdout] 50 | | pub fn KeGetCurrentIrql() -> KIRQL; [INFO] [stdout] 51 | | pub fn KeRaiseIrqlToDpcLevel() -> KIRQL; [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"fastcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/device_object.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / extern "fastcall" [INFO] [stdout] 13 | | { [INFO] [stdout] 14 | | pub fn IoCreateDevice(DriverObject: *mut DRIVER_OBJECT, DeviceExtensionSize: u32, DeviceName: *const UNICODE_STRING, [INFO] [stdout] 15 | | DeviceType: u32, DeviceCharacteristics: u32, Exclusive: bool, DeviceObject: *mut*mut DEVICE_OBJECT) -> NTSTATUS; [INFO] [stdout] ... | [INFO] [stdout] 22 | | pub fn IoCallDriver(DeviceObject: *mut DEVICE_OBJECT, irp: &mut IRP) -> NTSTATUS; [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "fastcall" is not supported on this target [INFO] [stdout] --> src/device_object.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | ... Option IO_COMPLETION_ROUTINE_RESULT>; [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 #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"fastcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/irp.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / extern "fastcall" [INFO] [stdout] 18 | | { [INFO] [stdout] 19 | | pub fn IoCompleteRequest(Irp: PIRP, PriorityBoost: KPRIORITY_BOOST); [INFO] [stdout] 20 | | pub fn IoSetCompletionRoutine(Irp: PIRP, CompletionRoutine: PIO_COMPLETION_ROUTINE, Context: *const km_void, InvokeOnSuccess: bool, I... [INFO] [stdout] ... | [INFO] [stdout] 25 | | pub fn IoMakeAssociatedIrp(Irp: PIRP, StackSize: CCHAR) -> PIRP; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"fastcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/object.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / extern "fastcall" [INFO] [stdout] 10 | | { [INFO] [stdout] 11 | | pub fn KeWaitForSingleObject(Object: PVOID, WaitReason: u32, WaitMode: KPROCESSOR_MODE, Alertable: bool, Timeout: Option<&i64>) -> NTSTA... [INFO] [stdout] 12 | | pub fn ObfDereferenceObject(Object: *const km_void); [INFO] [stdout] 13 | | pub fn ObReferenceObjectByName(ObjectPath: &UNICODE_STRING, Attributes: u32, PassedAccessState: *const ACCESS_STATE, DesiredAccess: u... [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"fastcall"` is not a supported ABI for the current target [INFO] [stdout] --> src/string.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / extern "fastcall" [INFO] [stdout] 77 | | { [INFO] [stdout] 78 | | pub fn RtlIntegerToUnicodeString(Value: u32, Base: u32, String: &mut UNICODE_STRING) -> NTSTATUS; [INFO] [stdout] 79 | | pub fn RtlInt64ToUnicodeString(Value: u64, Base: u32, String: &mut UNICODE_STRING) -> NTSTATUS; [INFO] [stdout] ... | [INFO] [stdout] 96 | | pub fn RtlFreeUnicodeString(UnicodeString: &mut UNICODE_STRING); [INFO] [stdout] 97 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/irp.rs:230:7 [INFO] [stdout] | [INFO] [stdout] 230 | let mut lower = self.get_next_stack_location(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0220, E0407, E0437, E0570, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kmd` (lib) due to 18 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "54c8a0e380671a0e603c0a4d8c5d8a660e09392e636710020a9158a653ae50dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c8a0e380671a0e603c0a4d8c5d8a660e09392e636710020a9158a653ae50dc", kill_on_drop: false }` [INFO] [stdout] 54c8a0e380671a0e603c0a4d8c5d8a660e09392e636710020a9158a653ae50dc