[INFO] cloning repository https://github.com/n8ta/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n8ta/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn8ta%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn8ta%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff2b9abf3898b41377a872b664f055f950544d98 [INFO] checking n8ta/rlox against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn8ta%2Frlox" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/n8ta/rlox on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/n8ta/rlox [INFO] finished tweaking git repo https://github.com/n8ta/rlox [INFO] tweaked toml for git repo https://github.com/n8ta/rlox written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/n8ta/rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0db5de66e55d4076475b0823dab7cd2082643ace9f544606183a5989afb0d766 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0db5de66e55d4076475b0823dab7cd2082643ace9f544606183a5989afb0d766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0db5de66e55d4076475b0823dab7cd2082643ace9f544606183a5989afb0d766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db5de66e55d4076475b0823dab7cd2082643ace9f544606183a5989afb0d766", kill_on_drop: false }` [INFO] [stdout] 0db5de66e55d4076475b0823dab7cd2082643ace9f544606183a5989afb0d766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7941a150e546acdeaf20237b2f4c145a67c100af99f8a1661b6898bf0306f40f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7941a150e546acdeaf20237b2f4c145a67c100af99f8a1661b6898bf0306f40f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/scanner.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter, Debug}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/parser/types.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> src/parser/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ptr::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Callable` [INFO] [stdout] --> src/parser/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Callable; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/parser/class.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::ser::{Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `Serializer` [INFO] [stdout] --> src/parser/class.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/resolver.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::resume_unwind` [INFO] [stdout] --> src/runtime/interpreter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::panic::resume_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScopeSize` [INFO] [stdout] --> src/runtime/interpreter.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::resolver::{Resolved, ScopeSize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/runtime/fast_env.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if (key < inner.values.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (key < inner.values.len()) { [INFO] [stdout] 29 + if key < inner.values.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/scanner.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Display, Formatter, Debug}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/parser/types.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::write` [INFO] [stdout] --> src/parser/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ptr::write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Callable` [INFO] [stdout] --> src/parser/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::Callable; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/parser/class.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::ser::{Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `Serializer` [INFO] [stdout] --> src/parser/class.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/resolver.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::resume_unwind` [INFO] [stdout] --> src/runtime/interpreter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::panic::resume_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScopeSize` [INFO] [stdout] --> src/runtime/interpreter.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::resolver::{Resolved, ScopeSize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/runtime/fast_env.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if (key < inner.values.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (key < inner.values.len()) { [INFO] [stdout] 29 + if key < inner.values.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pretty` [INFO] [stdout] --> src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let pretty = serde_json::to_string_pretty(&ast).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pretty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bool` [INFO] [stdout] --> src/resolver.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | Some((offset, bool)) => scope.insert(name.to_string(), (*offset, false)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bool` [INFO] [stdout] --> src/resolver.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | Some((offset, bool)) => scope.insert(name.to_string(), (*offset, true)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `defined` [INFO] [stdout] --> src/resolver.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some((offset, defined)) = self.scopes[i].get(name) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_size` [INFO] [stdout] --> src/runtime/interpreter.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | Stmt::Class(class, resolution, scope_size) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/runtime/interpreter.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | Stmt::Variable(name, value, resolved, context) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_size` [INFO] [stdout] --> src/runtime/interpreter.rs:127:37 [INFO] [stdout] | [INFO] [stdout] 127 | Stmt::While(test, body, scope_size) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolution` [INFO] [stdout] --> src/runtime/interpreter.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some(resolution) = resolved { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*scope` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/resolver.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 76 | match scope.get(name) { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 77 | None => scope.insert(name.to_string(), (last_size, false)), [INFO] [stdout] 78 | Some((offset, bool)) => scope.insert(name.to_string(), (*offset, false)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*scope` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/resolver.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 88 | match scope.get(name) { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 89 | None => scope.insert(name.to_string(), (last_size, true)), [INFO] [stdout] 90 | Some((offset, bool)) => scope.insert(name.to_string(), (*offset, true)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pretty` [INFO] [stdout] --> src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let pretty = serde_json::to_string_pretty(&ast).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pretty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bool` [INFO] [stdout] --> src/resolver.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | Some((offset, bool)) => scope.insert(name.to_string(), (*offset, false)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bool` [INFO] [stdout] --> src/resolver.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | Some((offset, bool)) => scope.insert(name.to_string(), (*offset, true)), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `defined` [INFO] [stdout] --> src/resolver.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some((offset, defined)) = self.scopes[i].get(name) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_size` [INFO] [stdout] --> src/runtime/interpreter.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | Stmt::Class(class, resolution, scope_size) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/runtime/interpreter.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | Stmt::Variable(name, value, resolved, context) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope_size` [INFO] [stdout] --> src/runtime/interpreter.rs:127:37 [INFO] [stdout] | [INFO] [stdout] 127 | Stmt::While(test, body, scope_size) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolution` [INFO] [stdout] --> src/runtime/interpreter.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | if let Some(resolution) = resolved { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/fast_env.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut inner = self.inner.borrow(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*scope` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/resolver.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 76 | match scope.get(name) { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 77 | None => scope.insert(name.to_string(), (last_size, false)), [INFO] [stdout] 78 | Some((offset, bool)) => scope.insert(name.to_string(), (*offset, false)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*scope` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/resolver.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 88 | match scope.get(name) { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] 89 | None => scope.insert(name.to_string(), (last_size, true)), [INFO] [stdout] 90 | Some((offset, bool)) => scope.insert(name.to_string(), (*offset, true)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_scanner` [INFO] [stdout] --> src/scanner.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn test_scanner(src: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_envs` [INFO] [stdout] --> src/runtime/interpreter.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn print_envs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_methods` [INFO] [stdout] --> src/runtime/instance.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn find_methods(&self, method: &str, _context: &SourceRef) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/runtime/fast_env.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parent` [INFO] [stdout] --> src/runtime/fast_env.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parent(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIN_SIZE` [INFO] [stdout] --> src/runtime/env_allocator.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const MIN_SIZE: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BumpAllocator` [INFO] [stdout] --> src/runtime/env_allocator.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct BumpAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/fast_env.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut inner = self.inner.borrow(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | resolved.insert(res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | scope_size.insert(self.last_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | scope_size.insert(self.last_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | scope_size.insert(self.last_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | scope_size.insert(self.last_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/runtime/interpreter.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | self.interpret(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_envs` [INFO] [stdout] --> src/runtime/interpreter.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn print_envs(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_methods` [INFO] [stdout] --> src/runtime/instance.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn find_methods(&self, method: &str, _context: &SourceRef) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/runtime/fast_env.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parent` [INFO] [stdout] --> src/runtime/fast_env.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parent(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIN_SIZE` [INFO] [stdout] --> src/runtime/env_allocator.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const MIN_SIZE: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BumpAllocator` [INFO] [stdout] --> src/runtime/env_allocator.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct BumpAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | resolved.insert(res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | scope_size.insert(self.last_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | scope_size.insert(self.last_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | scope_size.insert(self.last_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::option::Option::::insert` that must be used [INFO] [stdout] --> src/resolver.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | scope_size.insert(self.last_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to set a value, consider assignment instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/runtime/interpreter.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | self.interpret(body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.57s [INFO] running `Command { std: "docker" "inspect" "7941a150e546acdeaf20237b2f4c145a67c100af99f8a1661b6898bf0306f40f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7941a150e546acdeaf20237b2f4c145a67c100af99f8a1661b6898bf0306f40f", kill_on_drop: false }` [INFO] [stdout] 7941a150e546acdeaf20237b2f4c145a67c100af99f8a1661b6898bf0306f40f