[INFO] cloning repository https://github.com/fshauge/shim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fshauge/shim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffshauge%2Fshim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffshauge%2Fshim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01494050dc4761d54eb05eb6855fc2799e55b538 [INFO] checking fshauge/shim against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffshauge%2Fshim" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/fshauge/shim [INFO] finished tweaking git repo https://github.com/fshauge/shim [INFO] tweaked toml for git repo https://github.com/fshauge/shim written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fshauge/shim on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fshauge/shim 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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80736f7abab9f096dbd6f11c20bb302f2f6abc90fa934dda9d8f257735b372c1 [INFO] running `Command { std: "docker" "start" "-a" "80736f7abab9f096dbd6f11c20bb302f2f6abc90fa934dda9d8f257735b372c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80736f7abab9f096dbd6f11c20bb302f2f6abc90fa934dda9d8f257735b372c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80736f7abab9f096dbd6f11c20bb302f2f6abc90fa934dda9d8f257735b372c1", kill_on_drop: false }` [INFO] [stdout] 80736f7abab9f096dbd6f11c20bb302f2f6abc90fa934dda9d8f257735b372c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c0baf456c57f0aca044b4eca7e9ff520e14c9e0c7ed0b11f1bc32d42ff80591 [INFO] running `Command { std: "docker" "start" "-a" "5c0baf456c57f0aca044b4eca7e9ff520e14c9e0c7ed0b11f1bc32d42ff80591", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling ruzstd v0.7.3 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Checking cdylib-shim-macros v0.1.2 (/opt/rustwide/workdir/crates/cdylib-shim-macros) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/cdylib-shim-macros/src/lib.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | fn address(&self) -> ExportAddress { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 215 | fn address(&self) -> ExportAddress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/cdylib-shim-macros/src/lib.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | fn to_original_fn(&self) -> OriginalFn { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 336 | fn to_original_fn(&self) -> OriginalFn<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/cdylib-shim-macros/src/lib.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | fn address(&self) -> ExportAddress { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 215 | fn address(&self) -> ExportAddress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/cdylib-shim-macros/src/lib.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | fn to_original_fn(&self) -> OriginalFn { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 336 | fn to_original_fn(&self) -> OriginalFn<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/cdylib-shim-macros/src/lib.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | fn address(&self) -> ExportAddress { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 215 | fn address(&self) -> ExportAddress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/cdylib-shim-macros/src/lib.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | fn to_original_fn(&self) -> OriginalFn { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 336 | fn to_original_fn(&self) -> OriginalFn<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cdylib-shim v0.1.2 (/opt/rustwide/workdir/crates/cdylib-shim) [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking version v0.1.0 (/opt/rustwide/workdir/examples/version) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/version/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[shim("version.dll")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to load library [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> examples/version/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[shim("version.dll")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Failed to load library [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `version` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `version` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "5c0baf456c57f0aca044b4eca7e9ff520e14c9e0c7ed0b11f1bc32d42ff80591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c0baf456c57f0aca044b4eca7e9ff520e14c9e0c7ed0b11f1bc32d42ff80591", kill_on_drop: false }` [INFO] [stdout] 5c0baf456c57f0aca044b4eca7e9ff520e14c9e0c7ed0b11f1bc32d42ff80591