[INFO] fetching crate badger 0.2.1...
[INFO] testing badger-0.2.1 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate badger 0.2.1 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate badger 0.2.1 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate badger 0.2.1
[INFO] finished tweaking crates.io crate badger 0.2.1
[INFO] tweaked toml for crates.io crate badger 0.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 16 packages to latest compatible versions
[INFO] [stderr]       Adding docopt v0.6.86 (available: v1.1.1)
[INFO] [stderr]       Adding itoa v0.1.1 (available: v1.0.11)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf92171b573784c800a20597b979fe476b508ee8c9d656553dd0d5f4f879026b
[INFO] running `Command { std: "docker" "start" "-a" "cf92171b573784c800a20597b979fe476b508ee8c9d656553dd0d5f4f879026b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf92171b573784c800a20597b979fe476b508ee8c9d656553dd0d5f4f879026b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf92171b573784c800a20597b979fe476b508ee8c9d656553dd0d5f4f879026b", kill_on_drop: false }`
[INFO] [stdout] cf92171b573784c800a20597b979fe476b508ee8c9d656553dd0d5f4f879026b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae34b26e2254dc251716f27887d80e1943dc5b62954ab3d62b9702dbbce2c8f7
[INFO] running `Command { std: "docker" "start" "-a" "ae34b26e2254dc251716f27887d80e1943dc5b62954ab3d62b9702dbbce2c8f7", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling strsim v0.5.2
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling itoa v0.1.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling docopt v0.6.86
[INFO] [stderr]    Compiling badger v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:240:21
[INFO] [stdout]     |
[INFO] [stdout] 240 |                 b'0'...b'7' => peek - b'0',
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:257:21
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 b'0'...b'9' => peek - b'0',
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:258:21
[INFO] [stdout]     |
[INFO] [stdout] 258 |                 b'a'...b'f' => peek - b'a' + 10,
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:259:21
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 b'A'...b'F' => peek - b'A' + 10,
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:274:21
[INFO] [stdout]     |
[INFO] [stdout] 274 |                 b'0'...b'9' => self.bump(),
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:316:21
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 b'0'...b'9' => {
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:547:33
[INFO] [stdout]     |
[INFO] [stdout] 547 | ...                   b'0'...b'9' => {
[INFO] [stdout]     |                           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:563:21
[INFO] [stdout]     |
[INFO] [stdout] 563 |                 b'0'...b'9' => Literal(self.read_number(ch)),
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 108 |                     token                       => unexpected_token!(self, token),
[INFO] [stdout]     |                                                    ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 326 |                 token              => unexpected_token!(self, token)
[INFO] [stdout]     |                                       ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 409 |             token             => unexpected_token!(self, token)
[INFO] [stdout]     |                                  ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 637 |                 token             => unexpected_token!(self, token),
[INFO] [stdout]     |                                      ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 784 |             token         => unexpected_token!(self, token)
[INFO] [stdout]     |                              ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 798 |                 token            => unexpected_token!(self, token)
[INFO] [stdout]     |                                     ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]    --> src/tokenizer.rs:209:47
[INFO] [stdout]     |
[INFO] [stdout] 209 |             OwnedSlice::from_str(&self.source.slice_unchecked(start, self.index))
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]    --> src/tokenizer.rs:280:46
[INFO] [stdout]     |
[INFO] [stdout] 280 |             OwnedSlice::from_str(self.source.slice_unchecked(start, self.index))
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]    --> src/tokenizer.rs:361:25
[INFO] [stdout]     |
[INFO] [stdout] 361 |             self.source.slice_unchecked(start, self.index)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]    --> src/tokenizer.rs:584:41
[INFO] [stdout]     |
[INFO] [stdout] 584 | ...                   self.source.slice_unchecked(self.index, self.index + 2)
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/codegen.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for item in iter.next() {
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to iterate over `iter` remove the call to `next`
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for item in iter.by_ref() {
[INFO] [stdout]    |                         ~~~~~~~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if let Some(item) = iter.next() {
[INFO] [stdout]    |         ~~~~~~~~~~~~    ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/codegen.rs:323:31
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 for member in iter.next() {
[INFO] [stdout]     |                               ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to iterate over `iter` remove the call to `next`
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 for member in iter.by_ref() {
[INFO] [stdout]     |                                   ~~~~~~~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 if let Some(member) = iter.next() {
[INFO] [stdout]     |                 ~~~~~~~~~~~~      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/codegen.rs:554:34
[INFO] [stdout]     |
[INFO] [stdout] 554 |                 for statement in iter.next() {
[INFO] [stdout]     |                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to iterate over `iter` remove the call to `next`
[INFO] [stdout]     |
[INFO] [stdout] 554 |                 for statement in iter.by_ref() {
[INFO] [stdout]     |                                      ~~~~~~~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 554 |                 if let Some(statement) = iter.next() {
[INFO] [stdout]     |                 ~~~~~~~~~~~~         ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code
[INFO] [stdout]   --> src/main.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, RustcDecodable)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]    = note: `#[deny(soft_unstable)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, RustcDecodable)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:240:21
[INFO] [stdout]     |
[INFO] [stdout] 240 |                 b'0'...b'7' => peek - b'0',
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:257:21
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 b'0'...b'9' => peek - b'0',
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:258:21
[INFO] [stdout]     |
[INFO] [stdout] 258 |                 b'a'...b'f' => peek - b'a' + 10,
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:259:21
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 b'A'...b'F' => peek - b'A' + 10,
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:274:21
[INFO] [stdout]     |
[INFO] [stdout] 274 |                 b'0'...b'9' => self.bump(),
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:316:21
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 b'0'...b'9' => {
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:547:33
[INFO] [stdout]     |
[INFO] [stdout] 547 | ...                   b'0'...b'9' => {
[INFO] [stdout]     |                           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/tokenizer.rs:563:21
[INFO] [stdout]     |
[INFO] [stdout] 563 |                 b'0'...b'9' => Literal(self.read_number(ch)),
[INFO] [stdout]     |                     ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 108 |                     token                       => unexpected_token!(self, token),
[INFO] [stdout]     |                                                    ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 326 |                 token              => unexpected_token!(self, token)
[INFO] [stdout]     |                                       ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 409 |             token             => unexpected_token!(self, token)
[INFO] [stdout]     |                                  ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 637 |                 token             => unexpected_token!(self, token),
[INFO] [stdout]     |                                      ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 784 |             token         => unexpected_token!(self, token)
[INFO] [stdout]     |                              ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/parser.rs:27:48
[INFO] [stdout]     |
[INFO] [stdout] 27  |         panic!("Unexpected token {:?}", $token);
[INFO] [stdout]     |                                                ^
[INFO] [stdout] ...
[INFO] [stdout] 798 |                 token            => unexpected_token!(self, token)
[INFO] [stdout]     |                                     ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `unexpected_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut f = try!(File::open(path));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut f = try!(File::create(filename));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]    --> src/tokenizer.rs:209:47
[INFO] [stdout]     |
[INFO] [stdout] 209 |             OwnedSlice::from_str(&self.source.slice_unchecked(start, self.index))
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]    --> src/tokenizer.rs:280:46
[INFO] [stdout]     |
[INFO] [stdout] 280 |             OwnedSlice::from_str(self.source.slice_unchecked(start, self.index))
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]    --> src/tokenizer.rs:361:25
[INFO] [stdout]     |
[INFO] [stdout] 361 |             self.source.slice_unchecked(start, self.index)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::slice_unchecked`: use `get_unchecked(begin..end)` instead
[INFO] [stdout]    --> src/tokenizer.rs:584:41
[INFO] [stdout]     |
[INFO] [stdout] 584 | ...                   self.source.slice_unchecked(self.index, self.index + 2)
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/codegen.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for item in iter.next() {
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to iterate over `iter` remove the call to `next`
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for item in iter.by_ref() {
[INFO] [stdout]    |                         ~~~~~~~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 64 |         if let Some(item) = iter.next() {
[INFO] [stdout]    |         ~~~~~~~~~~~~    ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/codegen.rs:323:31
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 for member in iter.next() {
[INFO] [stdout]     |                               ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to iterate over `iter` remove the call to `next`
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 for member in iter.by_ref() {
[INFO] [stdout]     |                                   ~~~~~~~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 if let Some(member) = iter.next() {
[INFO] [stdout]     |                 ~~~~~~~~~~~~      ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/codegen.rs:554:34
[INFO] [stdout]     |
[INFO] [stdout] 554 |                 for statement in iter.next() {
[INFO] [stdout]     |                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to iterate over `iter` remove the call to `next`
[INFO] [stdout]     |
[INFO] [stdout] 554 |                 for statement in iter.by_ref() {
[INFO] [stdout]     |                                      ~~~~~~~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 554 |                 if let Some(statement) = iter.next() {
[INFO] [stdout]     |                 ~~~~~~~~~~~~         ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `badger` (bin "badger") due to 2 previous errors; 30 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ae34b26e2254dc251716f27887d80e1943dc5b62954ab3d62b9702dbbce2c8f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae34b26e2254dc251716f27887d80e1943dc5b62954ab3d62b9702dbbce2c8f7", kill_on_drop: false }`
[INFO] [stdout] ae34b26e2254dc251716f27887d80e1943dc5b62954ab3d62b9702dbbce2c8f7
