[INFO] cloning repository https://github.com/latchset/crypto-auditing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/latchset/crypto-auditing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatchset%2Fcrypto-auditing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatchset%2Fcrypto-auditing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efa33c56431063c98aceedfb076df4bb4d926ef2 [INFO] building latchset/crypto-auditing against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatchset%2Fcrypto-auditing" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/latchset/crypto-auditing [INFO] finished tweaking git repo https://github.com/latchset/crypto-auditing [INFO] tweaked toml for git repo https://github.com/latchset/crypto-auditing written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/latchset/crypto-auditing on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/latchset/crypto-auditing 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_core v0.20.10 [INFO] [stderr] Downloaded darling_macro v0.20.10 [INFO] [stderr] Downloaded num_threads v0.1.7 [INFO] [stderr] Downloaded serde_with_macros v3.9.0 [INFO] [stderr] Downloaded vsprintf v2.0.0 [INFO] [stderr] Downloaded half v1.8.3 [INFO] [stderr] Downloaded tokio-stream v0.1.15 [INFO] [stderr] Downloaded tokio-uring v0.4.0 [INFO] [stderr] Downloaded page_size v0.6.0 [INFO] [stderr] Downloaded io-uring v0.5.13 [INFO] [stderr] Downloaded inotify v0.10.2 [INFO] [stderr] Downloaded libbpf-cargo v0.24.4 [INFO] [stderr] Downloaded libloading v0.8.5 [INFO] [stderr] Downloaded serde_with v3.9.0 [INFO] [stderr] Downloaded educe v0.4.23 [INFO] [stderr] Downloaded nix v0.27.1 [INFO] [stderr] Downloaded libbpf-rs v0.24.4 [INFO] [stderr] Downloaded serde_spanned v0.6.7 [INFO] [stderr] Downloaded futures-executor v0.3.30 [INFO] [stderr] Downloaded tokio-serde v0.8.0 [INFO] [stderr] Downloaded probe v0.5.1 [INFO] [stderr] Downloaded cargo-platform v0.1.8 [INFO] [stderr] Downloaded bindgen v0.63.0 [INFO] [stderr] Downloaded memoffset v0.7.1 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded cpufeatures v0.2.13 [INFO] [stderr] Downloaded nix v0.26.4 [INFO] [stderr] Downloaded libsystemd v0.7.0 [INFO] [stderr] Downloaded enum-ordinalize v3.1.15 [INFO] [stderr] Downloaded cargo_metadata v0.15.4 [INFO] [stderr] Downloaded darling v0.20.10 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded libbpf-sys v1.4.3+v1.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9be5fb5f1f819eedbf220ead6dc57927cc7c2d30827ae3df72aff2e9fff7b4c0 [INFO] running `Command { std: "docker" "start" "-a" "9be5fb5f1f819eedbf220ead6dc57927cc7c2d30827ae3df72aff2e9fff7b4c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9be5fb5f1f819eedbf220ead6dc57927cc7c2d30827ae3df72aff2e9fff7b4c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9be5fb5f1f819eedbf220ead6dc57927cc7c2d30827ae3df72aff2e9fff7b4c0", kill_on_drop: false }` [INFO] [stdout] 9be5fb5f1f819eedbf220ead6dc57927cc7c2d30827ae3df72aff2e9fff7b4c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9087028a543d78012a99b2e299d5b5f673d09acefb89708b5afa05e7ca9dada [INFO] running `Command { std: "docker" "start" "-a" "d9087028a543d78012a99b2e299d5b5f673d09acefb89708b5afa05e7ca9dada", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling vsprintf v2.0.0 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libbpf-sys v1.4.3+v1.4.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling libbpf-rs v0.24.4 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-auditing v0.2.3 (/opt/rustwide/workdir/crypto-auditing) [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling tokio-serde v0.8.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling serde_with v3.9.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling io-uring v0.5.13 [INFO] [stderr] Compiling libbpf-cargo v0.24.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling agenttest v0.2.3 (/opt/rustwide/workdir/agent/tests/agenttest) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcj0VHE3/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{liblibbpf_cargo-67aa26e1ff580b65,libcargo_metadata-995c9974abf906bf,libserde_json-cae472e9e7d5379d,libmemchr-385abaa02608ee6d,libitoa-4c6598116a867907,libryu-f8ba606093049f91,libthiserror-366fa801f94a56c5,libcargo_platform-b4c962b9c07971ec,libcamino-c6e4a7d809da92ed,libmemmap2-b8cc64751e0431ae,liblibbpf_rs-b744a2f33edea7e0,libvsprintf-45d900021ef14903,liblibc-80da446cb43cb779,liblibbpf_sys-2ba857fd0d32411a,libsemver-6b8561a18e058562,libserde-4955ba3ea483fb3c,libregex-b3c1ed0abcc20d0d,libregex_automata-e1791330be544dd3,libregex_syntax-c9ed6525bee6373f,libtempfile-a91b0d6434de02d1,libfastrand-5b34477e6b7d2549,librustix-0ba8ff17ad7445ab,libbitflags-eb92e23a18d5cc91,liblinux_raw_sys-dd10f1d1b50fcb6c,libcfg_if-33ef6c02a07f9fec,libonce_cell-f5b886c66031c9f3,libanyhow-1bdf2e76b99b1cd6}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lelf" "-lz" "-lbpf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcj0VHE3/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/libbpf-sys-d50ee121f61d3617/out" "-L" "/opt/rustwide/target/debug/build/vsprintf-c48a6058548ae952/out" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/build/agenttest-505114f69f2d94dd/build_script_build-505114f69f2d94dd" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lbpf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `agenttest` (build script) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> crypto-auditing/src/types.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | (*raw_new_context).origin[..(*raw_new_context).origin_size as usize].to_vec() [INFO] [stdout] | ^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut audit_new_context_event_st` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8; 64]` [INFO] [stdout] --> crypto-auditing/src/types.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | (*raw_new_context).origin[..(*raw_new_context).origin_size as usize].to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 127 | (&(*raw_new_context).origin)[..(*raw_new_context).origin_size as usize].to_vec() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> crypto-auditing/src/types.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | ... std::str::from_utf8(&(*raw_string_data).value[..len - 1])?.to_string(); [INFO] [stdout] | ^^---------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut audit_blob_data_event_st` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8; 64]` [INFO] [stdout] --> crypto-auditing/src/types.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | ... std::str::from_utf8(&(*raw_string_data).value[..len - 1])?.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 157 | std::str::from_utf8(&(&(*raw_string_data).value)[..len - 1])?.to_string(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> crypto-auditing/src/types.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | let data = (*raw_blob_data).value[..len].to_vec(); [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut audit_blob_data_event_st` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8; 64]` [INFO] [stdout] --> crypto-auditing/src/types.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | let data = (*raw_blob_data).value[..len].to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 172 | let data = (&(*raw_blob_data).value)[..len].to_vec(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-auditing` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d9087028a543d78012a99b2e299d5b5f673d09acefb89708b5afa05e7ca9dada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9087028a543d78012a99b2e299d5b5f673d09acefb89708b5afa05e7ca9dada", kill_on_drop: false }` [INFO] [stdout] d9087028a543d78012a99b2e299d5b5f673d09acefb89708b5afa05e7ca9dada