[INFO] cloning repository https://github.com/kennykerr/repro-raw-dylib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kennykerr/repro-raw-dylib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennykerr%2Frepro-raw-dylib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennykerr%2Frepro-raw-dylib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cad75011d4ad97fc8dae4333fee365397feb359c
[INFO] checking kennykerr/repro-raw-dylib against 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0 for pr-158915-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennykerr%2Frepro-raw-dylib" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kennykerr/repro-raw-dylib
[INFO] finished tweaking git repo https://github.com/kennykerr/repro-raw-dylib
[INFO] tweaked toml for git repo https://github.com/kennykerr/repro-raw-dylib written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kennykerr/repro-raw-dylib on toolchain 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kennykerr/repro-raw-dylib 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" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858
[INFO] running `Command { std: "docker" "start" "7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858" "/opt/rustwide/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858" "/opt/rustwide/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking repro-raw-dylib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0658]: link kind `raw-dylib` is unstable on ELF platforms
[INFO] [stdout]  --> tests/test.rs:4:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[link(name = "kernel32.dll", kind = "raw-dylib", modifiers = "+verbatim", import_name_type = "undecorated")]
[INFO] [stdout]   |                                      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #135694 <https://github.com/rust-lang/rust/issues/135694> for more information
[INFO] [stdout]   = help: add `#![feature(raw_dylib_elf)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2026-09-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: import name type is only supported on x86
[INFO] [stdout]  --> tests/test.rs:4:76
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[link(name = "kernel32.dll", kind = "raw-dylib", modifiers = "+verbatim", import_name_type = "undecorated")]
[INFO] [stdout]   |                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target
[INFO] [stdout]  --> tests/test.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | extern "stdcall" {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `raw_dylib` has been stable since 1.71.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> tests/test.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(raw_dylib)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `native_link_modifiers_verbatim` has been stable since 1.67.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> tests/test.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(native_link_modifiers_verbatim)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0570, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0570`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `repro-raw-dylib` (test "test") due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858", kill_on_drop: false }`
[INFO] [stdout] 7ba23c7b63d79814d1db4ed20e341a249196760f97a67496b6ffbd4c8bd01858
