[INFO] cloning repository https://github.com/spacedragon/rlox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spacedragon/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacedragon%2Frlox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacedragon%2Frlox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eebac6e303acaa764ec31c16239e530679a5ec7d
[INFO] testing spacedragon/rlox against 1.99.0-beta.8 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacedragon%2Frlox" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/spacedragon/rlox
[INFO] finished tweaking git repo https://github.com/spacedragon/rlox
[INFO] tweaked toml for git repo https://github.com/spacedragon/rlox written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spacedragon/rlox on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spacedragon/rlox already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strum_macros v0.17.1
[INFO] [stderr]   Downloaded strum v0.17.1
[INFO] [stderr]   Downloaded hermit-abi v0.1.7
[INFO] [stderr]   Downloaded num_enum_derive v0.4.2
[INFO] [stderr]   Downloaded rustversion v1.0.2
[INFO] [stderr]   Downloaded proc-macro-crate v0.1.4
[INFO] [stderr]   Downloaded winapi-util v0.1.3
[INFO] [stderr]   Downloaded proc-macro-error-attr v0.4.9
[INFO] [stderr]   Downloaded thread_local v1.0.1
[INFO] [stderr]   Downloaded num_enum v0.4.2
[INFO] [stderr]   Downloaded structopt-derive v0.4.2
[INFO] [stderr]   Downloaded proc-macro-error v0.4.9
[INFO] [stderr]   Downloaded vec_map v0.8.1
[INFO] [stderr]   Downloaded termcolor v1.1.0
[INFO] [stderr]   Downloaded memchr v2.3.2
[INFO] [stderr]   Downloaded unicode-width v0.1.7
[INFO] [stderr]   Downloaded derivative v1.0.3
[INFO] [stderr]   Downloaded syn v1.0.14
[INFO] [stderr]   Downloaded proc-macro2 v1.0.8
[INFO] [stderr]   Downloaded structopt v0.3.9
[INFO] [stderr]   Downloaded toml v0.5.6
[INFO] [stderr]   Downloaded aho-corasick v0.7.8
[INFO] [stderr]   Downloaded clap v2.33.0
[INFO] [stderr]   Downloaded regex v1.3.4
[INFO] [stderr]   Downloaded regex-syntax v0.6.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a
[INFO] running `Command { std: "docker" "start" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a", kill_on_drop: false }`
[INFO] running `Command { std: "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" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a", kill_on_drop: false }`
[INFO] running `Command { std: "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" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling rustversion v1.0.2
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling memchr v2.3.2
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling aho-corasick v0.7.8
[INFO] [stderr]    Compiling regex-syntax v0.6.14
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling strum v0.17.1
[INFO] [stderr]    Compiling regex v1.3.4
[INFO] [stderr]    Compiling derivative v1.0.3
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling strum_macros v0.17.1
[INFO] [stderr]    Compiling proc-macro-error v0.4.9
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.9
[INFO] [stderr]    Compiling proc-macro-crate v0.1.4
[INFO] [stderr]    Compiling structopt-derive v0.4.2
[INFO] [stderr]    Compiling num_enum_derive v0.4.2
[INFO] [stderr]    Compiling num_enum v0.4.2
[INFO] [stderr]    Compiling structopt v0.3.9
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Call`
[INFO] [stdout]  --> src/value/mod.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use self::callable::{Fun, Call};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:251:39
[INFO] [stdout]     |
[INFO] [stdout] 251 |                 if f.arity > std::u8::MAX as usize {
[INFO] [stdout]     |                                       ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:303:42
[INFO] [stdout]     |
[INFO] [stdout] 303 |                 if arg_count == std::u8::MAX {
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:348:50
[INFO] [stdout]     |
[INFO] [stdout] 348 |         if self.current.locals.len() >= std::u8::MAX as usize {
[INFO] [stdout]     |                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:462:32
[INFO] [stdout]     |
[INFO] [stdout] 462 |         if offset > (std::u16::MAX as usize) {
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:547:29
[INFO] [stdout]     |
[INFO] [stdout] 547 |         if jump > std::u16::MAX as usize {
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:822:30
[INFO] [stdout]     |
[INFO] [stdout] 822 |         if count == std::u8::MAX {
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/value/callable.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, PartialEq)]
[INFO] [stdout]    |                 --------- in this derive macro expansion
[INFO] [stdout] 15 | pub enum Fun {
[INFO] [stdout] 16 |     Native(String, u8, NativeFn),
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resolver.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             std::mem::replace(&mut self.current_function, prev);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let _ = std::mem::replace(&mut self.current_function, prev);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resolver.rs:311:17
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 mem::replace(&mut self.current_class, ClassType::SUBCLASS);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 let _ = mem::replace(&mut self.current_class, ClassType::SUBCLASS);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resolver.rs:332:13
[INFO] [stdout]     |
[INFO] [stdout] 332 |             mem::replace(&mut self.current_class, class_type);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 332 |             let _ = mem::replace(&mut self.current_class, class_type);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/bytecode/compiler.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         mem::replace(&mut self.previous, self.current.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let _ = mem::replace(&mut self.previous, self.current.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/bytecode/compiler.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     mem::replace(&mut self.current, t);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     let _ = mem::replace(&mut self.current, t);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.28s
[INFO] running `Command { std: "docker" "inspect" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a", kill_on_drop: false }`
[INFO] running `Command { std: "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" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Call`
[INFO] [stdout]  --> src/value/mod.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use self::callable::{Fun, Call};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:251:39
[INFO] [stdout]     |
[INFO] [stdout] 251 |                 if f.arity > std::u8::MAX as usize {
[INFO] [stdout]     |                                       ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:303:42
[INFO] [stdout]     |
[INFO] [stdout] 303 |                 if arg_count == std::u8::MAX {
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:348:50
[INFO] [stdout]     |
[INFO] [stdout] 348 |         if self.current.locals.len() >= std::u8::MAX as usize {
[INFO] [stdout]     |                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:462:32
[INFO] [stdout]     |
[INFO] [stdout] 462 |         if offset > (std::u16::MAX as usize) {
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:547:29
[INFO] [stdout]     |
[INFO] [stdout] 547 |         if jump > std::u16::MAX as usize {
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bytecode/compiler.rs:822:30
[INFO] [stdout]     |
[INFO] [stdout] 822 |         if count == std::u8::MAX {
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/value/callable.rs:16:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Clone, PartialEq)]
[INFO] [stdout]    |                 --------- in this derive macro expansion
[INFO] [stdout] 15 | pub enum Fun {
[INFO] [stdout] 16 |     Native(String, u8, NativeFn),
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resolver.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             std::mem::replace(&mut self.current_function, prev);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let _ = std::mem::replace(&mut self.current_function, prev);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resolver.rs:311:17
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 mem::replace(&mut self.current_class, ClassType::SUBCLASS);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 let _ = mem::replace(&mut self.current_class, ClassType::SUBCLASS);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/resolver.rs:332:13
[INFO] [stdout]     |
[INFO] [stdout] 332 |             mem::replace(&mut self.current_class, class_type);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 332 |             let _ = mem::replace(&mut self.current_class, class_type);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/bytecode/compiler.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         mem::replace(&mut self.previous, self.current.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let _ = mem::replace(&mut self.previous, self.current.clone());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/bytecode/compiler.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     mem::replace(&mut self.current, t);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     let _ = mem::replace(&mut self.current, t);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.97s
[INFO] running `Command { std: "docker" "inspect" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a", kill_on_drop: false }`
[INFO] running `Command { std: "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" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Call`
[INFO] [stderr]  --> src/value/mod.rs:3:31
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub use self::callable::{Fun, Call};
[INFO] [stderr]   |                               ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/bytecode/compiler.rs:251:39
[INFO] [stderr]     |
[INFO] [stderr] 251 |                 if f.arity > std::u8::MAX as usize {
[INFO] [stderr]     |                                       ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/bytecode/compiler.rs:303:42
[INFO] [stderr]     |
[INFO] [stderr] 303 |                 if arg_count == std::u8::MAX {
[INFO] [stderr]     |                                          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/bytecode/compiler.rs:348:50
[INFO] [stderr]     |
[INFO] [stderr] 348 |         if self.current.locals.len() >= std::u8::MAX as usize {
[INFO] [stderr]     |                                                  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/bytecode/compiler.rs:462:32
[INFO] [stderr]     |
[INFO] [stderr] 462 |         if offset > (std::u16::MAX as usize) {
[INFO] [stderr]     |                                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u16::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/bytecode/compiler.rs:547:29
[INFO] [stderr]     |
[INFO] [stderr] 547 |         if jump > std::u16::MAX as usize {
[INFO] [stderr]     |                             ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u8::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/bytecode/compiler.rs:822:30
[INFO] [stderr]     |
[INFO] [stderr] 822 |         if count == std::u8::MAX {
[INFO] [stderr]     |                              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stderr]   --> src/value/callable.rs:16:24
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[derive(Clone, PartialEq)]
[INFO] [stderr]    |                 --------- in this derive macro expansion
[INFO] [stderr] 15 | pub enum Fun {
[INFO] [stderr] 16 |     Native(String, u8, NativeFn),
[INFO] [stderr]    |                        ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the address of the same function can vary between different codegen units
[INFO] [stderr]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stderr]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stderr]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/resolver.rs:101:13
[INFO] [stderr]     |
[INFO] [stderr] 101 |             std::mem::replace(&mut self.current_function, prev);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 101 |             let _ = std::mem::replace(&mut self.current_function, prev);
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/resolver.rs:311:17
[INFO] [stderr]     |
[INFO] [stderr] 311 |                 mem::replace(&mut self.current_class, ClassType::SUBCLASS);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 311 |                 let _ = mem::replace(&mut self.current_class, ClassType::SUBCLASS);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/resolver.rs:332:13
[INFO] [stderr]     |
[INFO] [stderr] 332 |             mem::replace(&mut self.current_class, class_type);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 332 |             let _ = mem::replace(&mut self.current_class, class_type);
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/bytecode/compiler.rs:101:9
[INFO] [stderr]     |
[INFO] [stderr] 101 |         mem::replace(&mut self.previous, self.current.clone());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 101 |         let _ = mem::replace(&mut self.previous, self.current.clone());
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stderr]    --> src/bytecode/compiler.rs:106:21
[INFO] [stderr]     |
[INFO] [stderr] 106 |                     mem::replace(&mut self.current, t);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 106 |                     let _ = mem::replace(&mut self.current, t);
[INFO] [stderr]     |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rlox` (bin "rlox" test) generated 13 warnings (run `cargo fix --bin "rlox" -p rlox --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-8bf1b91470870c42)
[INFO] [stdout] 
[INFO] [stdout] running 38 tests
[INFO] [stdout] test bytecode::scanner::test::test_string ... ok
[INFO] [stdout] test bytecode::scanner::test::test_number ... ok
[INFO] [stdout] test bytecode::memory::test::test_allocate ... ok
[INFO] [stdout] test bytecode::test::test_compile ... ok
[INFO] [stdout] test bytecode::test::test_expression ... ok
[INFO] [stdout] test ast_printer::test::test_string ... ok
[INFO] [stdout] test bytecode::test::test_function ... ok
[INFO] [stdout] test bytecode::scanner::test::test_token_code ... ok
[INFO] [stdout] test bytecode::test::test ... ok
[INFO] [stdout] test bytecode::test::test_global_var ... ok
[INFO] [stdout] test bytecode::test::test_local_var ... ok
[INFO] [stdout] test bytecode::memory::test::test_free ... ok
[INFO] [stdout] test interpreter::test::test_expr ... ok
[INFO] [stdout] test bytecode::test::test_loop ... ok
[INFO] [stdout] test interpreter::test::test_if ... ok
[INFO] [stdout] test interpreter::test::test_native ... ok
[INFO] [stdout] test ast_printer::test::test_printer ... ok
[INFO] [stdout] test bytecode::test::test_closure ... ok
[INFO] [stdout] test interpreter::test::test_scope ... ok
[INFO] [stdout] test bytecode::test::test_str ... ok
[INFO] [stdout] test interpreter::test::test_class ... ok
[INFO] [stdout] test interpreter::test::test_compare ... ok
[INFO] [stdout] test parser::test::test_expr ... ok
[INFO] [stdout] test interpreter::test::test_super ... ok
[INFO] [stdout] test interpreter::test::test_while ... ok
[INFO] [stdout] test scanner::test::test_2_tokens ... ok
[INFO] [stdout] test scanner::test::test_comment ... ok
[INFO] [stdout] test scanner::test::test_id_and_keyword ... ok
[INFO] [stdout] test scanner::test::test_number ... ok
[INFO] [stdout] test scanner::test::test_single_token ... ok
[INFO] [stdout] test scanner::test::test_string ... ok
[INFO] [stdout] test interpreter::test::test_stmts ... ok
[INFO] [stdout] test interpreter::test::test_string_plus ... ok
[INFO] [stdout] test interpreter::test::test_vars ... ok
[INFO] [stdout] test resolver::test::test_resolver ... ok
[INFO] [stdout] test bytecode::test::test_native ... ok
[INFO] [stdout] test scanner::test::test_bad_string - should panic ... ok
[INFO] [stdout] test interpreter::test::test_func ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a", kill_on_drop: false }`
[INFO] [stdout] c448c3701ca30f83210e51b84bf31fd0a3a7aad854242a7aa8a3930dcec48c6a
