[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d9fb898a2e626d007390deadfa4490b8608dc3c [INFO] checking intrepion/example-x-rust-x-rustbyexample-com-x-fn-closures-closure_examples-iter_find against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [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-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/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 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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-10/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92e242bf95490ce148286806b763d07c1f6d3c366a270561fcc203e73e8d72b1 [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" "92e242bf95490ce148286806b763d07c1f6d3c366a270561fcc203e73e8d72b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92e242bf95490ce148286806b763d07c1f6d3c366a270561fcc203e73e8d72b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e242bf95490ce148286806b763d07c1f6d3c366a270561fcc203e73e8d72b1", kill_on_drop: false }` [INFO] [stdout] 92e242bf95490ce148286806b763d07c1f6d3c366a270561fcc203e73e8d72b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1e0901d34fda7313f62027b023b37c139379bffc10d666e9f5df31eb6e4bc6d [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" "f1e0901d34fda7313f62027b023b37c139379bffc10d666e9f5df31eb6e4bc6d", kill_on_drop: false }` [INFO] [stderr] Checking 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: 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "f1e0901d34fda7313f62027b023b37c139379bffc10d666e9f5df31eb6e4bc6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e0901d34fda7313f62027b023b37c139379bffc10d666e9f5df31eb6e4bc6d", kill_on_drop: false }` [INFO] [stdout] f1e0901d34fda7313f62027b023b37c139379bffc10d666e9f5df31eb6e4bc6d