[INFO] fetching crate wasm-bpf-rs 0.3.2... [INFO] building wasm-bpf-rs-0.3.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [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 ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wiggle-generate v5.0.1 [INFO] [stderr] Downloaded wasmtime-component-util v5.0.1 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded winx v0.35.1 [INFO] [stderr] Downloaded wiggle-macro v5.0.1 [INFO] [stderr] Downloaded wiggle v5.0.1 [INFO] [stderr] Downloaded wast v35.0.2 [INFO] [stderr] Downloaded cpp_demangle v0.3.5 [INFO] [stderr] Downloaded system-interface v0.25.9 [INFO] [stderr] Downloaded wast v239.0.0 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v5.0.1 [INFO] [stderr] Downloaded wat v1.239.0 [INFO] [stderr] Downloaded wasmtime v5.0.1 [INFO] [stderr] Downloaded vsprintf v2.0.0 [INFO] [stderr] Downloaded fs-set-times v0.18.1 [INFO] [stderr] Downloaded cap-time-ext v1.0.15 [INFO] [stderr] Downloaded cap-rand v1.0.15 [INFO] [stderr] Downloaded cranelift-entity v0.92.1 [INFO] [stderr] Downloaded fs-set-times v0.19.2 [INFO] [stderr] Downloaded cap-primitives v1.0.15 [INFO] [stderr] Downloaded pulldown-cmark v0.8.0 [INFO] [stderr] Downloaded wit-parser v0.3.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.92.1 [INFO] [stderr] Downloaded wasmparser v0.96.0 [INFO] [stderr] Downloaded wasi-common v5.0.1 [INFO] [stderr] Downloaded ittapi-sys v0.3.5 [INFO] [stderr] Downloaded wasmtime-environ v5.0.1 [INFO] [stderr] Downloaded wasm-encoder v0.239.0 [INFO] [stderr] Downloaded regalloc2 v0.5.1 [INFO] [stderr] Downloaded cranelift-bforest v0.92.1 [INFO] [stderr] Downloaded wasmtime-runtime v5.0.1 [INFO] [stderr] Downloaded wasmparser v0.239.0 [INFO] [stderr] Downloaded rustix v0.36.17 [INFO] [stderr] Downloaded flexi_logger v0.25.6 [INFO] [stderr] Downloaded cranelift-wasm v0.92.1 [INFO] [stderr] Downloaded cranelift-isle v0.92.1 [INFO] [stderr] Downloaded wasmtime-cranelift v5.0.1 [INFO] [stderr] Downloaded libbpf-sys v1.6.1+v1.6.1 [INFO] [stderr] Downloaded ittapi v0.3.5 [INFO] [stderr] Downloaded wasmtime-jit v5.0.1 [INFO] [stderr] Downloaded wasmtime-jit-debug v5.0.1 [INFO] [stderr] Downloaded cap-std v1.0.15 [INFO] [stderr] Downloaded io-extras v0.17.4 [INFO] [stderr] Downloaded wasmtime-wasi v5.0.1 [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded wasmtime-cache v5.0.1 [INFO] [stderr] Downloaded cranelift-frontend v0.92.1 [INFO] [stderr] Downloaded mach v0.3.2 [INFO] [stderr] Downloaded memfd v0.6.5 [INFO] [stderr] Downloaded cranelift-codegen v0.92.1 [INFO] [stderr] Downloaded wasmtime-types v5.0.1 [INFO] [stderr] Downloaded wasmtime-fiber v5.0.1 [INFO] [stderr] Downloaded cap-fs-ext v1.0.15 [INFO] [stderr] Downloaded wasi-cap-std-sync v5.0.1 [INFO] [stderr] Downloaded file-per-thread-logger v0.1.6 [INFO] [stderr] Downloaded libbpf-rs v0.20.1 [INFO] [stderr] Downloaded wasmtime-component-macro v5.0.1 [INFO] [stderr] Downloaded cranelift-native v0.92.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.92.1 [INFO] [stderr] Downloaded slice-group-by v0.3.1 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v5.0.1 [INFO] [stderr] Downloaded wasmtime-asm-macros v5.0.1 [INFO] [stderr] Downloaded id-arena v2.2.1 [INFO] [stderr] Downloaded witx v0.9.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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 257a9aaa3ff66f95c92158b10d6749874b2ac14a5855e418bbf70b9c6ecd7fa0 [INFO] running `Command { std: "docker" "start" "-a" "257a9aaa3ff66f95c92158b10d6749874b2ac14a5855e418bbf70b9c6ecd7fa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "257a9aaa3ff66f95c92158b10d6749874b2ac14a5855e418bbf70b9c6ecd7fa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "257a9aaa3ff66f95c92158b10d6749874b2ac14a5855e418bbf70b9c6ecd7fa0", kill_on_drop: false }` [INFO] [stdout] 257a9aaa3ff66f95c92158b10d6749874b2ac14a5855e418bbf70b9c6ecd7fa0 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f7824a1be6ea028770a26a8abd4aa4d8bd1cf3e203e102a664a392a1869d0a7 [INFO] running `Command { std: "docker" "start" "-a" "5f7824a1be6ea028770a26a8abd4aa4d8bd1cf3e203e102a664a392a1869d0a7", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [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 jobserver v0.1.34 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling cranelift-isle v0.92.1 [INFO] [stderr] Compiling cranelift-entity v0.92.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.92.1 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.92.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling io-extras v0.17.4 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling cranelift-bforest v0.92.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling cap-primitives v1.0.15 [INFO] [stderr] Compiling regalloc2 v0.5.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling ambient-authority v0.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling wasmtime-asm-macros v5.0.1 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling maybe-owned v0.3.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling wast v35.0.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling memfd v0.6.5 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wasmtime-fiber v5.0.1 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ittapi-sys v0.3.5 [INFO] [stderr] Compiling cranelift-codegen v0.92.1 [INFO] [stderr] Compiling wasmtime-runtime v5.0.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling wasmtime-cache v5.0.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling cap-std v1.0.15 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling wast v239.0.0 [INFO] [stderr] Compiling witx v0.9.1 [INFO] [stderr] Compiling file-per-thread-logger v0.1.6 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v5.0.1 [INFO] [stderr] Compiling wasmtime v5.0.1 [INFO] [stderr] Compiling ittapi v0.3.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling io-lifetimes v2.0.4 [INFO] [stderr] Compiling wasi-common v5.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling system-interface v0.25.9 [INFO] [stderr] Compiling cap-fs-ext v1.0.15 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling wiggle-generate v5.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling fs-set-times v0.19.2 [INFO] [stderr] Compiling wasmtime-jit-debug v5.0.1 [INFO] [stderr] Compiling wasmparser v0.96.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling vsprintf v2.0.0 [INFO] [stderr] Compiling libbpf-sys v1.6.1+v1.6.1 [INFO] [stderr] Compiling cap-rand v1.0.15 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [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 chrono v0.4.42 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling ouroboros_macro v0.15.6 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling nu-ansi-term v0.49.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling wiggle-macro v5.0.1 [INFO] [stderr] Compiling flexi_logger v0.25.6 [INFO] [stderr] Compiling ouroboros v0.15.6 [INFO] [stderr] Compiling libbpf-rs v0.20.1 [INFO] [stderr] Compiling wasmtime-types v5.0.1 [INFO] [stderr] Compiling wasmtime-environ v5.0.1 [INFO] [stderr] Compiling wat v1.239.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [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 cranelift-wasm v0.92.1 [INFO] [stderr] Compiling wasmtime-cranelift v5.0.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: 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>; [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 { [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 { [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 { [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 { [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 1m 27s [INFO] running `Command { std: "docker" "inspect" "5f7824a1be6ea028770a26a8abd4aa4d8bd1cf3e203e102a664a392a1869d0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f7824a1be6ea028770a26a8abd4aa4d8bd1cf3e203e102a664a392a1869d0a7", kill_on_drop: false }` [INFO] [stdout] 5f7824a1be6ea028770a26a8abd4aa4d8bd1cf3e203e102a664a392a1869d0a7 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4074be4d294da6933b7d135bf7da4be6f2efa2aebfe1b24c3f59b04fda43e920 [INFO] running `Command { std: "docker" "start" "-a" "4074be4d294da6933b7d135bf7da4be6f2efa2aebfe1b24c3f59b04fda43e920", kill_on_drop: false }` [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>; [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 { [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 { [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 { [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 { [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] Compiling wasm-bpf-rs v0.3.2 (/opt/rustwide/workdir) [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>; [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 { [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 { [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 { [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 { [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 7.23s [INFO] running `Command { std: "docker" "inspect" "4074be4d294da6933b7d135bf7da4be6f2efa2aebfe1b24c3f59b04fda43e920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4074be4d294da6933b7d135bf7da4be6f2efa2aebfe1b24c3f59b04fda43e920", kill_on_drop: false }` [INFO] [stdout] 4074be4d294da6933b7d135bf7da4be6f2efa2aebfe1b24c3f59b04fda43e920