[INFO] updating cached repository https://github.com/w4tson/advent-of-code-2017-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] ac8ad2f06312bdf2192741bd10ac71eb5e29b197 [INFO] testing w4tson/advent-of-code-2017-rust against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw4tson%2Fadvent-of-code-2017-rust" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/w4tson/advent-of-code-2017-rust on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/w4tson/advent-of-code-2017-rust [INFO] finished tweaking git repo https://github.com/w4tson/advent-of-code-2017-rust [INFO] tweaked toml for git repo https://github.com/w4tson/advent-of-code-2017-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/w4tson/advent-of-code-2017-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cd3f3a6a31a46bec212fb3146e4be9f833082303c740b73f19875908a7e36cdc [INFO] running `"docker" "start" "-a" "cd3f3a6a31a46bec212fb3146e4be9f833082303c740b73f19875908a7e36cdc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling spectral v0.6.0 [INFO] [stderr] Compiling aoc2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(swap_with_slice)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(iterator_flatten)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(slice_patterns)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #![feature(generators, generator_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/day7/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / lazy_static! { [INFO] [stderr] 28 | | static ref NODE_REGEX: Regex = Regex::new(r"^(\w+)\s+\((\d+)\)(\s+->\s+(\w+)(,\s*\w+)*)?").unwrap(); [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/day8/mod.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | / lazy_static! { [INFO] [stderr] 86 | | static ref NODE_REGEX: Regex = Regex::new(r"^(\w+) (inc|dec) ([-0-9]+) if (\w+) ([<>=!]{1,2}) ([-0-9]+)$").unwrap(); [INFO] [stderr] 87 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/utils/file/mod.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/utils/file/mod.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `resume` found for generator `[generator@src/day15/mod.rs:10:25: 13:6 _]` in the current scope [INFO] [stderr] --> src/day15/mod.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | match generator.resume() { [INFO] [stderr] | ^^^^^^ method not found in `[generator@src/day15/mod.rs:10:25: 13:6 _]` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `resume` found for generator `[generator@src/day15/mod.rs:10:25: 13:6 _]` in the current scope [INFO] [stderr] --> src/day15/mod.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | match generator.resume() { [INFO] [stderr] | ^^^^^^ method not found in `[generator@src/day15/mod.rs:10:25: 13:6 _]` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside generator must be known in this context [INFO] [stderr] --> src/day15/mod.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | yield 1; [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the generator because of this `yield` [INFO] [stderr] --> src/day15/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | yield 1; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Generator` [INFO] [stderr] --> src/day15/mod.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::{Generator, GeneratorState}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0554, E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0554`. [INFO] [stderr] error: could not compile `aoc2017`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cd3f3a6a31a46bec212fb3146e4be9f833082303c740b73f19875908a7e36cdc"` [INFO] running `"docker" "rm" "-f" "cd3f3a6a31a46bec212fb3146e4be9f833082303c740b73f19875908a7e36cdc"` [INFO] [stdout] cd3f3a6a31a46bec212fb3146e4be9f833082303c740b73f19875908a7e36cdc