[INFO] fetching crate nt-load-order 0.1.0... [INFO] checking nt-load-order-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate nt-load-order 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate nt-load-order 0.1.0 [INFO] finished tweaking crates.io crate nt-load-order 0.1.0 [INFO] tweaked toml for crates.io crate nt-load-order 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nt-load-order 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nt-load-order 0.1.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdedae07ba1cad9d6acfb25c6d67e448505736ebafcb7a8bbcb047c6d6c2fde8 [INFO] running `Command { std: "docker" "start" "-a" "cdedae07ba1cad9d6acfb25c6d67e448505736ebafcb7a8bbcb047c6d6c2fde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdedae07ba1cad9d6acfb25c6d67e448505736ebafcb7a8bbcb047c6d6c2fde8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdedae07ba1cad9d6acfb25c6d67e448505736ebafcb7a8bbcb047c6d6c2fde8", kill_on_drop: false }` [INFO] [stdout] cdedae07ba1cad9d6acfb25c6d67e448505736ebafcb7a8bbcb047c6d6c2fde8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0a07ee2929814b1a150480ad40c3bb77515f2917959e5ec32c7e424530b20ad [INFO] running `Command { std: "docker" "start" "-a" "b0a07ee2929814b1a150480ad40c3bb77515f2917959e5ec32c7e424530b20ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Compiling derive_pod v0.1.2 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking widestring v1.1.0 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking dlv-list v0.6.0 [INFO] [stderr] Checking dataview v1.0.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking pelite v0.10.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling zerocopy-derive v0.8.14 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Checking nt-string v0.1.1 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Checking nt-apiset v0.1.0 [INFO] [stderr] Checking nt-hive v0.3.0 [INFO] [stderr] Checking nt-load-order v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winreg` [INFO] [stdout] --> src/registry/local.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winreg::enums::HKEY_LOCAL_MACHINE; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winreg` [INFO] [stdout] --> src/registry/local.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winreg::types::FromRegValue; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winreg` [INFO] [stdout] --> src/registry/local.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winreg::{EnumKeys, EnumValues, RegKey, RegValue}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winreg` [INFO] [stdout] --> src/registry/local.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winreg::enums::HKEY_LOCAL_MACHINE; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winreg` [INFO] [stdout] --> src/registry/local.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winreg::types::FromRegValue; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winreg` [INFO] [stdout] --> src/registry/local.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winreg::{EnumKeys, EnumValues, RegKey, RegValue}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LocalRegistryHive`, `LocalRegistryKeyNode`, `LocalRegistryKeyValue`, `LocalRegistryKeyValues`, `LocalRegistrySubKeys`, and `LocalRegistryWorker` [INFO] [stdout] --> src/registry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | LocalRegistryHive, LocalRegistryKeyNode, LocalRegistryKeyValue, LocalRegistryKeyValues, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | LocalRegistrySubKeys, LocalRegistryWorker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LocalRegistryHive`, `LocalRegistryKeyNode`, `LocalRegistryKeyValue`, `LocalRegistryKeyValues`, `LocalRegistrySubKeys`, and `LocalRegistryWorker` [INFO] [stdout] --> src/registry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | LocalRegistryHive, LocalRegistryKeyNode, LocalRegistryKeyValue, LocalRegistryKeyValues, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | LocalRegistrySubKeys, LocalRegistryWorker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'n` is never used [INFO] [stdout] --> src/registry.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum RegistryKeyValues<'d, 'h, 'n> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'n`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'n` is never used [INFO] [stdout] --> src/registry.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum RegistrySubKeys<'d, 'h, 'n> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'n`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'n` is never used [INFO] [stdout] --> src/registry.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum RegistryKeyValues<'d, 'h, 'n> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'n`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'n` is never used [INFO] [stdout] --> src/registry.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum RegistrySubKeys<'d, 'h, 'n> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'n`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_reg_value` found for type `u32` in the current scope [INFO] [stdout] --> src/registry/local.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let data = u32::from_reg_value(&self.value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_le` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 - let data = u32::from_reg_value(&self.value)?; [INFO] [stdout] 89 + let data = u32::from_le(&self.value)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_reg_value` found for struct `Vec` in the current scope [INFO] [stdout] --> src/registry/local.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | let data = Vec::::from_reg_value(&self.value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_reg_value` found for struct `String` in the current scope [INFO] [stdout] --> src/registry/local.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | let data = String::from_reg_value(&self.value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:444:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_reg_value` found for type `u32` in the current scope [INFO] [stdout] --> src/registry/local.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let data = u32::from_reg_value(&self.value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_le` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 - let data = u32::from_reg_value(&self.value)?; [INFO] [stdout] 89 + let data = u32::from_le(&self.value)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_reg_value` found for struct `Vec` in the current scope [INFO] [stdout] --> src/registry/local.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | let data = Vec::::from_reg_value(&self.value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_reg_value` found for struct `String` in the current scope [INFO] [stdout] --> src/registry/local.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | let data = String::from_reg_value(&self.value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:444:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new_local` found for enum `RegistryWorker` in the current scope [INFO] [stdout] --> src/lib.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | RegistryWorker::new_local() [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `RegistryWorker` [INFO] [stdout] | [INFO] [stdout] ::: src/registry.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum RegistryWorker { [INFO] [stdout] | ----------------------- variant or associated item `new_local` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RegistryWorker`, consider using `RegistryWorker::new_target` which returns `Result` [INFO] [stdout] --> src/registry.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new_target(system_root: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new_local` found for enum `RegistryWorker` in the current scope [INFO] [stdout] --> src/lib.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | RegistryWorker::new_local() [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `RegistryWorker` [INFO] [stdout] | [INFO] [stdout] ::: src/registry.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum RegistryWorker { [INFO] [stdout] | ----------------------- variant or associated item `new_local` not found for this enum [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RegistryWorker`, consider using `RegistryWorker::new_target` which returns `Result` [INFO] [stdout] --> src/registry.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new_target(system_root: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nt-load-order` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0392, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nt-load-order` (lib test) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b0a07ee2929814b1a150480ad40c3bb77515f2917959e5ec32c7e424530b20ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a07ee2929814b1a150480ad40c3bb77515f2917959e5ec32c7e424530b20ad", kill_on_drop: false }` [INFO] [stdout] b0a07ee2929814b1a150480ad40c3bb77515f2917959e5ec32c7e424530b20ad