[INFO] fetching crate wasm-bpf-rs 0.3.2...
[INFO] building wasm-bpf-rs-0.3.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] extracting crate wasm-bpf-rs 0.3.2 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate wasm-bpf-rs 0.3.2
[INFO] finished tweaking crates.io crate wasm-bpf-rs 0.3.2
[INFO] tweaked toml for crates.io crate wasm-bpf-rs 0.3.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate wasm-bpf-rs 0.3.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 292 packages to latest compatible versions
[INFO] [stderr]       Adding flexi_logger v0.25.6 (available: v0.31.4)
[INFO] [stderr]       Adding libbpf-rs v0.20.1 (available: v0.25.0)
[INFO] [stderr]       Adding ouroboros v0.15.6 (available: v0.18.5)
[INFO] [stderr]       Adding wasi-common v5.0.1 (available: v37.0.1)
[INFO] [stderr]       Adding wasmtime v5.0.1 (available: v37.0.1)
[INFO] [stderr]       Adding wasmtime-wasi v5.0.1 (available: v37.0.1)
[INFO] [stderr]       Adding wiggle v5.0.1 (available: v37.0.1)
[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]  Downloading crates ...
[INFO] [stderr]   Downloaded zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]   Downloaded wasmtime-jit-debug v5.0.1
[INFO] [stderr]   Downloaded wasmtime-wasi v5.0.1
[INFO] [stderr]   Downloaded fs-set-times v0.19.2
[INFO] [stderr]   Downloaded fs-set-times v0.18.1
[INFO] [stderr]   Downloaded wiggle-generate v5.0.1
[INFO] [stderr]   Downloaded wiggle-macro v5.0.1
[INFO] [stderr]   Downloaded cranelift-entity v0.92.1
[INFO] [stderr]   Downloaded wasmtime-fiber v5.0.1
[INFO] [stderr]   Downloaded rustix v0.36.17
[INFO] [stderr]   Downloaded wasmtime-cranelift v5.0.1
[INFO] [stderr]   Downloaded cranelift-isle v0.92.1
[INFO] [stderr]   Downloaded num_enum_derive v0.5.11
[INFO] [stderr]   Downloaded nu-ansi-term v0.49.0
[INFO] [stderr]   Downloaded io-extras v0.17.4
[INFO] [stderr]   Downloaded cranelift-frontend v0.92.1
[INFO] [stderr]   Downloaded wasmtime-runtime v5.0.1
[INFO] [stderr]   Downloaded wit-parser v0.3.1
[INFO] [stderr]   Downloaded wasmtime-jit v5.0.1
[INFO] [stderr]   Downloaded cap-primitives v1.0.15
[INFO] [stderr]   Downloaded pulldown-cmark v0.8.0
[INFO] [stderr]   Downloaded regalloc2 v0.5.1
[INFO] [stderr]   Downloaded ittapi-sys v0.3.5
[INFO] [stderr]   Downloaded wasmparser v0.96.0
[INFO] [stderr]   Downloaded flexi_logger v0.25.6
[INFO] [stderr]   Downloaded cranelift-wasm v0.92.1
[INFO] [stderr]   Downloaded wasmtime-environ v5.0.1
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.92.1
[INFO] [stderr]   Downloaded cranelift-codegen v0.92.1
[INFO] [stderr]   Downloaded wasmtime-types v5.0.1
[INFO] [stderr]   Downloaded ouroboros_macro v0.15.6
[INFO] [stderr]   Downloaded system-interface v0.25.9
[INFO] [stderr]   Downloaded cap-std v1.0.15
[INFO] [stderr]   Downloaded directories-next v2.0.0
[INFO] [stderr]   Downloaded zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]   Downloaded wasmtime-cache v5.0.1
[INFO] [stderr]   Downloaded libbpf-rs v0.20.1
[INFO] [stderr]   Downloaded wasmtime-wit-bindgen v5.0.1
[INFO] [stderr]   Downloaded wasmtime-component-macro v5.0.1
[INFO] [stderr]   Downloaded cranelift-native v0.92.1
[INFO] [stderr]   Downloaded cranelift-bforest v0.92.1
[INFO] [stderr]   Downloaded addr2line v0.17.0
[INFO] [stderr]   Downloaded ittapi v0.3.5
[INFO] [stderr]   Downloaded wasmtime-asm-macros v5.0.1
[INFO] [stderr]   Downloaded num_enum v0.5.11
[INFO] [stderr]   Downloaded vsprintf v2.0.0
[INFO] [stderr]   Downloaded ouroboros v0.15.6
[INFO] [stderr]   Downloaded cap-time-ext v1.0.15
[INFO] [stderr]   Downloaded cap-fs-ext v1.0.15
[INFO] [stderr]   Downloaded wasi-cap-std-sync v5.0.1
[INFO] [stderr]   Downloaded cap-rand v1.0.15
[INFO] [stderr]   Downloaded winx v0.35.1
[INFO] [stderr]   Downloaded file-per-thread-logger v0.1.6
[INFO] [stderr]   Downloaded wasmtime-component-util v5.0.1
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.92.1
[INFO] [stderr]   Downloaded wasmtime-jit-icache-coherence v5.0.1
[INFO] [stderr]   Downloaded object v0.29.0
[INFO] [stderr]   Downloaded wasmtime v5.0.1
[INFO] [stderr]   Downloaded libbpf-sys v1.6.1+v1.6.1
[INFO] [stderr]   Downloaded wiggle v5.0.1
[INFO] [stderr]   Downloaded wasi-common v5.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f417898c5632607e1bf6d608fc2ffe2873b7a7055ee69ef39d71474b9b0db8fb
[INFO] running `Command { std: "docker" "start" "-a" "f417898c5632607e1bf6d608fc2ffe2873b7a7055ee69ef39d71474b9b0db8fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f417898c5632607e1bf6d608fc2ffe2873b7a7055ee69ef39d71474b9b0db8fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f417898c5632607e1bf6d608fc2ffe2873b7a7055ee69ef39d71474b9b0db8fb", kill_on_drop: false }`
[INFO] [stdout] f417898c5632607e1bf6d608fc2ffe2873b7a7055ee69ef39d71474b9b0db8fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 330568224a19f901acec0a666a1b3de73bbed54474d18b2876ed37e20ed8ee76
[INFO] running `Command { std: "docker" "start" "-a" "330568224a19f901acec0a666a1b3de73bbed54474d18b2876ed37e20ed8ee76", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling cranelift-entity v0.92.1
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling cranelift-isle v0.92.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling rustix v0.36.17
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.92.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.92.1
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.39
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling gimli v0.26.2
[INFO] [stderr]    Compiling addr2line v0.25.1
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling wasmtime-fiber v5.0.1
[INFO] [stderr]    Compiling slice-group-by v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling wasmparser v0.96.0
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling cranelift-codegen v0.92.1
[INFO] [stderr]    Compiling regalloc2 v0.5.1
[INFO] [stderr]    Compiling object v0.29.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cranelift-bforest v0.92.1
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling io-extras v0.17.4
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ittapi-sys v0.3.5
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling ambient-authority v0.0.2
[INFO] [stderr]    Compiling cap-primitives v1.0.15
[INFO] [stderr]    Compiling wasmtime-types v5.0.1
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling wasm-encoder v0.239.0
[INFO] [stderr]    Compiling wasmtime-environ v5.0.1
[INFO] [stderr]    Compiling fs-set-times v0.19.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling wasmtime-runtime v5.0.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling wasmtime-asm-macros v5.0.1
[INFO] [stderr]    Compiling maybe-owned v0.3.4
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling leb128fmt v0.1.0
[INFO] [stderr]    Compiling cpp_demangle v0.3.5
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling memfd v0.6.5
[INFO] [stderr]    Compiling wast v35.0.2
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling wasmtime-jit-debug v5.0.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling cap-std v1.0.15
[INFO] [stderr]    Compiling wasmtime-cache v5.0.1
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling witx v0.9.1
[INFO] [stderr]    Compiling directories-next v2.0.0
[INFO] [stderr]    Compiling wast v239.0.0
[INFO] [stderr]    Compiling ittapi v0.3.5
[INFO] [stderr]    Compiling shellexpand v2.1.2
[INFO] [stderr]    Compiling file-per-thread-logger v0.1.6
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling wasmtime-jit-icache-coherence v5.0.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling wasmtime v5.0.1
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling wiggle-generate v5.0.1
[INFO] [stderr]    Compiling wasmtime-jit v5.0.1
[INFO] [stderr]    Compiling cranelift-frontend v0.92.1
[INFO] [stderr]    Compiling cranelift-native v0.92.1
[INFO] [stderr]    Compiling wasi-common v5.0.1
[INFO] [stderr]    Compiling io-lifetimes v2.0.4
[INFO] [stderr]    Compiling cranelift-wasm v0.92.1
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling wiggle-macro v5.0.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling cap-fs-ext v1.0.15
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling wasmtime-cranelift v5.0.1
[INFO] [stderr]    Compiling system-interface v0.25.9
[INFO] [stderr]    Compiling libbpf-sys v1.6.1+v1.6.1
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling cap-rand v1.0.15
[INFO] [stderr]    Compiling vsprintf v2.0.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cap-time-ext v1.0.15
[INFO] [stderr]    Compiling fs-set-times v0.18.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling wasmtime-wasi v5.0.1
[INFO] [stderr]    Compiling wat v1.239.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling ouroboros_macro v0.15.6
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling aliasable v0.1.3
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling nu-ansi-term v0.49.0
[INFO] [stderr]    Compiling ouroboros v0.15.6
[INFO] [stderr]    Compiling flexi_logger v0.25.6
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling libbpf-rs v0.20.1
[INFO] [stderr]    Compiling wiggle v5.0.1
[INFO] [stderr]    Compiling wasi-cap-std-sync v5.0.1
[INFO] [stderr]    Compiling wasm-bpf-rs v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ensure_program_mut_by_state`
[INFO] [stdout]   --> src/bpf/poll.rs:15:57
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ensure_enough_memory, ensure_program_mut_by_caller, ensure_program_mut_by_state,
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bpf/load.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut state = caller.data_mut();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `callback_func` is never read
[INFO] [stdout]   --> src/state.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[self_referencing(pub_extras)]
[INFO] [stdout]    | ------------------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub callback_func: RingBufferCallback,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `callback_func` is never read
[INFO] [stdout]   --> src/state.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[self_referencing(pub_extras)]
[INFO] [stdout]    | ------------------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub callback_func: PerfBufferSampleCallback,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_wasm_string` and `read_wasm_string_slice` are never used
[INFO] [stdout]   --> src/utils.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait CallerUtils {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn read_wasm_string(&mut self, offset: usize) -> anyhow::Result<Vec<u8>>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     // Terminated zero won't be included
[INFO] [stdout] 20 |     fn read_wasm_string_slice(&mut self, offset: usize) -> anyhow::Result<&[u8]>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/state.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn get_object(&self) -> Ref<Object> {
[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] 78 |     pub fn get_object(&self) -> Ref<'_, Object> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/state.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn get_object_mut(&self) -> RefMut<Object> {
[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] 82 |     pub fn get_object_mut(&self) -> RefMut<'_, Object> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pipe.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn borrow(&self) -> std::sync::RwLockWriteGuard<W> {
[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] 57 |     pub fn borrow(&self) -> std::sync::RwLockWriteGuard<'_, W> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pipe.rs:60:26
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn get_read_lock(&self) -> std::sync::RwLockReadGuard<W> {
[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] 60 |     pub fn get_read_lock(&self) -> std::sync::RwLockReadGuard<'_, W> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 17s
[INFO] running `Command { std: "docker" "inspect" "330568224a19f901acec0a666a1b3de73bbed54474d18b2876ed37e20ed8ee76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "330568224a19f901acec0a666a1b3de73bbed54474d18b2876ed37e20ed8ee76", kill_on_drop: false }`
[INFO] [stdout] 330568224a19f901acec0a666a1b3de73bbed54474d18b2876ed37e20ed8ee76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98ee9d89cd33132f084818b2bc40f20a14776f32b356191a2c32a2f603bc56c5
[INFO] running `Command { std: "docker" "start" "-a" "98ee9d89cd33132f084818b2bc40f20a14776f32b356191a2c32a2f603bc56c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bpf-rs v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ensure_program_mut_by_state`
[INFO] [stdout]   --> src/bpf/poll.rs:15:57
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ensure_enough_memory, ensure_program_mut_by_caller, ensure_program_mut_by_state,
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bpf/load.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut state = caller.data_mut();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `callback_func` is never read
[INFO] [stdout]   --> src/state.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[self_referencing(pub_extras)]
[INFO] [stdout]    | ------------------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub callback_func: RingBufferCallback,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `callback_func` is never read
[INFO] [stdout]   --> src/state.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[self_referencing(pub_extras)]
[INFO] [stdout]    | ------------------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub callback_func: PerfBufferSampleCallback,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_wasm_string` and `read_wasm_string_slice` are never used
[INFO] [stdout]   --> src/utils.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait CallerUtils {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn read_wasm_string(&mut self, offset: usize) -> anyhow::Result<Vec<u8>>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     // Terminated zero won't be included
[INFO] [stdout] 20 |     fn read_wasm_string_slice(&mut self, offset: usize) -> anyhow::Result<&[u8]>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/state.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn get_object(&self) -> Ref<Object> {
[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] 78 |     pub fn get_object(&self) -> Ref<'_, Object> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/state.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn get_object_mut(&self) -> RefMut<Object> {
[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] 82 |     pub fn get_object_mut(&self) -> RefMut<'_, Object> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pipe.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn borrow(&self) -> std::sync::RwLockWriteGuard<W> {
[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] 57 |     pub fn borrow(&self) -> std::sync::RwLockWriteGuard<'_, W> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pipe.rs:60:26
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn get_read_lock(&self) -> std::sync::RwLockReadGuard<W> {
[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] 60 |     pub fn get_read_lock(&self) -> std::sync::RwLockReadGuard<'_, W> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ensure_program_mut_by_state`
[INFO] [stdout]   --> src/bpf/poll.rs:15:57
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ensure_enough_memory, ensure_program_mut_by_caller, ensure_program_mut_by_state,
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bpf/load.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut state = caller.data_mut();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `callback_func` is never read
[INFO] [stdout]   --> src/state.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[self_referencing(pub_extras)]
[INFO] [stdout]    | ------------------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub callback_func: RingBufferCallback,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `callback_func` is never read
[INFO] [stdout]   --> src/state.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[self_referencing(pub_extras)]
[INFO] [stdout]    | ------------------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub callback_func: PerfBufferSampleCallback,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_wasm_string` and `read_wasm_string_slice` are never used
[INFO] [stdout]   --> src/utils.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait CallerUtils {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn read_wasm_string(&mut self, offset: usize) -> anyhow::Result<Vec<u8>>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     // Terminated zero won't be included
[INFO] [stdout] 20 |     fn read_wasm_string_slice(&mut self, offset: usize) -> anyhow::Result<&[u8]>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/state.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn get_object(&self) -> Ref<Object> {
[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] 78 |     pub fn get_object(&self) -> Ref<'_, Object> {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/state.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn get_object_mut(&self) -> RefMut<Object> {
[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] 82 |     pub fn get_object_mut(&self) -> RefMut<'_, Object> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pipe.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn borrow(&self) -> std::sync::RwLockWriteGuard<W> {
[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] 57 |     pub fn borrow(&self) -> std::sync::RwLockWriteGuard<'_, W> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pipe.rs:60:26
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn get_read_lock(&self) -> std::sync::RwLockReadGuard<W> {
[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] 60 |     pub fn get_read_lock(&self) -> std::sync::RwLockReadGuard<'_, W> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.75s
[INFO] running `Command { std: "docker" "inspect" "98ee9d89cd33132f084818b2bc40f20a14776f32b356191a2c32a2f603bc56c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98ee9d89cd33132f084818b2bc40f20a14776f32b356191a2c32a2f603bc56c5", kill_on_drop: false }`
[INFO] [stdout] 98ee9d89cd33132f084818b2bc40f20a14776f32b356191a2c32a2f603bc56c5
