[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#5fdfba63a96c5e8ae0ebf6b8b66853110277087d for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcoverick%2Frust_dailyprogrammer" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rcoverick/rust_dailyprogrammer on toolchain 5fdfba63a96c5e8ae0ebf6b8b66853110277087d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "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-8/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" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48751cbdf90a8589df0b38291391f5e35522df30c5df8becb4e4a1eddee2418a [INFO] running `Command { std: "docker" "start" "-a" "48751cbdf90a8589df0b38291391f5e35522df30c5df8becb4e4a1eddee2418a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48751cbdf90a8589df0b38291391f5e35522df30c5df8becb4e4a1eddee2418a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48751cbdf90a8589df0b38291391f5e35522df30c5df8becb4e4a1eddee2418a", kill_on_drop: false }` [INFO] [stdout] 48751cbdf90a8589df0b38291391f5e35522df30c5df8becb4e4a1eddee2418a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d0facc4813182675fa280da0daccffeaf69ecc284d259613df3298c65c2056c [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" "5d0facc4813182675fa280da0daccffeaf69ecc284d259613df3298c65c2056c", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking rand v0.3.15 [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: 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: 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "5d0facc4813182675fa280da0daccffeaf69ecc284d259613df3298c65c2056c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0facc4813182675fa280da0daccffeaf69ecc284d259613df3298c65c2056c", kill_on_drop: false }` [INFO] [stdout] 5d0facc4813182675fa280da0daccffeaf69ecc284d259613df3298c65c2056c