[INFO] cloning repository https://github.com/esertemeltasarim/FileNavigator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/esertemeltasarim/FileNavigator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesertemeltasarim%2FFileNavigator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesertemeltasarim%2FFileNavigator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17022a9ef2d364bbe4d0d562dca64931dcb88b47 [INFO] checking esertemeltasarim/FileNavigator/17022a9ef2d364bbe4d0d562dca64931dcb88b47 against master#55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesertemeltasarim%2FFileNavigator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 45% (1698/3722) Updating files: 46% (1713/3722) Updating files: 47% (1750/3722) Updating files: 48% (1787/3722) Updating files: 49% (1824/3722) Updating files: 50% (1861/3722) Updating files: 51% (1899/3722) Updating files: 52% (1936/3722) Updating files: 53% (1973/3722) Updating files: 54% (2010/3722) Updating files: 55% (2048/3722) Updating files: 56% (2085/3722) Updating files: 56% (2115/3722) Updating files: 57% (2122/3722) Updating files: 58% (2159/3722) Updating files: 59% (2196/3722) Updating files: 60% (2234/3722) Updating files: 61% (2271/3722) Updating files: 62% (2308/3722) Updating files: 62% (2333/3722) Updating files: 63% (2345/3722) Updating files: 64% (2383/3722) Updating files: 65% (2420/3722) Updating files: 66% (2457/3722) Updating files: 66% (2462/3722) Updating files: 67% (2494/3722) Updating files: 68% (2531/3722) Updating files: 69% (2569/3722) Updating files: 70% (2606/3722) Updating files: 71% (2643/3722) Updating files: 72% (2680/3722) Updating files: 73% (2718/3722) Updating files: 74% (2755/3722) Updating files: 75% (2792/3722) Updating files: 76% (2829/3722) Updating files: 77% (2866/3722) Updating files: 78% (2904/3722) Updating files: 79% (2941/3722) Updating files: 80% (2978/3722) Updating files: 81% (3015/3722) Updating files: 82% (3053/3722) Updating files: 83% (3090/3722) Updating files: 84% (3127/3722) Updating files: 85% (3164/3722) Updating files: 86% (3201/3722) Updating files: 87% (3239/3722) Updating files: 88% (3276/3722) Updating files: 89% (3313/3722) Updating files: 90% (3350/3722) Updating files: 91% (3388/3722) Updating files: 92% (3425/3722) Updating files: 93% (3462/3722) Updating files: 94% (3499/3722) Updating files: 95% (3536/3722) Updating files: 95% (3572/3722) Updating files: 96% (3574/3722) Updating files: 97% (3611/3722) Updating files: 98% (3648/3722) Updating files: 99% (3685/3722) Updating files: 100% (3722/3722) Updating files: 100% (3722/3722), done. [INFO] started tweaking git repo https://github.com/esertemeltasarim/FileNavigator [INFO] finished tweaking git repo https://github.com/esertemeltasarim/FileNavigator [INFO] tweaked toml for git repo https://github.com/esertemeltasarim/FileNavigator written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/esertemeltasarim/FileNavigator on toolchain 55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/esertemeltasarim/FileNavigator 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" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ff8b11893a8f6c25e3276a16674396f26f0ce8615dbdfe6a2c0bad23c70ba2d [INFO] running `Command { std: "docker" "start" "-a" "4ff8b11893a8f6c25e3276a16674396f26f0ce8615dbdfe6a2c0bad23c70ba2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ff8b11893a8f6c25e3276a16674396f26f0ce8615dbdfe6a2c0bad23c70ba2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff8b11893a8f6c25e3276a16674396f26f0ce8615dbdfe6a2c0bad23c70ba2d", kill_on_drop: false }` [INFO] [stdout] 4ff8b11893a8f6c25e3276a16674396f26f0ce8615dbdfe6a2c0bad23c70ba2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+55b9b4d1e1bb5b46c04237a2fb2f8a85f39ef97d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fc9a9ae8ba491b1b0b093b5a1cab88a6ecdace2897aca51da185b1bba6186b5 [INFO] running `Command { std: "docker" "start" "-a" "6fc9a9ae8ba491b1b0b093b5a1cab88a6ecdace2897aca51da185b1bba6186b5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.7 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling glib-sys v0.16.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling gobject-sys v0.16.3 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling atk-sys v0.16.0 [INFO] [stderr] Compiling gio-sys v0.16.3 [INFO] [stderr] Compiling gdk-sys v0.16.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking enumflags2 v0.7.11 [INFO] [stderr] Checking accesskit v0.11.2 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking emath v0.22.0 [INFO] [stderr] Checking ecolor v0.22.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling atspi-macros v0.2.0 [INFO] [stderr] Compiling cairo-sys-rs v0.16.3 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.16.3 [INFO] [stderr] Compiling pango-sys v0.16.3 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking epaint v0.22.0 [INFO] [stderr] Checking accesskit_consumer v0.15.2 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Compiling gtk-sys v0.16.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking egui v0.22.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Compiling embed-resource v2.5.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Compiling rfd v0.11.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Compiling transcendental_crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking egui_glow v0.22.0 [INFO] [stderr] Checking atspi v0.10.1 [INFO] [stderr] Checking arboard v3.5.0 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Checking accesskit_unix v0.5.2 [INFO] [stderr] Checking accesskit_winit v0.14.4 [INFO] [stderr] Checking egui-winit v0.22.0 [INFO] [stderr] Checking eframe v0.22.0 [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/main.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | io::{self, Read, Write, BufReader, BufWriter, Cursor}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/main.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | io::{self, Read, Write, BufReader, BufWriter, Cursor}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/main.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 476 | fn encrypt_file(&mut self) { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 519 | / thread::spawn(move || { [INFO] [stdout] 520 | | let result = encrypt_file(&input_path, &output_path, &seed_clone, chunk_size, unit, [INFO] [stdout] 521 | | |processed, total| { [INFO] [stdout] 522 | | if let Ok(mut progress_guard) = progress.lock() { [INFO] [stdout] ... | [INFO] [stdout] 542 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `std::sync::Mutex<&mut f32>`, which makes the generic argument `&mut f32` invariant [INFO] [stdout] = note: the struct `std::sync::Mutex` is invariant over the parameter `T` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/main.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 545 | fn decrypt_file(&mut self) { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 579 | / thread::spawn(move || { [INFO] [stdout] 580 | | let result = decrypt_file(&input_path, &output_path, &seed_clone, 64, SizeUnit::MB, [INFO] [stdout] 581 | | |processed, total| { [INFO] [stdout] 582 | | if let Ok(mut progress_guard) = progress.lock() { [INFO] [stdout] ... | [INFO] [stdout] 602 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `std::sync::Mutex<&mut f32>`, which makes the generic argument `&mut f32` invariant [INFO] [stdout] = note: the struct `std::sync::Mutex` is invariant over the parameter `T` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `transcendental_crypto` (bin "transcendental_crypto") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/main.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 476 | fn encrypt_file(&mut self) { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 519 | / thread::spawn(move || { [INFO] [stdout] 520 | | let result = encrypt_file(&input_path, &output_path, &seed_clone, chunk_size, unit, [INFO] [stdout] 521 | | |processed, total| { [INFO] [stdout] 522 | | if let Ok(mut progress_guard) = progress.lock() { [INFO] [stdout] ... | [INFO] [stdout] 542 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `std::sync::Mutex<&mut f32>`, which makes the generic argument `&mut f32` invariant [INFO] [stdout] = note: the struct `std::sync::Mutex` is invariant over the parameter `T` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/main.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 545 | fn decrypt_file(&mut self) { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 579 | / thread::spawn(move || { [INFO] [stdout] 580 | | let result = decrypt_file(&input_path, &output_path, &seed_clone, 64, SizeUnit::MB, [INFO] [stdout] 581 | | |processed, total| { [INFO] [stdout] 582 | | if let Ok(mut progress_guard) = progress.lock() { [INFO] [stdout] ... | [INFO] [stdout] 602 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `std::sync::Mutex<&mut f32>`, which makes the generic argument `&mut f32` invariant [INFO] [stdout] = note: the struct `std::sync::Mutex` is invariant over the parameter `T` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `transcendental_crypto` (bin "transcendental_crypto" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6fc9a9ae8ba491b1b0b093b5a1cab88a6ecdace2897aca51da185b1bba6186b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc9a9ae8ba491b1b0b093b5a1cab88a6ecdace2897aca51da185b1bba6186b5", kill_on_drop: false }` [INFO] [stdout] 6fc9a9ae8ba491b1b0b093b5a1cab88a6ecdace2897aca51da185b1bba6186b5