[INFO] cloning repository https://github.com/MarcGuiselin/win-user-pref [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarcGuiselin/win-user-pref" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcGuiselin%2Fwin-user-pref", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcGuiselin%2Fwin-user-pref'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d88b104ba2a7f3a212116c5d1b3440a7f829b712 [INFO] checking MarcGuiselin/win-user-pref/d88b104ba2a7f3a212116c5d1b3440a7f829b712 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcGuiselin%2Fwin-user-pref" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarcGuiselin/win-user-pref on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MarcGuiselin/win-user-pref [INFO] finished tweaking git repo https://github.com/MarcGuiselin/win-user-pref [INFO] tweaked toml for git repo https://github.com/MarcGuiselin/win-user-pref written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MarcGuiselin/win-user-pref 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64 v0.12.0 [INFO] [stderr] Downloaded widestring v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbd3a1ff45e28798453a2f2e4b9bba6b62861c3c2fae6bfcacf6807c7cc4daa7 [INFO] running `Command { std: "docker" "start" "-a" "dbd3a1ff45e28798453a2f2e4b9bba6b62861c3c2fae6bfcacf6807c7cc4daa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbd3a1ff45e28798453a2f2e4b9bba6b62861c3c2fae6bfcacf6807c7cc4daa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd3a1ff45e28798453a2f2e4b9bba6b62861c3c2fae6bfcacf6807c7cc4daa7", kill_on_drop: false }` [INFO] [stdout] dbd3a1ff45e28798453a2f2e4b9bba6b62861c3c2fae6bfcacf6807c7cc4daa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f4b366e4a0466aa8a0891ac126b9e589dcaab947cf7e722c450d6441913475 [INFO] running `Command { std: "docker" "start" "-a" "31f4b366e4a0466aa8a0891ac126b9e589dcaab947cf7e722c450d6441913475", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling win-user-pref v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking base64 v0.12.0 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking winreg v0.7.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | pub use winapi::shared::minwindef::HKEY; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | use winapi::shared::minwindef::{BYTE, DWORD, FILETIME, LPBYTE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | use winapi::um::minwinbase::SYSTEMTIME; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | use winapi::um::timezoneapi::FileTimeToSystemTime; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | use winapi::shared::winerror; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | use winapi::um::winnt::{self, WCHAR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | use winapi::um::winnt::{self, WCHAR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/enums.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/enums.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub use winapi::um::winreg::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | use winapi::um::winreg as winapi_reg; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/types.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::winapi::shared` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/types.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use super::winapi::shared::winerror; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/enums.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | $( $v = winapi::um::winnt::$v as isize ),* [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 31 | / winapi_enum!(RegType, "Enumeration of possible registry value types" => [ [INFO] [stdout] 32 | | REG_NONE, [INFO] [stdout] 33 | | REG_SZ, [INFO] [stdout] 34 | | REG_EXPAND_SZ, [INFO] [stdout] ... | [INFO] [stdout] 43 | | REG_QWORD [INFO] [stdout] 44 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `winapi_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/enums.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | $( $v = winapi::um::winnt::$v as isize ),* [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 47 | / winapi_enum!(RegDisposition, "Enumeration of possible disposition values" => [ [INFO] [stdout] 48 | | REG_CREATED_NEW_KEY, [INFO] [stdout] 49 | | REG_OPENED_EXISTING_KEY [INFO] [stdout] 50 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `winapi_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/types.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | let s = OsString::from_wide(words); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 58 | let s = OsString::from_iter(words); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&&'a OsStr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/types.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | bytes: v16_to_v8(&(self.encode_wide().collect::>())), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&&'a OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winreg-0.7.0/src/lib.rs:1068:10 [INFO] [stdout] | [INFO] [stdout] 1067 | / s.as_ref() [INFO] [stdout] 1068 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] error: could not compile `winreg` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "31f4b366e4a0466aa8a0891ac126b9e589dcaab947cf7e722c450d6441913475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f4b366e4a0466aa8a0891ac126b9e589dcaab947cf7e722c450d6441913475", kill_on_drop: false }` [INFO] [stdout] 31f4b366e4a0466aa8a0891ac126b9e589dcaab947cf7e722c450d6441913475