[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 beta-2020-07-24 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-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmueller/advent2016 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-0/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b492a205e0bda422c5ae52f05e2b86dcabc3a022f51e153e42ac904a9944d2f [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" "4b492a205e0bda422c5ae52f05e2b86dcabc3a022f51e153e42ac904a9944d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b492a205e0bda422c5ae52f05e2b86dcabc3a022f51e153e42ac904a9944d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b492a205e0bda422c5ae52f05e2b86dcabc3a022f51e153e42ac904a9944d2f", kill_on_drop: false }` [INFO] [stdout] 4b492a205e0bda422c5ae52f05e2b86dcabc3a022f51e153e42ac904a9944d2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4ceec750daf1dc0d489c1fae13900d91053ca3e3ecc2748f4c92f96533268d8 [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" "c4ceec750daf1dc0d489c1fae13900d91053ca3e3ecc2748f4c92f96533268d8", kill_on_drop: false }` [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [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 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" "c4ceec750daf1dc0d489c1fae13900d91053ca3e3ecc2748f4c92f96533268d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ceec750daf1dc0d489c1fae13900d91053ca3e3ecc2748f4c92f96533268d8", kill_on_drop: false }` [INFO] [stdout] c4ceec750daf1dc0d489c1fae13900d91053ca3e3ecc2748f4c92f96533268d8