[INFO] fetching crate wick-wasm-engine 0.1.0... [INFO] building wick-wasm-engine-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate wick-wasm-engine 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate wick-wasm-engine 0.1.0 [INFO] finished tweaking crates.io crate wick-wasm-engine 0.1.0 [INFO] tweaked toml for crates.io crate wick-wasm-engine 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wick-wasm-engine 0.1.0 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] Locking 270 packages to latest compatible versions [INFO] [stderr] Adding wasmtime v13.0.1 (available: v37.0.1) [INFO] [stderr] Adding wasmtime-wasi v13.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] Downloading crates ... [INFO] [stderr] Downloaded wasmtime-winch v13.0.1 [INFO] [stderr] Downloaded wiggle-macro v13.0.1 [INFO] [stderr] Downloaded wiggle-generate v13.0.1 [INFO] [stderr] Downloaded shellexpand v2.1.2 [INFO] [stderr] Downloaded witx v0.9.1 [INFO] [stderr] Downloaded wasmtime-fiber v13.0.1 [INFO] [stderr] Downloaded cap-std v2.0.2 [INFO] [stderr] Downloaded wasmtime-cranelift-shared v13.0.1 [INFO] [stderr] Downloaded wasmtime-component-util v13.0.1 [INFO] [stderr] Downloaded fxprof-processed-profile v0.6.0 [INFO] [stderr] Downloaded cranelift-frontend v0.100.1 [INFO] [stderr] Downloaded wasi-tokio v13.0.1 [INFO] [stderr] Downloaded wasmtime-cache v13.0.1 [INFO] [stderr] Downloaded cap-net-ext v2.0.2 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v13.0.1 [INFO] [stderr] Downloaded wasmparser v0.121.2 [INFO] [stderr] Downloaded wit-parser v0.11.3 [INFO] [stderr] Downloaded wasmtime-cranelift v13.0.1 [INFO] [stderr] Downloaded wasi-common v13.0.1 [INFO] [stderr] Downloaded ittapi-sys v0.3.5 [INFO] [stderr] Downloaded wasmtime-runtime v13.0.1 [INFO] [stderr] Downloaded wasmparser v0.112.0 [INFO] [stderr] Downloaded cranelift-wasm v0.100.1 [INFO] [stderr] Downloaded regalloc2 v0.9.3 [INFO] [stderr] Downloaded wasmprinter v0.2.80 [INFO] [stderr] Downloaded cranelift-entity v0.100.1 [INFO] [stderr] Downloaded cap-primitives v2.0.2 [INFO] [stderr] Downloaded wasmtime-environ v13.0.1 [INFO] [stderr] Downloaded cap-time-ext v2.0.2 [INFO] [stderr] Downloaded cap-fs-ext v2.0.2 [INFO] [stderr] Downloaded system-interface v0.26.1 [INFO] [stderr] Downloaded wasi-cap-std-sync v13.0.1 [INFO] [stderr] Downloaded cap-rand v2.0.2 [INFO] [stderr] Downloaded ittapi v0.3.5 [INFO] [stderr] Downloaded wasmtime-versioned-export-macros v13.0.1 [INFO] [stderr] Downloaded winch-codegen v0.11.1 [INFO] [stderr] Downloaded cranelift-control v0.100.1 [INFO] [stderr] Downloaded wasm-encoder v0.32.0 [INFO] [stderr] Downloaded wasmtime-types v13.0.1 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v13.0.1 [INFO] [stderr] Downloaded wasmtime-component-macro v13.0.1 [INFO] [stderr] Downloaded memfd v0.6.5 [INFO] [stderr] Downloaded wasmtime-jit-debug v13.0.1 [INFO] [stderr] Downloaded cranelift-bforest v0.100.1 [INFO] [stderr] Downloaded wasmtime-jit v13.0.1 [INFO] [stderr] Downloaded wasmtime-asm-macros v13.0.1 [INFO] [stderr] Downloaded wasmtime-wmemcheck v13.0.1 [INFO] [stderr] Downloaded cranelift-native v0.100.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.100.1 [INFO] [stderr] Downloaded slice-group-by v0.3.1 [INFO] [stderr] Downloaded wasmtime v13.0.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.100.1 [INFO] [stderr] Downloaded wasmtime-wasi v13.0.1 [INFO] [stderr] Downloaded cranelift-isle v0.100.1 [INFO] [stderr] Downloaded wast v35.0.2 [INFO] [stderr] Downloaded wiggle v13.0.1 [INFO] [stderr] Downloaded cranelift-codegen v0.100.1 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 646080769bfe91a9016ec8a64756122b8765cfb05842d61bca47c5bfd5e5f24b [INFO] running `Command { std: "docker" "start" "-a" "646080769bfe91a9016ec8a64756122b8765cfb05842d61bca47c5bfd5e5f24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "646080769bfe91a9016ec8a64756122b8765cfb05842d61bca47c5bfd5e5f24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "646080769bfe91a9016ec8a64756122b8765cfb05842d61bca47c5bfd5e5f24b", kill_on_drop: false }` [INFO] [stdout] 646080769bfe91a9016ec8a64756122b8765cfb05842d61bca47c5bfd5e5f24b [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7ec7c73f69b9181a98ddc18e14fdc792ab5625837fb4ff0b66f0ee3825064cd [INFO] running `Command { std: "docker" "start" "-a" "a7ec7c73f69b9181a98ddc18e14fdc792ab5625837fb4ff0b66f0ee3825064cd", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling cranelift-entity v0.100.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling cranelift-isle v0.100.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v13.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.100.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.100.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling wasmparser v0.112.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling cranelift-control v0.100.1 [INFO] [stderr] Compiling regalloc2 v0.9.3 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling cranelift-bforest v0.100.1 [INFO] [stderr] Compiling cranelift-codegen v0.100.1 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling wasmtime-component-util v13.0.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling wasm-encoder v0.32.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling cap-primitives v2.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling wasmtime-types v13.0.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling fs-set-times v0.20.3 [INFO] [stderr] Compiling ittapi-sys v0.3.5 [INFO] [stderr] Compiling wasmtime-fiber v13.0.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wasmprinter v0.2.80 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling wasmtime-runtime v13.0.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling wasmtime-asm-macros v13.0.1 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling cap-std v2.0.2 [INFO] [stderr] Compiling wasmtime-environ v13.0.1 [INFO] [stderr] Compiling wit-parser v0.11.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling wasmtime-jit-debug v13.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling memfd v0.6.5 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling wast v35.0.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling wasmtime-cache v13.0.1 [INFO] [stderr] Compiling wasmtime-wmemcheck v13.0.1 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling witx v0.9.1 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling wasmtime-wit-bindgen v13.0.1 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling ittapi v0.3.5 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v13.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling wasmtime-component-macro v13.0.1 [INFO] [stderr] Compiling wiggle-generate v13.0.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling wasmtime-jit v13.0.1 [INFO] [stderr] Compiling wasi-common v13.0.1 [INFO] [stderr] Compiling wiggle-macro v13.0.1 [INFO] [stderr] Compiling system-interface v0.26.1 [INFO] [stderr] Compiling cap-fs-ext v2.0.2 [INFO] [stderr] Compiling cap-rand v2.0.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling cap-time-ext v2.0.2 [INFO] [stderr] Compiling cranelift-frontend v0.100.1 [INFO] [stderr] Compiling cranelift-native v0.100.1 [INFO] [stderr] Compiling wasmtime-cranelift-shared v13.0.1 [INFO] [stderr] Compiling cranelift-wasm v0.100.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling wasmtime-wasi v13.0.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling wasmtime-cranelift v13.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cap-net-ext v2.0.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling wasmtime v13.0.1 [INFO] [stderr] Compiling wiggle v13.0.1 [INFO] [stderr] Compiling wasi-cap-std-sync v13.0.1 [INFO] [stderr] Compiling wasi-tokio v13.0.1 [INFO] [stderr] Compiling wick-wasm-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/store.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let module_bytes = tokio::fs::read(path.clone()).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 21 - let module_bytes = tokio::fs::read(path.clone()).await?; [INFO] [stdout] 21 + let module_bytes = tokio::fs::read(path).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "a7ec7c73f69b9181a98ddc18e14fdc792ab5625837fb4ff0b66f0ee3825064cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ec7c73f69b9181a98ddc18e14fdc792ab5625837fb4ff0b66f0ee3825064cd", kill_on_drop: false }` [INFO] [stdout] a7ec7c73f69b9181a98ddc18e14fdc792ab5625837fb4ff0b66f0ee3825064cd [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14279632627a087bbfc5e964c843a880496510a422581ce70a6377ba608933a0 [INFO] running `Command { std: "docker" "start" "-a" "14279632627a087bbfc5e964c843a880496510a422581ce70a6377ba608933a0", kill_on_drop: false }` [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wick-wasm-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/store.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let module_bytes = tokio::fs::read(path.clone()).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 21 - let module_bytes = tokio::fs::read(path.clone()).await?; [INFO] [stdout] 21 + let module_bytes = tokio::fs::read(path).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/store.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | let module_bytes = tokio::fs::read(path.clone()).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 21 - let module_bytes = tokio::fs::read(path.clone()).await?; [INFO] [stdout] 21 + let module_bytes = tokio::fs::read(path).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "14279632627a087bbfc5e964c843a880496510a422581ce70a6377ba608933a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14279632627a087bbfc5e964c843a880496510a422581ce70a6377ba608933a0", kill_on_drop: false }` [INFO] [stdout] 14279632627a087bbfc5e964c843a880496510a422581ce70a6377ba608933a0