[INFO] updating cached repository https://github.com/Olson3R/advent-of-code-2018-rust
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] cf82db87eeb65c5a1305ea0296553c2334d844b4
[INFO] testing Olson3R/advent-of-code-2018-rust against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlson3R%2Fadvent-of-code-2018-rust" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Olson3R/advent-of-code-2018-rust on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Olson3R/advent-of-code-2018-rust
[INFO] finished tweaking git repo https://github.com/Olson3R/advent-of-code-2018-rust
[INFO] tweaked toml for git repo https://github.com/Olson3R/advent-of-code-2018-rust written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Olson3R/advent-of-code-2018-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] ae4aaa5268cf104b8eca2fba5025f9a8a5bcc23b16f8f9f12f4c188c2ae588eb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "ae4aaa5268cf104b8eca2fba5025f9a8a5bcc23b16f8f9f12f4c188c2ae588eb"`
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling advent-of-code-2018-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/util.rs:9:45
[INFO] [stderr]   |
[INFO] [stderr] 9 | type Result<T> = std::result::Result<T, Box<Error>>;
[INFO] [stderr]   |                                             ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/util.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 |         let mut br = BufReader::new(&f);
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/bin/d05-part1.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` head expression
[INFO] [stderr]   --> src/bin/d05-part1.rs:13:18
[INFO] [stderr]    |
[INFO] [stderr] 13 |         for b in (b'a'..=b'z') {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/bin/d05-part2.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` head expression
[INFO] [stderr]   --> src/bin/d05-part2.rs:20:26
[INFO] [stderr]    |
[INFO] [stderr] 20 |                 for b in (b'a'..=b'z') {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.29s
[INFO] running `"docker" "inspect" "ae4aaa5268cf104b8eca2fba5025f9a8a5bcc23b16f8f9f12f4c188c2ae588eb"`
[INFO] running `"docker" "rm" "-f" "ae4aaa5268cf104b8eca2fba5025f9a8a5bcc23b16f8f9f12f4c188c2ae588eb"`
[INFO] [stdout] ae4aaa5268cf104b8eca2fba5025f9a8a5bcc23b16f8f9f12f4c188c2ae588eb
[INFO] running `"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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "test" "--frozen" "--no-run"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 337577c02aaef6add8337df8ae44f9e0cf8090499839bd2af5983aac519b1802
[INFO] running `"docker" "start" "-a" "337577c02aaef6add8337df8ae44f9e0cf8090499839bd2af5983aac519b1802"`
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]    Compiling ascii v0.9.1
[INFO] [stderr]    Compiling target v1.0.0
[INFO] [stderr]    Compiling edit-distance v2.0.1
[INFO] [stderr]    Compiling assert_matches v1.3.0
[INFO] [stderr]    Compiling itertools v0.7.11
[INFO] [stderr]    Compiling pad v0.1.5
[INFO] [stderr]    Compiling smallvec v0.6.7
[INFO] [stderr]    Compiling rand v0.4.3
[INFO] [stderr]    Compiling term_size v0.3.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling openssl-sys v0.9.39
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling syn v0.15.22
[INFO] [stderr]    Compiling libflate v0.1.19
[INFO] [stderr]    Compiling env_proxy v0.2.0
[INFO] [stderr]    Compiling error-chain v0.12.0
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/util.rs:9:45
[INFO] [stderr]   |
[INFO] [stderr] 9 | type Result<T> = std::result::Result<T, Box<Error>>;
[INFO] [stderr]   |                                             ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/util.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 |         let mut br = BufReader::new(&f);
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling combine v3.6.3
[INFO] [stderr]    Compiling openssl v0.10.15
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling brev v0.1.14
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling tokio-reactor v0.1.7
[INFO] [stderr]    Compiling tokio-udp v0.1.3
[INFO] [stderr]    Compiling tokio-tcp v0.1.2
[INFO] [stderr]    Compiling tokio-uds v0.2.4
[INFO] [stderr]    Compiling tokio-threadpool v0.1.9
[INFO] [stderr]    Compiling native-tls v0.2.2
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]    Compiling ctrlc v3.1.1
[INFO] [stderr]    Compiling tokio-fs v0.1.4
[INFO] [stderr]    Compiling tokio v0.1.13
[INFO] [stderr]    Compiling failure_derive v0.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.80
[INFO] [stderr]    Compiling hyper v0.12.16
[INFO] [stderr]    Compiling failure v0.1.3
[INFO] [stderr]    Compiling dotenv v0.13.0
[INFO] [stderr]    Compiling just v0.3.13
[INFO] [stderr]    Compiling hyper-tls v0.3.1
[INFO] [stderr]    Compiling reqwest v0.9.5
[INFO] [stderr]    Compiling docopt v1.0.2
[INFO] [stderr]    Compiling cargo_metadata v0.6.3
[INFO] [stderr]    Compiling toml_edit v0.1.3
[INFO] [stderr] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:55:65
[INFO] [stderr]    |
[INFO] [stderr] 44 |       fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item {
[INFO] [stderr]    |                          -- lifetime `'v` defined here
[INFO] [stderr] 45 | /         match *v {
[INFO] [stderr] 46 | |             Item::ArrayOfTables(ref mut vec) => {
[INFO] [stderr] 47 | |                 vec.values.get_mut(*self).expect("index out of bounds")
[INFO] [stderr] 48 | |             }
[INFO] [stderr] 49 | |             Item::Value(ref mut a) if a.is_array() => a
[INFO] [stderr]    | |                         --------- mutable borrow occurs here
[INFO] [stderr] ...  |
[INFO] [stderr] 55 | |             _ => panic!("cannot access index {} in {:?}", self, v),
[INFO] [stderr]    | |                                                                 ^ immutable borrow occurs here
[INFO] [stderr] 56 | |         }
[INFO] [stderr]    | |_________- returning this value requires that `v.0` is borrowed for `'v`
[INFO] [stderr] 
[INFO] [stderr] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:88:63
[INFO] [stderr]    |
[INFO] [stderr] 70 |       fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item {
[INFO] [stderr]    |                          -- lifetime `'v` defined here
[INFO] [stderr] ...
[INFO] [stderr] 77 | /         match *v {
[INFO] [stderr] 78 | |             Item::Table(ref mut t) => t.entry(self).or_insert(Item::None),
[INFO] [stderr] 79 | |             Item::Value(ref mut v) if v.is_inline_table() => {
[INFO] [stderr]    | |                         --------- mutable borrow occurs here
[INFO] [stderr] 80 | |                 &mut v
[INFO] [stderr] ...  |
[INFO] [stderr] 88 | |             _ => panic!("cannot access key {} in {:?}", self, v),
[INFO] [stderr]    | |                                                               ^ immutable borrow occurs here
[INFO] [stderr] 89 | |         }
[INFO] [stderr]    | |_________- returning this value requires that `v.0` is borrowed for `'v`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0502`.
[INFO] [stderr] error: could not compile `toml_edit`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "337577c02aaef6add8337df8ae44f9e0cf8090499839bd2af5983aac519b1802"`
[INFO] running `"docker" "rm" "-f" "337577c02aaef6add8337df8ae44f9e0cf8090499839bd2af5983aac519b1802"`
[INFO] [stdout] 337577c02aaef6add8337df8ae44f9e0cf8090499839bd2af5983aac519b1802
