[INFO] updating cached repository mslynch/adventofcode2016 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mslynch/adventofcode2016 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mslynch/adventofcode2016" "work/ex/clippy-test-run/sources/stable/gh/mslynch/adventofcode2016"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/mslynch/adventofcode2016'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mslynch/adventofcode2016" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mslynch/adventofcode2016"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mslynch/adventofcode2016'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4da2d60335c3b8cafbfca6a13844dac541b55dc8 [INFO] sha for GitHub repo mslynch/adventofcode2016: 4da2d60335c3b8cafbfca6a13844dac541b55dc8 [INFO] validating manifest of mslynch/adventofcode2016 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of mslynch/adventofcode2016 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing mslynch/adventofcode2016 [INFO] finished frobbing mslynch/adventofcode2016 [INFO] frobbed toml for mslynch/adventofcode2016 written to work/ex/clippy-test-run/sources/stable/gh/mslynch/adventofcode2016/Cargo.toml [INFO] started frobbing mslynch/adventofcode2016 [INFO] finished frobbing mslynch/adventofcode2016 [INFO] frobbed toml for mslynch/adventofcode2016 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mslynch/adventofcode2016/Cargo.toml [INFO] crate mslynch/adventofcode2016 has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting mslynch/adventofcode2016 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/mslynch/adventofcode2016:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f74411d62eb9a3f5facc2c5880634f4966e893190c82587b55ff94164010491c [INFO] running `"docker" "start" "-a" "f74411d62eb9a3f5facc2c5880634f4966e893190c82587b55ff94164010491c"` [INFO] [stderr] Compiling im v12.2.0 [INFO] [stderr] Checking adventofcode2016 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/day05.rs:73:54 [INFO] [stderr] | [INFO] [stderr] 73 | let (first, second) = interesting_hash_digit(3231929, "abc").unwrap(); [INFO] [stderr] | ^^^^^^^ help: consider: `3_231_929` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/day10.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_compare_bot` [INFO] [stderr] --> src/day10.rs:114:21 [INFO] [stderr] | [INFO] [stderr] 114 | let (non_empty, new_compare_bot) = full.iter().fold((not_full, bot_comparing_61_17), |(merges, compare_bot), (bot, values)| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: consider using `_new_compare_bot` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_bot_state` [INFO] [stderr] --> src/day10.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | let new_bot_state = non_empty.union(empty); [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider using `_new_bot_state` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_compare_bot` [INFO] [stderr] --> src/day10.rs:114:21 [INFO] [stderr] | [INFO] [stderr] 114 | let (non_empty, new_compare_bot) = full.iter().fold((not_full, bot_comparing_61_17), |(merges, compare_bot), (bot, values)| { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: consider using `_new_compare_bot` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_bot_state` [INFO] [stderr] --> src/day10.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | let new_bot_state = non_empty.union(empty); [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider using `_new_bot_state` instead [INFO] [stderr] [INFO] [stderr] error[E0597]: borrowed value does not live long enough [INFO] [stderr] --> src/day10.rs:118:49 [INFO] [stderr] | [INFO] [stderr] 118 | merge_acc.update_with(&goes_to.id, &vec![*value], |existing, _new| &ordered_vec(*value, existing[0])) [INFO] [stderr] | ^^^^^^^^^^^^ temporary value does not live long enough [INFO] [stderr] 119 | }); [INFO] [stderr] | - temporary value dropped here while still borrowed [INFO] [stderr] ... [INFO] [stderr] 141 | } [INFO] [stderr] | - temporary value needs to live until here [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0597]: borrowed value does not live long enough [INFO] [stderr] --> src/day10.rs:118:81 [INFO] [stderr] | [INFO] [stderr] 118 | merge_acc.update_with(&goes_to.id, &vec![*value], |existing, _new| &ordered_vec(*value, existing[0])) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stderr] | | | [INFO] [stderr] | | temporary value dropped here while still borrowed [INFO] [stderr] | temporary value does not live long enough [INFO] [stderr] ... [INFO] [stderr] 141 | } [INFO] [stderr] | - temporary value needs to live until here [INFO] [stderr] [INFO] [stderr] error[E0597]: borrowed value does not live long enough [INFO] [stderr] --> src/day10.rs:133:57 [INFO] [stderr] | [INFO] [stderr] 133 | let empty = full.iter().map(|(bot, _value)| (*bot, &vec![])).collect(); [INFO] [stderr] | ^^^^^^- temporary value dropped here while still borrowed [INFO] [stderr] | | [INFO] [stderr] | temporary value does not live long enough [INFO] [stderr] ... [INFO] [stderr] 141 | } [INFO] [stderr] | - temporary value needs to live until here [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0597`. [INFO] [stderr] error[E0597]: borrowed value does not live long enough [INFO] [stderr] --> src/day10.rs:118:49 [INFO] [stderr] | [INFO] [stderr] 118 | merge_acc.update_with(&goes_to.id, &vec![*value], |existing, _new| &ordered_vec(*value, existing[0])) [INFO] [stderr] | ^^^^^^^^^^^^ temporary value does not live long enough [INFO] [stderr] 119 | }); [INFO] [stderr] | - temporary value dropped here while still borrowed [INFO] [stderr] ... [INFO] [stderr] 141 | } [INFO] [stderr] | - temporary value needs to live until here [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0597]: borrowed value does not live long enough [INFO] [stderr] --> src/day10.rs:118:81 [INFO] [stderr] | [INFO] [stderr] 118 | merge_acc.update_with(&goes_to.id, &vec![*value], |existing, _new| &ordered_vec(*value, existing[0])) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stderr] | | | [INFO] [stderr] | | temporary value dropped here while still borrowed [INFO] [stderr] | temporary value does not live long enough [INFO] [stderr] ... [INFO] [stderr] 141 | } [INFO] [stderr] | - temporary value needs to live until here [INFO] [stderr] [INFO] [stderr] error[E0597]: borrowed value does not live long enough [INFO] [stderr] --> src/day10.rs:133:57 [INFO] [stderr] | [INFO] [stderr] 133 | let empty = full.iter().map(|(bot, _value)| (*bot, &vec![])).collect(); [INFO] [stderr] | ^^^^^^- temporary value dropped here while still borrowed [INFO] [stderr] | | [INFO] [stderr] | temporary value does not live long enough [INFO] [stderr] ... [INFO] [stderr] 141 | } [INFO] [stderr] | - temporary value needs to live until here [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: Could not compile `adventofcode2016`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0597`. [INFO] [stderr] error: Could not compile `adventofcode2016`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f74411d62eb9a3f5facc2c5880634f4966e893190c82587b55ff94164010491c"` [INFO] running `"docker" "rm" "-f" "f74411d62eb9a3f5facc2c5880634f4966e893190c82587b55ff94164010491c"` [INFO] [stdout] f74411d62eb9a3f5facc2c5880634f4966e893190c82587b55ff94164010491c