[INFO] cloning repository https://github.com/close2code-palm/binarius [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/close2code-palm/binarius" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclose2code-palm%2Fbinarius", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclose2code-palm%2Fbinarius'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3562b5a3a09114ddfc7119d1c6a4b2608122933 [INFO] checking close2code-palm/binarius against master#e43d139a82620a268d3828a73e12a8679339e8f8 for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclose2code-palm%2Fbinarius" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/close2code-palm/binarius [INFO] finished tweaking git repo https://github.com/close2code-palm/binarius [INFO] tweaked toml for git repo https://github.com/close2code-palm/binarius written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/close2code-palm/binarius on toolchain e43d139a82620a268d3828a73e12a8679339e8f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/close2code-palm/binarius 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" "+e43d139a82620a268d3828a73e12a8679339e8f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54e6b1b4dd14c348b67d914d847dedc310ac15281dd476b78384722b7d395fe4 [INFO] running `Command { std: "docker" "start" "-a" "54e6b1b4dd14c348b67d914d847dedc310ac15281dd476b78384722b7d395fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54e6b1b4dd14c348b67d914d847dedc310ac15281dd476b78384722b7d395fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54e6b1b4dd14c348b67d914d847dedc310ac15281dd476b78384722b7d395fe4", kill_on_drop: false }` [INFO] [stdout] 54e6b1b4dd14c348b67d914d847dedc310ac15281dd476b78384722b7d395fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+e43d139a82620a268d3828a73e12a8679339e8f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acd272cc1716f294e0bde2920fdf7e18a3ab917a4edcf1f0928d499a75d15fb3 [INFO] running `Command { std: "docker" "start" "-a" "acd272cc1716f294e0bde2920fdf7e18a3ab917a4edcf1f0928d499a75d15fb3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking binarius v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FAN_MOVED_FROM` [INFO] [stdout] --> src/file_ops.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use nix::libc::{c_char, FAN_MOVED_FROM, FAN_REPORT_FID, readlink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FAN_MOVED_FROM` [INFO] [stdout] --> src/file_ops.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use nix::libc::{c_char, FAN_MOVED_FROM, FAN_REPORT_FID, readlink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `String` will be dropped [INFO] [stdout] --> src/file_ops.rs:50:71 [INFO] [stdout] | [INFO] [stdout] 50 | format!("/proc/self/fd/{}", accessed.as_raw_fd()).as_ptr() as *const c_char; [INFO] [stdout] | ------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `String` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `String` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `String` will be dropped [INFO] [stdout] --> src/file_ops.rs:50:71 [INFO] [stdout] | [INFO] [stdout] 50 | format!("/proc/self/fd/{}", accessed.as_raw_fd()).as_ptr() as *const c_char; [INFO] [stdout] | ------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `String` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `String` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.98s [INFO] running `Command { std: "docker" "inspect" "acd272cc1716f294e0bde2920fdf7e18a3ab917a4edcf1f0928d499a75d15fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd272cc1716f294e0bde2920fdf7e18a3ab917a4edcf1f0928d499a75d15fb3", kill_on_drop: false }` [INFO] [stdout] acd272cc1716f294e0bde2920fdf7e18a3ab917a4edcf1f0928d499a75d15fb3