[INFO] fetching crate rual-core 0.0.4... [INFO] checking rual-core-0.0.4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rual-core 0.0.4 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rual-core 0.0.4 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rual-core 0.0.4 [INFO] finished tweaking crates.io crate rual-core 0.0.4 [INFO] tweaked toml for crates.io crate rual-core 0.0.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4d6d11ff083278390e0bd8016be7b61162fdbf976876d88388de36b4ad11303 [INFO] running `Command { std: "docker" "start" "-a" "f4d6d11ff083278390e0bd8016be7b61162fdbf976876d88388de36b4ad11303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4d6d11ff083278390e0bd8016be7b61162fdbf976876d88388de36b4ad11303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4d6d11ff083278390e0bd8016be7b61162fdbf976876d88388de36b4ad11303", kill_on_drop: false }` [INFO] [stdout] f4d6d11ff083278390e0bd8016be7b61162fdbf976876d88388de36b4ad11303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ea0f590ccc93ad42824aea0e2c2093da70ce88e33ec5453d2bf1dba850c38d3 [INFO] running `Command { std: "docker" "start" "-a" "8ea0f590ccc93ad42824aea0e2c2093da70ce88e33ec5453d2bf1dba850c38d3", kill_on_drop: false }` [INFO] [stderr] Checking rual-core v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Punct` [INFO] [stdout] --> src/lexing/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::syntax::{Keyword, Punct, Token, TokenType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Value`, `lexing::Lexer`, `parsing::Parser`, and `syntax::Punct` [INFO] [stdout] --> src/vm/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | expressions::{Expr, Value}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 3 | lexing::Lexer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | parsing::Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | syntax::Punct, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/vm/mod.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Value`, `lexing::Lexer`, `parsing::Parser`, and `syntax::Punct` [INFO] [stdout] --> src/vm/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | expressions::{Expr, Value}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 3 | lexing::Lexer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | parsing::Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | syntax::Punct, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/vm/mod.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{BTreeMap, BTreeSet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | _ => unimplemented!("{:?}", &instr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/vm/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 147 | Instruction::Ret => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 157 | Instruction::Jump => match self.stack.pop() { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 161 | Instruction::Push(v) => self.stack.push(v.clone()), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 162 | Instruction::PushLocal(ref ident) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 208 | _ => unimplemented!("{:?}", &instr), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unit` is never constructed [INFO] [stdout] --> src/vm/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) enum RlValue { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 20 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RlValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `init`, and `empty` are never used [INFO] [stdout] --> src/vm/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'t> Scope<'t> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 66 | pub fn new(parent: &'t Scope) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn init(parent: Option<&'t Scope>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_num`, `lookup_str`, and `lookup_list` are never used [INFO] [stdout] --> src/vm/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'l> VM<'l> { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn lookup_num(&self, ident: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn lookup_str(&self, ident: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn lookup_list(&self, ident: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | _ => unimplemented!("{:?}", &instr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/vm/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 147 | Instruction::Ret => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 157 | Instruction::Jump => match self.stack.pop() { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 161 | Instruction::Push(v) => self.stack.push(v.clone()), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 162 | Instruction::PushLocal(ref ident) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 208 | _ => unimplemented!("{:?}", &instr), [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unit` is never constructed [INFO] [stdout] --> src/vm/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) enum RlValue { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 20 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RlValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `init`, and `empty` are never used [INFO] [stdout] --> src/vm/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl<'t> Scope<'t> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 66 | pub fn new(parent: &'t Scope) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn init(parent: Option<&'t Scope>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "8ea0f590ccc93ad42824aea0e2c2093da70ce88e33ec5453d2bf1dba850c38d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea0f590ccc93ad42824aea0e2c2093da70ce88e33ec5453d2bf1dba850c38d3", kill_on_drop: false }` [INFO] [stdout] 8ea0f590ccc93ad42824aea0e2c2093da70ce88e33ec5453d2bf1dba850c38d3