[INFO] cloning repository https://github.com/chris-oo/crafting-interpreters-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chris-oo/crafting-interpreters-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-oo%2Fcrafting-interpreters-rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-oo%2Fcrafting-interpreters-rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 0358390d2d6489a9203e2bc16403bcb602c7a5cb
[INFO] testing chris-oo/crafting-interpreters-rust against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-oo%2Fcrafting-interpreters-rust" "/workspace/builds/worker-6-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chris-oo/crafting-interpreters-rust
[INFO] finished tweaking git repo https://github.com/chris-oo/crafting-interpreters-rust
[INFO] tweaked toml for git repo https://github.com/chris-oo/crafting-interpreters-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chris-oo/crafting-interpreters-rust on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/chris-oo/crafting-interpreters-rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded totems v0.2.7
[INFO] [stderr]   Downloaded num-derive v0.3.0
[INFO] [stderr]   Downloaded syn v1.0.17
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7
[INFO] running `"docker" "start" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7"`
[INFO] running `"docker" "inspect" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling totems v0.2.7
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling num-derive v0.3.0
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/compiler.rs:307:32
[INFO] [stdout]     |
[INFO] [stdout] 307 |         if constant > std::u8::MAX as usize {
[INFO] [stdout]     |                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn number(&mut self, can_assign: bool) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:272:26
[INFO] [stdout]     |
[INFO] [stdout] 272 |     fn string(&mut self, can_assign: bool) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:315:28
[INFO] [stdout]     |
[INFO] [stdout] 315 |     fn grouping(&mut self, can_assign: bool) {
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:320:25
[INFO] [stdout]     |
[INFO] [stdout] 320 |     fn unary(&mut self, can_assign: bool) {
[INFO] [stdout]     |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:376:26
[INFO] [stdout]     |
[INFO] [stdout] 376 |     fn binary(&mut self, can_assign: bool) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:400:27
[INFO] [stdout]     |
[INFO] [stdout] 400 |     fn literal(&mut self, can_assign: bool) {
[INFO] [stdout]     |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset` is never used
[INFO] [stdout]   --> src/chunk.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Chunk {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_string` is never used
[INFO] [stdout]    --> src/lox_string_table.rs:288:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl LoxStringTable {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub fn remove_string(&mut self, string: &LoxString) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/bytecode.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |          ^------------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `FromPrimitive` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcodes`
[INFO] [stdout] 2 | #[repr(u8)]
[INFO] [stdout] 3 | pub enum Opcodes {
[INFO] [stdout]   |          ------- `Opcodes` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/bytecode.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                         ^----------
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         `ToPrimitive` is not local
[INFO] [stdout]   |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Opcodes`
[INFO] [stdout] 2 | #[repr(u8)]
[INFO] [stdout] 3 | pub enum Opcodes {
[INFO] [stdout]   |          ------- `Opcodes` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `totems`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | totems = "0.2.7"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `totems`
[INFO] [stderr] warning: `rlox` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4.58s
[INFO] running `"docker" "inspect" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/compiler.rs:307:32
[INFO] [stdout]     |
[INFO] [stdout] 307 |         if constant > std::u8::MAX as usize {
[INFO] [stdout]     |                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn number(&mut self, can_assign: bool) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:272:26
[INFO] [stdout]     |
[INFO] [stdout] 272 |     fn string(&mut self, can_assign: bool) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:315:28
[INFO] [stdout]     |
[INFO] [stdout] 315 |     fn grouping(&mut self, can_assign: bool) {
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:320:25
[INFO] [stdout]     |
[INFO] [stdout] 320 |     fn unary(&mut self, can_assign: bool) {
[INFO] [stdout]     |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:376:26
[INFO] [stdout]     |
[INFO] [stdout] 376 |     fn binary(&mut self, can_assign: bool) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `can_assign`
[INFO] [stdout]    --> src/compiler.rs:400:27
[INFO] [stdout]     |
[INFO] [stdout] 400 |     fn literal(&mut self, can_assign: bool) {
[INFO] [stdout]     |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset` is never used
[INFO] [stdout]   --> src/chunk.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Chunk {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_check_keyword` is never used
[INFO] [stdout]    --> src/scanner.rs:491:8
[INFO] [stdout]     |
[INFO] [stdout] 491 |     fn test_check_keyword() {}
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `keywords_test` is never used
[INFO] [stdout]    --> src/scanner.rs:519:8
[INFO] [stdout]     |
[INFO] [stdout] 519 |     fn keywords_test() {}
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/bytecode.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |          ^------------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `FromPrimitive` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcodes`
[INFO] [stdout] 2 | #[repr(u8)]
[INFO] [stdout] 3 | pub enum Opcodes {
[INFO] [stdout]   |          ------- `Opcodes` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/bytecode.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                         ^----------
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         `ToPrimitive` is not local
[INFO] [stdout]   |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Opcodes`
[INFO] [stdout] 2 | #[repr(u8)]
[INFO] [stdout] 3 | pub enum Opcodes {
[INFO] [stdout]   |          ------- `Opcodes` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.94s
[INFO] running `"docker" "inspect" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/compiler.rs:307:32
[INFO] [stderr]     |
[INFO] [stderr] 307 |         if constant > std::u8::MAX as usize {
[INFO] [stderr]     |                                ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:265:26
[INFO] [stderr]     |
[INFO] [stderr] 265 |     fn number(&mut self, can_assign: bool) {
[INFO] [stderr]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:272:26
[INFO] [stderr]     |
[INFO] [stderr] 272 |     fn string(&mut self, can_assign: bool) {
[INFO] [stderr]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:315:28
[INFO] [stderr]     |
[INFO] [stderr] 315 |     fn grouping(&mut self, can_assign: bool) {
[INFO] [stderr]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:320:25
[INFO] [stderr]     |
[INFO] [stderr] 320 |     fn unary(&mut self, can_assign: bool) {
[INFO] [stderr]     |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:376:26
[INFO] [stderr]     |
[INFO] [stderr] 376 |     fn binary(&mut self, can_assign: bool) {
[INFO] [stderr]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `can_assign`
[INFO] [stderr]    --> src/compiler.rs:400:27
[INFO] [stderr]     |
[INFO] [stderr] 400 |     fn literal(&mut self, can_assign: bool) {
[INFO] [stderr]     |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign`
[INFO] [stderr] 
[INFO] [stderr] warning: method `reset` is never used
[INFO] [stderr]   --> src/chunk.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl Chunk {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 26 |     pub fn reset(&mut self) {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_check_keyword` is never used
[INFO] [stderr]    --> src/scanner.rs:491:8
[INFO] [stderr]     |
[INFO] [stderr] 491 |     fn test_check_keyword() {}
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `keywords_test` is never used
[INFO] [stderr]    --> src/scanner.rs:519:8
[INFO] [stderr]     |
[INFO] [stderr] 519 |     fn keywords_test() {}
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/bytecode.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stderr]   |          ^------------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `FromPrimitive` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcodes`
[INFO] [stderr] 2 | #[repr(u8)]
[INFO] [stderr] 3 | pub enum Opcodes {
[INFO] [stderr]   |          ------- `Opcodes` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/bytecode.rs:1:25
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stderr]   |                         ^----------
[INFO] [stderr]   |                         |
[INFO] [stderr]   |                         `ToPrimitive` is not local
[INFO] [stderr]   |                         move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Opcodes`
[INFO] [stderr] 2 | #[repr(u8)]
[INFO] [stderr] 3 | pub enum Opcodes {
[INFO] [stderr]   |          ------- `Opcodes` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rlox` (bin "rlox" test) generated 12 warnings (run `cargo fix --bin "rlox" -p rlox --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/rlox/cfe6189564084bb3/out/rlox-cfe6189564084bb3)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test lox_string_table::tests::basic_test ... ok
[INFO] [stdout] test lox_string_table::tests::concatenate_test ... ok
[INFO] [stdout] test lox_string_table::tests::test_remove ... ok
[INFO] [stdout] test lox_string_table::tests::box_allocate ... ok
[INFO] [stdout] test scanner::tests::skip_whitespace_test ... ok
[INFO] [stdout] test scanner::tests::peek_next_test ... ok
[INFO] [stdout] test scanner::tests::simple_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7"`
[INFO] running `"docker" "rm" "-f" "56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7"`
[INFO] [stdout] 56177bf00b7dd7b4b89ac655d8708ab88a80751a15b3d054c69ea49c44903ac7
