[INFO] cloning repository https://github.com/PhdTrollSlayer/quicked [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PhdTrollSlayer/quicked" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhdTrollSlayer%2Fquicked", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhdTrollSlayer%2Fquicked'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c884d663209ab017c9736a5262e2e0563df86259 [INFO] checking PhdTrollSlayer/quicked against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhdTrollSlayer%2Fquicked" "/workspace/builds/worker-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PhdTrollSlayer/quicked on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PhdTrollSlayer/quicked [INFO] finished tweaking git repo https://github.com/PhdTrollSlayer/quicked [INFO] tweaked toml for git repo https://github.com/PhdTrollSlayer/quicked written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate git repo https://github.com/PhdTrollSlayer/quicked already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 cairo-sys-rs v0.8.0 [INFO] [stderr] Downloaded glib-sys v0.8.0 [INFO] [stderr] Downloaded pango v0.6.0 [INFO] [stderr] Downloaded gdk-sys v0.8.0 [INFO] [stderr] Downloaded atk v0.6.0 [INFO] [stderr] Downloaded gdk v0.10.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.8.0 [INFO] [stderr] Downloaded cairo-rs v0.6.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.6.0 [INFO] [stderr] Downloaded fragile v0.3.0 [INFO] [stderr] Downloaded gio v0.6.0 [INFO] [stderr] Downloaded atk-sys v0.8.0 [INFO] [stderr] Downloaded gio-sys v0.8.0 [INFO] [stderr] Downloaded glib v0.7.1 [INFO] [stderr] Downloaded gobject-sys v0.8.0 [INFO] [stderr] Downloaded pango-sys v0.8.0 [INFO] [stderr] Downloaded gtk-sys v0.8.0 [INFO] [stderr] Downloaded gtk v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e144f0639bc4476d593362ad82aaa82c11417198f1d8f42032675d41f22e67cb [INFO] running `Command { std: "docker" "start" "-a" "e144f0639bc4476d593362ad82aaa82c11417198f1d8f42032675d41f22e67cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e144f0639bc4476d593362ad82aaa82c11417198f1d8f42032675d41f22e67cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e144f0639bc4476d593362ad82aaa82c11417198f1d8f42032675d41f22e67cb", kill_on_drop: false }` [INFO] [stdout] e144f0639bc4476d593362ad82aaa82c11417198f1d8f42032675d41f22e67cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50a0b3a6e11db685919b5cc813eceb5bf806143696310267460bc700a1816552 [INFO] running `Command { std: "docker" "start" "-a" "50a0b3a6e11db685919b5cc813eceb5bf806143696310267460bc700a1816552", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling gio v0.6.0 [INFO] [stderr] Compiling pango v0.6.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling gdk-pixbuf v0.6.0 [INFO] [stderr] Compiling cairo-rs v0.6.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling atk v0.6.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling gdk v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling gtk v0.6.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling glib-sys v0.8.0 [INFO] [stderr] Compiling gobject-sys v0.8.0 [INFO] [stderr] Compiling gio-sys v0.8.0 [INFO] [stderr] Compiling cairo-sys-rs v0.8.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.8.0 [INFO] [stderr] Compiling pango-sys v0.8.0 [INFO] [stderr] Compiling atk-sys v0.8.0 [INFO] [stderr] Compiling gdk-sys v0.8.0 [INFO] [stderr] Compiling gtk-sys v0.8.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking glib v0.7.1 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking tempfile v3.0.7 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.1 [INFO] [stderr] Checking edcock v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.6` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 73 | close_button.connect_clicked(clone! (u => move |_| { [INFO] [stdout] | __________________________________- [INFO] [stdout] 74 | | u.6.borrow().hide(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.6` [INFO] [stdout] 75 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.2` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.0` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 78 | escolha1.connect_clicked(clone! (u => move |_| { [INFO] [stdout] | ______________________________- [INFO] [stdout] 79 | | let fc = gtk::FileChooserDialog::new( [INFO] [stdout] 80 | | Some("Abrir pasta"), Some(&j), gtk::FileChooserAction::SelectFolder); [INFO] [stdout] 81 | | fc.add_buttons(&[ [INFO] [stdout] ... | [INFO] [stdout] 88 | | u.2.borrow().set_label(folder.to_str().unwrap()); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.2` [INFO] [stdout] ... | [INFO] [stdout] 93 | | u.0.borrow_mut().push(path); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.0` [INFO] [stdout] ... | [INFO] [stdout] 97 | | fc.destroy(); [INFO] [stdout] 98 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.4` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 99 | escolha_final.connect_clicked(clone! (u => move |b| { [INFO] [stdout] | ___________________________________- [INFO] [stdout] 100 | | u.4.borrow_mut().clear(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.4` [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | let fc = gtk::FileChooserDialog::new( [INFO] [stdout] ... | [INFO] [stdout] 116 | | fc.destroy(); [INFO] [stdout] 117 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.1` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.3` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 119 | escolha2.connect_update_preview(clone! (u => move |f| { [INFO] [stdout] | _____________________________________- [INFO] [stdout] 120 | | u.1.borrow_mut().clear(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.1` [INFO] [stdout] 121 | | u.1.borrow_mut().push_str(match f.get_preview_filename(){ [INFO] [stdout] 122 | | Some(b) => String::from(b.to_str().expect("erro 2")), [INFO] [stdout] ... | [INFO] [stdout] 127 | | u.3.borrow().set_label(&p); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.3` [INFO] [stdout] 128 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.0` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.1` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.5` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 130 | preview_button.connect_clicked(clone! (u => move |_| { [INFO] [stdout] | ____________________________________- [INFO] [stdout] 131 | | let mut img1 = image::open(u.0.borrow_mut().pop().clone().unwrap().as_path()).unwrap(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.0` [INFO] [stdout] 132 | | let mut img2 = image::open(Path::new(&u.1.borrow().clone())).unwrap(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.1` [INFO] [stdout] 133 | | [INFO] [stdout] ... | [INFO] [stdout] 143 | | u.5.borrow().set_from_file(Path::new("tmp.png")); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.5` [INFO] [stdout] 144 | | std::fs::remove_file("tmp.png").unwrap(); [INFO] [stdout] 145 | | preview_window.borrow().show_all(); [INFO] [stdout] 146 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.4` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.0` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.1` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 148 | merge_button.connect_clicked(clone! (u => move |_| { [INFO] [stdout] | __________________________________- [INFO] [stdout] 149 | | let final_path = PathBuf::from(u.4.borrow().clone()); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.4` [INFO] [stdout] 150 | | println!("Salvando em: {:?}", final_path); [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | if final_path.is_dir() { [INFO] [stdout] 153 | | for i in u.0.borrow().iter() { [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.0` [INFO] [stdout] 154 | | let mut img1 = image::open(i).unwrap(); [INFO] [stdout] 155 | | let mut img2 = image::open(Path::new(&u.1.borrow().clone())).unwrap(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.1` [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | })); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.6` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 73 | close_button.connect_clicked(clone! (u => move |_| { [INFO] [stdout] | __________________________________- [INFO] [stdout] 74 | | u.6.borrow().hide(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.6` [INFO] [stdout] 75 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.2` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.0` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 78 | escolha1.connect_clicked(clone! (u => move |_| { [INFO] [stdout] | ______________________________- [INFO] [stdout] 79 | | let fc = gtk::FileChooserDialog::new( [INFO] [stdout] 80 | | Some("Abrir pasta"), Some(&j), gtk::FileChooserAction::SelectFolder); [INFO] [stdout] 81 | | fc.add_buttons(&[ [INFO] [stdout] ... | [INFO] [stdout] 88 | | u.2.borrow().set_label(folder.to_str().unwrap()); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.2` [INFO] [stdout] ... | [INFO] [stdout] 93 | | u.0.borrow_mut().push(path); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.0` [INFO] [stdout] ... | [INFO] [stdout] 97 | | fc.destroy(); [INFO] [stdout] 98 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.4` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 99 | escolha_final.connect_clicked(clone! (u => move |b| { [INFO] [stdout] | ___________________________________- [INFO] [stdout] 100 | | u.4.borrow_mut().clear(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.4` [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | let fc = gtk::FileChooserDialog::new( [INFO] [stdout] ... | [INFO] [stdout] 116 | | fc.destroy(); [INFO] [stdout] 117 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.1` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.3` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 119 | escolha2.connect_update_preview(clone! (u => move |f| { [INFO] [stdout] | _____________________________________- [INFO] [stdout] 120 | | u.1.borrow_mut().clear(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.1` [INFO] [stdout] 121 | | u.1.borrow_mut().push_str(match f.get_preview_filename(){ [INFO] [stdout] 122 | | Some(b) => String::from(b.to_str().expect("erro 2")), [INFO] [stdout] ... | [INFO] [stdout] 127 | | u.3.borrow().set_label(&p); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.3` [INFO] [stdout] 128 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.0` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.1` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.5` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 130 | preview_button.connect_clicked(clone! (u => move |_| { [INFO] [stdout] | ____________________________________- [INFO] [stdout] 131 | | let mut img1 = image::open(u.0.borrow_mut().pop().clone().unwrap().as_path()).unwrap(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.0` [INFO] [stdout] 132 | | let mut img2 = image::open(Path::new(&u.1.borrow().clone())).unwrap(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.1` [INFO] [stdout] 133 | | [INFO] [stdout] ... | [INFO] [stdout] 143 | | u.5.borrow().set_from_file(Path::new("tmp.png")); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.5` [INFO] [stdout] 144 | | std::fs::remove_file("tmp.png").unwrap(); [INFO] [stdout] 145 | | preview_window.borrow().show_all(); [INFO] [stdout] 146 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | move |$(clone!(@param $p),)+| $body [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.4` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.0` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `u` is dropped here, but in Rust 2021, only `u.1` will be dropped here as part of the closure [INFO] [stdout] ... [INFO] [stdout] 148 | merge_button.connect_clicked(clone! (u => move |_| { [INFO] [stdout] | __________________________________- [INFO] [stdout] 149 | | let final_path = PathBuf::from(u.4.borrow().clone()); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.4` [INFO] [stdout] 150 | | println!("Salvando em: {:?}", final_path); [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | if final_path.is_dir() { [INFO] [stdout] 153 | | for i in u.0.borrow().iter() { [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.0` [INFO] [stdout] 154 | | let mut img1 = image::open(i).unwrap(); [INFO] [stdout] 155 | | let mut img2 = image::open(Path::new(&u.1.borrow().clone())).unwrap(); [INFO] [stdout] | | --- in Rust 2018, this closure captures all of `u`, but in Rust 2021, it will only capture `u.1` [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | })); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a dummy let to cause `u` to be fully captured [INFO] [stdout] | [INFO] [stdout] 1 | { let _ = &u; }use gtk::prelude::*; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking edcock v0.1.0 (/tmp/fixit) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.88s [INFO] running `Command { std: "docker" "inspect" "50a0b3a6e11db685919b5cc813eceb5bf806143696310267460bc700a1816552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a0b3a6e11db685919b5cc813eceb5bf806143696310267460bc700a1816552", kill_on_drop: false }` [INFO] [stdout] 50a0b3a6e11db685919b5cc813eceb5bf806143696310267460bc700a1816552