[INFO] cloning repository https://github.com/davidsullins/AdventOfRust2016 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidsullins/AdventOfRust2016" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidsullins%2FAdventOfRust2016", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidsullins%2FAdventOfRust2016'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28c0d8fa63c510afdd063df1c0034ea2507a068f [INFO] testing davidsullins/AdventOfRust2016 against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidsullins%2FAdventOfRust2016" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidsullins/AdventOfRust2016 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidsullins/AdventOfRust2016 [INFO] finished tweaking git repo https://github.com/davidsullins/AdventOfRust2016 [INFO] tweaked toml for git repo https://github.com/davidsullins/AdventOfRust2016 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/davidsullins/AdventOfRust2016 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 37687ad591a9ac2dc36a27a4e72840cbf7de13ad5455d6814707636e01e0973d [INFO] running `Command { std: "docker" "start" "-a" "37687ad591a9ac2dc36a27a4e72840cbf7de13ad5455d6814707636e01e0973d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37687ad591a9ac2dc36a27a4e72840cbf7de13ad5455d6814707636e01e0973d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37687ad591a9ac2dc36a27a4e72840cbf7de13ad5455d6814707636e01e0973d", kill_on_drop: false }` [INFO] [stdout] 37687ad591a9ac2dc36a27a4e72840cbf7de13ad5455d6814707636e01e0973d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84461384cf0126d6eded62b0e2f4ae1308b010de99d8d2debd50d645e9870d1d [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" "84461384cf0126d6eded62b0e2f4ae1308b010de99d8d2debd50d645e9870d1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling permutohedron v0.2.2 [INFO] [stderr] Compiling md5 v0.3.2 [INFO] [stderr] Compiling futures v0.1.7 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling num_cpus v1.2.0 [INFO] [stderr] Compiling thread_local v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.6.1 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling futures-cpupool v0.1.2 [INFO] [stderr] Compiling AdventOfRust2016 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/advent21.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let iter: Box> = if scramble { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - let iter: Box> = if scramble { [INFO] [stdout] 75 + let iter: Box> = if scramble { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `needless_range_loop` [INFO] [stdout] --> src/bin/advent19.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[allow(needless_range_loop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/advent6.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | for (c, mut histogram) in message.chars().zip(histograms.iter_mut()) { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / lazy_static! { [INFO] [stdout] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stdout] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / lazy_static! { [INFO] [stdout] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stdout] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / lazy_static! { [INFO] [stdout] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stdout] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / lazy_static! { [INFO] [stdout] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stdout] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent15.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref RE_DESC: Regex = [INFO] [stdout] 44 | | Regex::new(r"^Disc #\d+ has (\d+) positions; at time=0, it is at position (\d+)").unwrap(); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent15.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref RE_DESC: Regex = [INFO] [stdout] 44 | | Regex::new(r"^Disc #\d+ has (\d+) positions; at time=0, it is at position (\d+)").unwrap(); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent22.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! { [INFO] [stdout] 53 | | static ref RE_NODE: Regex = [INFO] [stdout] 54 | | Regex::new(r"^/dev/grid/node-x([\d]+)-y([\d]+)\s+[\d]+T\s+([\d]+)T\s+([\d]+)").unwrap(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent22.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! { [INFO] [stdout] 53 | | static ref RE_NODE: Regex = [INFO] [stdout] 54 | | Regex::new(r"^/dev/grid/node-x([\d]+)-y([\d]+)\s+[\d]+T\s+([\d]+)T\s+([\d]+)").unwrap(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/bin/advent17.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | DIRECTIONS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 138 | DIRECTIONS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 138 | IntoIterator::into_iter(DIRECTIONS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.11s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "84461384cf0126d6eded62b0e2f4ae1308b010de99d8d2debd50d645e9870d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84461384cf0126d6eded62b0e2f4ae1308b010de99d8d2debd50d645e9870d1d", kill_on_drop: false }` [INFO] [stdout] 84461384cf0126d6eded62b0e2f4ae1308b010de99d8d2debd50d645e9870d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5721e8225d41598ac129e23e7ad3583806ae7cc0b814ecfaaf762c8cac95c5e7 [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" "5721e8225d41598ac129e23e7ad3583806ae7cc0b814ecfaaf762c8cac95c5e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling AdventOfRust2016 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent15.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref RE_DESC: Regex = [INFO] [stdout] 44 | | Regex::new(r"^Disc #\d+ has (\d+) positions; at time=0, it is at position (\d+)").unwrap(); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent15.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref RE_DESC: Regex = [INFO] [stdout] 44 | | Regex::new(r"^Disc #\d+ has (\d+) positions; at time=0, it is at position (\d+)").unwrap(); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent22.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! { [INFO] [stdout] 53 | | static ref RE_NODE: Regex = [INFO] [stdout] 54 | | Regex::new(r"^/dev/grid/node-x([\d]+)-y([\d]+)\s+[\d]+T\s+([\d]+)T\s+([\d]+)").unwrap(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent22.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! { [INFO] [stdout] 53 | | static ref RE_NODE: Regex = [INFO] [stdout] 54 | | Regex::new(r"^/dev/grid/node-x([\d]+)-y([\d]+)\s+[\d]+T\s+([\d]+)T\s+([\d]+)").unwrap(); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent8.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stdout] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent23.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref RE_CPY: Regex = [INFO] [stdout] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent12.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / lazy_static! { [INFO] [stdout] 93 | | static ref RE_CPY: Regex = [INFO] [stdout] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stdout] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/advent6.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | for (c, mut histogram) in message.chars().zip(histograms.iter_mut()) { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/bin/advent17.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | DIRECTIONS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 138 | DIRECTIONS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 138 | IntoIterator::into_iter(DIRECTIONS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent21.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stdout] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stdout] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `needless_range_loop` [INFO] [stdout] --> src/bin/advent19.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[allow(needless_range_loop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/advent21.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let iter: Box> = if scramble { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - let iter: Box> = if scramble { [INFO] [stdout] 75 + let iter: Box> = if scramble { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stdout] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stdout] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / lazy_static! { [INFO] [stdout] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stdout] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / lazy_static! { [INFO] [stdout] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stdout] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / lazy_static! { [INFO] [stdout] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stdout] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/advent10.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / lazy_static! { [INFO] [stdout] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stdout] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.31s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5721e8225d41598ac129e23e7ad3583806ae7cc0b814ecfaaf762c8cac95c5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5721e8225d41598ac129e23e7ad3583806ae7cc0b814ecfaaf762c8cac95c5e7", kill_on_drop: false }` [INFO] [stdout] 5721e8225d41598ac129e23e7ad3583806ae7cc0b814ecfaaf762c8cac95c5e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad35375eba42a7bd805323fb4f19b368b0ae0fac8f231ea766ae143420bad3a8 [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" "ad35375eba42a7bd805323fb4f19b368b0ae0fac8f231ea766ae143420bad3a8", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent15.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | / lazy_static! { [INFO] [stderr] 43 | | static ref RE_DESC: Regex = [INFO] [stderr] 44 | | Regex::new(r"^Disc #\d+ has (\d+) positions; at time=0, it is at position (\d+)").unwrap(); [INFO] [stderr] 45 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent15.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | / lazy_static! { [INFO] [stderr] 43 | | static ref RE_DESC: Regex = [INFO] [stderr] 44 | | Regex::new(r"^Disc #\d+ has (\d+) positions; at time=0, it is at position (\d+)").unwrap(); [INFO] [stderr] 45 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent23.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | / lazy_static! { [INFO] [stderr] 121 | | static ref RE_CPY: Regex = [INFO] [stderr] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stderr] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stderr] 128 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent23.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | / lazy_static! { [INFO] [stderr] 121 | | static ref RE_CPY: Regex = [INFO] [stderr] 122 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stderr] 123 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 127 | | static ref RE_TGL: Regex = Regex::new(r"^tgl ([a-d])").unwrap(); [INFO] [stderr] 128 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent22.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | / lazy_static! { [INFO] [stderr] 53 | | static ref RE_NODE: Regex = [INFO] [stderr] 54 | | Regex::new(r"^/dev/grid/node-x([\d]+)-y([\d]+)\s+[\d]+T\s+([\d]+)T\s+([\d]+)").unwrap(); [INFO] [stderr] 55 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent22.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | / lazy_static! { [INFO] [stderr] 53 | | static ref RE_NODE: Regex = [INFO] [stderr] 54 | | Regex::new(r"^/dev/grid/node-x([\d]+)-y([\d]+)\s+[\d]+T\s+([\d]+)T\s+([\d]+)").unwrap(); [INFO] [stderr] 55 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/advent6.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | for (c, mut histogram) in message.chars().zip(histograms.iter_mut()) { [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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent10.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! { [INFO] [stderr] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stderr] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stderr] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stderr] 64 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent10.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! { [INFO] [stderr] 61 | | static ref RE_VAL: Regex = Regex::new(r"^value (\d+) goes to bot (\d+)").unwrap(); [INFO] [stderr] 62 | | static ref RE_BOT_LOW: Regex = Regex::new(r"^bot (\d+).+low to bot (\d+)").unwrap(); [INFO] [stderr] 63 | | static ref RE_BOT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to bot (\d+)").unwrap(); [INFO] [stderr] 64 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent10.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | / lazy_static! { [INFO] [stderr] 152 | | static ref RE_OUT_LOW: Regex = Regex::new(r"^bot (\d+).+low to output (\d+)").unwrap(); [INFO] [stderr] 153 | | static ref RE_OUT_HIGH: Regex = Regex::new(r"^bot (\d+).+high to output (\d+)").unwrap(); [INFO] [stderr] 154 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent21.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | / lazy_static! { [INFO] [stderr] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stderr] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stderr] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stderr] 71 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent21.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | / lazy_static! { [INFO] [stderr] 64 | | static ref RE_SWAP_POS: Regex = Regex::new(r"^swap position ([\d]+) with position ([\d]+)").unwrap(); [INFO] [stderr] 65 | | static ref RE_SWAP_LETTER: Regex = Regex::new(r"^swap letter ([a-z]) with letter ([a-z])").unwrap(); [INFO] [stderr] 66 | | static ref RE_ROT_LSTEP: Regex = Regex::new(r"^rotate left ([\d]+) step").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 70 | | static ref RE_MOVE: Regex = Regex::new(r"^move position ([\d]+) to position ([\d]+)").unwrap(); [INFO] [stderr] 71 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/advent21.rs:75:19 [INFO] [stderr] | [INFO] [stderr] 75 | let iter: Box> = if scramble { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 75 - let iter: Box> = if scramble { [INFO] [stderr] 75 + let iter: Box> = if scramble { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent12.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | / lazy_static! { [INFO] [stderr] 93 | | static ref RE_CPY: Regex = [INFO] [stderr] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stderr] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stderr] 99 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent12.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | / lazy_static! { [INFO] [stderr] 93 | | static ref RE_CPY: Regex = [INFO] [stderr] 94 | | Regex::new(r"^cpy (?:([a-d])|([-\d]+)) ([a-d])").unwrap(); [INFO] [stderr] 95 | | static ref RE_INC: Regex = Regex::new(r"^inc ([a-d])").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 98 | | Regex::new(r"^jnz (?:([a-d])|([-\d]+)) (?:([a-d])|([-\d]+))").unwrap(); [INFO] [stderr] 99 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent15" test) generated 2 warnings [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent23" test) generated 10 warnings (8 duplicates) [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent22" test) generated 2 warnings [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent6" test) generated 1 warning [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent10" test) generated 10 warnings (7 duplicates) [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent21" test) generated 15 warnings (12 duplicates) [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent12" test) generated 8 warnings (6 duplicates) [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stderr] --> src/bin/advent17.rs:138:20 [INFO] [stderr] | [INFO] [stderr] 138 | DIRECTIONS.into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 138 | DIRECTIONS.iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 138 | IntoIterator::into_iter(DIRECTIONS) [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent8.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | / lazy_static! { [INFO] [stderr] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stderr] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stderr] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/advent8.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | / lazy_static! { [INFO] [stderr] 39 | | static ref RE_RECT: Regex = Regex::new(r"rect (\d+)x(\d+)").unwrap(); [INFO] [stderr] 40 | | static ref RE_ROW: Regex = Regex::new(r"rotate row y=(\d+) by (\d+)").unwrap(); [INFO] [stderr] 41 | | static ref RE_COL: Regex = Regex::new(r"rotate column x=(\d+) by (\d+)").unwrap(); [INFO] [stderr] 42 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `needless_range_loop` [INFO] [stderr] --> src/bin/advent19.rs:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | #[allow(needless_range_loop)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent17" test) generated 1 warning [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent8" test) generated 6 warnings (4 duplicates) [INFO] [stderr] warning: `AdventOfRust2016` (bin "advent19" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/common-7dfa95267fec6f39) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent1-76f066a77b129604) [INFO] [stdout] test tests::test_find_steps ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_turn_right ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent10-4ebb5f4d31214eaa) [INFO] [stdout] test test_find_first_revisited_distance ... ok [INFO] [stdout] test test_parse_turn ... ok [INFO] [stdout] test test_turn_left ... ok [INFO] [stdout] test test_calc_manhattan_length ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_get_chip_val ... ok [INFO] [stdout] test test_give_chip_to_bot ... ok [INFO] [stdout] test test_parse_instruction ... ok [INFO] [stdout] test test_parse_instruction2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent12-7f391038f1fc0cf0) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_execute_until_halt ... ok [INFO] [stdout] test test_parse_instruction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent13-138f2f1d08459c57) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_is_wall ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent14-d80ae92dd40cb272) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_get_nth_idx2 ... ignored [INFO] [stdout] test test_find_triple ... ok [INFO] [stdout] test test_has_quint ... ok [INFO] [stdout] test test_calc_stretched_key ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent15-237d74589920aa54) [INFO] [stdout] test test_get_nth_idx ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_adjust_discs ... ok [INFO] [stdout] test test_calc_drop_time ... ok [INFO] [stdout] test test_disc_incr ... ok [INFO] [stdout] test test_disc_from_description ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent16-793786634d509292) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_count_trailing_zeros ... ok [INFO] [stdout] test tests::test_rd_create_from_str ... ok [INFO] [stdout] test tests::test_rd_grow ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent17-07d0d25176bfaad2) [INFO] [stdout] test tests::test_rd_checksum ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_find_longest_path_to_goal ... ignored [INFO] [stdout] test test_is_open ... ok [INFO] [stdout] test test_find_path_to_goal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent18-188c4918f83bd404) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent19-8a75f35f3993fbb3) [INFO] [stdout] test test_count_safe_tiles ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_find_last_elf2 ... ok [INFO] [stdout] test test_find_last_elf ... ok [INFO] [stdout] test test_find_last_elf2_opt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent2-0979c176739f46e0) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_char_from_pos2 ... ok [INFO] [stdout] test test_parse_move ... ok [INFO] [stdout] test test_parse_move2 ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent20-34fcdae5d8cf9392) [INFO] [stdout] test test_digit_from_pos ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_find_total_unblocked_ips ... ok [INFO] [stdout] test test_find_first_unblocked_ip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent21-8ef0d9475b80c920) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_scramble_password ... ok [INFO] [stdout] test test_unscramble_password ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent22-01ef42daddbc514b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_find_viable_pairs ... ok [INFO] [stdout] test test_is_viable_pair ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent23-269993b3f560e4e8) [INFO] [stdout] test test_calc_fewest_steps_to_goal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_execute_until_halt_day12 ... ok [INFO] [stdout] test test_execute_until_halt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent24-aecf4192d2e7554d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_distances ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent3-0109730a8a51fddc) [INFO] [stdout] test test_grid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_is_triangle_possible ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent4-71746942ce48f7ae) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent5-545ca130905529b3) [INFO] [stdout] running 4 tests [INFO] [stdout] test test_decrypt_char ... ok [INFO] [stdout] test test_parse_sector_id ... ok [INFO] [stdout] test test_is_real_room ... ok [INFO] [stdout] test test_decrypt_room ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_get_password ... ignored [INFO] [stdout] test test_get_password2 ... ignored [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent6-73b4d4177d019f2e) [INFO] [stdout] test test_char_from_nibble ... ok [INFO] [stdout] test test_get_password_character ... ok [INFO] [stdout] test test_get_password_character2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent7-bf6b91531115f626) [INFO] [stdout] test test_correct_errors ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_supports_ssl ... ok [INFO] [stdout] test test_has_abba ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent8-21e341f52816a35b) [INFO] [stdout] test test_supports_tls ... ok [INFO] [stdout] test test_get_bab_from_aba ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent9-f72758270b462284) [INFO] [stdout] test test_apply_cmd ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Doc-tests common [INFO] [stdout] test test_calc_decompressed_length2 ... ok [INFO] [stdout] test test_calc_decompressed_length ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad35375eba42a7bd805323fb4f19b368b0ae0fac8f231ea766ae143420bad3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad35375eba42a7bd805323fb4f19b368b0ae0fac8f231ea766ae143420bad3a8", kill_on_drop: false }` [INFO] [stdout] ad35375eba42a7bd805323fb4f19b368b0ae0fac8f231ea766ae143420bad3a8