[INFO] fetching crate windows_registry_obj 0.1.0... [INFO] testing windows_registry_obj-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate windows_registry_obj 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate windows_registry_obj 0.1.0 [INFO] finished tweaking crates.io crate windows_registry_obj 0.1.0 [INFO] tweaked toml for crates.io crate windows_registry_obj 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_registry_obj 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate windows_registry_obj 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ece93e4e29096232230a015e97c6236bc6c7d8a133f916c4e587a0d9d750521e [INFO] running `Command { std: "docker" "start" "-a" "ece93e4e29096232230a015e97c6236bc6c7d8a133f916c4e587a0d9d750521e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ece93e4e29096232230a015e97c6236bc6c7d8a133f916c4e587a0d9d750521e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece93e4e29096232230a015e97c6236bc6c7d8a133f916c4e587a0d9d750521e", kill_on_drop: false }` [INFO] [stdout] ece93e4e29096232230a015e97c6236bc6c7d8a133f916c4e587a0d9d750521e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92a1be1a2aca370e3cc9cccd6296438503ec7245019764f66b1fa18009b1dff8 [INFO] running `Command { std: "docker" "start" "-a" "92a1be1a2aca370e3cc9cccd6296438503ec7245019764f66b1fa18009b1dff8", kill_on_drop: false }` [INFO] [stderr] Compiling windows-link v0.2.1 [INFO] [stderr] Compiling windows-result v0.4.1 [INFO] [stderr] Compiling windows-strings v0.5.1 [INFO] [stderr] Compiling windows-registry v0.6.1 [INFO] [stderr] Compiling windows_registry_obj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `windows_registry::CLASSES_ROOT`, `windows_registry::CURRENT_CONFIG`, `windows_registry::CURRENT_USER`, `windows_registry::LOCAL_MACHINE`, `windows_registry::Result`, `windows_registry::Transaction`, `windows_registry::USERS` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | CLASSES_ROOT, CURRENT_CONFIG, CURRENT_USER, LOCAL_MACHINE, Result, Transaction, USERS, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^ no `USERS` in the root [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | no `Transaction` in the root [INFO] [stdout] | | | | | no `Result` in the root [INFO] [stdout] | | | | no `LOCAL_MACHINE` in the root [INFO] [stdout] | | | no `CURRENT_USER` in the root [INFO] [stdout] | | no `CURRENT_CONFIG` in the root [INFO] [stdout] | no `CLASSES_ROOT` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::fmt::Result [INFO] [stdout] std::io::Result [INFO] [stdout] std::result::Result [INFO] [stdout] std::thread::Result [INFO] [stdout] core::fmt::Result [INFO] [stdout] core::result::Result [INFO] [stdout] windows_result::Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Key` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | impl From<&BaseKey> for &'static windows_registry::Key { [INFO] [stdout] | ^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Key` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | type Target = windows_registry::Key; [INFO] [stdout] | ^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Type` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:107:55 [INFO] [stdout] | [INFO] [stdout] 107 | impl From<&'_ RegValueData<'_>> for windows_registry::Type { [INFO] [stdout] | ^^^^ not found in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 107 - impl From<&'_ RegValueData<'_>> for windows_registry::Type { [INFO] [stdout] 107 + impl From<&'_ RegValueData<'_>> for Type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:110:58 [INFO] [stdout] | [INFO] [stdout] 110 | RegValueData::String(_) => windows_registry::Type::String, [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 110 - RegValueData::String(_) => windows_registry::Type::String, [INFO] [stdout] 110 + RegValueData::String(_) => Type::String, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:111:68 [INFO] [stdout] | [INFO] [stdout] 111 | RegValueData::ExpandableString(_) => windows_registry::Type::ExpandString, [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 111 - RegValueData::ExpandableString(_) => windows_registry::Type::ExpandString, [INFO] [stdout] 111 + RegValueData::ExpandableString(_) => Type::ExpandString, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | RegValueData::DWord(_) => windows_registry::Type::U32, [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 112 - RegValueData::DWord(_) => windows_registry::Type::U32, [INFO] [stdout] 112 + RegValueData::DWord(_) => Type::U32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | RegValueData::QWord(_) => windows_registry::Type::U64, [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 113 - RegValueData::QWord(_) => windows_registry::Type::U64, [INFO] [stdout] 113 + RegValueData::QWord(_) => Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | RegValueData::Binary(_) => windows_registry::Type::Bytes, [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 114 - RegValueData::Binary(_) => windows_registry::Type::Bytes, [INFO] [stdout] 114 + RegValueData::Binary(_) => Type::Bytes, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:115:63 [INFO] [stdout] | [INFO] [stdout] 115 | RegValueData::MultiString(_) => windows_registry::Type::MultiString, [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - RegValueData::MultiString(_) => windows_registry::Type::MultiString, [INFO] [stdout] 115 + RegValueData::MultiString(_) => Type::MultiString, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Value` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | impl TryFrom for RegValueDataOwned { [INFO] [stdout] | ^^^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Value` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | fn try_from(value: windows_registry::Value) -> std::result::Result { [INFO] [stdout] | ^^^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | windows_registry::Type::U32 => RegValueData::DWord(value.try_into()?), [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 146 - windows_registry::Type::U32 => RegValueData::DWord(value.try_into()?), [INFO] [stdout] 146 + Type::U32 => RegValueData::DWord(value.try_into()?), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | windows_registry::Type::U64 => RegValueData::QWord(value.try_into()?), [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - windows_registry::Type::U64 => RegValueData::QWord(value.try_into()?), [INFO] [stdout] 147 + Type::U64 => RegValueData::QWord(value.try_into()?), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | windows_registry::Type::String => RegValueData::String(Cow::Owned(value.try_into()?)), [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 148 - windows_registry::Type::String => RegValueData::String(Cow::Owned(value.try_into()?)), [INFO] [stdout] 148 + Type::String => RegValueData::String(Cow::Owned(value.try_into()?)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | windows_registry::Type::ExpandString => { [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 149 - windows_registry::Type::ExpandString => { [INFO] [stdout] 149 + Type::ExpandString => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | windows_registry::Type::Bytes => RegValueData::Binary(Cow::Owned(value.to_vec())), [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 152 - windows_registry::Type::Bytes => RegValueData::Binary(Cow::Owned(value.to_vec())), [INFO] [stdout] 152 + Type::Bytes => RegValueData::Binary(Cow::Owned(value.to_vec())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:153:31 [INFO] [stdout] | [INFO] [stdout] 153 | windows_registry::Type::MultiString => { [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 153 - windows_registry::Type::MultiString => { [INFO] [stdout] 153 + Type::MultiString => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Key` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:186:58 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn set_self_value(&self, key: &windows_registry::Key) -> Result<()> { [INFO] [stdout] | ^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Type` in `windows_registry` [INFO] [stdout] --> src/lib.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | windows_registry::Type::Bytes, [INFO] [stdout] | ^^^^ could not find `Type` in `windows_registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::mem::type_info::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - windows_registry::Type::Bytes, [INFO] [stdout] 196 + Type::Bytes, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Key` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn get(key: &windows_registry::Key, name: impl AsRef) -> Result { [INFO] [stdout] | ^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Key` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:214:55 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn remove_self(&self, key: &windows_registry::Key) -> Result<()> { [INFO] [stdout] | ^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Key` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:271:60 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn open_read(&'a self) -> Result { [INFO] [stdout] | ^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Key` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:275:61 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn open_write(&'a self) -> Result { [INFO] [stdout] | ^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Key` in crate `windows_registry` [INFO] [stdout] --> src/lib.rs:284:81 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn open_with_tx(&'a self, tx: &Transaction) -> Result { [INFO] [stdout] | ^^^ not found in `windows_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows_registry_obj` (lib) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "92a1be1a2aca370e3cc9cccd6296438503ec7245019764f66b1fa18009b1dff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a1be1a2aca370e3cc9cccd6296438503ec7245019764f66b1fa18009b1dff8", kill_on_drop: false }` [INFO] [stdout] 92a1be1a2aca370e3cc9cccd6296438503ec7245019764f66b1fa18009b1dff8