[INFO] updating cached repository https://github.com/mmueller/advent2016 [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] ae140beb832ff98fd285c54d7100d9835c2399a1 [INFO] testing mmueller/advent2016 against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmueller%2Fadvent2016" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmueller/advent2016 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmueller/advent2016 [INFO] finished tweaking git repo https://github.com/mmueller/advent2016 [INFO] tweaked toml for git repo https://github.com/mmueller/advent2016 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/mmueller/advent2016 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d3263e409d158d6402da27218060e53f1cd5cf9fa92353c73733314bceb214d [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" "1d3263e409d158d6402da27218060e53f1cd5cf9fa92353c73733314bceb214d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d3263e409d158d6402da27218060e53f1cd5cf9fa92353c73733314bceb214d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d3263e409d158d6402da27218060e53f1cd5cf9fa92353c73733314bceb214d", kill_on_drop: false }` [INFO] [stdout] 1d3263e409d158d6402da27218060e53f1cd5cf9fa92353c73733314bceb214d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bbc3e8141bff5bed6801aa5180c317685e5accbbafa94516fe855f9e09eca7a [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" "2bbc3e8141bff5bed6801aa5180c317685e5accbbafa94516fe855f9e09eca7a", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.39 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling rustc-serialize v0.3.21 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Compiling error-chain v0.7.1 [INFO] [stderr] Compiling advent2016 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/day7.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref HYPER_RE: Regex = Regex::new(r"\[([^\]]+)\]").unwrap(); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/day7.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref HYPER_RE: Regex = Regex::new(r"\[([^\]]+)\]").unwrap(); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/day10.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | static ref INSTRUCTION_RE: Regex = [INFO] [stdout] 8 | | Regex::new(concat!( [INFO] [stdout] 9 | | r"bot (?P\d+) gives ", [INFO] [stdout] 10 | | r"low to (?Pbot|output) (?P\d+) and ", [INFO] [stdout] 11 | | r"high to (?Pbot|output) (?P\d+)")).unwrap(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/day10.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | static ref INSTRUCTION_RE: Regex = [INFO] [stdout] 8 | | Regex::new(concat!( [INFO] [stdout] 9 | | r"bot (?P\d+) gives ", [INFO] [stdout] 10 | | r"low to (?Pbot|output) (?P\d+) and ", [INFO] [stdout] 11 | | r"high to (?Pbot|output) (?P\d+)")).unwrap(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0503]: cannot use `day` because it was mutably borrowed [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | parser.refer(&mut day) [INFO] [stdout] | -------- borrow of `day` occurs here [INFO] [stdout] ... [INFO] [stdout] 34 | Some(1) => day1::day1(), [INFO] [stdout] | ^^^^^^^ use of borrowed `day` [INFO] [stdout] ... [INFO] [stdout] 62 | } [INFO] [stdout] | - borrow might be used here, when `parser` is dropped and runs the destructor for type `argparse::ArgumentParser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0503]: cannot use `day.0` because it was mutably borrowed [INFO] [stdout] --> src/main.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 29 | parser.refer(&mut day) [INFO] [stdout] | -------- borrow of `day` occurs here [INFO] [stdout] ... [INFO] [stdout] 34 | Some(1) => day1::day1(), [INFO] [stdout] | ^ use of borrowed `day` [INFO] [stdout] ... [INFO] [stdout] 62 | } [INFO] [stdout] | - borrow might be used here, when `parser` is dropped and runs the destructor for type `argparse::ArgumentParser<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0503`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2016`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2bbc3e8141bff5bed6801aa5180c317685e5accbbafa94516fe855f9e09eca7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bbc3e8141bff5bed6801aa5180c317685e5accbbafa94516fe855f9e09eca7a", kill_on_drop: false }` [INFO] [stdout] 2bbc3e8141bff5bed6801aa5180c317685e5accbbafa94516fe855f9e09eca7a