[INFO] cloning repository https://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintrepion%2Fexample-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintrepion%2Fexample-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d9fb898a2e626d007390deadfa4490b8608dc3c [INFO] testing intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fintrepion%2Fexample-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find [INFO] finished tweaking git repo https://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find [INFO] tweaked toml for git repo https://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 764198b0d89fe5b93826f5fe6176e8190fd845cb02bd16bc13b7aabd15635e67 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "764198b0d89fe5b93826f5fe6176e8190fd845cb02bd16bc13b7aabd15635e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "764198b0d89fe5b93826f5fe6176e8190fd845cb02bd16bc13b7aabd15635e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764198b0d89fe5b93826f5fe6176e8190fd845cb02bd16bc13b7aabd15635e67", kill_on_drop: false }` [INFO] [stdout] 764198b0d89fe5b93826f5fe6176e8190fd845cb02bd16bc13b7aabd15635e67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dac5b0f7bb6179f5401978060811e7486220e4f77e02efb2ac585045812ac647 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dac5b0f7bb6179f5401978060811e7486220e4f77e02efb2ac585045812ac647", kill_on_drop: false }` [INFO] [stderr] Compiling example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:21:47 [INFO] [stdout] | [INFO] [stdout] 21 | println!("Find 2 in array2: {:?}", array2.into_iter().find(|&&x| x == 2)); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "dac5b0f7bb6179f5401978060811e7486220e4f77e02efb2ac585045812ac647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac5b0f7bb6179f5401978060811e7486220e4f77e02efb2ac585045812ac647", kill_on_drop: false }` [INFO] [stdout] dac5b0f7bb6179f5401978060811e7486220e4f77e02efb2ac585045812ac647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0171f1cffee6384f316a62ca9b058f2eb8ebdeb4d5093e7c27af7e7e0c2e5a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b0171f1cffee6384f316a62ca9b058f2eb8ebdeb4d5093e7c27af7e7e0c2e5a0", kill_on_drop: false }` [INFO] [stderr] Compiling example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:21:47 [INFO] [stdout] | [INFO] [stdout] 21 | println!("Find 2 in array2: {:?}", array2.into_iter().find(|&&x| x == 2)); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "b0171f1cffee6384f316a62ca9b058f2eb8ebdeb4d5093e7c27af7e7e0c2e5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0171f1cffee6384f316a62ca9b058f2eb8ebdeb4d5093e7c27af7e7e0c2e5a0", kill_on_drop: false }` [INFO] [stdout] b0171f1cffee6384f316a62ca9b058f2eb8ebdeb4d5093e7c27af7e7e0c2e5a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 660d600beb16d89357b1d805b9aa394605c12549c6dcd177977abfc01030d249 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "660d600beb16d89357b1d805b9aa394605c12549c6dcd177977abfc01030d249", kill_on_drop: false }` [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/main.rs:21:47 [INFO] [stderr] | [INFO] [stderr] 21 | println!("Find 2 in array2: {:?}", array2.into_iter().find(|&&x| x == 2)); [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/example_x_rust_x_rustbyexample_com_x_fn_closures_closure_examples_iter_find-d75fe68642b50df0 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "660d600beb16d89357b1d805b9aa394605c12549c6dcd177977abfc01030d249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660d600beb16d89357b1d805b9aa394605c12549c6dcd177977abfc01030d249", kill_on_drop: false }` [INFO] [stdout] 660d600beb16d89357b1d805b9aa394605c12549c6dcd177977abfc01030d249