[INFO] updating cached repository https://github.com/rcoverick/rust_dailyprogrammer [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] 7eba5007eb1ec145617b2771d020da0663dd7473 [INFO] checking rcoverick/rust_dailyprogrammer against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcoverick%2Frust_dailyprogrammer" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rcoverick/rust_dailyprogrammer on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rcoverick/rust_dailyprogrammer [INFO] finished tweaking git repo https://github.com/rcoverick/rust_dailyprogrammer [INFO] tweaked toml for git repo https://github.com/rcoverick/rust_dailyprogrammer written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/rcoverick/rust_dailyprogrammer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9faafda9397786b2fa3e0de2857ec739de7f60359423a7bd5d5522a130d60942 [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" "9faafda9397786b2fa3e0de2857ec739de7f60359423a7bd5d5522a130d60942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9faafda9397786b2fa3e0de2857ec739de7f60359423a7bd5d5522a130d60942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9faafda9397786b2fa3e0de2857ec739de7f60359423a7bd5d5522a130d60942", kill_on_drop: false }` [INFO] [stdout] 9faafda9397786b2fa3e0de2857ec739de7f60359423a7bd5d5522a130d60942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b8b66fb9333bc449c073c1ca3795a43cafece4753d610ce487198e44c26554 [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" "d0b8b66fb9333bc449c073c1ca3795a43cafece4753d610ce487198e44c26554", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking dailyprogrammer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/challenge/easy/pandigital_roman_numbers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | / ///Numerals need to be in order. Each pair of numerals can be swapped to form a different number. [INFO] [stdout] 4 | | ///M+(DC or CD)+(LX or XL)+(VI or IV) = a pandigital roman numeral with all of the numerals exactly once [INFO] [stdout] | |______________________________________________________________________________________________________________^ [INFO] [stdout] 5 | / for m in [1000].into_iter(){ [INFO] [stdout] 6 | | for cd in [400, 600].into_iter(){ [INFO] [stdout] 7 | | for xl in [40,60].into_iter(){ [INFO] [stdout] 8 | | for iv in [4,6].into_iter(){ [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/challenge/intermediate/pgm_manipulation.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | io::stdin().read_to_string((&mut buf)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/challenge/easy/pandigital_roman_numbers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | / ///Numerals need to be in order. Each pair of numerals can be swapped to form a different number. [INFO] [stdout] 4 | | ///M+(DC or CD)+(LX or XL)+(VI or IV) = a pandigital roman numeral with all of the numerals exactly once [INFO] [stdout] | |______________________________________________________________________________________________________________^ [INFO] [stdout] 5 | / for m in [1000].into_iter(){ [INFO] [stdout] 6 | | for cd in [400, 600].into_iter(){ [INFO] [stdout] 7 | | for xl in [40,60].into_iter(){ [INFO] [stdout] 8 | | for iv in [4,6].into_iter(){ [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/challenge/intermediate/pgm_manipulation.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | io::stdin().read_to_string((&mut buf)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/challenge/intermediate/pgm_manipulation.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | res.chunks_mut(width as usize).map(|mut x| x.reverse()).count(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/challenge/intermediate/pgm_manipulation.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | res.chunks_mut(width as usize).map(|mut x| x.reverse()).count(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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/challenge/easy/pandigital_roman_numbers.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | for m in [1000].into_iter(){ [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/challenge/easy/pandigital_roman_numbers.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | for cd in [400, 600].into_iter(){ [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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/challenge/easy/pandigital_roman_numbers.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | for xl in [40,60].into_iter(){ [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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/challenge/easy/pandigital_roman_numbers.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | for iv in [4,6].into_iter(){ [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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/challenge/easy/pandigital_roman_numbers.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | for m in [1000].into_iter(){ [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/challenge/easy/pandigital_roman_numbers.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | for cd in [400, 600].into_iter(){ [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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/challenge/easy/pandigital_roman_numbers.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | for xl in [40,60].into_iter(){ [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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/challenge/easy/pandigital_roman_numbers.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | for iv in [4,6].into_iter(){ [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.78s [INFO] running `Command { std: "docker" "inspect" "d0b8b66fb9333bc449c073c1ca3795a43cafece4753d610ce487198e44c26554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b8b66fb9333bc449c073c1ca3795a43cafece4753d610ce487198e44c26554", kill_on_drop: false }` [INFO] [stdout] d0b8b66fb9333bc449c073c1ca3795a43cafece4753d610ce487198e44c26554