[INFO] cloning repository https://github.com/HuM4NoiD/corroding-locks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HuM4NoiD/corroding-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuM4NoiD%2Fcorroding-locks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuM4NoiD%2Fcorroding-locks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44aaf8c457f0623ed27bcfa9ae30613887390594 [INFO] checking HuM4NoiD/corroding-locks/44aaf8c457f0623ed27bcfa9ae30613887390594 against master#d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee for pr-127481-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuM4NoiD%2Fcorroding-locks" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HuM4NoiD/corroding-locks on toolchain d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HuM4NoiD/corroding-locks [INFO] finished tweaking git repo https://github.com/HuM4NoiD/corroding-locks [INFO] tweaked toml for git repo https://github.com/HuM4NoiD/corroding-locks written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HuM4NoiD/corroding-locks 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" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_enum v0.7.0 [INFO] [stderr] Downloaded winnow v0.5.14 [INFO] [stderr] Downloaded num_enum_derive v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 302eec2162f1dbdaa4207ad81e7571bad36db63c85806c15561be9bc770a365a [INFO] running `Command { std: "docker" "start" "-a" "302eec2162f1dbdaa4207ad81e7571bad36db63c85806c15561be9bc770a365a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "302eec2162f1dbdaa4207ad81e7571bad36db63c85806c15561be9bc770a365a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "302eec2162f1dbdaa4207ad81e7571bad36db63c85806c15561be9bc770a365a", kill_on_drop: false }` [INFO] [stdout] 302eec2162f1dbdaa4207ad81e7571bad36db63c85806c15561be9bc770a365a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62a775dcadc50ceddbc0a84426cbcee07d451149c1cb023f0a92a6a4410d05ae [INFO] running `Command { std: "docker" "start" "-a" "62a775dcadc50ceddbc0a84426cbcee07d451149c1cb023f0a92a6a4410d05ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling winnow v0.5.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.7.0 [INFO] [stderr] Checking num_enum v0.7.0 [INFO] [stderr] Checking lox-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TokenType::*` [INFO] [stdout] --> src/ast.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | token::{Token, TokenType::*}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `report_err`, and `value::Value` [INFO] [stdout] --> src/scanner.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | error::{error_line, report_err, Error}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 3 | token::{Token, TokenType}, [INFO] [stdout] 4 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::Value` [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk`, `OpCode::*`, `debug::disassemble_chunk`, and `value::VmValue` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | chunk::{Chunk, OpCode::*}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 26 | debug::disassemble_chunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | value::VmValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType::*` [INFO] [stdout] --> src/ast.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | token::{Token, TokenType::*}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `report_err`, and `value::Value` [INFO] [stdout] --> src/scanner.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | error::{error_line, report_err, Error}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 3 | token::{Token, TokenType}, [INFO] [stdout] 4 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::TokenType` [INFO] [stdout] --> src/scanner.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | use crate::token::TokenType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::value::Value` [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk`, `OpCode::*`, `debug::disassemble_chunk`, and `value::VmValue` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | chunk::{Chunk, OpCode::*}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 26 | debug::disassemble_chunk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | value::VmValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/compiler.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, collections::HashMap, io::Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/compiler.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, collections::HashMap, io::Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:444:26 [INFO] [stdout] | [INFO] [stdout] 444 | fn number(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:444:26 [INFO] [stdout] | [INFO] [stdout] 444 | fn number(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:449:26 [INFO] [stdout] | [INFO] [stdout] 449 | fn string(&mut self, can_assign: bool, parser_state: &mut ParserState) { [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:449:26 [INFO] [stdout] | [INFO] [stdout] 449 | fn string(&mut self, can_assign: bool, parser_state: &mut ParserState) { [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:479:28 [INFO] [stdout] | [INFO] [stdout] 479 | fn grouping(&mut self, can_assign: bool, parser_state: &mut ParserState) { [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:479:28 [INFO] [stdout] | [INFO] [stdout] 479 | fn grouping(&mut self, can_assign: bool, parser_state: &mut ParserState) { [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:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | fn unary(&mut self, can_assign: bool, parser_state: &mut ParserState) { [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:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | fn unary(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `could_create_local` [INFO] [stdout] --> src/compiler.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let could_create_local = parser_state.current.add_local( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_could_create_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `could_create_local` [INFO] [stdout] --> src/compiler.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let could_create_local = parser_state.current.add_local( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_could_create_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can_assign` [INFO] [stdout] --> src/compiler.rs:599:26 [INFO] [stdout] | [INFO] [stdout] 599 | fn binary(&mut self, can_assign: bool, parser_state: &mut ParserState) { [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:599:26 [INFO] [stdout] | [INFO] [stdout] 599 | fn binary(&mut self, can_assign: bool, parser_state: &mut ParserState) { [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:625:27 [INFO] [stdout] | [INFO] [stdout] 625 | fn literal(&mut self, can_assign: bool, parser_state: &mut ParserState) { [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:625:27 [INFO] [stdout] | [INFO] [stdout] 625 | fn literal(&mut self, can_assign: bool, parser_state: &mut ParserState) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_can_assign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/vm.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | ... if let Obj::Str(name) = *a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 204 | OC::OpAdd => binary_op!(self, +), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 204 | OC::OpAdd => binary_op!(self, +), [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "62a775dcadc50ceddbc0a84426cbcee07d451149c1cb023f0a92a6a4410d05ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62a775dcadc50ceddbc0a84426cbcee07d451149c1cb023f0a92a6a4410d05ae", kill_on_drop: false }` [INFO] [stdout] 62a775dcadc50ceddbc0a84426cbcee07d451149c1cb023f0a92a6a4410d05ae