[INFO] fetching crate eventlog 0.3.0... [INFO] testing eventlog-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate eventlog 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking crates.io crate eventlog 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate eventlog 0.3.0 [INFO] tweaked toml for crates.io crate eventlog 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate eventlog 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding windows v0.58.0 (available: v0.61.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utfx v0.1.0 [INFO] [stderr] Downloaded registry v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9604064d340fc50f4aca8f80fe77f44e8a5ca3f3722ed0dbcd3b49bc5684fe6 [INFO] running `Command { std: "docker" "start" "-a" "e9604064d340fc50f4aca8f80fe77f44e8a5ca3f3722ed0dbcd3b49bc5684fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9604064d340fc50f4aca8f80fe77f44e8a5ca3f3722ed0dbcd3b49bc5684fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9604064d340fc50f4aca8f80fe77f44e8a5ca3f3722ed0dbcd3b49bc5684fe6", kill_on_drop: false }` [INFO] [stdout] e9604064d340fc50f4aca8f80fe77f44e8a5ca3f3722ed0dbcd3b49bc5684fe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 96acf9708372d3d87b46450038d2f3dd95b97c61f7f63d1b9235debc1fc45b45 [INFO] running `Command { std: "docker" "start" "-a" "96acf9708372d3d87b46450038d2f3dd95b97c61f7f63d1b9235debc1fc45b45", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling utfx v0.1.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling eventlog v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> build.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn prefix_command(cmd: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn prefix_command(cmd: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling registry v1.3.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `registry::Data`, `registry::Hive`, `registry::Security` [INFO] [stdout] --> src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use registry::{Data, Hive, Security}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ no `Security` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Hive` in the root [INFO] [stdout] | no `Data` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Foundation::HANDLE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::EventLog::{DeregisterEventSource, RegisterEventSourceW, ReportEventW, EVENTLOG_ERROR_TYPE, EVENTLOG_INFORMATI... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/lib.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | RegisterSourceFailed(#[from] windows::core::Error), [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `key` in `registry` [INFO] [stdout] --> src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | RegKey(#[from] registry::key::Error), [INFO] [stdout] | ^^^ could not find `key` in `registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `value` in `registry` [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | RegValue(#[from] registry::value::Error), [INFO] [stdout] | ^^^^^ could not find `value` in `registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `key` in `registry` [INFO] [stdout] --> src/lib.rs:62:55 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn deregister(name: &str) -> Result<(), registry::key::Error> { [INFO] [stdout] | ^^^ could not find `key` in `registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/eventmsgs.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/lib.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | OsStr::new(s).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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] error: could not compile `eventlog` (lib) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "96acf9708372d3d87b46450038d2f3dd95b97c61f7f63d1b9235debc1fc45b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96acf9708372d3d87b46450038d2f3dd95b97c61f7f63d1b9235debc1fc45b45", kill_on_drop: false }` [INFO] [stdout] 96acf9708372d3d87b46450038d2f3dd95b97c61f7f63d1b9235debc1fc45b45