[INFO] cloning repository https://github.com/nix-community/nix-ld-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nix-community/nix-ld-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnix-community%2Fnix-ld-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnix-community%2Fnix-ld-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8af5fc9add315c251edea8f659b56fc7836a163f [INFO] checking nix-community/nix-ld-rs against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnix-community%2Fnix-ld-rs" "/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/.cargo/config [INFO] started tweaking git repo https://github.com/nix-community/nix-ld-rs [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/nix-community/nix-ld-rs [INFO] tweaked toml for git repo https://github.com/nix-community/nix-ld-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nix-community/nix-ld-rs on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nix-community/nix-ld-rs 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded constcat v0.5.0 [INFO] [stderr] Downloaded default-env v0.1.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a677a686d9942a221574789a2213be49ec48388bec77f8af7f45fad528d6f1e1 [INFO] running `Command { std: "docker" "start" "-a" "a677a686d9942a221574789a2213be49ec48388bec77f8af7f45fad528d6f1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a677a686d9942a221574789a2213be49ec48388bec77f8af7f45fad528d6f1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a677a686d9942a221574789a2213be49ec48388bec77f8af7f45fad528d6f1e1", kill_on_drop: false }` [INFO] [stdout] a677a686d9942a221574789a2213be49ec48388bec77f8af7f45fad528d6f1e1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90727581aaf7e3947195ee2bf4083920e050bf905601305c81a56788a3f19638 [INFO] running `Command { std: "docker" "start" "-a" "90727581aaf7e3947195ee2bf4083920e050bf905601305c81a56788a3f19638", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling nix-ld-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking constcat v0.5.0 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking linux-raw-sys v0.6.5 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling default-env v0.1.1 [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/arch.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 143 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub extern fn rust_eh_personality() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/sys.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 184 | pub extern fn rust_eh_personality() { [INFO] [stdout] | ----------------------------------- should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_eh_personality` to [INFO] [stdout] = note: match `.*rust_eh_personality.*` instead of `break rust_eh_personality` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | / core::arch::asm!( [INFO] [stdout] 146 | | "lea r10, [rip + {context}]", [INFO] [stdout] 147 | | "mov r11, [r10 + {size} * 1]", // .env_entry [INFO] [stdout] 148 | | "test r11, r11", [INFO] [stdout] ... | [INFO] [stdout] 156 | | options(noreturn), [INFO] [stdout] 157 | | ) [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0787`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nix-ld-rs` (bin "nix-ld-rs") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "90727581aaf7e3947195ee2bf4083920e050bf905601305c81a56788a3f19638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90727581aaf7e3947195ee2bf4083920e050bf905601305c81a56788a3f19638", kill_on_drop: false }` [INFO] [stdout] 90727581aaf7e3947195ee2bf4083920e050bf905601305c81a56788a3f19638