[INFO] cloning repository https://github.com/troiganto/aoc-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/troiganto/aoc-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftroiganto%2Faoc-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftroiganto%2Faoc-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8682e88ef160f3fdef8c660ff27bebfd1254735 [INFO] checking troiganto/aoc-2018 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftroiganto%2Faoc-2018" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/troiganto/aoc-2018 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/troiganto/aoc-2018 [INFO] finished tweaking git repo https://github.com/troiganto/aoc-2018 [INFO] tweaked toml for git repo https://github.com/troiganto/aoc-2018 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/troiganto/aoc-2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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] c1a638f4677130b061c08fea2a753e1b42a0e920f6729c72e62dd3095e65f0e6 [INFO] running `Command { std: "docker" "start" "-a" "c1a638f4677130b061c08fea2a753e1b42a0e920f6729c72e62dd3095e65f0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1a638f4677130b061c08fea2a753e1b42a0e920f6729c72e62dd3095e65f0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a638f4677130b061c08fea2a753e1b42a0e920f6729c72e62dd3095e65f0e6", kill_on_drop: false }` [INFO] [stdout] c1a638f4677130b061c08fea2a753e1b42a0e920f6729c72e62dd3095e65f0e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe8b6df1ed3510e50d8955cd7a456a26366f33c4cdda9bd0dc3fb804084376e8 [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" "fe8b6df1ed3510e50d8955cd7a456a26366f33c4cdda9bd0dc3fb804084376e8", kill_on_drop: false }` [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking intrusive-collections v0.7.8 [INFO] [stderr] Checking boolinator v2.4.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.1 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking aoc-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/task35.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | writeln!(&mut output, "Initial state:\n{}", map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/task35.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | writeln!(&mut output, "After 1 minute:\n{}", map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/task35.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | writeln!(&mut output, "After {} minutes:\n{}", i, map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/task35.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | writeln!(&mut output, "Initial state:\n{}", map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/task35.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | writeln!(&mut output, "After 1 minute:\n{}", map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/task35.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | writeln!(&mut output, "After {} minutes:\n{}", i, map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `stack` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/task33.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 320 | while let Some(source) = stack.last() { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 363 | stack.push(Source::Head(foot.stepn(r, Right))); [INFO] [stdout] | ^^^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `stack` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/task33.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 320 | while let Some(source) = stack.last() { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 360 | stack.push(Source::Head(foot.stepn(l, Left))); [INFO] [stdout] | ^^^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadGroup` [INFO] [stdout] --> src/bin/task47.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | BadGroup, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadGroup` [INFO] [stdout] --> src/bin/task47.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | BadGroup, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `stack` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/task33.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 320 | while let Some(source) = stack.last() { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 363 | stack.push(Source::Head(foot.stepn(r, Right))); [INFO] [stdout] | ^^^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `stack` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/bin/task33.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 320 | while let Some(source) = stack.last() { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 360 | stack.push(Source::Head(foot.stepn(l, Left))); [INFO] [stdout] | ^^^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bin/task17.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | intrusive_adapter!(Adap = Box: Node { link: LinkedListLink }); [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 function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bin/task17.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | intrusive_adapter!(Adap = Box: Node { link: LinkedListLink }); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Unit` in the current scope [INFO] [stdout] --> src/bin/task29.rs:590:38 [INFO] [stdout] | [INFO] [stdout] 167 | struct Unit { [INFO] [stdout] | ----------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 590 | let mut unit = Unit::new(team); [INFO] [stdout] | ^^^ function or associated item not found in `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2018`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "fe8b6df1ed3510e50d8955cd7a456a26366f33c4cdda9bd0dc3fb804084376e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe8b6df1ed3510e50d8955cd7a456a26366f33c4cdda9bd0dc3fb804084376e8", kill_on_drop: false }` [INFO] [stdout] fe8b6df1ed3510e50d8955cd7a456a26366f33c4cdda9bd0dc3fb804084376e8